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

body {
    font-family: 'Inter', sans-serif;
    background-color: #101728;
    color: #ffffff;
    line-height: 1.6;
    padding-top: 70px;
    /* Account for fixed navbar */
}

.container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1e2a3a;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo img {
    height: 35px;
    width: auto;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #9340ff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1e2a3a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #101728 0%, #1a2332 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.logo img {
    height: 60px;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #9340ff, #ff3c5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #9340ff, #ff3c5f);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(147, 64, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4a84f8;
    border: 2px solid #4a84f8;
}

.btn-secondary:hover {
    background: #4a84f8;
    color: white;
}

/* Hero Video Styles */
.hero-video {
    margin-top: 2rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video-player {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-mute-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    z-index: 10;
}

.video-mute-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
}

.video-mute-toggle.muted {
    opacity: 0.6;
}

/* Contest Section */
.contest-section {
    background-image: url('https://storage.googleapis.com/sb-www-next-public/assets/images/Contest-BackGround.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    text-align: center;
}


.contest-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.contest-presenter {
    font-style: italic;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.contest-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1;
    text-shadow: 0 0 20px rgba(147, 64, 255, 0.5);
}

.contest-title .highlight {
    color: #4a84f8;
    text-shadow: 0 0 30px rgba(74, 132, 248, 0.8);
}

.contest-details h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.prize {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

.date {
    font-size: 1.5rem;
    color: #d45a41;
    margin-bottom: 1rem;
    font-weight: bold;
}

.entry-fee {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.playing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    width: 60px;
    height: 90px;
    border-radius: 8px;
    border: 2px solid #333;
}

.card-black {
    background: #000;
}

.card-red {
    background: #d45a41;
}

.contest-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin: 2rem auto;
}

.terms {
    max-width: 800px;
    margin: 3rem auto;
    text-align: left;
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terms h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.terms ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.terms li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Section Styles */
.what-we-do,
.how-it-works,
.free-to-play,
.partners,
.team,
.contact {
    padding: 4rem 0;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #9340ff;
}

.section-subtitle {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

.feature-image,
.image-content {
    text-align: center;
    margin: 2rem 0;
}

.feature-image img,
.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.text-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: #9340ff;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    font-size: 1.2rem;
    color: #9340ff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.heart-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.heart {
    color: #9340ff;
    font-size: 1.5rem;
}

/* How To Bet Video Section */
.how-to-bet-video {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.video-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bet-video-player {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.partner-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.partner-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    max-height: 100px;
    object-fit: contain;
}

.partner-link {
    color: #4a84f8;
    text-decoration: none;
    font-weight: 600;
}

.partner-link:hover {
    text-decoration: underline;
}

.partner-signup {
    text-align: center;
    margin-top: 2rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.team-member {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.linkedin-link {
    color: #9340ff;
    text-decoration: none;
    font-weight: 600;
}

.linkedin-link:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.contact-logo img {
    height: 50px;
    margin-bottom: 2rem;
}

.contact h2 {
    font-size: 3rem;
    color: #9340ff;
    margin-bottom: 2rem;
}

.contact-info {
    margin: 2rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    color: #9340ff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #9340ff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #9340ff;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .playing-cards {
        gap: 1rem;
    }

    .card {
        width: 40px;
        height: 60px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .terms {
        padding: 1rem;
        margin: 2rem 1rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .hero-video,
    .video-container {
        margin: 2rem 1rem;
    }

    .video-container {
        padding: 1rem;
    }

    .video-mute-toggle {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .contest-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-video,
    .video-container {
        margin: 1rem 0.5rem;
    }

    .video-container {
        padding: 0.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.contest-content,
.section-title {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hover effects */
.team-member:hover,
.partner-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Active nav link */
.nav-link.active {
    color: #9340ff;
}

.social-icon {
    display: inline-block;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.social-icon svg g {
    transition: fill 0.3s ease;
}

.social-icon:hover svg g {
    fill: white;
}