:root {
	--ink: #193c45;
	--cream: #fff5d9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
	margin: 0;
	color: var(--ink);
	font: 21px/1.65 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
	background: #ff960e;
}
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background: url("../supercouponclub/images/bg.png") center / cover no-repeat;
	pointer-events: none;
}
a { color: inherit; text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
.skip-link { position: absolute; top: -100px; background: var(--cream); padding: 12px; z-index: 5; }
.skip-link:focus { top: 12px; }
.page { width: min(1100px, calc(100% - 48px)); margin: auto; }
.hero { text-align: center; padding: 0; }
.hero h1 {
    margin: 64px auto 56px;
    width: min(600px, 90%);
}
.logo { animation: welcome 1.2s ease-out both; }
.steam-link { display: block; width: min(420px, 90%); margin: 44px auto 0; text-align: center; font-weight: bold; text-decoration: none; }
.wishlist { display: block; margin-bottom: 18px; color: #fff; font-size: clamp(28px, 4vw, 38px); font-weight: 900; text-shadow: 0 2px 4px #193c4580; animation: wishlist-bob 2.4s ease-in-out infinite, wishlist-rotate 4.8s ease-in-out infinite; }
.steam-link img { width: min(370px, 100%); margin: auto; border-radius: 4.3% / 12.4%; box-shadow: 0 0 0 3px #fff; transition: transform .2s; }
.steam-link:hover img { transform: scale(1.04); }
.trailer { max-width: 900px; margin: auto; }
iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 24px; filter: drop-shadow(0 0 8px #193c45aa); }
.screenshots { margin-top: 30px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.screenshot-grid a { display: block; border: 4px solid var(--cream); border-radius: 9px; overflow: hidden; box-shadow: 0 5px 0 #733b0026; transition: transform .2s; }
.screenshot-grid a:hover { transform: translateY(-5px) rotate(-1deg); }
.screenshot-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.features { margin: 56px 0; background: var(--cream); border-radius: 12px; box-shadow: 0 12px 40px #68300026; padding: 0 36px; }
.feature { padding: 34px 0; }
.feature + .feature { border-top: 2px dashed #193c4540; }
.feature-copy { margin: 24px auto 0; max-width: 850px; text-align: center; }
.feature h2 { font-size: clamp(30px, 3.5vw, 38px); letter-spacing: -.035em; line-height: 1.2; margin: 0 0 24px; text-align: center; }
.animation { width: 100%; height: auto; }
.community { text-align: center; padding: 6px 0 48px; }
.community p { margin: 8px 0 26px; color: #fff; font-size: clamp(24px, 3vw, 28px); text-shadow: 0 2px 4px #193c4580; }
.discord { display: block; max-width: 700px; margin: auto; transition: transform .25s; }
.discord:hover { transform: translateY(-5px); }
footer { border-top: 1px solid #193c4540; padding: 28px 0 36px; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 20px; }
footer a { font-weight: bold; }
footer span { width: 100%; text-align: center; font-size: 18px; }
@keyframes welcome { from { opacity: 0; transform: translateY(18px) rotate(-3deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes wishlist-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wishlist-rotate { 0%, 100% { rotate: -2deg; } 50% { rotate: 2deg; } }
@media (max-width: 700px) {
	.page { width: calc(100% - 28px); }
	.hero h1 {
    		margin: 80px auto 72px;
	}
	.screenshot-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.features { margin: 38px 0; padding: 0 18px; }
	.feature { padding: 28px 0; }
	footer { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
