/* ============================================
   POKER.ONL — All In
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --felt: #2d8a4e;
    --felt-dark: #1a5c32;
    --felt-glow: rgba(45, 138, 78, 0.3);
    --gold: #cc9933;
    --gold-light: #ffd700;
    --gold-glow: rgba(204, 153, 51, 0.4);
    --bg: #0a120a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text: #e8e6e1;
    --text-dim: #7a8872;
    --border: rgba(45, 138, 78, 0.2);
    --glass-border: rgba(255, 255, 255, 0.06);
    --font-display: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--felt) transparent; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; cursor: none; min-height: 100vh; display: flex; flex-direction: column; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--felt); border-radius: 3px; }
a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; background: none; border: none; }

#cursor { position: fixed; top: 0; left: 0; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); transition: width 0.3s var(--ease), height 0.3s var(--ease); mix-blend-mode: difference; }
#cursor-follower { position: fixed; top: 0; left: 0; width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.4s var(--ease), height 0.4s var(--ease), opacity 0.3s; opacity: 0.4; }
#cursor.hover { width: 16px; height: 16px; }
#cursor-follower.hover { width: 60px; height: 60px; opacity: 0.2; }

#loader { position: fixed; inset: 0; background: var(--bg); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.6s var(--ease), visibility 0.6s; }
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.loader-chip { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--gold); position: relative; animation: chipSpin 2s linear infinite; }
.loader-chip::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 2px dashed var(--felt); animation: chipSpin 3s linear infinite reverse; }
@keyframes chipSpin { to { transform: rotateY(360deg); } }
.loader-bar { width: 180px; height: 2px; background: rgba(255,255,255,0.06); border-radius: 1px; overflow: hidden; }
.loader-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--felt), var(--gold)); border-radius: 1px; transition: width 0.3s; }
.loader-text { font-size: 10px; letter-spacing: 5px; color: var(--text-dim); }

#bg-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

#hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; z-index: 1; flex: 1; }
.hero-content { text-align: center; max-width: 680px; padding: 0 24px; position: relative; z-index: 2; }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px; border: 1px solid var(--border); border-radius: 100px; font-size: 11px; font-weight: 600; letter-spacing: 3px; color: var(--gold); background: rgba(204,153,51,0.05); margin-bottom: 36px; opacity: 0; transform: translateY(20px); }
.badge-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 var(--gold-glow); } 50% { box-shadow: 0 0 0 8px transparent; } }

.hero-title { font-family: var(--font-display); font-size: clamp(52px,10vw,120px); font-weight: 900; line-height: 1; letter-spacing: 4px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; }
.title-line { display: inline-block; background: linear-gradient(135deg, var(--text) 0%, var(--text-dim) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; opacity: 0; transform: translateY(40px); }
.title-line.accent { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--felt) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-dot { display: inline-block; color: var(--gold); -webkit-text-fill-color: var(--gold); font-size: 0.6em; opacity: 0; transform: scale(0); }

.hero-subtitle { font-size: clamp(14px,1.8vw,17px); line-height: 1.7; color: var(--text-dim); max-width: 480px; margin: 0 auto 28px; opacity: 0; transform: translateY(20px); }

/* Suits */
.suits-row { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; opacity: 0; transform: translateY(15px); }
.suit { width: 32px; height: 32px; transition: transform 0.3s var(--ease); }
.suit.spade { color: var(--text); }
.suit.heart { color: #e74c3c; }
.suit.diamond { color: var(--gold); }
.suit.club { color: var(--felt); }
.suit:hover { transform: translateY(-4px) scale(1.15); }

/* Countdown */
.countdown { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 28px; opacity: 0; transform: translateY(20px); }
.cd-item { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.cd-val { font-family: var(--font-display); font-size: clamp(34px,5vw,52px); font-weight: 700; background: linear-gradient(135deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; }
.cd-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-top: 6px; }
.cd-sep { font-family: var(--font-display); font-size: clamp(28px,4vw,40px); color: var(--gold); opacity: 0.3; margin-top: -14px; animation: blink 1s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 0.3; } 50% { opacity: 0.05; } }

/* Features */
.features-row { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; opacity: 0; transform: translateY(15px); }
.feature-pill { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--glass-border); background: var(--bg-card); font-size: 12px; font-weight: 500; letter-spacing: 0.5px; color: var(--text-dim); transition: all 0.3s var(--ease); }
.feature-pill svg { color: var(--felt); }
.feature-pill:hover { border-color: var(--border); color: var(--text); }

/* Notify */
.notify-section { margin-bottom: 40px; opacity: 0; transform: translateY(20px); }
.notify-text { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.notify-form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.notify-input { flex: 1; padding: 12px 18px; background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: 6px; color: var(--text); font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color 0.3s; cursor: none; }
.notify-input::placeholder { color: var(--text-dim); }
.notify-input:focus { border-color: var(--gold); }
.notify-success { font-size: 13px; color: var(--gold); margin-top: 12px; display: none; }
.notify-success.show { display: block; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 12px 24px; border-radius: 6px; transition: all 0.4s var(--ease); white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--bg); border: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px var(--gold-glow); }

/* Footer */
#footer { position: relative; z-index: 1; padding: 20px 24px; border-top: 1px solid var(--glass-border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-logo { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: 2px; }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--text-dim); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 11px; color: var(--text-dim); width: 100%; text-align: center; margin-top: 8px; }

@media (max-width: 575.98px) {
    .notify-form { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    #cursor, #cursor-follower { display: none; }
    body { cursor: auto; }
    .footer-inner { flex-direction: column; text-align: center; }
    .features-row { gap: 8px; }
    .feature-pill { font-size: 11px; padding: 6px 12px; }
}
