/* =============================================
   CASINO LANDING PAGE - BC.Game Funnel
   Style: Dark Luxury Gaming
   Palette: #0a0a0a, #FFD700, #8B5CF6
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800&display=swap');

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #e2e8f0;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== PARTICLES BACKGROUND ========== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========== TOP BAR ========== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.top-bar .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.top-bar .logo span {
    color: #8B5CF6;
    -webkit-text-fill-color: #8B5CF6;
}

.top-bar .live-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.live-stats .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.live-stats .stat-value {
    color: #FFD700;
    font-weight: 700;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #c4b5fd;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge .fire {
    animation: fire 1s ease-in-out infinite alternate;
}

@keyframes fire {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .highlight-purple {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #94a3b8;
    max-width: 640px;
    margin-bottom: 32px;
    animation: fadeInUp 1.2s ease-out;
}

.hero .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a0a0a;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1.4s ease-out;
    position: relative;
    overflow: hidden;
}

.hero .cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%) rotate(45deg);
    transition: 0.5s;
}

.hero .cta-button:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.hero .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

.hero .cta-button .arrow {
    font-size: 1.4rem;
    transition: transform 0.3s;
}

.hero .cta-button:hover .arrow {
    transform: translateX(5px);
}

.hero .trust-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
    animation: fadeInUp 1.6s ease-out;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-badges .trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
}

.trust-badges .trust-item .icon {
    font-size: 1rem;
}

/* ========== LIVE WINNERS TICKER ========== */
.winners-ticker {
    position: relative;
    z-index: 1;
    padding: 20px 0;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.08), transparent);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    overflow: hidden;
}

.winners-ticker .ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 16px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #22c55e;
    margin-bottom: 12px;
    margin-left: 24px;
}

.ticker-track {
    display: flex;
    gap: 40px;
    animation: ticker-scroll 30s linear infinite;
    width: max-content;
    white-space: nowrap;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    font-size: 0.9rem;
}

.ticker-item .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.ticker-item .amount {
    color: #FFD700;
    font-weight: 700;
}

.ticker-item .game {
    color: #94a3b8;
    font-size: 0.8rem;
}

.ticker-item .time {
    color: #64748b;
    font-size: 0.75rem;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    text-align: center;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    padding: 40px 28px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(255, 215, 0, 0.04));
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8B5CF6, #FFD700, transparent);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.1);
}

.step-card .step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.step-card .step-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f1f5f9;
}

.step-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-card .bonus-amount {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    color: #FFD700;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========== BONUS SECTION ========== */
.bonus-section {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    background: radial-gradient(ellipse at top, rgba(255, 215, 0, 0.05), transparent 70%);
    text-align: center;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 40px auto;
}

.bonus-card {
    padding: 32px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(139, 92, 246, 0.04));
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.bonus-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.08);
}

.bonus-card .bonus-pct {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bonus-card .bonus-label {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 4px;
}

.bonus-card .bonus-sub {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 8px;
}

.bonus-card .bonus-min {
    display: inline-block;
    margin-top: 12px;
    padding: 2px 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    color: #8B5CF6;
    font-size: 0.8rem;
}

.bonus-section .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 32px;
}

.bonus-section .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

/* ========== WINNERS GRID ========== */
.winners-section {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    text-align: center;
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 40px auto;
}

.winner-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: left;
}

.winner-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(139, 92, 246, 0.2);
}

.winner-card .w-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.winner-card .w-info {
    flex: 1;
}

.winner-card .w-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #f1f5f9;
}

.winner-card .w-detail {
    font-size: 0.8rem;
    color: #64748b;
}

.winner-card .w-amount {
    font-weight: 700;
    color: #FFD700;
    font-size: 1rem;
    text-align: right;
}

/* ========== CRASH SIMULATOR ========== */
.crash-section {
    position: relative;
    z-index: 1;
    padding: 80px 24px 60px;
    text-align: center;
}

.crash-simulator {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(255, 215, 0, 0.04));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.crash-simulator::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.05), transparent);
    pointer-events: none;
}

.crash-simulator .crash-label {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.crash-simulator .crash-multiplier {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    transition: color 0.3s;
}

.crash-multiplier.playing {
    color: #22c55e;
}

.crash-multiplier.crashed {
    color: #ef4444;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    50% { transform: translateX(8px); }
    75% { transform: translateX(-8px); }
}

.crash-simulator .crash-chart {
    width: 100%;
    height: 120px;
    margin: 20px 0;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.crash-chart canvas {
    width: 100%;
    height: 100%;
}

.crash-simulator .crash-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.crash-controls .crash-btn {
    padding: 12px 36px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crash-controls .crash-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.3);
}

.crash-controls .crash-btn.cashout-btn {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.crash-controls .crash-btn.cashout-btn:hover {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

.crash-controls .crash-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.crash-simulator .crash-result {
    margin-top: 16px;
    font-size: 0.95rem;
    min-height: 28px;
    color: #94a3b8;
}

.crash-simulator .crash-result .win {
    color: #FFD700;
    font-weight: 700;
}

.crash-simulator .crash-result .lose {
    color: #ef4444;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto;
}

.testimonial-card {
    padding: 28px 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(139, 92, 246, 0.03));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    text-align: left;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-3px);
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 1rem;
    margin-bottom: 12px;
}

.testimonial-card .text {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-card .author .a-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: #fff;
}

.testimonial-card .author .a-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #f1f5f9;
}

.testimonial-card .author .a-detail {
    font-size: 0.8rem;
    color: #64748b;
}

/* ========== FINAL CTA ========== */
.final-cta {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.06), transparent 60%);
}

.final-cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.final-cta p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 56px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0a0a0a;
    font-size: 1.2rem;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.4); }
}

.final-cta .cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4);
    animation: none;
}

.final-cta .disclaimer {
    margin-top: 24px;
    font-size: 0.75rem;
    color: #475569;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    z-index: 1;
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer p {
    color: #475569;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.footer .footer-links a {
    color: #64748b;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer .footer-links a:hover {
    color: #8B5CF6;
}

/* ========== NOTIFICATION TOAST ========== */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    animation: slideInLeft 0.4s ease-out;
    max-width: 340px;
    pointer-events: auto;
}

.toast.removing {
    animation: slideOutRight 0.4s ease-in forwards;
}

@keyframes slideInLeft {
    from { transform: translateX(-120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

.toast .t-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.toast .t-text {
    font-size: 0.85rem;
}

.toast .t-text .t-name {
    font-weight: 600;
    color: #f1f5f9;
}

.toast .t-text .t-amount {
    color: #FFD700;
    font-weight: 700;
}

.toast .t-text .t-time {
    color: #64748b;
    font-size: 0.75rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .top-bar {
        padding: 10px 16px;
    }
    .top-bar .live-stats {
        gap: 10px;
        font-size: 0.75rem;
    }
    .top-bar .logo {
        font-size: 1.1rem;
    }
    .hero {
        padding: 100px 16px 60px;
    }
    .hero .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
    }
    .trust-badges {
        gap: 12px;
    }
    .crash-simulator {
        padding: 24px 16px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .winner-card {
        padding: 12px 16px;
    }
    .final-cta .cta-button {
        padding: 16px 36px;
        font-size: 1rem;
    }
    .toast-container {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
    .toast {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .bonus-grid {
        grid-template-columns: 1fr 1fr;
    }
    .winners-grid {
        grid-template-columns: 1fr;
    }
}