/* basementvibes.com: a basement at night, purple walls and teal neon */
:root { --bg: #14101f; --bg2: #1d1730; --card: #231b3a; --line: #3b2f63; --ink: #ece8f8; --dim: #a79fc4; --teal: #3fe0d0; --pink: #ff5fa2; --gold: #ffd166; --font: "Trebuchet MS", "Segoe UI", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: .01em; }
.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(14px, 4vw, 40px); background: rgb(20 16 31 / 88%); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .14em; font-size: 15px; }
.brand img { image-rendering: pixelated; } .brand b { color: var(--teal); }
nav { display: flex; gap: clamp(12px, 3vw, 28px); } nav a { color: var(--dim); text-decoration: none; font-weight: 700; font-size: 15px; } nav a:hover, nav a:focus-visible { color: var(--ink); }
section { padding: clamp(36px, 7vw, 84px) clamp(14px, 4vw, 40px); max-width: 1180px; margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.hero__art { width: 100%; image-rendering: pixelated; border-radius: 10px; border: 3px solid var(--line); box-shadow: 0 0 60px rgb(63 224 208 / 18%), 0 0 120px rgb(255 95 162 / 12%); }
.kicker { margin: 0 0 10px; color: var(--pink); font-weight: 800; letter-spacing: .22em; font-size: 13px; }
h1 { font-size: clamp(36px, 6vw, 64px); } h1 em { font-style: normal; color: var(--teal); text-shadow: 0 0 24px rgb(63 224 208 / 55%); }
.lead { color: var(--dim); font-size: clamp(16px, 2vw, 19px); margin: 16px 0 22px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 2px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 800; }
.btn:hover, .btn:focus-visible { border-color: var(--teal); outline: none; }
.btn--main { background: var(--teal); border-color: var(--teal); color: #08201d; } .btn--main:hover, .btn--main:focus-visible { background: #6ff0e3; }
.steam, .status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.steam::before, .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
h2 { font-size: clamp(26px, 4vw, 38px); } .sub { color: var(--dim); margin: 8px 0 26px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2.5vw, 26px); }
.game { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.game:hover { transform: translateY(-3px); border-color: var(--teal); }
.game img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.game__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game h3 { font-size: 24px; } .game p { margin: 0; color: var(--dim); } .game .status { align-self: flex-start; margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; } .tags span { padding: 2px 9px; border-radius: 6px; background: var(--bg2); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 36px); margin-top: 16px; } .about__cols p { margin: 0; color: var(--dim); }
.follow { text-align: center; } .follow .cta { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 22px clamp(14px, 4vw, 40px); color: var(--dim); font-size: 13px; text-align: center; } footer p { margin: 0 auto; max-width: 60em; }
@media (max-width: 820px) { .hero, .grid, .about__cols { grid-template-columns: 1fr; } nav a { font-size: 14px; } .brand span { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .game { transition: none; } }

/* game pages: screenshots with explanations */
.game h3 a { color: inherit; text-decoration: none; } .game h3 a:hover { color: var(--teal); }
.btn--small { min-height: 38px; padding: 0 14px; font-size: 14px; align-self: flex-start; }
.game .status { margin-top: auto; }
.ghead { padding-bottom: 0; } .ghead h1 { font-size: clamp(38px, 7vw, 72px); }
.shot { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(14px, 3vw, 36px); align-items: center; margin: 0 0 clamp(26px, 5vw, 56px); }
.shot img { width: 100%; border-radius: 10px; border: 2px solid var(--line); box-shadow: 0 10px 40px rgb(0 0 0 / 45%); }
.shot--flip img { order: 2; }
.shot figcaption h3 { font-size: clamp(20px, 2.6vw, 28px); margin: 6px 0 8px; } .shot figcaption p { margin: 0; color: var(--dim); }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal); font-weight: 800; }
.morelinks { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; } .morelinks a { padding: 10px 16px; border: 2px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 800; } .morelinks a:hover { border-color: var(--teal); }
@media (max-width: 820px) { .shot { grid-template-columns: 1fr; } .shot--flip img { order: 0; } }

/* buying */
.buy { display: flex; align-items: center; gap: 10px; margin: 0; min-height: 40px; }
.buy--big { margin: 0 0 14px; }
.price { font-size: 24px; font-weight: 800; color: var(--ink) !important; } .buy--big .price { font-size: 32px; }
.soon { color: var(--dim); font-size: 14px; }
.btn--buy { background: var(--gold); border-color: var(--gold); color: #2a1c00; } .btn--buy:hover, .btn--buy:focus-visible { background: #ffe09a; border-color: #ffe09a; }
