/* ============================================
   SCHRÖDINGER'S CAT - QUANTUM BETTING SITE
   ============================================ */

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

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a2e;
    --neon-green: #00FF41;
    --neon-blue: #00d4ff;
    --neon-purple: #b44aff;
    --neon-pink: #ff2e97;
    --alive-color: #00FF41;
    --alive-glow: rgba(0, 255, 65, 0.3);
    --dead-color: #ff2e97;
    --dead-glow: rgba(255, 46, 151, 0.3);
    --text-primary: #e0e0e0;
    --text-secondary: #888;
    --gold: #FFD700;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 255, 65, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 46, 151, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 60px;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95), rgba(18, 18, 26, 0.95));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 212, 255, 0.05);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 212, 255, 0.1);
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--neon-green);
    text-decoration: none;
    text-shadow: 0 0 10px var(--alive-glow), 0 0 30px var(--alive-glow);
    letter-spacing: 2px;
    flex-shrink: 0;
    transition: text-shadow 0.3s ease;
}

.nav-logo:hover {
    text-shadow: 0 0 15px var(--alive-glow), 0 0 40px var(--alive-glow), 0 0 60px var(--alive-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1.5px;
    padding: 0.4rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, var(--neon-green), #00cc33);
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    letter-spacing: 1px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--alive-glow), 0 0 20px rgba(0, 255, 65, 0.15);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 15px var(--alive-glow), 0 0 35px rgba(0, 255, 65, 0.3);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Add top padding to body for fixed navbar */
.hero {
    padding-top: 80px;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        padding: 1.5rem;
        gap: 1.2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }
}

/* ============================================
   BACKGROUND ATOMS
   ============================================ */

.bg-atoms {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-atom {
    position: absolute;
    opacity: 0.4;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.atom-1 {
    width: 500px;
    height: 500px;
    top: 5%;
    left: 5%;
    animation: atomSpin 25s linear infinite, atomFloat1 18s ease-in-out infinite;
    opacity: 0.3;
}

.atom-2 {
    width: 350px;
    height: 350px;
    top: 60%;
    right: 5%;
    animation: atomSpinReverse 20s linear infinite, atomFloat2 14s ease-in-out infinite;
    opacity: 0.25;
}

.atom-3 {
    width: 450px;
    height: 450px;
    bottom: 10%;
    left: 30%;
    animation: atomSpin 30s linear infinite, atomFloat3 20s ease-in-out infinite;
    opacity: 0.2;
}

.atom-4 {
    width: 300px;
    height: 300px;
    top: 30%;
    right: 20%;
    animation: atomSpinReverse 22s linear infinite, atomFloat1 16s ease-in-out infinite;
    opacity: 0.2;
}

.atom-5 {
    width: 150px;
    height: 150px;
    top: 15%;
    right: 10%;
    animation: atomSpin 12s linear infinite, atomFloat2 10s ease-in-out infinite;
    opacity: 0.35;
}

.atom-6 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 8%;
    animation: atomSpinReverse 15s linear infinite, atomFloat3 12s ease-in-out infinite;
    opacity: 0.3;
}

.atom-7 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: atomSpin 35s linear infinite, atomPulse 8s ease-in-out infinite;
    opacity: 0.15;
}

@keyframes atomSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes atomSpinReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes atomFloat1 {
    0%, 100% { translate: 0 0; }
    25% { translate: 20px -30px; }
    50% { translate: -15px -10px; }
    75% { translate: 25px 20px; }
}

@keyframes atomFloat2 {
    0%, 100% { translate: 0 0; }
    25% { translate: -25px 15px; }
    50% { translate: 10px 30px; }
    75% { translate: -20px -20px; }
}

@keyframes atomFloat3 {
    0%, 100% { translate: 0 0; }
    33% { translate: 30px -20px; }
    66% { translate: -25px 25px; }
}

@keyframes atomPulse {
    0%, 100% { opacity: 0.15; scale: 1; }
    50% { opacity: 0.25; scale: 1.1; }
}

/* ============================================
   FLOATING CATS
   ============================================ */

#floating-cats {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-cat {
    position: absolute;
    opacity: 0.15;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    filter: blur(0.5px);
    transition: opacity 0.3s;
}

.floating-cat img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-cat:hover {
    opacity: 0.4;
}

.floating-cat.alive-float {
    animation-name: floatAlive;
}

.floating-cat.dead-float {
    animation-name: floatDead;
    transform: rotate(180deg);
}

@keyframes floatAlive {
    0% {
        transform: translateY(110vh) rotate(0deg);
    }
    25% {
        transform: translateY(75vh) rotate(10deg) translateX(30px);
    }
    50% {
        transform: translateY(50vh) rotate(-10deg) translateX(-30px);
    }
    75% {
        transform: translateY(25vh) rotate(15deg) translateX(20px);
    }
    100% {
        transform: translateY(-15vh) rotate(0deg);
    }
}

@keyframes floatDead {
    0% {
        transform: translateY(-15vh) rotate(180deg);
    }
    25% {
        transform: translateY(25vh) rotate(190deg) translateX(-20px);
    }
    50% {
        transform: translateY(50vh) rotate(170deg) translateX(20px);
    }
    75% {
        transform: translateY(75vh) rotate(185deg) translateX(-15px);
    }
    100% {
        transform: translateY(110vh) rotate(180deg);
    }
}

/* ============================================
   PARTICLES
   ============================================ */

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

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(-10vh) scale(1);
    }
    90% {
        opacity: 0.5;
        transform: translateY(-90vh) scale(0.5);
    }
}

/* ============================================
   HEADER / HERO
   ============================================ */

.hero {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.quantum-border {
    display: inline-block;
    padding: 30px 50px;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--neon-green), var(--neon-blue), var(--neon-purple), var(--neon-pink)) 1;
    position: relative;
    margin-bottom: 30px;
}

.quantum-border::before,
.quantum-border::after {
    content: '⚛';
    position: absolute;
    font-size: 24px;
    animation: spin 4s linear infinite;
}

.quantum-border::before {
    top: -14px;
    left: -14px;
}

.quantum-border::after {
    bottom: -14px;
    right: -14px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

h1.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    text-shadow:
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue);
    position: relative;
    animation: glitchText 3s infinite;
}

@keyframes glitchText {
    0%, 95%, 100% {
        text-shadow:
            0 0 10px var(--neon-blue),
            0 0 20px var(--neon-blue),
            0 0 40px var(--neon-blue);
    }
    96% {
        text-shadow:
            -3px 0 var(--neon-green),
            3px 0 var(--neon-pink);
    }
    97% {
        text-shadow:
            3px 0 var(--neon-pink),
            -3px 0 var(--neon-green);
    }
    98% {
        text-shadow:
            0 0 10px var(--neon-blue),
            0 0 20px var(--neon-blue);
    }
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-top: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Hero Social Links */
.hero-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.hero-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.hero-social-link:hover {
    transform: scale(1.15);
}

.hero-social-link.x-link:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-social-link.pump-link:hover {
    border-color: rgba(0, 255, 65, 0.5);
    box-shadow: 0 0 20px var(--alive-glow);
}

.hero-social-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.bet-now-link {
    background: linear-gradient(135deg, var(--neon-green), #00cc33) !important;
    border: none !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
}

.bet-now-link:hover {
    box-shadow: 0 0 20px var(--alive-glow), 0 0 40px rgba(0, 255, 65, 0.3) !important;
    transform: translateY(-2px) scale(1.05);
}

.bet-now-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    color: #000;
    letter-spacing: 2px;
}

/* Hero Cats */
.hero-cats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-cat {
    text-align: center;
}

.cat-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    transition: transform 0.3s, filter 0.3s;
}

.cat-img.alive {
    filter: drop-shadow(0 0 15px var(--alive-glow));
    animation: alivePulse 2s ease-in-out infinite;
}

.cat-img.dead {
    filter: drop-shadow(0 0 15px var(--dead-glow));
    animation: deadPulse 2s ease-in-out infinite;
}

@keyframes alivePulse {
    0%, 100% { filter: drop-shadow(0 0 15px var(--alive-glow)); }
    50% { filter: drop-shadow(0 0 30px var(--alive-glow)) brightness(1.1); }
}

@keyframes deadPulse {
    0%, 100% { filter: drop-shadow(0 0 15px var(--dead-glow)); }
    50% { filter: drop-shadow(0 0 30px var(--dead-glow)) brightness(1.1); }
}

.hero-cat:hover .cat-img {
    transform: scale(1.1);
}

.cat-label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 5px;
    letter-spacing: 2px;
}

.alive-label {
    color: var(--alive-color);
    text-shadow: 0 0 10px var(--alive-glow);
}

.dead-label {
    color: var(--dead-color);
    text-shadow: 0 0 10px var(--dead-glow);
}

/* Dead cat X eyes overlay */
.dead-cat-wrap {
    position: relative;
    display: inline-block;
}

.eye-x {
    position: absolute;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: var(--dead-color);
    text-shadow: 0 0 8px var(--dead-glow), 0 0 20px var(--dead-glow);
    pointer-events: none;
    z-index: 5;
    line-height: 1;
}

/* Hero cat eyes (180x180) */
.hero-cat .eye-x {
    font-size: 1.2rem;
    top: 52%;
}

.hero-cat .eye-left {
    left: 72%;
}

.hero-cat .eye-right {
    left: 80%;
}

/* Bet icon eyes (80x80) */
.bet-icon-wrap {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 1;
}

.bet-icon-wrap .bet-icon {
    width: 100%;
    height: 100%;
}

.bet-icon-wrap .eye-x {
    font-size: 0.55rem;
    top: 52%;
}

.bet-icon-wrap .eye-left {
    left: 72%;
}

.bet-icon-wrap .eye-right {
    left: 80%;
}

/* Result modal eyes */
.result-cat-container .dead-cat-wrap {
    display: inline-block;
}

.result-cat-container .dead-cat-wrap img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.result-cat-container .eye-x {
    font-size: 1.4rem;
    top: 52%;
}

.result-cat-container .eye-left {
    left: 72%;
}

.result-cat-container .eye-right {
    left: 80%;
}

/* Box */
.box-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box {
    width: 160px;
    height: 140px;
    position: relative;
    perspective: 800px;
}

.box-lid {
    width: 170px;
    height: 30px;
    background: linear-gradient(135deg, #5a3e28, #8B6914);
    border: 2px solid #a07830;
    margin-left: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
    transform-origin: top;
    transition: transform 1s ease;
    z-index: 2;
    position: relative;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 -3px 15px rgba(0,212,255,0.2);
}

.box-body {
    width: 160px;
    height: 110px;
    background: linear-gradient(180deg, #4a3420, #3a2415);
    border: 2px solid #6b4c30;
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 4px 4px;
    position: relative;
    overflow: hidden;
}

.box-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 15px,
        rgba(0,0,0,0.1) 15px,
        rgba(0,0,0,0.1) 16px
    );
}

.box-question {
    animation: questionPulse 1.5s ease-in-out infinite;
}

.question-mark {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

@keyframes questionPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

.box-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 10px;
    font-style: italic;
}

.box.opened .box-lid {
    transform: rotateX(-120deg);
}

/* ============================================
   THEORY SECTION
   ============================================ */

.theory {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue), var(--neon-purple));
    margin: 15px auto 0;
    border-radius: 2px;
}

.theory-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.theory-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.theory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    opacity: 0;
    transition: opacity 0.3s;
}

.theory-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

.theory-card:hover::before {
    opacity: 1;
}

.theory-card.full-width {
    grid-column: 1 / -1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--neon-blue));
    animation: atomSpin 12s linear infinite;
}

.theory-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--neon-blue);
    margin-bottom: 12px;
}

.theory-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

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

/* ============================================
   BETTING SECTION
   ============================================ */

.betting {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5), transparent);
}

.betting-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Timer */
.timer-container {
    text-align: center;
    margin-bottom: 50px;
}

.timer-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--neon-blue);
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

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

.time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-number {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: #fff;
    text-shadow:
        0 0 20px var(--neon-blue),
        0 0 40px var(--neon-blue);
    line-height: 1;
    min-width: 120px;
}

.time-separator {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 7vw, 4rem);
    color: var(--neon-blue);
    animation: blink 1s step-end infinite;
    line-height: 1;
    margin-bottom: 20px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.time-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-top: 5px;
}

.timer.urgent .time-number {
    color: var(--dead-color);
    text-shadow:
        0 0 20px var(--dead-glow),
        0 0 40px var(--dead-glow);
    animation: urgentPulse 0.5s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.progress-bar {
    width: 100%;
    max-width: 500px;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    margin: 20px auto 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    border-radius: 3px;
    width: 100%;
    transition: width 1s linear;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Bet Options */
.bet-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.bet-btn {
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px 40px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.bet-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 14px;
}

.alive-btn::before {
    background: radial-gradient(circle at center, var(--alive-glow), transparent 70%);
}

.dead-btn::before {
    background: radial-gradient(circle at center, var(--dead-glow), transparent 70%);
}

.bet-btn:hover::before {
    opacity: 1;
}

.bet-btn:hover {
    transform: scale(1.05);
}

.alive-btn:hover {
    border-color: var(--alive-color);
    box-shadow: 0 0 30px var(--alive-glow), inset 0 0 30px rgba(0,255,65,0.05);
}

.dead-btn:hover {
    border-color: var(--dead-color);
    box-shadow: 0 0 30px var(--dead-glow), inset 0 0 30px rgba(255,46,151,0.05);
}

.bet-btn.selected {
    transform: scale(1.08);
}

.alive-btn.selected {
    border-color: var(--alive-color);
    box-shadow: 0 0 40px var(--alive-glow);
    background: rgba(0, 255, 65, 0.1);
}

.dead-btn.selected {
    border-color: var(--dead-color);
    box-shadow: 0 0 40px var(--dead-glow);
    background: rgba(255, 46, 151, 0.1);
}

.bet-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.bet-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.bet-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.alive-btn .bet-text {
    color: var(--alive-color);
    text-shadow: 0 0 10px var(--alive-glow);
}

.dead-btn .bet-text {
    color: var(--dead-color);
    text-shadow: 0 0 10px var(--dead-glow);
}

.bet-odds {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.bet-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.bet-option-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.boost-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000;
}

.alive-boost {
    background: linear-gradient(135deg, var(--neon-green), #00cc33);
    box-shadow: 0 0 10px var(--alive-glow);
}

.alive-boost:hover {
    box-shadow: 0 0 20px var(--alive-glow), 0 0 40px rgba(0, 255, 65, 0.3);
    transform: translateY(-2px);
}

.dead-boost {
    background: linear-gradient(135deg, var(--dead-color), #cc0050);
    box-shadow: 0 0 10px var(--dead-glow);
}

.dead-boost:hover {
    box-shadow: 0 0 20px var(--dead-glow), 0 0 40px rgba(255, 46, 151, 0.3);
    transform: translateY(-2px);
}

.boost-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.vs-divider {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--neon-purple);
    text-shadow: 0 0 20px rgba(180, 74, 255, 0.5);
    animation: vsPulse 2s ease-in-out infinite;
}

@keyframes vsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Bet Status */
.bet-status {
    text-align: center;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.bet-status p {
    font-size: 1.1rem;
    margin: 5px 0;
}

.bet-waiting {
    color: var(--text-secondary);
    animation: waitingPulse 2s ease-in-out infinite;
}

@keyframes waitingPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* SOL Betting Table */
.sol-table-container {
    max-width: 600px;
    margin: 0 auto 30px;
}

.sol-table-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--neon-blue);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.sol-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.sol-table th {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 16px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.sol-table th:first-child {
    text-align: left;
}

.sol-table td {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sol-table td:first-child {
    text-align: left;
}

.sol-option-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.sol-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.alive-dot {
    background: var(--alive-color);
    box-shadow: 0 0 8px var(--alive-glow);
}

.dead-dot {
    background: var(--dead-color);
    box-shadow: 0 0 8px var(--dead-glow);
}

.sol-row-alive td {
    color: var(--alive-color);
}

.sol-row-dead td {
    color: var(--dead-color);
}

.sol-row-total td {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
    border-bottom: none;
}

/* Bet Bar */
.bet-bar {
    display: flex;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.1);
}

.bet-bar-alive {
    background: linear-gradient(90deg, #004d15, #00a832);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.5s ease;
    min-width: 60px;
}

.bet-bar-dead {
    background: linear-gradient(90deg, #a8002e, #4d0015);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.5s ease;
    min-width: 60px;
}

.bet-bar span {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ============================================
   RESULT MODAL
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
    backdrop-filter: blur(10px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.5s ease;
}

.modal.alive-result {
    border: 2px solid var(--alive-color);
    box-shadow: 0 0 60px var(--alive-glow), 0 0 120px rgba(0,255,65,0.1);
}

.modal.dead-result {
    border: 2px solid var(--dead-color);
    box-shadow: 0 0 60px var(--dead-glow), 0 0 120px rgba(255,46,151,0.1);
}

@keyframes modalSlideIn {
    from { transform: translateY(50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.modal.alive-result h2 {
    color: var(--alive-color);
    text-shadow: 0 0 20px var(--alive-glow);
}

.modal.dead-result h2 {
    color: var(--dead-color);
    text-shadow: 0 0 20px var(--dead-glow);
}

.result-cat-container {
    margin: 20px 0;
}

.result-cat-container img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.modal p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 10px 0;
}

.result-bet-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem !important;
    margin-top: 15px !important;
}

.result-bet-text.won {
    color: var(--gold) !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.result-bet-text.lost {
    color: #ff4444 !important;
}

.restart-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    padding: 15px 30px;
    border: 2px solid var(--neon-blue);
    background: transparent;
    color: var(--neon-blue);
    border-radius: 50px;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s;
    letter-spacing: 2px;
}

.restart-btn:hover {
    background: var(--neon-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

/* ============================================
   SOCIALS / LINKS SECTION
   ============================================ */

.socials {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
}

.socials-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px 30px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s;
}

.x-card::before {
    background: linear-gradient(90deg, #fff, #aaa);
}

.pump-card::before {
    background: linear-gradient(90deg, var(--neon-green), #00a832);
}

.social-card:hover {
    transform: translateY(-5px);
}

.x-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.08);
}

.pump-card:hover {
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 10px 40px rgba(0, 255, 65, 0.08);
}

.social-card:hover::before {
    opacity: 1;
}

.social-icon-wrap {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.social-card:hover .social-icon-wrap {
    transform: scale(1.1);
}

.x-card .social-icon-wrap {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pump-card .social-icon-wrap {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.15);
}

.social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.social-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.x-card .social-info h3 {
    color: #fff;
}

.pump-card .social-info h3 {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--alive-glow);
}

.social-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

.social-cta {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s;
}

.x-card .social-cta {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.x-card:hover .social-cta {
    background: #fff;
    color: #000;
}

.pump-card .social-cta {
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.pump-card:hover .social-cta {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 20px var(--alive-glow);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-small {
    font-size: 0.75rem !important;
    margin-top: 5px;
    opacity: 0.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-cats {
        gap: 15px;
    }

    .cat-img {
        width: 120px;
        height: 120px;
    }

    .box {
        width: 120px;
        height: 100px;
    }

    .box-lid {
        width: 130px;
    }

    .box-body {
        width: 120px;
        height: 80px;
    }

    .question-mark {
        font-size: 2rem;
    }

    .bet-btn {
        min-width: 150px;
        padding: 20px 25px;
    }

    .bet-icon {
        width: 60px;
        height: 60px;
    }

    .time-number {
        min-width: 80px;
    }

    .stats-container {
        gap: 25px;
    }

    .modal {
        padding: 30px;
    }

    .quantum-border {
        padding: 20px 25px;
    }
}

@media (max-width: 480px) {
    .bet-options {
        gap: 15px;
    }

    .vs-divider {
        font-size: 1rem;
    }

    .cat-label {
        font-size: 0.9rem;
    }
}

/* ============================================
   CONFETTI / CELEBRATION
   ============================================ */

.confetti {
    position: fixed;
    top: -10px;
    z-index: 1001;
    animation: confettiFall linear forwards;
    pointer-events: none;
    font-size: 1.5rem;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

/* Skull rain for dead result */
.skull-rain {
    position: fixed;
    top: -10px;
    z-index: 1001;
    animation: skullFall linear forwards;
    pointer-events: none;
    font-size: 1.5rem;
}

@keyframes skullFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Box opening animation */
.box.opening {
    animation: boxShake 0.5s ease-in-out;
}

@keyframes boxShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.5);
}
