*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;background:linear-gradient(135deg,#fef9f0 0%,#f0f4ff 100%);color:#2d3748;line-height:1.6;min-height:100vh}
.navbar{display:flex;align-items:center;justify-content:space-between;padding:0.8rem 1.5rem;background:rgba(255,255,255,0.85);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,0.06);position:sticky;top:0;z-index:100}
.navbar .logo{font-size:1.05rem;font-weight:800;background:linear-gradient(135deg,#f97316,#ec4899);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.navbar .nav-links{display:flex;gap:1rem;list-style:none}
.navbar .nav-links a{color:#64748b;font-size:0.82rem;font-weight:600;text-decoration:none}
.navbar .nav-links a:hover{color:#f97316}
.container{max-width:1100px;margin:0 auto;padding:0 1.5rem}
.hero{text-align:center;padding:3rem 1.5rem 2.5rem;background:linear-gradient(135deg,#fff5ed 0%,#fdf2f8 50%,#eff6ff 100%)}
.hero h1{font-size:2rem;font-weight:800;margin-bottom:0.7rem;background:linear-gradient(135deg,#f97316,#ec4899,#6366f1);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero p{color:#64748b;font-size:1rem;max-width:560px;margin:0 auto 1.5rem}
.hero .last-updated{display:inline-block;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:0.4rem 1rem;font-size:0.8rem;color:#64748b}
.game-grid{display:grid;grid-template-columns:1fr;gap:0.85rem;margin-bottom:1.5rem}
.game-card{background:#fff;border-radius:14px;padding:1.15rem;border:1px solid #e2e8f0;transition:all .25s;text-decoration:none;color:inherit;display:block}
.game-card:hover{border-color:#f97316;transform:translateY(-3px);box-shadow:0 8px 25px rgba(249,115,22,0.12)}
.game-card .gi{font-size:1.8rem;margin-bottom:0.3rem}
.game-card h3{font-size:1rem;font-weight:700;margin-bottom:0.2rem;color:#1e293b}
.game-card .cc{font-weight:600;font-size:0.8rem}
.game-card .cc.active{color:#059669}
.game-card .cc.count{color:#94a3b8;font-size:0.73rem;margin-top:0.15rem}
.game-card .cat-tag{display:inline-block;background:#f1f5f9;color:#64748b;font-size:0.63rem;font-weight:600;padding:0.15rem 0.45rem;border-radius:4px;margin-top:0.3rem;text-transform:uppercase}
.section-header{font-size:1.15rem;font-weight:700;margin:1.5rem 0 1rem;color:#1e293b}
.cat-heading{font-size:1.05rem;font-weight:700;margin:1.2rem 0 0.7rem;color:#1e293b}
.alert{background:#fef3c7;border:1px solid #fde68a;border-radius:10px;padding:0.7rem 1rem;font-size:0.82rem;color:#92400e;margin-bottom:1.2rem}
.code-list{display:flex;flex-direction:column;gap:0.7rem;margin-bottom:1.5rem}
.code-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:0.9rem 1rem;display:flex;flex-wrap:wrap;align-items:center;gap:0.6rem}
.code-item .cm{flex:1;min-width:140px}
.code-item .cs{font-family:"SF Mono","Fira Code",monospace;font-size:0.95rem;font-weight:700;color:#059669;background:#f0fdf4;padding:0.25rem 0.55rem;border-radius:5px;display:inline-block;border:1px solid #bbf7d0}
.code-item .rw{font-size:0.78rem;color:#64748b;margin-top:0.2rem}
.code-item .sb{font-size:0.7rem;font-weight:700;padding:0.2rem 0.55rem;border-radius:6px;background:#dcfce7;color:#059669;border:1px solid #bbf7d0;white-space:nowrap}
.code-item .cpy{padding:0.35rem 0.8rem;border:1px solid #e2e8f0;background:#fff;color:#475569;border-radius:8px;font-size:0.75rem;font-weight:600;cursor:pointer;white-space:nowrap;text-decoration:none;display:inline-block}
.code-item .cpy:hover{background:#f97316;border-color:#f97316;color:#fff}
.breadcrumb{font-size:0.78rem;color:#94a3b8;padding:1rem 0 0.3rem}
.breadcrumb a{color:#64748b;text-decoration:none}
.breadcrumb a:hover{color:#f97316}
.breadcrumb .sep{color:#cbd5e1;margin:0 0.2rem}
.page-header h1{font-size:1.5rem;font-weight:800;margin-bottom:0.4rem;color:#1e293b}
.page-header .meta{color:#64748b;font-size:0.82rem;margin-bottom:0.8rem}
.code-section-title{font-size:1rem;font-weight:700;margin-bottom:0.7rem;color:#1e293b}
.content-section{margin-bottom:1.5rem}
.content-section h2{font-size:1.05rem;font-weight:700;margin-bottom:0.6rem;color:#1e293b}
.content-section ol,.content-section ul{padding-left:1.2rem;margin-bottom:0.8rem}
.content-section li,.content-section p{color:#64748b;font-size:0.85rem;margin-bottom:0.4rem}
.verify-badge{display:inline-flex;align-items:center;gap:0.3rem;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:20px;padding:0.25rem 0.7rem;font-size:0.72rem;color:#059669;font-weight:600;margin-bottom:1rem}
.verify-box{margin:2.5rem 0 1.5rem;padding:1.5rem;background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border-radius:14px;border:1px solid #bbf7d0;text-align:center}
.verify-box .verify-title{font-size:1.2rem;margin-bottom:0.3rem}
.verify-box p{color:#059669;font-size:0.85rem}
.back-link{display:inline-block;margin-top:1rem;color:#f97316;font-weight:600;font-size:0.85rem;text-decoration:none;margin-bottom:2rem}
.back-link:hover{text-decoration:underline}
.footer{background:#fff;border-top:1px solid #e2e8f0;padding:1.5rem;text-align:center}
.footer-sites{display:flex;flex-wrap:wrap;justify-content:center;gap:0.6rem 1rem;margin-bottom:0.5rem}
.footer-sites a{color:#64748b;font-size:0.82rem;font-weight:600;text-decoration:none}
.footer-sites a:hover{color:#f97316}
.footer-dot{color:#cbd5e1;font-size:0.8rem}
.footer-meta{color:#94a3b8;font-size:0.78rem}
@media(min-width:600px){.game-grid{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:2.4rem}}
@media(min-width:900px){.game-grid{grid-template-columns:repeat(3,1fr)}}
.no-codes-box {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 2px solid #f5a623;
  border-radius: 12px;
  padding: 24px;
  margin: 16px 0;
  text-align: center;
}
.no-codes-box p {
  color: #c0c8e0;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 8px 0;
}
.no-codes-box a {
  color: #f5a623;
  font-weight: 700;
}

/* ── Hamburger Menu ── */
.nav-toggle-check{display:none}
.nav-toggle-label{display:none;flex-direction:column;cursor:pointer;gap:5px;padding:8px;z-index:101;position:fixed;top:0.75rem;right:1.2rem}
.nav-toggle-label span{display:block;width:24px;height:2px;background:#2d3748;border-radius:2px;transition:0.3s}
.nav-toggle-check:checked~.nav-toggle-label span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.nav-toggle-check:checked~.nav-toggle-label span:nth-child(2){opacity:0}
.nav-toggle-check:checked~.nav-toggle-label span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}
.nav-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.3);z-index:98}
@media(max-width:768px){
  .navbar{padding-right:3.5rem}
  .navbar .nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:12px 20px;border-bottom:1px solid #e2e8f0;box-shadow:0 8px 25px rgba(0,0,0,0.08);gap:8px;z-index:99}
  .navbar .nav-links a{font-size:0.95rem;padding:6px 0}
  .nav-toggle-label{display:flex}
  .nav-toggle-check:checked~.navbar .nav-links{display:flex}
  .nav-toggle-check:checked~.nav-overlay{display:block}
}
