/* ==========================================================================
   RONALD CRICKET TRADING - PREMIUM LANDING PAGE STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- ROOT VARIABLES --- */
:root {
    --bg-dark: #070913;
    --card-bg: rgba(15, 23, 42, 0.75);
    --primary-cyan: #00f2fe;
    --primary-blue: #4facfe;
    --telegram-blue: #0088cc;
    --telegram-glow: #00d2ff;
    --accent-gold: #fbbf24;
    --success-green: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-cyan: rgba(0, 242, 254, 0.3);
    --radius-main: 28px;
    --radius-inner: 16px;
    --radius-pill: 999px;
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

/* --- BACKGROUND ANIMATION EFFECTS --- */
.noise-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.aurora {
    position: fixed;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    animation: auroraMovement 18s ease-in-out infinite alternate;
}

.aurora-one {
    top: -10%;
    left: -10%;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #00f2fe, #0072ff);
}

.aurora-two {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #7928ca, #ff0080);
    animation-delay: -6s;
}

.aurora-three {
    top: 40%;
    left: 20%;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #059669, #3b82f6);
    animation-delay: -12s;
}

@keyframes auroraMovement {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.15); }
    100% { transform: translate(-40px, 80px) scale(0.9); }
}

/* --- PARTICLES EFFECT --- */
.particle-wrap {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle-wrap span {
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan), 0 0 20px var(--primary-cyan);
    opacity: 0;
    animation: floatUp 8s linear infinite;
}

.particle-wrap span:nth-child(1) { left: 10%; width: 5px; height: 5px; animation-duration: 7s; animation-delay: 0s; }
.particle-wrap span:nth-child(2) { left: 25%; width: 3px; height: 3px; animation-duration: 10s; animation-delay: 1s; }
.particle-wrap span:nth-child(3) { left: 40%; width: 6px; height: 6px; animation-duration: 6s; animation-delay: 2s; }
.particle-wrap span:nth-child(4) { left: 55%; width: 4px; height: 4px; animation-duration: 9s; animation-delay: 0.5s; }
.particle-wrap span:nth-child(5) { left: 70%; width: 5px; height: 5px; animation-duration: 8s; animation-delay: 3s; }
.particle-wrap span:nth-child(6) { left: 85%; width: 3px; height: 3px; animation-duration: 11s; animation-delay: 1.5s; }
.particle-wrap span:nth-child(7) { left: 95%; width: 6px; height: 6px; animation-duration: 7s; animation-delay: 2.5s; }
.particle-wrap span:nth-child(8) { left: 30%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 4s; }

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

/* --- MAIN SHELL --- */
.landing-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    padding: 16px;
    margin: 0 auto;
}

/* --- GLASS CARD --- */
.premium-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-main);
    padding: 36px 26px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7), 
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    animation: shimmerBorder 4s linear infinite;
}

@keyframes shimmerBorder {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

/* --- LIVE ONLINE CHIP --- */
.online-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 800;
    color: #34d399;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.online-dot {
    width: 9px;
    height: 9px;
    background-color: var(--success-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success-green);
    animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
}

#onlineCount {
    color: #ffffff;
    font-weight: 900;
}

/* --- LOGO BOX --- */
.logo-box {
    position: relative;
    width: 108px;
    height: 108px;
    margin: 0 auto 22px;
}

.logo-glow {
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%);
    opacity: 0.4;
    filter: blur(12px);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.3; transform: scale(0.95); }
    100% { opacity: 0.6; transform: scale(1.1); }
}

.logo-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary-cyan);
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
    position: relative;
    background: #0f172a;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.verified-icon {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: linear-gradient(135deg, #0088cc, #00f2fe);
    color: #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    border: 3px solid #0f172a;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.6);
}

/* --- TYPOGRAPHY --- */
h1 {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
}

h1 span {
    display: block;
    font-size: 1.55rem;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

/* --- STATS GRID --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-inner);
    padding: 14px 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-box:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-cyan);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.1);
}

.stat-box h2 {
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-box p {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --- HERO BANNER --- */
.hero-banner {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
    border: 1px solid var(--border-cyan);
    border-radius: var(--radius-inner);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hero-left h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.hero-left p {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 0.08em;
}

.pulse-ring {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--telegram-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    padding-left: 2px;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
    animation: pulsePlay 2s infinite;
}

@keyframes pulsePlay {
    0% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(0, 242, 254, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

/* --- BENEFIT LIST --- */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-inner);
    padding: 14px 16px;
    transition: all 0.3s ease;
}

.benefit:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.benefit .icon {
    font-size: 1.35rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.benefit h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 2px;
}

.benefit p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- ACTION AREA & TELEGRAM BUTTON --- */
.action-area {
    margin-bottom: 28px;
}

.offer-card {
    background: linear-gradient(180deg, rgba(0, 136, 204, 0.18) 0%, rgba(15, 23, 42, 0.5) 100%);
    border: 1.5px dashed rgba(0, 210, 255, 0.4);
    border-radius: 20px;
    padding: 22px 18px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.offer-card small {
    display: inline-block;
    background: var(--accent-gold);
    color: #000000;
    font-weight: 900;
    font-size: 0.68rem;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.3);
}

.offer-card h2 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
}

.offer-card p {
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 24px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0088cc 0%, #00d2ff 100%);
    border: none;
    border-radius: var(--radius-inner);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow: 0 12px 30px -5px rgba(0, 136, 204, 0.7), 
                inset 0 1px 1px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulseButton 2.5s infinite;
}

.telegram-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 40px -5px rgba(0, 210, 255, 0.85);
}

.telegram-btn:active {
    transform: translateY(1px) scale(0.99);
}

@keyframes pulseButton {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px -5px rgba(0, 136, 204, 0.7);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 18px 40px 0px rgba(0, 210, 255, 0.85);
    }
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.telegram-btn:hover .btn-glow {
    opacity: 1;
}

.btn-icon svg {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.secure-line {
    font-size: 0.78rem;
    color: var(--text-subtle);
    font-weight: 600;
    margin-top: 14px;
}

/* --- FLOATING TAGS --- */
.floating-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.floating-tags span {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    color: #e2e8f0;
    transition: all 0.2s ease;
}

.floating-tags span:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-cyan);
    color: var(--primary-cyan);
}

/* --- LEGAL BOX & FOOTER --- */
.legal-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-inner);
    padding: 16px;
    text-align: left;
    margin-bottom: 24px;
}

.legal-box h3 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.legal-box p {
    font-size: 0.72rem;
    color: var(--text-subtle);
    line-height: 1.5;
}

footer {
    font-size: 0.75rem;
    color: #475569;
    font-weight: 600;
    line-height: 1.5;
}

/* --- TOAST NOTIFICATION --- */
.join-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-cyan);
    border-radius: var(--radius-pill);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    z-index: 999;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.join-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-avatar {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--telegram-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #ffffff;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.toast-content {
    font-size: 0.82rem;
    color: #cbd5e1;
}

.toast-content strong {
    color: #ffffff;
    font-weight: 800;
}

.toast-time {
    font-size: 0.72rem;
    color: var(--success-green);
    font-weight: 700;
    background: rgba(16, 185, 129, 0.12);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 480px) {
    .premium-card {
        padding: 28px 18px;
        border-radius: 24px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h1 span {
        font-size: 1.35rem;
    }

    .stats-grid {
        gap: 8px;
    }

    .stat-box {
        padding: 10px 4px;
    }

    .stat-box h2 {
        font-size: 1.15rem;
    }

    .stat-box p {
        font-size: 0.65rem;
    }

    .telegram-btn {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .join-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-content: space-between;
    }
}
