/* The pelleggames.com website, in the game's brand colors (scripts/ui/brand_palette.gd).
   tools/build_website.js copies this to website/styles.css. */
:root {
	--royal-purple: #35105f;
	--electric-magenta: #e82e83;
	--casino-red: #c9233a;
	--rich-gold: #f5b942;
	--electric-teal: #16c6c2;
	--midnight-navy: #11152e;
	--white: #ffffff;
	--gray: #a7afc2;
	--panel: #1a1640;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: radial-gradient(circle at top, #23104a 0, var(--midnight-navy) 55%);
	background-color: var(--midnight-navy);
	color: var(--white);
	font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

a {
	color: var(--electric-teal);
}

a:hover {
	color: var(--rich-gold);
}

main {
	flex: 1;
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	padding: 24px 16px 48px;
}

h1, h2, h3 {
	color: var(--rich-gold);
	line-height: 1.25;
}

h1 {
	font-size: 2.4rem;
	margin: 0.2em 0 0.4em;
}

h2 {
	font-size: 1.6rem;
	margin-top: 1.8em;
}

.site-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 24px;
	background: var(--royal-purple);
	border-bottom: 3px solid var(--rich-gold);
}

.brand {
	color: var(--rich-gold);
	font-weight: 700;
	font-size: 1.3rem;
	text-decoration: none;
}

.site-header nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	min-width: 0;
}

.site-header nav a {
	color: var(--white);
	text-decoration: none;
	font-weight: 600;
}

.site-header nav a:hover {
	color: var(--rich-gold);
}

.hero {
	text-align: center;
	padding: 32px 0 8px;
}

.lead {
	font-size: 1.2rem;
	color: var(--white);
	max-width: 720px;
	margin: 0 auto;
}

.game-hero {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
	justify-content: center;
	text-align: left;
}

.game-hero > div {
	flex: 1 1 280px;
	min-width: 0;
}

.game-hero .lead {
	margin: 0 0 1em;
}

.game-hero img {
	max-width: 320px;
	width: 100%;
	height: auto;
}

.button {
	display: inline-block;
	background: var(--casino-red);
	color: var(--white);
	font-weight: 700;
	padding: 12px 24px;
	border: 3px solid var(--rich-gold);
	border-radius: 14px;
	text-decoration: none;
}

.button:hover {
	background: var(--electric-magenta);
	color: var(--white);
}

.small {
	color: var(--gray);
	font-size: 0.95rem;
}

.game-card {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	background: var(--royal-purple);
	border: 3px solid var(--rich-gold);
	border-radius: 18px;
	padding: 24px;
	color: var(--white);
	text-decoration: none;
}

.game-card:hover {
	border-color: var(--electric-teal);
	color: var(--white);
}

.game-card img {
	width: 220px;
	max-width: 100%;
	height: auto;
}

.game-card > div {
	flex: 1 1 240px;
	min-width: 0;
}

.game-card h3 {
	font-size: 1.8rem;
	margin: 0 0 0.3em;
}

.tags {
	color: var(--electric-teal);
	font-weight: 600;
}

.steps, .features {
	background: var(--panel);
	border: 2px solid var(--royal-purple);
	border-radius: 14px;
	padding: 18px 18px 18px 42px;
}

.steps li, .features li {
	margin: 0.4em 0;
}

.shots {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
}

.shots h2 {
	grid-column: 1 / -1;
}

.shots figure {
	margin: 0;
}

.shots img {
	width: 100%;
	height: auto;
	border: 2px solid var(--royal-purple);
	border-radius: 10px;
}

.shots figcaption {
	color: var(--gray);
	font-size: 0.95rem;
	text-align: center;
}

.prices {
	width: 100%;
	max-width: 560px;
	border-collapse: collapse;
	background: var(--panel);
	border-radius: 12px;
	overflow: hidden;
}

.prices th, .prices td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 1px solid var(--royal-purple);
}

.prices th {
	color: var(--rich-gold);
	background: var(--royal-purple);
}

.prices td:last-child, .prices th:last-child {
	text-align: right;
	font-weight: 700;
}

.notice {
	margin-top: 24px;
	padding: 4px 20px;
	background: var(--panel);
	border: 2px solid var(--electric-teal);
	border-radius: 14px;
}

.legal {
	max-width: 820px;
	margin: 0 auto;
}

.legal h2 {
	font-size: 1.3rem;
}

.site-footer {
	padding: 20px 16px;
	text-align: center;
	color: var(--gray);
	background: #0b0e20;
	border-top: 2px solid var(--royal-purple);
	font-size: 0.95rem;
}

.site-footer p {
	margin: 0.3em 0;
}

@media (max-width: 600px) {
	h1 {
		font-size: 1.9rem;
	}

	.site-header {
		padding: 12px 16px;
	}

	.site-header nav {
		gap: 4px 14px;
		font-size: 0.95rem;
	}

	.steps, .features {
		padding-left: 34px;
	}

	.game-card {
		padding: 16px;
	}
}
