/* ============================================
   GAMBLING.ONL — Play Bold
   ============================================ */

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

:root {
    --red: #ff3366;
    --red-light: #ff6b8a;
    --orange: #ff6b35;
    --gold: #ffd700;
    --red-glow: rgba(255, 51, 102, 0.35);
    --bg: #0a0510;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text: #eae6ef;
    --text-dim: #7a7490;
    --border: rgba(255, 51, 102, 0.15);
    --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(--red) 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(--red); border-radius: 3px; }
a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; background: none; border: none; }

/* Cursor */
#cursor { position: fixed; top: 0; left: 0; width: 8px; height: 8px; background: var(--red); 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: screen; }
#cursor-follower { position: fixed; top: 0; left: 0; width: 40px; height: 40px; border: 1px solid var(--red); 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 */
#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-diamond { width: 40px; height: 40px; border: 2px solid var(--red); transform: rotate(45deg); animation: diamondSpin 2s linear infinite; }
@keyframes diamondSpin { to { transform: rotate(405deg); } }
.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(--red), var(--orange)); border-radius: 1px; transition: width 0.3s; }
.loader-text { font-size: 10px; letter-spacing: 5px; color: var(--text-dim); font-weight: 500; }

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

/* Hero */
#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(--red); background: rgba(255, 51, 102, 0.06);
    margin-bottom: 36px; opacity: 0; transform: translateY(20px);
}
.badge-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); } 50% { box-shadow: 0 0 0 8px transparent; } }

.hero-title {
    font-family: var(--font-display); font-size: clamp(48px, 10vw, 110px);
    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(--red-light) 0%, var(--red) 50%, var(--orange) 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: 460px; margin: 0 auto 32px;
    opacity: 0; transform: translateY(20px);
}

/* Game Pills */
.game-pills {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    margin-bottom: 36px; opacity: 0; transform: translateY(15px);
}
.pill {
    padding: 6px 16px; border-radius: 100px;
    border: 1px solid var(--glass-border); font-size: 12px;
    font-weight: 500; letter-spacing: 1px; color: var(--text-dim);
    background: var(--bg-card); transition: all 0.3s var(--ease);
}
.pill:hover { border-color: var(--red); color: var(--red); }

/* Countdown */
.countdown {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-bottom: 40px; 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(--red-light) 0%, var(--red) 100%);
    -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(--red); opacity: 0.3; margin-top: -14px; animation: blink 1s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.05; } }

/* 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(--red); }
.notify-success { font-size: 13px; color: var(--red-light); 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: var(--red); color: #fff; border: none; }
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: 0 6px 24px var(--red-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(--red); }
.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(--red); }
.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; }
    .game-pills { gap: 6px; }
    .pill { font-size: 11px; padding: 5px 12px; }
}
