:root {
  --bg: #090811;
  --bg-soft: #11101c;
  --card: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.1);
  --text: #f7f5ff;
  --muted: #aca7be;
  --purple: #8b5cf6;
  --purple-2: #6d28d9;
  --blue: #38bdf8;
  --pink: #f472b6;
  --lime: #b8ff5a;
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(109,40,217,.22), transparent 30%),
    radial-gradient(circle at 100% 12%, rgba(56,189,248,.12), transparent 28%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::selection { background: var(--purple); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #d6c9ff; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.shell { width: min(1160px, calc(100% - 42px)); margin-inline: auto; }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(9,8,17,.68);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: -.04em; }
.brand b, .footer-brand b { color: var(--purple); }
.brand-icon { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 10px 15px; border: 1px solid var(--stroke); border-radius: 12px; color: #fff !important; background: rgba(255,255,255,.04); }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 70px; padding-block: 70px 88px; }
.eyebrow { color: #c4b5fd; font-size: 12px; letter-spacing: .18em; font-weight: 800; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--lime); box-shadow: 0 0 18px rgba(184,255,90,.9); }
.hero h1 { font-size: clamp(48px, 6.8vw, 84px); line-height: .96; margin: 18px 0 24px; letter-spacing: -.065em; max-width: 720px; }
.hero h1 span, .section h2 span, .download-content h2 span { color: var(--purple); }
.hero-text { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 610px; margin: 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; padding: 0 20px; font-weight: 800; font-size: 14px; transition: .2s ease; border: 1px solid transparent; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 14px 42px rgba(109,40,217,.32); }
.btn-primary:hover { box-shadow: 0 16px 50px rgba(109,40,217,.46); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--stroke); color: #ddd8ea; }
.mini-stats { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #7f7a91; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.mini-stats strong { color: #e8e4ef; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.phone-card { position: relative; width: min(100%, 540px); transform: rotate(2deg); border-radius: 30px; padding: 12px; background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 35px 90px rgba(0,0,0,.52); }
.phone-card::before { content:""; position:absolute; inset: 12px; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); pointer-events:none; z-index:2; }
.phone-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 20px; }
.floating-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 14px; font-size: 11px; font-weight: 900; letter-spacing: .08em; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.floating-badge span { font-size: 16px; }
.badge-top { top: -24px; right: 34px; background: rgba(109,40,217,.78); }
.badge-bottom { bottom: -24px; left: 20px; background: rgba(15,23,42,.85); }
.glow { position: absolute; border-radius: 999px; filter: blur(70px); opacity: .7; }
.glow-one { width: 220px; height: 220px; background: #7c3aed; top: 45px; right: 20px; }
.glow-two { width: 180px; height: 180px; background: #0ea5e9; bottom: 60px; left: 45px; opacity: .42; }

.ticker { overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); }
.ticker-track { min-width: max-content; display: flex; gap: 26px; align-items: center; padding: 18px 0; color: #5e596e; font-weight: 900; font-size: 12px; letter-spacing: .2em; animation: scroll 22s linear infinite; }
.ticker-track i { color: var(--purple); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

.section { padding-block: 112px; }
.section-head { display: grid; grid-template-columns: 1fr .62fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.section h2 { font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.055em; margin: 12px 0 0; }
.section-head p { color: var(--muted); line-height: 1.7; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 260px; border-radius: var(--radius); padding: 26px; border: 1px solid var(--stroke); background: linear-gradient(150deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); position: relative; overflow: hidden; }
.feature-card::after { content:""; position:absolute; width: 150px; height:150px; border-radius:999px; filter: blur(60px); opacity:.16; right:-30px; top:-20px; }
.feature-purple::after { background: var(--purple); }
.feature-blue::after { background: var(--blue); }
.feature-pink::after { background: var(--pink); }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); font-size: 22px; margin-bottom: 58px; }
.feature-card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.gallery-section { background: #0d0c16; border-block: 1px solid rgba(255,255,255,.06); }
.gallery-head { margin-bottom: 36px; }
.gallery-rail { width: min(1500px, 100%); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(270px, 1fr)); gap: 14px; padding-inline: 18px; overflow-x: auto; scrollbar-width: none; }
.gallery-rail::-webkit-scrollbar { display: none; }
.shot { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); min-width: 270px; background: #171522; }
.shot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .45s ease; }
.shot:hover img { transform: scale(1.04); }

.download-card { position: relative; min-height: 370px; border-radius: 32px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: #5b21b6; box-shadow: 0 30px 90px rgba(76,29,149,.28); }
.download-bg { position: absolute; inset: 0; background:
  radial-gradient(circle at 18% 100%, rgba(56,189,248,.45), transparent 34%),
  radial-gradient(circle at 92% 0%, rgba(244,114,182,.38), transparent 30%),
  linear-gradient(135deg, #5b21b6 0%, #7c3aed 48%, #4c1d95 100%); }
.download-bg::after { content:""; position:absolute; inset:0; opacity:.28; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, #000, transparent 80%); }
.download-content { position: relative; z-index:1; min-height:370px; padding: 48px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.download-icon { width: 104px; height:104px; border-radius: 25px; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 18px 35px rgba(0,0,0,.25); }
.download-content .eyebrow { color: #ddd6fe; }
.download-content h2 { font-size: clamp(36px, 5vw, 56px); line-height:.98; margin: 10px 0 14px; letter-spacing:-.055em; }
.download-content h2 span { color: #fff; opacity:.72; }
.download-content p { margin:0; color: rgba(255,255,255,.74); }
.download-content code { color: #fff; }
.btn-white { background: #fff; color: #26124b; min-width: 190px; }
.btn-white:hover { box-shadow: 0 12px 32px rgba(0,0,0,.2); }

.footer { padding: 0 0 46px; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; color: #6e697e; font-size: 12px; }
.footer-brand { color: #e6e1ef; font-weight: 900; letter-spacing: -.035em; }
.footer p { text-align: center; margin:0; }
.footer a:hover { color:#fff; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 22px); background: rgba(20,18,31,.95); border: 1px solid rgba(255,255,255,.14); color: #fff; padding: 13px 17px; border-radius: 13px; font-size: 13px; z-index: 50; opacity: 0; pointer-events:none; transition: .25s ease; box-shadow: 0 12px 36px rgba(0,0,0,.35); }
.toast.show { opacity:1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display:none; }
  .hero { grid-template-columns: 1fr; min-height:auto; gap: 46px; padding-block: 76px; }
  .hero-copy { text-align:center; }
  .eyebrow { justify-content:center; }
  .hero-text { margin-inline:auto; }
  .hero-actions, .mini-stats { justify-content:center; }
  .hero-visual { min-height:360px; }
  .section-head { grid-template-columns: 1fr; gap:24px; }
  .section-head .eyebrow { justify-content:flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .feature-icon { margin-bottom: 42px; }
  .gallery-rail { grid-template-columns: repeat(4, 72vw); }
  .download-content { grid-template-columns: auto 1fr; }
  .download-content .btn { grid-column: 1/-1; justify-self: stretch; }
  .footer { grid-template-columns: 1fr; text-align:center; }
  .footer p { order:3; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav { height: 68px; }
  .brand { font-size:14px; }
  .brand-icon { width:34px; height:34px; }
  .nav-cta { padding: 9px 12px; }
  .hero { padding-top: 58px; padding-bottom: 68px; }
  .hero h1 { font-size: 49px; }
  .hero-text { font-size:16px; }
  .btn { width:100%; }
  .hero-visual { min-height:280px; }
  .phone-card { border-radius:22px; padding:8px; }
  .phone-card img { border-radius:15px; }
  .phone-card::before { inset:8px; border-radius:15px; }
  .badge-top { right: 12px; top:-18px; }
  .badge-bottom { left:10px; bottom:-20px; }
  .section { padding-block: 82px; }
  .section h2 { font-size:42px; }
  .gallery-rail { grid-template-columns: repeat(4, 84vw); padding-inline: 14px; }
  .download-content { grid-template-columns: 1fr; padding: 30px; text-align:center; }
  .download-content .eyebrow { justify-content:center; }
  .download-icon { margin-inline:auto; width:86px; height:86px; }
}

/* MaxLTDMods catalog additions */
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #8b5cf6, #5b21b6);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 10px 30px rgba(109,40,217,.25);
}

.catalog-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 18px;
}

.game-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--stroke);
  background: linear-gradient(150deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.game-cover {
  position: relative;
  min-height: 280px;
  background: #15131f;
  overflow: hidden;
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,8,17,.72), transparent 55%);
  pointer-events: none;
}

.game-cover > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 16/7;
  object-fit: cover;
  transition: transform .45s ease;
}

.game-card:hover .game-cover > img { transform: scale(1.025); }

.game-status {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  background: rgba(9,8,17,.74);
  backdrop-filter: blur(12px);
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 900;
}

.game-status .dot { width: 7px; height: 7px; }

.game-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 24px 12px;
}

.game-icon {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 14px 34px rgba(0,0,0,.26);
}

.game-platform {
  color: #a78bfa;
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 900;
}

.game-copy h3 {
  margin: 5px 0 7px;
  font-size: 27px;
  letter-spacing: -.04em;
}

.game-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.game-actions {
  display: flex;
  gap: 10px;
  padding: 12px 24px 24px;
}

@media (max-width: 560px) {
  .brand-mark { width: 34px; height: 34px; }
  .game-cover, .game-cover > img { min-height: 210px; }
  .game-info { grid-template-columns: 1fr; }
  .game-icon { width: 72px; height: 72px; }
  .game-actions { flex-direction: column; }
}
