:root {
  --bg: #080b16;
  --bg-2: #101529;
  --card: rgba(16, 22, 42, 0.78);
  --card-strong: rgba(20, 29, 55, 0.94);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(103, 232, 249, 0.28);
  --text: #f8fafc;
  --muted: rgba(226, 232, 240, 0.72);
  --muted-2: rgba(226, 232, 240, 0.55);
  --primary: #22d3ee;
  --primary-2: #38bdf8;
  --success: #34d399;
  --green:#35e28a;
  --danger: #fb7185;
  --warning: #fbbf24;
  --purple: #a78bfa;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% -10%, rgba(34, 211, 238, 0.20), transparent 34%), radial-gradient(circle at 90% 0%, rgba(167, 139, 250, 0.16), transparent 32%), linear-gradient(180deg, #080b16 0%, #0c1020 48%, #070a12 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.site-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.glow { position: absolute; width: 460px; height: 460px; border-radius: 999px; filter: blur(40px); opacity: 0.28; }
.glow-one { left: -140px; top: 70px; background: #22d3ee; }
.glow-two { right: -160px; bottom: 80px; background: #a78bfa; }
.grid-overlay { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, transparent, black 20%, black 70%, transparent); }

.topbar { position: sticky; top: 0; z-index: 50; padding: 16px clamp(14px, 3vw, 30px); backdrop-filter: blur(18px); background: rgba(8, 11, 22, 0.72); border-bottom: 1px solid var(--line); }
.nav-shell { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  width: 46px;
  height: 46px;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: transparent;
  border: 0;
  box-shadow: none;
  flex: 0 0 46px;
}

.brand-mark img,
.brand-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.brand:hover .brand-mark {
  transform: none;
  box-shadow: none;
}

.brand:hover .brand-logo {
  filter: none;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 16px; }
.brand-copy small { margin-top: 4px; color: var(--muted-2); font-size: 12px; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.nav-item, .nav-cta { padding: 10px 13px; border-radius: 999px; color: var(--muted); transition: .18s ease; font-weight: 650; font-size: 14px; }
.nav-item:hover { color: var(--text); background: rgba(255,255,255,.07); }
.nav-item.is-active { color: var(--text); background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.nav-cta { color: #061018; background: linear-gradient(135deg, #67e8f9, #a78bfa); box-shadow: 0 12px 34px rgba(34,211,238,.18); }
.nav-cta.is-active { box-shadow: 0 12px 34px rgba(34,211,238,.26), inset 0 0 0 2px rgba(255,255,255,.30); }
.nav-section-divider { width: 1px; height: 26px; margin: 0 3px; background: var(--line); }
.nav-account { display: inline-flex; align-items: center; gap: 9px; padding: 6px 11px 6px 7px; text-align: left; }
.nav-account-avatar { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; color: #061018; background: linear-gradient(135deg,#67e8f9,#a78bfa); font-size: 12px; font-weight: 950; }
.nav-account-copy { display: grid; min-width: 0; line-height: 1.05; }
.nav-account-copy strong { font-size: 13px; }
.nav-account-copy small { max-width: 105px; margin-top: 3px; overflow: hidden; color: var(--muted-2); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.nav-logout { color: #fecdd3; }
.nav-toggle { display: none; }
.hamburger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 20px; height: 2px; border-radius: 999px; background: var(--text); }

.page-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 64px; }
.hero-section { min-height: 670px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 48px; padding: 44px 0 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #67e8f9; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 999px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 78px); line-height: .92; letter-spacing: -0.06em; margin-bottom: 24px; }
h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.04em; line-height: 1; }
h3 { font-size: 20px; letter-spacing: -0.02em; }
.hero-lead, .page-hero p, .section-heading p, .muted { color: var(--muted); line-height: 1.72; }
.hero-lead { max-width: 660px; font-size: 18px; }
.hero-actions, .center-actions, .success-actions, .profile-actions, .table-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 11px 17px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.06); color: var(--text); cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; font-weight: 800; }
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.btn-primary { color: #041018; background: linear-gradient(135deg, #67e8f9, #a78bfa); border: 0; box-shadow: 0 16px 44px rgba(34,211,238,.22); }
.btn-success { color: #041018; background: linear-gradient(135deg, #34d399, #67e8f9); border: 0; }
.btn-danger { background: rgba(251,113,133,.16); border-color: rgba(251,113,133,.35); color: #fecdd3; }
.btn-warning { background: rgba(251,191,36,.14); border-color: rgba(251,191,36,.35); color: #fde68a; }
.btn-ghost { background: transparent; }
.btn-lg { min-height: 52px; padding: 14px 22px; }
.btn-small { min-height: 34px; padding: 8px 11px; font-size: 12px; }
.full-width { width: 100%; }
.trust-row { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.trust-row span, .auth-badges span { color: var(--muted); padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 13px; }

.hero-visual { display: grid; place-items: center; }
.game-card, .auth-card, .auth-visual-card, .feature-card, .price-card, .panel-card, .responsive-table-card, .legal-card, .empty-state, .success-card { background: linear-gradient(180deg, rgba(20,29,55,.88), rgba(12,17,34,.86)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.game-card { width: min(100%, 520px); padding: 14px; transform: rotate(1.5deg); }
.game-card-top { height: 42px; display: flex; align-items: center; gap: 8px; color: var(--muted-2); padding: 0 8px; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }.red{background:#fb7185}.yellow{background:#fbbf24}.green{background:#34d399}.window-title{margin-left:8px;font-size:13px}
.platform-scene { position: relative; height: 360px; overflow: hidden; border-radius: 18px; background: linear-gradient(#1d4ed8 0 45%, #38bdf8 45% 56%, #14532d 56% 100%); }
.platform-scene.image-preview { height: 300px; padding: 0; overflow: hidden; background: rgba(255, 255, 255, 0.04); border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.12); }
.platform-scene.image-preview img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.ground { position: absolute; left:0; right:0; bottom:0; height:54px; background: repeating-linear-gradient(90deg,#7c2d12 0 34px,#9a3412 34px 68px); border-top: 5px solid #f59e0b; }
.pixel-cloud { position:absolute; width:92px; height:34px; background:#e0f2fe; border-radius:18px; box-shadow: 20px -12px 0 #e0f2fe, 42px 0 0 #e0f2fe; opacity:.9; }.cloud-a{left:46px;top:48px}.cloud-b{right:72px;top:92px;transform:scale(.75)}
.coin { position:absolute; display:grid; place-items:center; width:34px;height:34px;border-radius:50%; color:#713f12; background:linear-gradient(135deg,#fde047,#f59e0b); box-shadow:0 0 20px rgba(253,224,71,.4); font-size:18px; }.coin-a{left:190px;top:105px}.coin-b{right:105px;top:150px}
.pixel-block { position:absolute; width:48px;height:48px;display:grid;place-items:center;font-weight:900;color:#78350f; background:linear-gradient(135deg,#fbbf24,#f97316); border:4px solid rgba(120,53,15,.35); box-shadow:0 10px 0 rgba(0,0,0,.15); }.block-a{left:86px;top:155px}.block-b{right:170px;top:205px}
.pixel-player { position:absolute; width:54px;height:78px;left:215px;bottom:54px;background: linear-gradient(#ef4444 0 24%, #f8c38a 24% 44%, #2563eb 44% 76%, #7c2d12 76%); border-radius: 14px 14px 8px 8px; box-shadow: -14px 48px 0 #7c2d12, 14px 48px 0 #7c2d12, 0 0 26px rgba(255,255,255,.22); image-rendering: pixelated; }
.pipe { position:absolute; right:54px; bottom:54px; width:72px; height:100px; background:linear-gradient(90deg,#16a34a,#22c55e,#15803d); border:4px solid rgba(6,78,59,.5); border-radius:14px 14px 0 0; }.pipe:before{content:'';position:absolute;left:-12px;right:-12px;top:-22px;height:28px;border-radius:12px;background:linear-gradient(90deg,#15803d,#4ade80,#15803d);border:4px solid rgba(6,78,59,.45)}
.preview-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding-top:14px; }.preview-stats div{padding:14px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid var(--line)}.preview-stats strong{display:block}.preview-stats span{color:var(--muted-2);font-size:12px}

.section-grid, .pricing-cards, .faq-grid, .admin-stats { display:grid; gap:18px; }.features-grid{grid-template-columns:repeat(3,1fr);}.feature-card,.price-card{padding:24px}.feature-icon{font-size:26px}.feature-card p,.price-card p{color:var(--muted);line-height:1.65}.split-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:34px;margin:68px 0;padding:34px;border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.04)}.steps-list{display:grid;gap:14px}.step-item{display:flex;gap:16px;padding:18px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid var(--line)}.step-item>span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:rgba(34,211,238,.13);color:#67e8f9;font-weight:900;flex:0 0 auto}.step-item p{margin:0;color:var(--muted)}
.pricing-preview{margin:70px 0}.section-heading{text-align:center;max-width:720px;margin:0 auto 26px}.section-heading.compact{margin-bottom:18px}.pricing-cards{grid-template-columns:repeat(4,1fr)}.price-card{position:relative;min-height:210px}.price-card strong{display:block;font-size:42px;letter-spacing:-.06em;margin:10px 0}.price-card.popular{border-color:var(--line-strong);box-shadow:0 0 0 1px rgba(34,211,238,.16),var(--shadow)}.price-card.popular>span{position:absolute;right:18px;top:18px;padding:6px 10px;border-radius:999px;background:rgba(34,211,238,.14);color:#67e8f9;font-size:12px;font-weight:800}.center-actions{justify-content:center;margin-top:22px}.faq-section{margin-top:70px}.faq-grid{grid-template-columns:repeat(3,1fr)}details{padding:20px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid var(--line)}summary{cursor:pointer;font-weight:800}details p{color:var(--muted);line-height:1.6;margin:14px 0 0}

.page-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px;padding:32px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(135deg,rgba(34,211,238,.1),rgba(167,139,250,.08))}.page-hero.small h1{font-size:clamp(34px,5vw,56px);margin-bottom:10px}.page-hero p{margin:0}.pricing-full{margin-top:20px}.plan-card{border:1px solid var(--line);color:inherit;text-align:left}.info-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:26px}.info-strip div{padding:18px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid var(--line)}.info-strip strong,.info-strip span{display:block}.info-strip span{color:var(--muted);margin-top:5px}

.auth-section{display:grid;grid-template-columns:.9fr 1fr;gap:26px;align-items:center;min-height:650px}.auth-section.single{display:block;min-height:auto}.auth-card,.auth-visual-card{padding:32px}.auth-card{max-width:620px;width:100%;margin:0 auto}.profile-card{max-width:780px}.auth-card h1,.auth-visual-card h1{font-size:clamp(32px,5vw,56px);line-height:1;margin-bottom:14px}.auth-card h2{font-size:34px;margin-bottom:8px}.auth-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.stack-form{display:grid;gap:16px;margin-top:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-group label{display:block;margin-bottom:8px;font-weight:800;color:#e2e8f0}.form-group small{display:block;margin:-2px 0 8px}input,select{width:100%;min-height:48px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.06);color:var(--text);padding:0 14px;outline:none}select option{color:#0f172a}input:focus,select:focus{border-color:rgba(34,211,238,.55);box-shadow:0 0 0 4px rgba(34,211,238,.1)}input:disabled{opacity:.65}.google-btn{display:flex;justify-content:center;align-items:center;min-height:46px;margin-top:14px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.06);font-weight:800}.auth-switch{text-align:center;color:var(--muted);margin:18px 0 0}.auth-switch a{color:#67e8f9;font-weight:900}.alert{padding:14px 16px;border-radius:16px;margin:16px 0;border:1px solid}.alert-error{color:#fecdd3;background:rgba(251,113,133,.12);border-color:rgba(251,113,133,.32)}.alert-success{color:#bbf7d0;background:rgba(52,211,153,.12);border-color:rgba(52,211,153,.32)}

.soft-divider{border:0;border-top:1px solid var(--line);margin:28px 0}.download-box{padding:22px;border-radius:20px;background:linear-gradient(135deg,rgba(34,211,238,.10),rgba(99,102,241,.12));border:1px solid rgba(34,211,238,.22)}.download-box.locked{background:rgba(255,255,255,.04);border-color:var(--line)}.download-box h2{margin-bottom:8px}.profile-actions form,.table-actions form{margin:0}.license-note{margin:18px 0 0;color:var(--muted);font-size:14px}.license-note code,.license-display code,td code{padding:6px 10px;border-radius:10px;background:rgba(255,255,255,.08);color:#67e8f9;word-break:break-all}.license-display{padding:18px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid var(--line);display:grid;gap:8px;margin:18px 0}.license-display span{color:var(--muted-2);font-size:13px}.license-display.compact{margin-bottom:20px}

.success-wrap{min-height:560px;display:grid;place-items:center}.success-card{max-width:720px;width:100%;padding:36px;text-align:center}.success-icon{width:76px;height:76px;display:grid;place-items:center;margin:0 auto 18px;border-radius:50%;background:linear-gradient(135deg,#34d399,#67e8f9);color:#041018;font-size:42px;font-weight:900}.success-details{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}.success-details div{padding:16px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid var(--line)}.success-details strong,.success-details span{display:block}.success-details span{color:var(--muted-2);font-size:13px}.success-actions{justify-content:center}

.responsive-table-card,.panel-card,.empty-state{padding:18px}.responsive-table-card.flat{box-shadow:none;background:transparent;padding:0;border:0}.data-table{width:100%;border-collapse:separate;border-spacing:0 10px}.data-table th{text-align:left;color:var(--muted-2);font-size:12px;text-transform:uppercase;letter-spacing:.08em;padding:0 12px 4px}.data-table td{padding:14px 12px;background:rgba(255,255,255,.055);border-top:1px solid var(--line);border-bottom:1px solid var(--line);vertical-align:middle}.data-table td:first-child{border-left:1px solid var(--line);border-radius:14px 0 0 14px}.data-table td:last-child{border-right:1px solid var(--line);border-radius:0 14px 14px 0}.compact-table td{padding:11px 10px}.status-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid var(--line);font-size:12px;font-weight:900;text-transform:capitalize}.status-active{color:#bbf7d0;background:rgba(52,211,153,.12);border-color:rgba(52,211,153,.32)}.status-disabled{color:#fecdd3;background:rgba(251,113,133,.12);border-color:rgba(251,113,133,.32)}.status-expired{color:#fde68a;background:rgba(251,191,36,.12);border-color:rgba(251,191,36,.32)}.mono-muted,.hwid-text{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted);font-size:12px}.hwid-text{display:inline-block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-actions{gap:7px}.admin-stats{grid-template-columns:repeat(3,1fr);margin-bottom:22px}.stat-card{padding:24px;border-radius:22px;background:linear-gradient(180deg,rgba(20,29,55,.88),rgba(12,17,34,.86));border:1px solid var(--line);box-shadow:var(--shadow)}.stat-card span{display:block;color:var(--muted)}.stat-card strong{display:block;font-size:42px;letter-spacing:-.05em;margin-top:8px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.panel-header h2{font-size:28px;margin:0}.empty-state{text-align:center;padding:46px}.empty-state p{color:var(--muted)}

.legal-card{max-width:900px;margin:0 auto;padding:34px}.legal-card h1{font-size:clamp(34px,5vw,58px)}.legal-card h2{font-size:24px;margin-top:28px}.legal-card p{color:var(--muted);line-height:1.8}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.contact-grid div{padding:18px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid var(--line)}.contact-grid strong,.contact-grid span{display:block}.contact-grid span{margin-top:8px;color:#67e8f9;word-break:break-word}

.site-footer{border-top:1px solid var(--line);background:rgba(8,11,22,.7);padding:28px 16px 34px}.footer-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center}.footer-brand{font-weight:900}.footer-inner p,.footer-contact{color:var(--muted-2);font-size:13px;margin:6px 0 0}.footer-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}.footer-links a{color:var(--muted);font-weight:750}.footer-contact{display:grid;gap:4px;text-align:right}

.footer-integrations {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-integrations-title {
  margin-bottom: 18px;
  color: #f8fafc;
  font-weight: 800;
  text-align: center;
}

.footer-integrations-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-integration-card {
  width: 280px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.footer-integration-card:hover {
  transform: translateY(-2px);
  border-color: rgba(103,232,249,.32);
  background: rgba(255,255,255,.06);
}

.footer-integration-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
}

.footer-integration-card strong {
  display: block;
  color: #f8fafc;
  font-size: 15px;
}

.footer-integration-card span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  line-height: 1.4;
}

.footer-integration-note {
  margin-top: 18px;
  text-align: center;
  color: rgba(255,255,255,.48);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 720px) {

  .footer-integration-card {
    width: 100%;
  }

}

.integration-panel {
  margin: 42px 0 10px;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(103, 232, 249, 0.16);
  background:
    radial-gradient(circle at top left,
      rgba(34, 211, 238, 0.10),
      transparent 34%),
    linear-gradient(
      180deg,
      rgba(20,29,55,.82),
      rgba(12,17,34,.82)
    );
}

.integration-copy h2 {
  margin-bottom: 14px;
}

.integration-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 18px;
}

.integration-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(103,232,249,.18);
  color: #cffafe;
  font-weight: 800;
  font-size: 14px;
}

.integration-note {
  color: #facc15;
  font-weight: 700;
  line-height: 1.7;
}

.footer-integration {
  margin-top: 16px;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 720px) {

  .integration-panel {
    padding: 22px;
  }

  .integration-badges {
    gap: 8px;
  }

  .integration-badges span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

}

@media (max-width: 980px){
  .hero-section,.auth-section,.split-section{grid-template-columns:1fr;min-height:auto}.hero-section{padding-top:24px}.hero-visual{order:-1}.game-card{transform:none}.features-grid,.pricing-cards,.faq-grid,.info-strip,.admin-stats,.contact-grid{grid-template-columns:1fr 1fr}.page-hero{align-items:flex-start}.footer-inner{grid-template-columns:1fr;text-align:center}.footer-contact{text-align:center}.footer-links{justify-content:center}
}
@media (max-width: 720px){
  .page-shell{width:min(100% - 24px,1180px);padding-top:22px}.topbar{padding:12px}.brand-copy small{display:none}.hamburger{display:flex}.nav-links{position:absolute;left:12px;right:12px;top:72px;display:none;flex-direction:column;align-items:stretch;padding:14px;border:1px solid var(--line);border-radius:20px;background:rgba(8,11,22,.96);box-shadow:var(--shadow)}.nav-toggle:checked ~ .nav-links{display:flex}.nav-item,.nav-cta{text-align:center;border-radius:14px;background:rgba(255,255,255,.05)}h1{font-size:42px}.hero-section{gap:24px}.platform-scene{height:270px}.game-card{padding:10px}.pixel-player{left:135px}.pipe{right:34px}.features-grid,.pricing-cards,.faq-grid,.info-strip,.admin-stats,.contact-grid,.success-details{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.auth-card,.auth-visual-card,.legal-card,.success-card{padding:22px}.page-hero{display:grid;padding:22px}.trust-row span,.auth-badges span{font-size:12px}.data-table thead{display:none}.data-table,.data-table tbody,.data-table tr,.data-table td{display:block;width:100%}.admin-table-card>.data-table td{max-width:100%}.data-table tr{margin-bottom:14px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.05);padding:8px}.data-table td{border:0!important;border-radius:0!important;background:transparent;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:9px 6px}.data-table td::before{content:attr(data-label);font-weight:900;color:var(--muted-2);font-size:12px;text-transform:uppercase;letter-spacing:.06em;flex:0 0 94px}.table-actions{justify-content:flex-end}.hwid-text{max-width:170px}.hero-actions,.success-actions,.profile-actions{align-items:stretch}.hero-actions .btn,.success-actions .btn,.profile-actions .btn,.profile-actions form{width:100%}.profile-actions form button{width:100%}
}
@media (max-width: 420px){
  .page-shell{width:min(100% - 18px,1180px)}.brand-mark{width:40px;height:40px;flex-basis:40px}.brand-copy strong{font-size:14px}.btn{width:auto}.preview-stats{grid-template-columns:1fr}.game-card-top .window-title{display:none}.platform-scene{height:220px}.pixel-player{left:95px;transform:scale(.85);transform-origin:bottom}.pipe{transform:scale(.75);transform-origin:bottom right}.coin-a{left:125px}.coin-b{right:75px}.block-a{left:48px}.block-b{right:118px}.footer-links{display:grid;gap:9px}.data-table td{display:grid;gap:6px}.data-table td::before{flex:auto}.table-actions{justify-content:flex-start}.table-actions .btn,.table-actions form,.table-actions button{width:100%}
}

.brand-copy strong,
.footer-brand,
.window-title {
  white-space: nowrap;
}

.auth-side-title{
  font-size:34px;
  line-height:1.08;
  letter-spacing:-.055em;
  margin:0 0 12px;
}
.auth-side-copy{
  color:#b9c6d8;
  line-height:1.7;
  margin:0;
}
.auth-checks{
  display:grid;
  gap:10px;
  margin-top:20px;
}
.auth-check{
  display:flex;
  align-items:center;
  gap:10px;
  color:#dbe7f7;
  font-weight:800;
}
.auth-check:before{
  content:"✓";
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:999px;
  background:rgba(53,226,138,.15);
  color:var(--green);
}

@media (max-width: 760px) {
  .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .nav-shell {
    position: relative;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy strong {
    display: block;
    font-size: 17px;
    line-height: 1.1;
  }

  .hamburger {
    flex: 0 0 44px;
  }

  .nav-links {
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 80;
    gap: 10px;
    padding: 16px;
    background: rgba(8, 11, 22, 0.98);
    backdrop-filter: blur(18px);
  }

  .nav-item,
  .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 14px 16px;
    color: #f8fafc;
  }

  .nav-cta {
    color: #ffffff;
    font-weight: 900;
  }

  .nav-section-divider {
    width: 100%;
    height: 1px;
    margin: 4px 0;
  }

  .nav-account {
    display: flex;
    justify-content: center;
  }

  .nav-account-copy {
    text-align: left;
  }

  .hero-section {
    padding-top: 18px;
  }

  .hero-copy {
    text-align: left;
  }

  .eyebrow {
    line-height: 1.35;
    word-break: normal;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 13vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    word-break: normal;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.55;
  }

  .game-card {
    margin-bottom: 22px;
  }

  .game-stats {
    grid-template-columns: 1fr;
  }

  .game-stat {
    min-height: auto;
    padding: 16px 18px;
  }

  .site-footer {
    text-align: center;
  }

  .footer-grid {
    gap: 24px;
  }
}

.faq-hero { align-items: center; }
.faq-page-section { margin: 34px 0 72px; }
.faq-list { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; }
.faq-card-large { padding: 0; overflow: hidden; border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)); border: 1px solid rgba(255,255,255,0.13); box-shadow: 0 20px 60px rgba(0,0,0,0.22); }
.faq-card-large summary { list-style: none; padding: 22px 24px; cursor: pointer; display: grid; gap: 8px; }
.faq-card-large summary::-webkit-details-marker { display: none; }
.faq-card-large summary strong { color: #fff; font-size: 20px; line-height: 1.35; }
.faq-card-large[open] summary { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-card-large p { padding: 20px 24px 24px; margin: 0; color: rgba(255,255,255,0.74); line-height: 1.75; white-space: pre-line; }
.faq-category { color: #67e8f9; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.faq-answer-preview { max-width: 520px; margin-top: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.textarea-field { width: 100%; min-height: 150px; resize: vertical; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.06); color: var(--text); padding: 14px; outline: none; font: inherit; }
.textarea-field:focus { border-color: rgba(34,211,238,.55); box-shadow: 0 0 0 4px rgba(34,211,238,.1); }
.check-row { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 800; }
.check-row input { width: 18px; min-height: 18px; }
@media (max-width: 720px) { .faq-card-large summary { padding: 18px; } .faq-card-large summary strong { font-size: 18px; } .faq-card-large p { padding: 18px; } .faq-answer-preview { max-width: 100%; white-space: normal; } }

.admin-hero-cms {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.18), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.16), transparent 40%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.admin-hero-cms h1 {
  margin-bottom: 10px;
  font-size: clamp(42px, 6vw, 72px);
}

.admin-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.cms-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.cms-stat-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20,29,55,.88), rgba(12,17,34,.86));
  box-shadow: var(--shadow);
}

.cms-stat-card span,
.cms-stat-card small {
  display: block;
  color: var(--muted);
}

.cms-stat-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.cms-management-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.cms-module-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20,29,55,.78), rgba(12,17,34,.78));
  box-shadow: 0 18px 54px rgba(0,0,0,.24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.cms-module-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 232, 249, 0.42);
  background: linear-gradient(180deg, rgba(34,211,238,.11), rgba(12,17,34,.82));
}

.cms-module-card.featured {
  border-color: rgba(103, 232, 249, 0.36);
  box-shadow: 0 0 0 1px rgba(34,211,238,.12), var(--shadow);
}

.cms-module-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  font-size: 22px;
}

.cms-module-card h2 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.cms-module-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.cms-module-card > span:last-child {
  margin-top: 18px;
  color: #67e8f9;
  font-weight: 900;
}

.cms-panels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.cms-panel {
  background: linear-gradient(180deg, rgba(20,29,55,.78), rgba(12,17,34,.78));
}

.cms-list {
  display: grid;
  gap: 10px;
}

.cms-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.cms-list-item strong,
.cms-list-item span {
  display: block;
}

.cms-list-item strong {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-list-item div span {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 13px;
}

.category-panel {
  margin-top: 18px;
}

.category-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.category-chip,
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 999px;
  color: #cffafe;
  background: rgba(34, 211, 238, 0.10);
  font-weight: 850;
  font-size: 13px;
}

.category-chip strong {
  color: #061018;
  background: #67e8f9;
  border-radius: 999px;
  padding: 2px 7px;
}

.admin-cms-heading .admin-hero-actions {
  align-self: center;
}

.faq-category-guide {
  margin: -8px 0 20px;
  display: grid;
  gap: 12px;
}

.faq-category-guide p {
  margin: 0;
}

.faq-editor-card select {
  cursor: pointer;
}

.faq-help-box {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  background: rgba(34, 211, 238, 0.08);
}

.faq-help-box p {
  margin: 6px 0 0;
  color: var(--muted);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.check-row input {
  width: auto;
  min-height: auto;
}

.textarea-field {
  width: 100%;
  min-height: 180px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  resize: vertical;
  outline: none;
  font: inherit;
}

.textarea-field:focus {
  border-color: rgba(34,211,238,.55);
  box-shadow: 0 0 0 4px rgba(34,211,238,.1);
}

@media (max-width: 1100px) {
  .cms-management-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-hero-cms,
  .page-hero.admin-cms-heading {
    display: grid;
    padding: 22px;
  }

  .admin-hero-actions,
  .admin-hero-actions .btn {
    width: 100%;
  }

  .cms-stats-grid,
  .cms-management-grid,
  .cms-panels-grid {
    grid-template-columns: 1fr;
  }

  .cms-module-card {
    min-height: auto;
  }

  .cms-list-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .cms-list-item strong {
    max-width: 100%;
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .platform-scene.image-preview {
    height: 260px;
  }
}

@media (max-width: 420px) {
  .platform-scene.image-preview {
    height: 220px;
  }
}

.password-page {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
  padding: 54px 16px 76px;
}

.password-card {
  width: min(100%, 520px);
  padding: 34px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 50% 0%, rgba(103, 232, 249, 0.13), transparent 34%),
    radial-gradient(circle at 100% 20%, rgba(167, 139, 250, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(20,29,55,.92), rgba(10,14,29,.90));
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
  text-align: center;
}

.password-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(103,232,249,.35);
  background:
    radial-gradient(circle at 50% 40%, rgba(167,139,250,.35), transparent 58%),
    rgba(99,102,241,.14);
  color: #a5b4fc;
  font-size: 34px;
  box-shadow: 0 0 42px rgba(99,102,241,.28);
}

.password-icon.success {
  color: #67e8f9;
  border-color: rgba(52,211,153,.44);
  background:
    radial-gradient(circle at 50% 40%, rgba(52,211,153,.25), transparent 58%),
    rgba(20,184,166,.12);
  box-shadow: 0 0 42px rgba(52,211,153,.22);
}

.password-card h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.password-subtitle {
  max-width: 410px;
  margin: 0 auto 24px;
  color: rgba(226,232,240,.76);
  line-height: 1.65;
}

.password-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  text-align: left;
}

.password-form .form-group label {
  color: #f8fafc;
}

.password-main-btn {
  min-height: 54px;
  margin-top: 4px;
  border-radius: 999px;
  font-weight: 900;
}

.password-back-btn {
  min-height: 50px;
  border-radius: 999px;
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
}

.password-back-btn:hover {
  background: rgba(255,255,255,.07);
}

.password-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px 0;
  color: rgba(226,232,240,.62);
  font-size: 12px;
  font-weight: 800;
}

.password-divider::before,
.password-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,.10);
}

.password-divider span {
  padding: 0 12px;
}

.password-bottom-text {
  margin-top: 28px;
}

.password-info-box {
  margin: 18px 0 18px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(52,211,153,.22);
  background: rgba(20,184,166,.12);
  color: #bbf7d0;
  text-align: left;
  line-height: 1.55;
}

.password-success-visual {
  position: relative;
  width: 150px;
  height: 130px;
  margin: 18px auto 26px;
  display: grid;
  place-items: center;
}

.password-envelope {
  width: 108px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  color: #ede9fe;
  font-size: 50px;
  transform: rotate(9deg);
  box-shadow: 0 22px 50px rgba(124,58,237,.32);
}

.password-success-check {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  color: #041018;
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(34,211,238,.24);
}

.password-page .alert {
  text-align: left;
}

@media (max-width: 720px) {
  .password-page {
    min-height: calc(100vh - 130px);
    padding: 28px 12px 52px;
    align-items: start;
  }

  .password-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .password-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
    margin-bottom: 16px;
  }

  .password-card h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .password-subtitle {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .password-main-btn,
  .password-back-btn {
    min-height: 50px;
    width: 100%;
  }

  .password-success-visual {
    width: 130px;
    height: 112px;
  }

  .password-envelope {
    width: 94px;
    height: 72px;
    font-size: 42px;
  }

  .password-success-check {
    right: 14px;
    bottom: 10px;
  }
}

@media (max-width: 420px) {
  .password-page {
    padding-left: 9px;
    padding-right: 9px;
  }

  .password-card {
    padding: 22px 14px;
  }

  .password-form {
    gap: 14px;
  }

  .password-divider {
    margin: 18px 0;
  }
}

.effects-hero {
  margin-bottom: 28px;
  padding: 46px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at top left,
      rgba(34,211,238,.16),
      transparent 32%),
    radial-gradient(circle at top right,
      rgba(167,139,250,.14),
      transparent 36%),
    linear-gradient(
      180deg,
      rgba(20,29,55,.88),
      rgba(12,17,34,.88)
    );
}

.effects-hero h1 {
  margin-bottom: 16px;
}

.effects-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.effects-toolbar {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: center;
}

.effects-search-wrap {
  flex: 1;
}

.effects-search {
  width: 100%;
}

.effects-select {
  min-width: 220px;
}

.effects-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.effects-side-panel {
  position: sticky;
  top: 100px;
}

.effects-video-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

.effects-video-card h3 {
  margin-bottom: 12px;
}

.effects-video-card p,
.effects-video-card small {
  color: var(--muted);
  line-height: 1.7;
}

.effects-video-placeholder {
  height: 220px;
  margin: 18px 0;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(
      135deg,
      rgba(34,211,238,.16),
      rgba(167,139,250,.18)
    );
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 900;
}

.effects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.effect-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(
      180deg,
      rgba(20,29,55,.88),
      rgba(12,17,34,.88)
    );
  transition:
    transform .18s ease,
    border-color .18s ease;
}

.effect-card:hover {
  transform: translateY(-4px);
  border-color: rgba(103,232,249,.32);
}

.effect-image-wrap {
  height: 180px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}

.effect-image-wrap img {
  width: 100%;
  height: 100%;
}

.effect-image-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 52px;
}

.effect-card-body {
  padding: 22px;
}

.effect-category {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(34,211,238,.12);
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.effect-card h3 {
  margin-bottom: 12px;
}

.effect-card p {
  color: var(--muted);
  line-height: 1.7;
  min-height: 90px;
}

.effect-code {
  margin-top: 18px;
}

.effect-code code {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: #67e8f9;
}

@media (max-width: 1100px) {

  .effects-layout {
    grid-template-columns: 1fr;
  }

  .effects-side-panel {
    position: relative;
    top: auto;
  }

  .effects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 720px) {

  .effects-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .effects-select {
    width: 100%;
  }

  .effects-grid {
    grid-template-columns: 1fr;
  }

  .effects-hero {
    padding: 26px;
  }

}

/* =========================================================
   EFFECTS PAGE - MOBILE / PERFORMANCE FIX
   Add at the very bottom of style.css
========================================================= */

.effects-hero,
.effects-video-card,
.effect-card {
  contain: layout paint;
}

.effects-hero {
  overflow: hidden;
}

.effects-toolbar input,
.effects-toolbar select {
  max-width: 100%;
}

.effect-image-wrap img {
  display: block;
  will-change: auto;
}

@media (max-width: 900px) {
  .effects-hero {
    padding: 30px 24px;
    border-radius: 26px;
  }

  .effects-hero h1 {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 1;
  }

  .effects-layout {
    gap: 20px;
  }

  .effects-video-card {
    padding: 20px;
  }

  .effects-video-placeholder {
    height: 190px;
  }

  .effect-image-wrap {
    height: 160px;
  }

  .effect-card-body {
    padding: 18px;
  }

  .effect-card p {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .effects-hero {
    padding: 22px 18px;
    border-radius: 22px;
    margin-bottom: 20px;
  }

  .effects-hero p {
    font-size: 15px;
    line-height: 1.6;
  }

  .effects-toolbar {
    gap: 12px;
    margin-bottom: 20px;
  }

  .effects-search,
  .effects-select {
    min-height: 46px;
    border-radius: 14px;
  }

  .effects-video-card {
    padding: 18px;
    border-radius: 20px;
  }

  .effects-video-placeholder {
    height: 160px;
    border-radius: 16px;
  }

  .effects-grid {
    gap: 14px;
  }

  .effect-card {
    border-radius: 20px;
  }

  .effect-image-wrap {
    height: 135px;
  }

  .effect-card-body {
    padding: 16px;
  }

  .effect-category {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .effect-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .effect-card p {
    font-size: 14px;
    line-height: 1.55;
  }

  .effect-code {
    margin-top: 12px;
  }

  .effect-code code {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .effects-hero {
    padding: 20px 14px;
  }

  .effects-video-card {
    padding: 14px;
  }

  .effect-image-wrap {
    height: 120px;
  }

  .effect-card-body {
    padding: 14px;
  }
}

.generate-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.bonus-options {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
}

.bonus-options-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.bonus-options-head strong {
  font-size: 16px;
}

.bonus-options-head span {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 800;
}

.bonus-option-grid {
  display: grid;
  gap: 10px;
}

.bonus-option {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
}

.bonus-option input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #22d3ee;
}

.bonus-option strong,
.bonus-option small {
  display: block;
}

.bonus-option small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 520px) {
  .bonus-options-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Customer experience additions */
.customer-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.summary-card,
.next-action-panel,
.unlock-panel,
.wizard-step,
.setup-flow-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,29,55,.82), rgba(12,17,34,.80));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.summary-card {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 20px;
  border-radius: 22px;
}

.summary-card span,
.summary-card small {
  color: var(--muted);
}

.summary-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: capitalize;
}

.summary-card code {
  display: block;
  width: 100%;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #67e8f9;
  font-size: 12px;
  word-break: break-all;
}

.next-action-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
  padding: 26px;
  border-radius: var(--radius);
}

.next-action-panel h2,
.unlock-panel h2,
.wizard-step h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 36px);
}

.unlock-panel,
.license-history,
.plan-compare-section {
  margin-top: 26px;
}

.unlock-panel {
  padding: 22px;
  border-radius: var(--radius);
}

.unlock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.unlock-item {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.unlock-item strong,
.unlock-item small {
  display: block;
}

.unlock-item small {
  color: var(--muted);
  line-height: 1.45;
}

.unlock-state,
.unlock-check,
.unlock-lock,
.bonus-option-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.is-unlocked .unlock-state,
.unlock-check,
.bonus-option.is-unlocked .bonus-option-status {
  color: #bbf7d0;
  border: 1px solid rgba(52,211,153,.32);
  background: rgba(52,211,153,.12);
}

.is-locked .unlock-state,
.unlock-lock,
.bonus-option.is-locked .bonus-option-status {
  color: #fecdd3;
  border: 1px solid rgba(251,113,133,.32);
  background: rgba(251,113,133,.12);
}

.plan-compare-card {
  margin-top: 18px;
}

.plan-compare-table td:first-child strong,
.plan-compare-table td:first-child span {
  display: block;
}

.plan-compare-table td:first-child span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.setup-flow-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  padding: 18px;
  border-radius: var(--radius);
}

.setup-flow-panel .step-item {
  margin: 0;
}

.customer-control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 18px;
  margin-bottom: 22px;
}

.setup-progress-panel,
.account-status-panel,
.recent-build-panel,
.customer-help-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg,rgba(20,29,55,.82),rgba(12,17,34,.80));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.setup-progress-panel,
.account-status-panel,
.recent-build-panel {
  padding: 22px;
}

.setup-progress-panel h2,
.account-status-panel h2,
.recent-build-panel h2,
.customer-help-panel h2 {
  margin: 5px 0 0;
  font-size: 26px;
}

.section-kicker {
  color: #67e8f9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.setup-progress-count {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(34,211,238,.10);
}

.setup-progress-list {
  display: grid;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.setup-progress-item {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 13px 2px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.setup-progress-item:last-child {
  border-bottom: 0;
}

.setup-progress-item:hover strong {
  color: #67e8f9;
}

.setup-progress-marker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255,255,255,.05);
  font-size: 11px;
  font-weight: 950;
}

.setup-progress-item.is-complete .setup-progress-marker {
  color: #bbf7d0;
  border-color: rgba(52,211,153,.34);
  background: rgba(52,211,153,.13);
}

.setup-progress-item.is-current .setup-progress-marker {
  color: #061018;
  border-color: transparent;
  background: linear-gradient(135deg,#67e8f9,#a78bfa);
}

.setup-progress-item strong,
.setup-progress-item small {
  display: block;
}

.setup-progress-item small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.4;
}

.setup-progress-state {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.setup-progress-item.is-complete .setup-progress-state {
  color: #86efac;
}

.setup-progress-item.is-current .setup-progress-state {
  color: #67e8f9;
}

.account-status-list {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
}

.account-status-list div {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.account-status-list dt {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 850;
}

.account-status-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: break-word;
  font-weight: 750;
}

.status-text-good { color: #86efac; }
.status-text-warning { color: #fde68a; }

.license-expiry-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(251,191,36,.35);
  border-radius: var(--radius);
  background: rgba(251,191,36,.10);
}

.license-expiry-alert.is-urgent {
  border-color: rgba(251,113,133,.38);
  background: rgba(251,113,133,.11);
}

.license-expiry-alert strong,
.license-expiry-alert p {
  display: block;
}

.license-expiry-alert p {
  margin: 5px 0 0;
  color: var(--muted);
}

.expiry-alert-label {
  display: block;
  margin-bottom: 5px;
  color: #fde68a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.is-urgent .expiry-alert-label {
  color: #fecdd3;
}

.recent-build-panel {
  margin: 22px 0;
}

.recent-build-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recent-build-grid div {
  min-width: 0;
  padding: 16px 14px;
  border-right: 1px solid var(--line);
}

.recent-build-grid div:first-child {
  padding-left: 0;
}

.recent-build-grid div:last-child {
  padding-right: 0;
  border-right: 0;
}

.recent-build-grid span,
.recent-build-grid strong {
  display: block;
}

.recent-build-grid span {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.recent-build-grid strong {
  margin-top: 7px;
  overflow-wrap: break-word;
}

.recent-build-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
}

.recent-build-bonuses {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.recent-build-bonuses span {
  padding: 6px 9px;
  border: 1px solid rgba(52,211,153,.28);
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(52,211,153,.10);
  font-size: 11px;
  font-weight: 850;
}

.customer-help-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 28px;
  padding: 22px;
}

.customer-help-links {
  display: grid;
  grid-template-columns: repeat(3,minmax(150px,1fr));
  min-width: min(100%,650px);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.customer-help-links a {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  color: var(--text);
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}

.customer-help-links a:last-child {
  border-right: 0;
}

.customer-help-links a:hover {
  background: rgba(255,255,255,.075);
}

.customer-help-links span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.build-wizard {
  display: grid;
  gap: 18px;
}

.wizard-step {
  padding: 24px;
  border-radius: var(--radius);
}

.wizard-step-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.wizard-step-head > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  color: #061018;
  background: linear-gradient(135deg, #67e8f9, #a78bfa);
  font-weight: 1000;
}

.wizard-step-head p {
  margin-bottom: 0;
}

.bonus-option-static,
.bonus-option.is-locked {
  grid-template-columns: 74px 1fr;
}

.bonus-option.is-locked {
  cursor: default;
  opacity: .88;
}

.build-review,
.generated-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.build-review {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.build-review div,
.generated-summary-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}

.build-review span,
.generated-summary-grid span {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.build-review strong,
.generated-summary-grid strong {
  display: block;
  margin-top: 7px;
  word-break: break-word;
}

.success-card-wide {
  max-width: 920px;
}

.success-unlocks,
.generated-summary-box {
  margin: 20px 0;
  text-align: left;
}

.generated-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0;
  text-align: left;
}

.generated-summary-box h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.cms-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.audit-summary,
.security-summary {
  display: block;
  line-height: 1.45;
}

.logs-table {
  table-layout: fixed;
}

.admin-table-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.admin-table-card > .data-table {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  table-layout: fixed;
  box-sizing: border-box;
}

.admin-table-card > .data-table th,
.admin-table-card > .data-table td {
  min-width: 0;
  max-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.admin-table-card > .data-table td > * {
  max-width: 100%;
}

.license-manager-table {
  table-layout: fixed;
}

.license-manager-table .license-col-key { width: 15%; }
.license-manager-table .license-col-user { width: 14%; }
.license-manager-table .license-col-status { width: 10%; }
.license-manager-table .license-col-duration { width: 10%; }
.license-manager-table .license-col-hwid { width: 15%; }
.license-manager-table .license-col-expires { width: 14%; }
.license-manager-table .license-col-actions { width: 22%; }

.license-key-chip {
  display: inline-block;
  max-width: none !important;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  font-size: 12px;
}

.logs-table th,
.logs-table td {
  min-width: 0;
}

.logs-table td {
  overflow-wrap: normal;
  word-break: normal;
}

.security-logs-table .log-col-time { width: 10%; }
.security-logs-table .log-col-severity { width: 8%; }
.security-logs-table .log-col-activity { width: 30%; }
.security-logs-table .log-col-account { width: 20%; }
.security-logs-table .log-col-source { width: 32%; }

.audit-logs-table .log-col-time { width: 13%; }
.audit-logs-table .log-col-activity { width: 45%; }
.audit-logs-table .log-col-target { width: 13%; }
.audit-logs-table .log-col-ip { width: 12%; }
.audit-logs-table .log-col-changes { width: 17%; }

.audit-action-label {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(34,211,238,.10);
  font-size: 12px;
  font-weight: 900;
}

.audit-change-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.security-route {
  display: block;
  margin-bottom: 6px;
  font-weight: 850;
  line-height: 1.35;
}

.security-source-block {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.security-detail-list {
  max-width: none;
  margin-top: 3px;
}

.security-detail-list li {
  overflow-wrap: break-word;
  word-break: normal;
}

.security-route,
.security-summary,
.audit-summary,
.audit-change-list li {
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 980px) {
  .customer-summary-grid,
  .unlock-grid,
  .setup-flow-panel,
  .generated-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-control-grid {
    grid-template-columns: 1fr;
  }

  .customer-help-panel,
  .recent-build-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-help-links {
    width: 100%;
  }

  .next-action-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .customer-summary-grid,
  .unlock-grid,
  .setup-flow-panel,
  .build-review,
  .generated-summary-grid,
  .recent-build-grid,
  .customer-help-links {
    grid-template-columns: 1fr;
  }

  .license-expiry-alert {
    align-items: stretch;
    flex-direction: column;
  }

  .license-expiry-alert .btn {
    width: 100%;
  }

  .recent-build-grid div,
  .recent-build-grid div:first-child,
  .recent-build-grid div:last-child {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .recent-build-grid div:last-child {
    border-bottom: 0;
  }

  .customer-help-links a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .customer-help-links a:last-child {
    border-bottom: 0;
  }

  .setup-progress-item {
    grid-template-columns: 36px minmax(0,1fr);
  }

  .setup-progress-state {
    grid-column: 2;
  }

  .nav-section-divider {
    width: 100%;
    height: 1px;
    margin: 4px 0;
  }

  .nav-account {
    justify-content: center;
  }

  .next-action-panel,
  .wizard-step,
  .unlock-panel {
    padding: 20px;
  }

  .next-action-panel .profile-actions,
  .next-action-panel .btn,
  .wizard-step .btn,
  .build-wizard .profile-actions,
  .build-wizard .profile-actions .btn {
    width: 100%;
  }

  .wizard-step-head {
    gap: 12px;
  }

  .bonus-option-static,
  .bonus-option.is-locked {
    grid-template-columns: 1fr;
  }

  .success-card-wide {
    padding: 24px 18px;
  }
}

/* Public license plan badges */
.public-plan-card {
  position: relative;
}

.public-plan-card h3 {
  padding-right: 82px;
}

.price-card > .public-plan-badge,
.price-card.popular > .public-plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(103, 232, 249, .34);
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(34, 211, 238, .14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: none;
}

.price-card > .public-plan-badge-new {
  min-width: 62px;
  color: #07111e;
  border-color: rgba(255, 255, 255, .52);
  background: linear-gradient(135deg, #fef08a, #fbbf24);
  box-shadow:
    0 8px 22px rgba(251, 191, 36, .22),
    inset 0 1px 0 rgba(255, 255, 255, .58);
}

.price-card > .public-plan-badge-new::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #07111e;
  opacity: .72;
}

@media (max-width: 520px) {
  .public-plan-card h3 {
    padding-right: 74px;
  }

  .price-card > .public-plan-badge,
  .price-card.popular > .public-plan-badge {
    top: 15px;
    right: 15px;
  }
}
