@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

:root {
    /* 2026 Premium Colors */
    --primary: #FFD700;
    /* Gold */
    --secondary: #00E5FF;
    /* Electric Cyan */
    --accent: #FF00E6;
    /* Neon Purple/Pink */

    --dark-bg: #03040A;
    /* Deep Space Black */
    --dark-card: rgba(10, 20, 40, 0.7);
    --text-main: #FFFFFF;
    --text-muted: #B0C0D0;

    --gradient-main: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-secondary: linear-gradient(135deg, #00E5FF 0%, #0060FF 100%);

    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Russo One', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: url('background_2026.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 4, 10, 0.85);
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, rgba(3, 4, 10, 0.9) 0%, rgba(3, 4, 10, 0) 100%);
}

#header.scrolled {
    background-color: rgba(3, 4, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo-img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    transition: transform 0.3s ease;
}

#header.scrolled .logo-img {
    height: 55px;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

.social-header {
    display: flex;
    gap: 1rem;
    margin-right: auto;
    margin-left: 2rem;
}

.social-icon {
    color: var(--text-muted);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    color: #000;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    z-index: 2;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.hero-title .highlight {
    color: transparent;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.btn-hero {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 4px;
    background: transparent;
    color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    transition: all 0.3s ease;
    border: 2px solid var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    background: var(--secondary);
    color: #000;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.6);
    transform: translateY(-2px);
}

/* Bingo Card Mini - FUTURISTIC STYLE */
.hero-bingo {
    flex: 0 0 auto;
    perspective: 1000px;
}

.bingo-card-mini {
    background: rgba(10, 15, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(0, 229, 255, 0.05);
    backdrop-filter: blur(20px);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-bingo:hover .bingo-card-mini {
    transform: rotateY(0) rotateX(0);
}

.bingo-header-mini {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.bingo-header-mini span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary);
    width: 40px;
    text-align: center;
}

.bingo-grid-mini {
    display: flex;
    gap: 8px;
}

.bingo-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bingo-cell {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bingo-cell:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--secondary);
    color: #fff;
    transform: scale(1.1);
}

.bingo-cell.selected {
    background: var(--gradient-secondary);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    color: #000;
    font-weight: bold;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 229, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
    }
}

.bingo-cell.free {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
    font-size: 0.7rem;
    font-weight: 900;
}

.btn-reset-mini {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-reset-mini:hover {
    background: var(--text-main);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Floating Elements (Replaced Xmas Balls) */
.bingo-ball {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    z-index: 1;
    pointer-events: none;
    font-family: var(--font-heading);
    box-shadow: inset -5px -5px 15px rgba(0, 0, 0, 0.5), 0 0 30px var(--color-glow);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.ball-1 {
    --color-glow: var(--primary);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 30% 30%, #ffd700, #b8860b);
    color: #000;
    top: 15%;
    left: 5%;
    animation: orbit 20s linear infinite;
}

.ball-2 {
    --color-glow: var(--secondary);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, #00e5ff, #008b8b);
    color: #000;
    bottom: 20%;
    right: 10%;
    animation: float 15s ease-in-out infinite;
}

.ball-3 {
    --color-glow: var(--accent);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, #ff00e6, #800080);
    color: #fff;
    top: 25%;
    right: 5%;
    animation: orbitReverse 25s linear infinite;
    opacity: 0.6;
}

@keyframes orbit {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(50px, 50px) rotate(120deg);
    }

    66% {
        transform: translate(-30px, 80px) rotate(240deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes orbitReverse {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-100px, 50px) rotate(-360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

/* Pillars Section */
.pillars {
    padding: 8rem 2rem;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 20%;
    width: 60%;
    height: 4px;
    background: var(--gradient-main);
    border-radius: 2px;
}

.pillars-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.pillar-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pillar-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

.pillar-card p {
    color: var(--text-muted);
}

/* Ways to Win */
.ways-to-win {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ways-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.way-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 3rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.way-card:hover {
    transform: translateX(10px);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.way-card:nth-child(2) {
    border-left-color: var(--secondary);
}

.way-card:nth-child(3) {
    border-left-color: var(--accent);
}

.way-icon {
    font-size: 4rem;
    min-width: 80px;
    text-align: center;
    filter: grayscale(1);
    transition: filter 0.3s;
}

.way-card:hover .way-icon {
    filter: grayscale(0) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.way-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
    color: #fff;
}

.btn-secondary {
    display: inline-block;
    margin-top: 3rem;
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    background: var(--gradient-main);
    color: #000;
    font-weight: bold;
    border-radius: 4px;
    text-shadow: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
}

.cta-center {
    text-align: center;
}

/* Footer */
footer {
    background: #000;
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 5px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Social Link Footer */
.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}

.social-link:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-5px);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    #header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .social-header {
        display: none;
    }

    .hero-bingo {
        width: 100%;
        max-width: 400px;
    }

    .btn-distributor {
        display: block;
        margin: 0 auto 1rem;
        background: rgba(0, 0, 0, 0.5);
    }
}

/* Header Dist Button */
.btn-distributor {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--secondary);
    border-radius: 4px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 229, 255, 0.05);
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.3);
}

.btn-distributor:hover {
    background: var(--secondary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    text-shadow: none;
}

/* Winner Modal */
.winner-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.winner-modal.show {
    opacity: 1;
    visibility: visible;
}

.winner-content {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(10, 10, 20, 0.98));
    border: 2px solid var(--primary);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.2);
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.winner-modal.show .winner-content {
    transform: scale(1);
}

.winner-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--primary);
    text-transform: uppercase;
}

.winner-message {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 300;
}

.winner-cta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-play-real {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-main);
    color: #000;
    font-weight: 900;
    font-size: 1.2rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-play-real:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
}

.btn-close-modal {
    display: block;
    margin: 0 auto;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.btn-close-modal:hover {
    color: #fff;
    text-decoration: underline;
}

/* Confetti Canvas */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}