/* ============================================================
   Oneyware — late-night arcade
   ============================================================ */

:root {
	--ink:        #0a0b10;   /* page background */
	--ink-2:      #10121a;   /* raised surfaces */
	--ink-3:      #171a26;   /* borders / lines */
	--paper:      #f2efe6;   /* off-white, matches logo badge */
	--paper-dim:  #b9b6ac;
	--gold:       #f5c84c;
	--gold-deep:  #c99a1f;
	--glow:       rgba(245, 200, 76, 0.14);

	--font-display: "Bungee", cursive;
	--font-body:    "Sora", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.7;
	overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--ink); }

/* ---------- atmosphere ---------- */

.bg-diamonds {
	position: fixed;
	inset: 0;
	z-index: -2;
	background-image:
		radial-gradient(ellipse 80% 55% at 50% -10%, rgba(245, 200, 76, 0.07), transparent 65%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M36 30l6 6-6 6-6-6z' fill='%23f2efe6' fill-opacity='0.022'/%3E%3C/svg%3E");
}

.scanlines {
	position: fixed;
	inset: 0;
	z-index: 10;
	pointer-events: none;
	background: repeating-linear-gradient(
		to bottom,
		transparent 0px,
		transparent 3px,
		rgba(0, 0, 0, 0.14) 4px
	);
	mix-blend-mode: overlay;
}

/* ---------- shared ---------- */

.eyebrow {
	font-family: var(--font-display);
	font-size: 0.78rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--gold);
}

.eyebrow::before,
.eyebrow::after { content: "\25C6"; /* ◆ */ font-size: 0.5em; vertical-align: middle; margin: 0 0.9em; opacity: 0.6; }

h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.15;
	text-wrap: balance;
}

em { font-style: italic; }

/* ---------- header ---------- */

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 20;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem clamp(1.25rem, 4vw, 3rem);
	background: linear-gradient(to bottom, rgba(10, 11, 16, 0.92), rgba(10, 11, 16, 0));
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: var(--paper);
}

.brand .wordmark {
	height: 26px;
	width: auto;
	display: block;
}

.site-header nav { display: flex; gap: clamp(1rem, 3vw, 2.2rem); }

.site-header nav a {
	color: var(--paper-dim);
	text-decoration: none;
	font-size: 0.82rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	transition: color 0.2s;
}

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

/* ---------- hero ---------- */

.hero {
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 1.4rem;
	padding: 7rem 1.5rem 4rem;
}

.hero-logo {
	width: clamp(170px, 26vw, 260px);
	height: auto;
	filter: drop-shadow(0 0 45px var(--glow)) drop-shadow(0 18px 35px rgba(0, 0, 0, 0.55));
	animation: bob 5s ease-in-out infinite;
}

@keyframes bob {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-10px); }
}

.hero h1 {
	font-size: clamp(1.9rem, 5.4vw, 3.6rem);
}

.lede {
	max-width: 34rem;
	color: var(--paper-dim);
	font-size: clamp(0.98rem, 1.6vw, 1.1rem);
}

.lede em { color: var(--paper); }

.award-strip {
	margin-top: 0.8rem;
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.65rem 1.4rem;
	border: 1px solid var(--gold-deep);
	border-radius: 999px;
	background: rgba(245, 200, 76, 0.07);
	color: var(--gold);
	text-decoration: none;
	font-size: 0.82rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
	transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.award-strip:hover {
	background: rgba(245, 200, 76, 0.14);
	box-shadow: 0 0 30px var(--glow);
	transform: translateY(-2px);
}

.award-strip .trophy { width: 17px; height: 17px; flex-shrink: 0; }

.award-strip .arrow { animation: nudge 1.6s ease-in-out infinite; }

@keyframes nudge {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(3px); }
}

/* ---------- awards ---------- */

.awards {
	padding: clamp(5rem, 10vw, 8rem) 1.5rem;
	text-align: center;
	position: relative;
}

.awards::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(245, 200, 76, 0.06), transparent 70%);
}

.awards h2 {
	font-size: clamp(1.5rem, 4vw, 2.6rem);
	margin-top: 0.9rem;
}

.gold {
	background: linear-gradient(100deg, var(--gold-deep), var(--gold) 45%, #fff3c9 55%, var(--gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.award-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(1.2rem, 3vw, 2.4rem);
	margin: clamp(2.5rem, 6vw, 4rem) auto 0;
	max-width: 62rem;
}

.award-card {
	flex: 1 1 260px;
	max-width: 22rem;
	padding: 2.8rem 2rem 2.4rem;
	background: linear-gradient(160deg, var(--ink-2), var(--ink));
	border: 1px solid var(--ink-3);
	border-radius: 14px;
	position: relative;
	transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.award-card::before {
	content: "";
	position: absolute;
	top: -1px; left: 50%;
	transform: translateX(-50%);
	width: 55%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.award-card:hover {
	transform: translateY(-6px);
	border-color: var(--gold-deep);
	box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5), 0 0 40px var(--glow);
}

.laurel {
	width: 120px;
	height: 70px;
	color: var(--gold);
	margin-bottom: 1.1rem;
}

.award-card h3 {
	font-size: 1.25rem;
	color: var(--paper);
}

.award-meta {
	margin-top: 0.9rem;
	font-size: 0.75rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--paper-dim);
}

.awards-note {
	margin: clamp(2.2rem, 5vw, 3.2rem) auto 0;
	max-width: 30rem;
	color: var(--paper-dim);
	font-size: 0.95rem;
}

.awards-note em { color: var(--paper); }

/* ---------- bowlbo ---------- */

.bowlbo {
	padding: clamp(5rem, 10vw, 8rem) 1.5rem;
	border-top: 1px solid var(--ink-3);
}

.bowlbo-inner {
	max-width: 66rem;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}

.bowlbo-copy .eyebrow::before,
.bowlbo-copy .eyebrow::after { content: none; }

.bowlbo-copy h2 {
	font-size: clamp(1.4rem, 3.4vw, 2.1rem);
	margin: 0.8rem 0 1.4rem;
}

.bowlbo-copy p {
	color: var(--paper-dim);
	margin-bottom: 1.1rem;
	max-width: 32rem;
}

.btn {
	display: inline-block;
	margin-top: 0.9rem;
	padding: 0.85rem 1.8rem;
	font-family: var(--font-display);
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
	background: var(--gold);
	border-radius: 8px;
	box-shadow: 0 6px 0 var(--gold-deep);
	transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover  { transform: translateY(-2px); box-shadow: 0 8px 0 var(--gold-deep), 0 0 35px var(--glow); }
.btn:active { transform: translateY(3px);  box-shadow: 0 2px 0 var(--gold-deep); }

/* trailer */

.trailer {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--ink-3);
	background: var(--ink-2);
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.trailer iframe,
.trailer-facade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.trailer-facade {
	cursor: pointer;
	background: none;
	padding: 0;
	display: block;
}

.trailer-facade img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.75);
	transition: filter 0.3s, transform 0.4s;
}

.trailer-facade:hover img { filter: brightness(0.95); transform: scale(1.03); }

.play-btn {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: rgba(10, 11, 16, 0.75);
	border: 2px solid var(--gold);
	color: var(--gold);
	display: grid;
	place-items: center;
	transition: transform 0.25s, background 0.25s;
}

.play-btn svg { width: 34px; height: 34px; margin-left: 4px; }

.trailer-facade:hover .play-btn {
	transform: translate(-50%, -50%) scale(1.1);
	background: rgba(245, 200, 76, 0.15);
}

/* ---------- footer ---------- */

.site-footer {
	border-top: 1px solid var(--ink-3);
	padding: 4rem 1.5rem 3rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.footer-contact a {
	color: var(--paper);
	text-decoration: none;
	font-size: 1rem;
	letter-spacing: 0.06em;
	border-bottom: 1px solid var(--gold-deep);
	padding-bottom: 2px;
	transition: color 0.2s;
}

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

.socials {
	list-style: none;
	display: flex;
	gap: 1.8rem;
}

.socials a {
	color: var(--paper-dim);
	text-decoration: none;
	font-size: 0.8rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	transition: color 0.2s;
}

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

.copyright {
	margin-top: 0.6rem;
	color: var(--paper-dim);
	font-size: 0.78rem;
	opacity: 0.7;
}

/* ---------- reveal on scroll ---------- */

.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* stagger siblings inside the same section */
.reveal.is-visible:nth-child(2) { transition-delay: 0.08s; }
.reveal.is-visible:nth-child(3) { transition-delay: 0.16s; }
.reveal.is-visible:nth-child(4) { transition-delay: 0.24s; }
.reveal.is-visible:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero-logo, .award-strip .arrow { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 760px) {
	.bowlbo-inner { grid-template-columns: 1fr; }
	.site-header nav a:not(:last-child) { display: none; }
}
