/* ==========================================================================
   POP717 OFFICIAL PORTAL - PURE MODERN VANILLA CSS
   Theme: Crisp Clean White Background with Black & Pink + 3D Gold Accents
   Zero External Dependencies | Zero Emojis | Ultra High Performance
   ========================================================================== */

:root {
    /* Backgrounds - Crisp Clean White Theme */
    --bg-main: #ffffff;
    --bg-subtle: #f8fafc;
    --surface: #ffffff;
    --surface-card: #ffffff;
    --surface-card-subtle: #f8fafc;
    --surface-hover: #f1f5f9;
    
    /* Borders */
    --border: #e2e8f0;
    --border-light: #cbd5e1;
    --border-pink: #ec4899;
    --border-pink-glow: rgba(236, 72, 153, 0.25);
    
    /* Accents: Electric Neon Pink & Magenta (from pop71744.com) */
    --pink: #ec4899;
    --pink-light: #f472b6;
    --pink-neon: #ff2a85;
    --pink-dark: #be185d;
    --pink-gradient: linear-gradient(135deg, #ff2a85 0%, #ec4899 50%, #d946ef 100%);
    --pink-glow: rgba(255, 42, 133, 0.28);

    /* Accents: Royal 3D Gold (from POP717 Logo) */
    --gold: #f5c842;
    --gold-light: #fef08a;
    --gold-dark: #b45309;
    --gold-gradient: linear-gradient(135deg, #f5c842 0%, #eab308 50%, #d97706 100%);
    --gold-glow: rgba(245, 200, 66, 0.25);

    /* Accents: Auxiliary */
    --emerald: #10b981;
    --emerald-dark: #059669;
    --purple: #8b5cf6;
    --cyan: #0284c7;

    /* Typography - High Contrast for Clean White Background */
    --text-primary: #0f172a;    /* Deep Slate/Black */
    --text-secondary: #334155;  /* Slate */
    --text-muted: #64748b;      /* Muted Slate */
    --text-pink: #ff2a85;
    --text-gold: #b45309;

    /* Shadows & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 16px -1px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 10px 25px -3px rgba(236, 72, 153, 0.15), 0 4px 8px -2px rgba(15, 23, 42, 0.06);
    
    /* Layout */
    --container-max: 640px;
    --header-height: 64px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: 30px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

a {
    color: var(--pink-dark);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--pink-neon);
}

button {
    font-family: inherit;
    cursor: pointer;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* Sticky Navbar - Crisp White */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.nav-brand-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.brand-link:hover .nav-brand-img {
    transform: scale(1.03);
}

/* Desktop Nav Links */
.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-item-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.nav-item-link:hover {
    color: var(--pink-neon);
    background: rgba(255, 42, 133, 0.06);
}

.nav-actions-desktop {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-btn-login {
    text-decoration: none;
    color: var(--text-primary);
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.nav-btn-login:hover {
    border-color: var(--pink-neon);
    color: var(--pink-neon);
    background: rgba(255, 42, 133, 0.05);
}

.nav-btn-register {
    text-decoration: none;
    color: #ffffff;
    background: var(--pink-gradient);
    border: 1.5px solid var(--pink-neon);
    padding: 7px 18px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 800;
    box-shadow: 0 2px 10px var(--pink-glow);
    transition: all 0.2s ease;
}

.nav-btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 42, 133, 0.4);
}

/* Mobile Nav Trigger & Hamburger */
.nav-mobile-trigger {
    display: none;
    align-items: center;
    gap: 8px;
}

.nav-mobile-quick-btn {
    text-decoration: none;
    background: var(--pink-gradient);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px var(--pink-glow);
}

.hamburger-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hamburger-btn:hover {
    border-color: var(--pink-neon);
}

.hamburger-bar {
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* Mobile Drawer Overlay */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 310px;
    max-width: 86vw;
    background: #ffffff;
    border-left: 1px solid var(--border);
    z-index: 2001;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.nav-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-subtle);
}

.drawer-brand-img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.drawer-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.drawer-close-btn:hover {
    color: var(--pink-neon);
    border-color: var(--pink-neon);
}

.drawer-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-group-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.15s ease;
}

.drawer-link:hover {
    border-color: var(--pink);
    color: var(--pink-dark);
    background: #ffffff;
}

.drawer-link-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 42, 133, 0.1);
    color: var(--pink-dark);
    border: 1px solid rgba(255, 42, 133, 0.25);
}

/* Main Container Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 10px 0 6px 0;
    position: relative;
}

/* Dedicated Square Hero Logo Badge (dmfirst.gg style) */
.hero-logo-box {
    position: relative;
    width: 124px;
    height: 124px;
    margin: 0 auto 16px auto;
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 0 0 2px var(--gold);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: block;
}

.hero-logo-box:hover .hero-logo-img {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16), 0 0 0 2.5px var(--pink-neon);
}

.hero-verified-pill {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #10b981;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    border: 2.5px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fdf2f8;
    color: var(--pink-dark);
    border: 1px solid #fbcfe8;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink-neon);
    box-shadow: 0 0 0 3px rgba(255, 42, 133, 0.25);
    animation: pulseRing 1.6s infinite ease-out;
}

@keyframes pulseRing {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 42, 133, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 42, 133, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 42, 133, 0); }
}

.hero h1 {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.hero h1 .highlight-pink {
    color: var(--pink-dark);
    background: var(--pink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

.hero p strong {
    color: var(--text-primary);
}

/* Real-Time Status Bar */
.live-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
}

.live-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

/* Primary Button CTA Stack */
.btn-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary-register {
    background: var(--pink-gradient);
    color: #ffffff;
    border: 1.5px solid var(--pink-neon);
    box-shadow: 0 4px 16px var(--pink-glow);
}

.btn-primary-register:hover {
    background: linear-gradient(135deg, #ff2a85 0%, #e11462 50%, #d946ef 100%);
    box-shadow: 0 6px 22px rgba(255, 42, 133, 0.4);
    transform: translateY(-1px);
}

.btn-secondary-login {
    background: #ffffff;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary-login:hover {
    border-color: var(--pink-neon);
    color: var(--pink-dark);
    box-shadow: 0 4px 14px rgba(255, 42, 133, 0.15);
    transform: translateY(-1px);
}

.btn-apk-download {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #1e293b;
    box-shadow: var(--shadow-sm);
}

.btn-apk-download:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-telegram-channel {
    background: #0284c7;
    color: #ffffff;
    border: 1px solid #0369a1;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-telegram-channel:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.btn-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Card Sections - Clean White */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-hover);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.card-title {
    font-size: 17.5px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title svg {
    color: var(--pink-neon);
    width: 22px;
    height: 22px;
}

.card-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: #fdf2f8;
    color: var(--pink-dark);
    border: 1px solid #fbcfe8;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.card p strong {
    color: var(--text-primary);
}

/* Gift Codes Box */
.gift-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gift-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-subtle);
    border: 1.5px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    gap: 10px;
    transition: all 0.2s ease;
}

.gift-item:hover {
    border-color: var(--pink);
    background: #ffffff;
}

.gift-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gift-code-text {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--pink-dark);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.gift-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Accessible Copy Button */
.copy-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.btn-copy {
    min-inline-size: 34px;
    min-block-size: 34px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 800;
    transition: all 0.15s ease;
}

.btn-copy:hover {
    background: var(--pink-gradient);
    color: #ffffff;
    border-color: var(--pink-neon);
}

.btn-copy[data-copied] {
    background: var(--emerald);
    color: #ffffff;
    border-color: var(--emerald-dark);
}

.copy-status-bubble {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    background: #0f172a;
    border: 1px solid #1e293b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
}

.btn-copy[data-copied] + .copy-status-bubble {
    opacity: 1;
    transform: translateY(0);
}

/* Interactive Win Go Simulator Widget */
.simulator-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sim-game-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sim-timer-badge {
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    color: var(--pink-dark);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sim-period-info {
    font-size: 11.5px;
    color: var(--text-muted);
}

.sim-period-info span {
    color: var(--text-primary);
    font-weight: 700;
}

.sim-bet-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.sim-color-btn {
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.btn-color-green {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.btn-color-green:hover, .btn-color-green.selected {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.btn-color-violet {
    background: #fdf2f8;
    border-color: #fbcfe8;
    color: #9d174d;
}

.btn-color-violet:hover, .btn-color-violet.selected {
    background: var(--pink-gradient);
    color: #ffffff;
    box-shadow: 0 2px 12px var(--pink-glow);
}

.btn-color-red {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.btn-color-red:hover, .btn-color-red.selected {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

.sim-history {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-top: 4px;
}

.history-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.history-ball {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
}

.ball-green { background: #10b981; }
.ball-red { background: #ef4444; }
.ball-violet { background: var(--pink-neon); }

/* 4-Card Highlight Grid */
.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.metric-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    border-color: var(--pink);
}

.metric-val {
    font-size: 20px;
    font-weight: 900;
    color: var(--pink-dark);
    letter-spacing: -0.3px;
}

.metric-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Game Modes Grid */
.games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.game-item-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s ease;
}

.game-item-card:hover {
    border-color: var(--pink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}


.game-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fdf2f8;
    color: var(--pink-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-icon-tag {
    font-size: 11px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 6px;
    background: #fdf2f8;
    color: var(--pink-dark);
    border: 1px solid #fbcfe8;
}

.game-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    background: #f1f5f9;
    color: var(--text-secondary);
}

.game-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}

.game-payout {
    font-size: 12px;
    font-weight: 700;
    color: var(--pink-dark);
}

.game-payout strong {
    font-size: 14px;
}

.game-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

.game-play-btn {
    margin-top: 4px;
    display: block;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.15s ease;
}

.game-play-btn:hover {
    background: var(--pink-gradient);
    color: #ffffff;
    border-color: var(--pink-neon);
}

/* Responsive Table */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    margin-top: 10px;
    scrollbar-width: thin;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    text-align: left;
}

th {
    background: var(--bg-subtle);
    color: var(--text-primary);
    font-weight: 800;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    white-space: nowrap;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: var(--bg-subtle);
}

/* Step Progression Cards */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.step-card:hover {
    border-color: var(--pink);
    background: #ffffff;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pink-gradient);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}

.step-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Modern FAQ Accordion (modern-web-guidance compliant) */
.faq-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

details.faq-item {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

details.faq-item:hover {
    border-color: var(--border-light);
}

details.faq-item[open] {
    border-color: var(--pink);
    background: #ffffff;
}

summary.faq-summary {
    list-style: none;
    padding: 14px 16px;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
}

summary.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--pink-dark);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

details[open] .faq-chevron {
    transform: rotate(180deg);
}

/* Modern Details Content Transition */
details::details-content {
    interpolate-size: allow-keywords;
    overflow: clip;
    contain: layout;
}

details:not([open])::details-content {
    block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
    details::details-content {
        transition: block-size 0.25s ease-in-out, content-visibility 0.25s ease-in-out;
        transition-behavior: allow-discrete;
    }
}

.faq-content {
    padding: 0 16px 14px 16px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid var(--border);
    margin-top: -2px;
    padding-top: 10px;
}

.faq-content strong {
    color: var(--pink-dark);
}

/* Clean Minimal Footer */
.minimal-footer {
    border-top: 1px solid var(--border);
    background: #ffffff;
    padding: 24px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo-wrap {
    display: flex;
    justify-content: center;
}

.footer-brand-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-pill-18 {
    border: 1px solid #ef4444;
    color: #ef4444;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: var(--radius-full);
}

.footer-pill-secure {
    border: 1px solid var(--emerald);
    color: var(--emerald-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: var(--radius-full);
}

/* Global Toast Notification */
.toast-msg {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #0f172a;
    border: 1px solid var(--pink);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-msg.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links-desktop,
    .nav-actions-desktop {
        display: none;
    }
    
    .nav-mobile-trigger {
        display: flex;
    }

    .container {
        padding: 16px 14px;
    }

    .hero h1 {
        font-size: 23px;
    }

    .nav-brand-img {
        height: 36px;
    }
}

@media (max-width: 440px) {
    .grid-2x2 {
        grid-template-columns: 1fr;
    }

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


/* Footer Links & Disclaimer */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    max-width: 860px;
    margin: 8px auto;
    font-size: 12.5px;
    line-height: 1.6;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--pink-neon);
    text-decoration: underline;
}

.footer-links span {
    color: #cbd5e1;
    user-select: none;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

.disclaimer-txt {
    font-size: 11px;
    color: var(--text-muted);
    max-width: 720px;
    margin: 4px auto 0 auto;
    line-height: 1.5;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.breadcrumb a {
    color: var(--pink-dark);
    text-decoration: none;
    font-weight: 700;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Legal & Policy Text Styling */
.legal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-section h2 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
    margin-top: 4px;
}

.legal-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.legal-section ul {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legal-notice-box {
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.6;
}

.legal-notice-box strong {
    color: var(--pink-dark);
}

/* Blog Article Card & Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    border-color: var(--pink);
    box-shadow: var(--shadow-card);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.blog-category-tag {
    background: #fdf2f8;
    color: var(--pink-dark);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 10.5px;
    border: 1px solid #fbcfe8;
}

.blog-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
}

.blog-card p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.blog-read-link {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--pink-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.blog-read-link:hover {
    color: var(--pink-neon);
    text-decoration: underline;
}


/* Keyword & Official Notice Block (What is pop717) */
.kw-block {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.68;
    box-shadow: var(--shadow-card);
}

.kw-block h2 {
    font-size: 1.18rem;
    color: var(--pink-dark);
    margin: 0 0 10px 0;
    font-weight: 800;
}

.kw-block p {
    margin-bottom: 10px;
}

.kw-block p:last-child {
    margin-bottom: 0;
}

.kw-block a {
    color: var(--pink-dark);
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.15s ease;
}

.kw-block a:hover {
    color: var(--pink-neon);
}
