:root {
  color-scheme: dark;
  --bg: #07050b;
  --panel: #120d19;
  --panel-2: #191020;
  --text: #f7f3fb;
  --muted: #a99fb4;
  --purple: #b72cff;
  --purple-2: #7918f2;
  --cyan: #30d8ff;
  --green: #56e88b;
  --line: rgba(255,255,255,.1);
  --shadow: 0 22px 70px rgba(0,0,0,.34);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% -10%, rgba(183,44,255,.18), transparent 32rem),
    radial-gradient(circle at 92% 12%, rgba(48,216,255,.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.shell { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.site-header { position: relative; z-index: 4; border-bottom: 1px solid var(--line); background: rgba(7,5,11,.8); }
.header-row { min-height: 78px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand-name { color: #fff; font-size: 1.5rem; font-weight: 850; letter-spacing: -.04em; line-height: 1.2; white-space: nowrap; }
.brand-name > span { color: #bf6bff; }
.top-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.top-nav a { text-decoration: none; color: var(--muted); font-size: .9rem; font-weight: 750; }
.top-nav a:hover, .top-nav a:focus-visible { color: var(--text); }
.install-btn { border: 1px solid rgba(183,44,255,.42); background: rgba(183,44,255,.1); color: var(--text); border-radius: 999px; padding: 9px 13px; font-weight: 800; cursor: pointer; }
.install-btn:hover { background: rgba(183,44,255,.18); }
.menu-btn { width: 42px; height: 42px; display: grid; place-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 13px; color: #fff; background: rgba(255,255,255,.045); cursor: pointer; }
.menu-btn span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.site-menu { position: absolute; z-index: 10; top: calc(100% + 8px); right: max(16px,calc((100vw - 1180px)/2)); width: min(280px,calc(100vw - 28px)); padding: 8px; border: 1px solid rgba(183,44,255,.3); border-radius: 18px; background: rgba(15,9,20,.98); box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.site-menu:not([hidden]) { display: grid; }
.site-menu a { padding: 12px 13px; border-radius: 11px; color: #ded5e4; text-decoration: none; font-weight: 800; }
.site-menu a:hover, .site-menu a:focus-visible { color: #fff; background: rgba(183,44,255,.12); outline: none; }

.section { padding: 58px 0; position: relative; }
.hero { padding-top: 38px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 900; color: #d7a5ff; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 14px var(--purple); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(2.15rem, 5vw, 4.15rem); max-width: 900px; margin-top: 10px; }
h2 { font-size: clamp(1.7rem, 3.7vw, 2.75rem); }
h3 { font-size: 1.08rem; letter-spacing: -.025em; }
.gradient-text { background: linear-gradient(90deg, #fff 0%, #d58bff 48%, #56e4ff 100%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.lede { color: var(--muted); max-width: 720px; margin: 18px 0 0; font-size: 1.06rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 18px; }
.section-head p { color: var(--muted); margin: 10px 0 0; max-width: 680px; }
.mini-link { color: #deb6ff; text-decoration: none; font-weight: 800; font-size: .9rem; white-space: nowrap; }

.platform-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.platform-dots { display: none; }
.platform-card {
  position: relative;
  min-height: 174px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.platform-card::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -75px; bottom: -80px; background: var(--glow, rgba(183,44,255,.22)); filter: blur(8px); }
.platform-card:hover, .platform-card:focus-visible { transform: translateY(-5px); border-color: rgba(216,166,255,.42); background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.035)); outline: none; }
.platform-card.featured { border-color: rgba(183,44,255,.4); background: linear-gradient(135deg, rgba(183,44,255,.17), rgba(25,16,32,.9)); }
.platform-art { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.myclipper-brand { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 12px 8px; background: #fff; color: #111; }
.myclipper-brand img { width: 38%; height: auto; object-fit: contain; }
.myclipper-brand > span { font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 900; letter-spacing: -.04em; }
.myclipper-brand small { display: block; max-width: 110px; margin-top: 5px; color: #34513d; font-size: .75rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.myclipper-card .card-action { color: #82f693; }
.platform-card .card-copy { display: flex; flex: 1; flex-direction: column; padding: 12px 14px 14px; }
.platform-card h3 { margin-top: 0; }
.platform-card p { color: var(--muted); margin: 4px 0 10px; font-size: .79rem; line-height: 1.4; }
.card-action { margin-top: auto; color: #e5c1ff; font-weight: 900; font-size: .8rem; position: relative; z-index: 1; }

.quick-nav { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 15px 0 2px; }
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav a { flex: 0 0 auto; text-decoration: none; color: #ddd4e4; border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 999px; padding: 7px 11px; font-weight: 780; font-size: .76rem; }

.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.game-card { overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 20px; color: #fff; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); cursor: pointer; text-align: left; text-decoration: none; }
.game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.game-card strong { display: block; min-height: 46px; padding: 10px; font-size: .82rem; }
.game-card:hover, .game-card:focus-visible { transform: translateY(-3px); border-color: rgba(216,166,255,.42); outline: none; }

.sports-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sport { width: 100%; display: block; overflow: hidden; padding: 0; text-align: left; border-radius: 18px; border: 1px solid var(--line); color: #fff; background: rgba(255,255,255,.035); font-weight: 850; text-decoration: none; cursor: pointer; }
.sport img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.sport span { display: block; padding: 10px; }

.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.article-card { text-decoration: none; padding: 18px; border: 1px solid var(--line); border-radius: 19px; background: var(--panel); transition: border-color .2s, transform .2s; }
.article-card:hover, .article-card:focus-visible { transform: translateY(-4px); border-color: rgba(48,216,255,.33); outline: none; }
.article-card time { color: #9be9ff; font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.article-card h3 { margin-top: 12px; }
.article-card p { color: var(--muted); margin: 10px 0 18px; font-size: .92rem; }
.article-card span { color: #deb6ff; font-weight: 900; font-size: .85rem; }

.discord-mini { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 22px; padding: 16px; border: 1px solid rgba(48,216,255,.24); border-radius: 22px; background: linear-gradient(120deg, rgba(48,216,255,.08), rgba(88,101,242,.08)); }
.discord-mini img { width: 190px; height: 78px; object-fit: cover; object-position: center; border-radius: 14px; }
.discord-mini p { color: var(--muted); margin: 3px 0 0; font-size: .9rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; text-decoration: none; padding: 12px 17px; color: #fff; background: linear-gradient(135deg, #5865f2, #398bff); font-weight: 900; white-space: nowrap; }

.site-footer { border-top: 1px solid var(--line); padding: 30px 0 45px; color: #8f8499; font-size: .78rem; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-links { display: flex; gap: 13px; flex-wrap: wrap; }
.footer-links a { color: #b8aabd; text-decoration: none; }
.responsible { margin-top: 14px; max-width: 800px; }
.responsible a { color: #c8b7cf; }

.article-hero { padding: 58px 0 34px; }
.article-hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); max-width: 940px; }
.article-meta { margin-top: 18px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 7px 16px; font-size: .9rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 46px; align-items: start; padding-bottom: 82px; }
.article-body { font-size: 1.04rem; }
.article-body h2 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); margin: 46px 0 16px; }
.article-body h3 { font-size: 1.3rem; margin: 30px 0 10px; }
.article-body p, .article-body li { color: #c9c0d0; }
.article-body a { color: #dba9ff; }
.article-body ul, .article-body ol { padding-left: 1.25rem; }
.article-body li + li { margin-top: 8px; }
.callout { margin: 28px 0; padding: 20px; border: 1px solid rgba(183,44,255,.28); border-radius: 18px; background: rgba(183,44,255,.07); }
.callout strong { display: block; color: #f0d9ff; margin-bottom: 5px; }
.article-cta { margin-top: 34px; padding: 24px; border-radius: 22px; border: 1px solid rgba(86,232,139,.25); background: linear-gradient(135deg, rgba(86,232,139,.08), rgba(183,44,255,.08)); }
.article-cta .btn { margin-top: 10px; background: linear-gradient(135deg, #7d1ae8, #bd36ff); }
.toc { position: sticky; top: 18px; border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--panel); }
.toc strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.toc a { display: block; color: var(--muted); text-decoration: none; margin-top: 10px; font-size: .87rem; line-height: 1.35; }
.toc a:hover { color: var(--text); }
.article-index { display: grid; gap: 14px; padding-bottom: 80px; }
.article-index .article-card { display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: center; }
.article-index .number { font-size: 3rem; font-weight: 950; color: rgba(216,166,255,.25); }
.article-index .article-card h2 { font-size: 1.45rem; margin-top: 8px; }

.offer-sheet { position: fixed; inset: 0; z-index: 20; display: grid; place-items: end center; padding: 18px; background: rgba(0,0,0,.7); opacity: 0; pointer-events: none; transition: opacity .2s; }
.offer-sheet.open { opacity: 1; pointer-events: auto; }
.sheet-card { width: min(560px,100%); border: 1px solid rgba(183,44,255,.35); border-radius: 26px; background: #110b17; padding: 24px; transform: translateY(18px); transition: transform .2s; box-shadow: 0 20px 90px rgba(0,0,0,.6); }
.offer-sheet.open .sheet-card { transform: none; }
.sheet-close { float: right; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.05); color: #fff; width: 36px; height: 36px; cursor: pointer; }
.sheet-list { display: grid; gap: 10px; margin-top: 20px; }
.sheet-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 15px; text-decoration: none; }
.sheet-list b { color: #deb6ff; white-space: nowrap; }
.betzillo-sheet .sheet-card h3 { max-width: 420px; margin: 14px 0 20px; line-height: 1.3; }
.betzillo-continue { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 14px; color: #fff; background: linear-gradient(135deg,#7d1ae8,#bd36ff); text-decoration: none; font-weight: 900; }
.floating-gift { position: fixed; z-index: 18; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 18px; color: #fff; background: linear-gradient(135deg,#8130ff,#f32bda); box-shadow: 0 12px 34px rgba(205,44,255,.42); cursor: pointer; animation: gift-in .4s ease both, gift-shake 6s 1.5s ease-in-out infinite; }
.gift-icon { font-size: 1.6rem; line-height: 1; }
.gift-count { position: absolute; top: -6px; right: -6px; min-width: 23px; height: 23px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #12051a; border-radius: 999px; background: #ff285f; font-size: .72rem; font-weight: 950; }
@keyframes gift-in { from { opacity: 0; transform: translateY(16px) scale(.85); } }
@keyframes gift-shake { 0%,72%,100% { transform: translateY(0) rotate(0); } 76% { transform: translateY(-5px) rotate(-7deg); } 80% { transform: translateY(0) rotate(7deg); } 84% { transform: translateY(-3px) rotate(-5deg); } 88% { transform: translateY(0) rotate(0); } }

@media (max-width: 900px) {
  .platform-grid { grid-template-columns: repeat(2,1fr); }
  .game-grid { grid-template-columns: repeat(2,1fr); }
  .sports-strip { grid-template-columns: repeat(3,1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 22px, 1180px); }
  .header-row { min-height: 66px; gap: 10px; }
  .brand { gap: 5px; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: clamp(1rem, 4.4vw, 1.25rem); }
  .top-nav { gap: 8px; }
  .install-btn { padding: 8px 10px; font-size: .78rem; }
  .section { padding: 40px 0; }
  .hero { padding-top: 26px; }
  .lede { font-size: 1rem; }
  .section-head { align-items: start; flex-direction: column; }
  .platform-grid { display: flex; gap: 10px; overflow-x: auto; margin-inline: -11px; padding: 0 11px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .platform-grid::-webkit-scrollbar { display: none; }
  .platform-card, .platform-card.featured { flex: 0 0 72%; min-height: 0; scroll-snap-align: start; border-radius: 18px; }
  .platform-card .card-copy { padding: 10px 12px 12px; }
  .platform-dots { display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 26px; margin-top: 2px; }
  .platform-dots button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
  .platform-dots button::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.35); transition: width .18s ease, background .18s ease; }
  .platform-dots button.active::before { width: 20px; background: #bc52ff; }
  .platform-dots button:focus-visible { outline: 2px solid #d7a2ff; outline-offset: 2px; }
  .game-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .game-card { min-height: 0; padding: 0; }
  .sports-strip { grid-template-columns: repeat(2,1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .discord-mini { grid-template-columns: 100px 1fr; gap: 13px; }
  .discord-mini img { width: 100px; height: 74px; }
  .discord-mini .btn { grid-column: 1 / -1; }
  .footer-row { flex-direction: column; }
  .article-index .article-card { grid-template-columns: 62px 1fr; }
  .article-index .article-card > span:last-child { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
