:root { --bg: #07080f; --bg2: #0c0f1a; --card: #10131f; --line: #1d2234; --text: #eef1f8; --dim: #929ab2; --accent: #ff2d55; --accent2: #00d2ff; --ok: #4be08a; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 26px rgba(255,45,85,.3); }
.btn-primary:hover { background: #ff4a6c; }
.btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); }
.btn-google { background: #fff; color: #1f1f1f; padding: 8px 14px; font-size: 14px; border-radius: 8px; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7,8,15,.78); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Teko, sans-serif; font-weight: 700; font-size: 30px; letter-spacing: 1.5px; line-height: 1; padding-top: 4px; }
.brand em { font-style: normal; color: var(--accent); }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #ff8a00); font-size: 22px; padding-top: 3px; margin-top: -4px; }
.links { display: flex; gap: 24px; margin-left: 12px; }
.links a { color: var(--dim); font-weight: 600; font-size: 14px; }
.links a:hover { color: #fff; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.online { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--dim); padding: 6px 12px; border: 1px solid rgba(75,224,138,.25); border-radius: 30px; background: rgba(75,224,138,.06); }
.online i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 1.6s infinite; }
.online b { color: var(--ok); }
@keyframes blink { 50% { opacity: .35; } }
.me { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.me img, .me .av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--accent2), #0066ff); display: grid; place-items: center; font-weight: 800; }
.me .lv { font-size: 11px; font-weight: 800; color: var(--accent2); letter-spacing: 1px; display: block; }
.me button { background: none; border: 0; color: var(--dim); font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; }

/* hero */
.hero { position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,15,.96) 0%, rgba(7,8,15,.82) 38%, rgba(7,8,15,.25) 75%, rgba(7,8,15,.45) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%), url(/nitroraze-hero.jpg) center/cover no-repeat; transform: scale(1.03); }
.hero-in { position: relative; padding: 90px 0 70px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 82px); font-weight: 800; letter-spacing: -.035em; max-width: 720px; }
.hero h1 span { background: linear-gradient(90deg, var(--accent), #ff9a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #c4cadb; max-width: 560px; margin-top: 18px; }
.cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.hero-stats span { color: var(--dim); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }

/* sections */
.section { padding: 90px 0; }
.band { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); padding: 90px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; }
.sec-head p { color: var(--dim); max-width: 420px; }
.sec-head.center { justify-content: center; text-align: center; }

/* game cards */
.grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.game { transition: transform .2s, border-color .2s, box-shadow .2s; display: flex; flex-direction: column; }
.game:hover { transform: translateY(-4px); border-color: rgba(255,45,85,.6); box-shadow: 0 24px 60px rgba(255,45,85,.18); }
.thumb { position: relative; aspect-ratio: 16/9; background: #111 center/cover no-repeat; }
.thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,19,31,.9), transparent 55%); }
.badge { position: absolute; z-index: 1; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.play { position: absolute; z-index: 1; right: 14px; bottom: 14px; background: rgba(255,255,255,.95); color: #111; font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 8px; }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { font-size: 24px; }
.card-body p { color: var(--dim); margin-top: 8px; font-size: 15px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.tags span { font-size: 12px; font-weight: 700; color: var(--accent2); background: rgba(0,210,255,.08); border: 1px solid rgba(0,210,255,.2); padding: 3px 10px; border-radius: 20px; }
.soon { border-style: dashed; display: grid; place-items: center; text-align: center; padding: 30px; }
.soon-ico { width: 54px; height: 54px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.25); display: grid; place-items: center; font-size: 26px; color: var(--dim); margin: 0 auto 14px; }
.soon p { color: var(--dim); font-size: 14px; margin-top: 8px; }
.ad-card { display: flex; flex-direction: column; padding: 12px; min-height: 280px; }
.ad-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #5c6379; margin-bottom: 6px; }
.ad { text-align: center; }
.ad-top { margin-bottom: 26px; }
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(255,45,85,.1); border: 1px solid rgba(255,45,85,.25); margin-bottom: 16px; }
.feature p { color: var(--dim); font-size: 15px; margin-top: 8px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.about p { color: #c4cadb; margin-top: 16px; font-size: 17px; }
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px 26px; }
.about-card .row { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-card .row:last-child { border: 0; }
.about-card b { font-size: 30px; font-weight: 800; min-width: 92px; color: var(--accent2); letter-spacing: -.02em; }
.about-card span { color: var(--dim); }

/* feedback */
.fb { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.fb p { color: var(--dim); margin-top: 12px; }
.fb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fb-form textarea, .fb-form .fb-row { grid-column: 1 / -1; }
.fb-form input, .fb-form textarea { background: var(--card); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 10px; outline: none; resize: vertical; }
.fb-form input:focus, .fb-form textarea:focus { border-color: var(--accent2); }
.fb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fb-status { color: var(--dim); font-size: 14px; }
.fb-status.ok { color: var(--ok); } .fb-status.err { color: #ff5d7a; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* footer */
.foot { border-top: 1px solid rgba(255,255,255,.06); padding: 56px 0 26px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot-brand p { color: var(--dim); margin-top: 10px; font-size: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.foot-col a { color: var(--dim); font-size: 14px; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); color: #636a80; font-size: 13px; }

/* legal pages */
.legal { padding: 60px 0 90px; max-width: 800px; }
.legal h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 800; }
.legal .upd { color: var(--dim); margin: 8px 0 30px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: #c4cadb; font-size: 16px; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--accent2); text-decoration: underline; }

@media (max-width: 960px) {
  .links { display: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid .game { grid-column: 1 / -1; }
  .features { grid-template-columns: 1fr 1fr; }
  .about-grid, .fb { grid-template-columns: 1fr; gap: 30px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .online span { display: none; }
  .hero { min-height: 560px; }
  .hero-bg { background: linear-gradient(0deg, rgba(7,8,15,1) 0%, rgba(7,8,15,.75) 60%, rgba(7,8,15,.55) 100%), url(/nitroraze-hero.jpg) center/cover no-repeat; }
  .hero-stats { gap: 24px; }
  .grid, .features, .fb-form { grid-template-columns: 1fr; }
  .section, .band { padding: 64px 0; }
  .btn-google { padding: 7px 10px; }
}

/* Battloryx card: the game's own cover.jpg once uploaded, a branded fallback until then */
.thumb-bx { background-size: cover; background-position: center; }
.bx-word { position: absolute; inset: 0; display: grid; place-items: center; font-family: Teko, sans-serif; font-weight: 700; font-size: clamp(34px, 4vw, 54px); letter-spacing: 4px; color: rgba(255,255,255,.9); text-shadow: 0 4px 30px rgba(255,45,85,.6); z-index: 0; }
.thumb-bx.has-cover .bx-word { display: none; }
.grid { grid-template-columns: 1.4fr 1fr 1fr; }

/* until AdSense fills the box, show a "coming soon" panel instead of an empty card */
.ad-card { position: relative; }
.ad-card .ad-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 30px; border: 1px dashed rgba(255,255,255,.12); border-radius: 18px; }
.ad-card .ad-fallback p { color: var(--dim); font-size: 14px; margin-top: 8px; }
.ad-card .ad-label { visibility: hidden; }
.ad-card:has(ins[data-ad-status="filled"]) .ad-fallback { display: none; }
.ad-card:has(ins[data-ad-status="filled"]) .ad-label { visibility: visible; }

/* hero carousel */
.hero-slides { position: absolute; inset: 0; }
.hero-slides .slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease-out; }
.hero-slides .slide.on { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,15,.96) 0%, rgba(7,8,15,.8) 38%, rgba(7,8,15,.2) 75%, rgba(7,8,15,.45) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero-dots { display: flex; gap: 8px; margin-top: 26px; }
.hero-dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(255,255,255,.25); cursor: pointer; }
.hero-dots button.on { background: var(--accent); }
.grid { grid-template-columns: repeat(3, 1fr); }
.ad-mid { margin: 50px auto 0; }
.ad-foot { margin: 0 auto 30px; }
@media (max-width: 960px) { .grid { grid-template-columns: 1fr 1fr; } .grid .game:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .hero-shade { background: linear-gradient(0deg, rgba(7,8,15,1) 0%, rgba(7,8,15,.75) 60%, rgba(7,8,15,.55) 100%); } }
