:root {
	--oxo-black: #050505;
	--oxo-dark: #0c0c0c;
	--oxo-card: rgba(12, 12, 12, 0.72);
	--oxo-gold: #ffd43b;
	--oxo-gold-dim: rgba(255, 212, 59, 0.14);
	--oxo-white: #ffffff;
	--oxo-muted: rgba(255, 255, 255, 0.68);
	--oxo-border: rgba(255, 255, 255, 0.12);
	--oxo-radius: 20px;
	--font-display: "Rajdhani", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-body);
	color: var(--oxo-white);
	background: var(--oxo-black);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.page-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 212, 59, 0.12), transparent 55%),
		radial-gradient(ellipse 60% 40% at 100% 50%, rgba(37, 255, 0, 0.04), transparent 50%),
		linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

.page-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
}

.page {
	position: relative;
	z-index: 1;
}

.container {
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
}

/* Header */
.site-header {
	padding: 1.25rem 0;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.logo-wrap {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.logo-wrap img {
	height: 44px;
	width: auto;
}

.header-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	background: var(--oxo-gold);
	color: #000;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(255, 212, 59, 0.35);
}

/* Hero */
.hero {
	padding: 2.5rem 0 4rem;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}

@media (min-width: 900px) {
	.hero-grid {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 2.5rem;
	}
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--oxo-border);
	background: rgba(0, 0, 0, 0.45);
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--oxo-gold);
	margin-bottom: 1.25rem;
}

.hero-badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--oxo-gold);
	box-shadow: 0 0 10px var(--oxo-gold);
}

.hero h1 {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 5vw, 3.75rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.hero h1 span {
	color: var(--oxo-gold);
}

.hero-lead {
	margin: 0 0 2rem;
	max-width: 34rem;
	font-size: 1.1rem;
	line-height: 1.65;
	color: var(--oxo-muted);
}

.store-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.store-btn {
	display: block;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-btn:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

.store-btn img {
	height: 52px;
	width: auto;
}

/* Board preview */
.board-preview {
	position: relative;
	padding: 1.5rem;
	border-radius: calc(var(--oxo-radius) + 4px);
	background: var(--oxo-card);
	border: 1px solid var(--oxo-border);
	backdrop-filter: blur(12px);
	box-shadow:
		0 24px 60px rgba(0, 0, 0, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.board-preview::before {
	content: "";
	position: absolute;
	top: 0;
	left: 22%;
	right: 22%;
	height: 2px;
	background: var(--oxo-gold);
	border-radius: 0 0 2px 2px;
	opacity: 0.9;
}

.board-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	aspect-ratio: 1;
}

.board-cell {
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: clamp(0.65rem, 2vw, 0.85rem);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.35);
	text-align: center;
	padding: 0.35rem;
	line-height: 1.2;
	min-width: 0;
	min-height: 0;
	aspect-ratio: 1;
}

.board-cell.corner {
	background: transparent;
	border-color: transparent;
}

.board-cell.header.team-header {
	padding: 0.4rem;
}

.board-cell.header.team-header img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.board-cell.header {
	background: rgba(255, 212, 59, 0.1);
	border-color: rgba(255, 212, 59, 0.25);
}

.board-cell.filled {
	background: rgba(37, 255, 0, 0.08);
	border-color: rgba(37, 255, 0, 0.2);
	color: rgba(255, 255, 255, 0.85);
}

.board-cell.filled-alt {
	background: rgba(255, 212, 59, 0.1);
	border-color: rgba(255, 212, 59, 0.22);
	color: rgba(255, 255, 255, 0.85);
}

.board-cell.player {
	padding: 0;
	overflow: hidden;
	position: relative;
	flex-direction: column;
	gap: 0.15rem;
}

.board-cell.player img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.board-cell.player .player-initials {
	font-family: var(--font-display);
	font-size: clamp(0.75rem, 2vw, 0.95rem);
	font-weight: 700;
	line-height: 1;
}

.board-cell.player .player-name {
	font-size: clamp(0.5rem, 1.5vw, 0.65rem);
	font-weight: 600;
	line-height: 1.1;
	text-align: center;
	padding: 0 0.2rem 0.25rem;
	color: rgba(255, 255, 255, 0.8);
}

.board-caption {
	margin-top: 1rem;
	text-align: center;
	font-size: 0.85rem;
	color: var(--oxo-muted);
}

/* Features */
.features {
	padding: 1rem 0 4.5rem;
}

.section-label {
	display: block;
	margin-bottom: 0.75rem;
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--oxo-gold);
}

.section-title {
	margin: 0 0 2rem;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
}

.feature-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.feature-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.feature-card {
	padding: 1.5rem;
	border-radius: var(--oxo-radius);
	background: var(--oxo-card);
	border: 1px solid var(--oxo-border);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
	border-color: rgba(255, 212, 59, 0.3);
	transform: translateY(-2px);
}

.feature-icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--oxo-gold-dim);
	font-size: 1.35rem;
	margin-bottom: 1rem;
}

.feature-card h3 {
	margin: 0 0 0.5rem;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
}

.feature-card p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--oxo-muted);
}

/* About */
.about {
	padding: 0 0 4.5rem;
}

.about-card {
	padding: 2rem;
	border-radius: calc(var(--oxo-radius) + 4px);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
	border: 1px solid var(--oxo-border);
}

.about-card p {
	margin: 0 0 1rem;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--oxo-muted);
}

.about-card p:last-child {
	margin-bottom: 0;
}

.about-card a {
	color: var(--oxo-gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.about-card a:hover {
	color: #fff;
}

/* CTA band */
.cta-band {
	padding: 0 0 4rem;
}

.cta-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.25rem;
	padding: 2.5rem 2rem;
	border-radius: calc(var(--oxo-radius) + 4px);
	background:
		linear-gradient(135deg, rgba(255, 212, 59, 0.12), rgba(255, 212, 59, 0.02)),
		var(--oxo-card);
	border: 1px solid rgba(255, 212, 59, 0.22);
}

.cta-inner h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
}

.cta-inner p {
	margin: 0;
	max-width: 28rem;
	color: var(--oxo-muted);
	line-height: 1.6;
}

/* Footer */
.site-footer {
	padding: 2rem 0 2.5rem;
	border-top: 1px solid var(--oxo-border);
}

.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	text-align: center;
}

@media (min-width: 640px) {
	.footer-inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

.footer-copy {
	margin: 0;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.45);
}

.footer-links {
	display: flex;
	gap: 1.25rem;
}

.footer-links a {
	font-size: 0.875rem;
	color: var(--oxo-muted);
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--oxo-gold);
}

.footer-links a.is-active {
	color: var(--oxo-gold);
}

/* Legal / Privacy */
.legal-page {
	padding: 1.5rem 0 4rem;
}

.legal-intro {
	margin-bottom: 2rem;
}

.legal-intro .section-label {
	margin-bottom: 0.75rem;
}

.legal-intro h1 {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.1;
}

.legal-intro .lead {
	margin: 0;
	max-width: 40rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--oxo-muted);
}

.legal-card {
	padding: 2rem;
	border-radius: calc(var(--oxo-radius) + 4px);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
	border: 1px solid var(--oxo-border);
}

.legal-section + .legal-section {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--oxo-border);
}

.legal-section h2 {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--oxo-gold);
	letter-spacing: 0.02em;
}

.legal-section p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--oxo-muted);
}

.legal-section a {
	color: var(--oxo-gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.legal-section a:hover {
	color: #fff;
}

.legal-download {
	padding: 0 0 4rem;
}

.legal-download .cta-inner {
	margin-top: 0;
}

.header-link {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	border: 1px solid var(--oxo-border);
	color: var(--oxo-muted);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.header-link:hover {
	color: var(--oxo-white);
	border-color: rgba(255, 255, 255, 0.35);
}
