@import url('https://fonts.googleapis.com/css2?family=Bungee+Spice&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Honk&display=swap');

/* --- Theme Variables for Neon Theme --- */
:root {
    --accent-neon: #00fff2;
    --primary-bg: #0d0f1b;
    --secondary-bg: #111425;
    --text-color-light: #e0e5ff;
    --text-color-muted: #9aa7c1;
}

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

body {
    background-color: #0d0f1b;
    background-size: cover;
    background-position: center;
    font-family: Arial, sans-serif;
    color: #fff;
    min-height: 100vh;
    line-height: 1.3;
    padding-top: 70px;
    overflow-x: hidden;
}

/* Background Video */
#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    object-fit: cover;
    z-index: -1;
    filter: blur(5px) brightness(0.5);
    pointer-events: none;
    transform: rotate(-180deg);
}

/* Scrollbar Hiding */
html,
body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

/* --- Navigation Bar - Neon Theme --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    justify-content: space-between;
    background: rgba(17, 20, 37, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
    border-bottom: 2px solid var(--accent-neon);
}

.nav_logo img {
    height: 45px;
    filter: drop-shadow(0 0 5px var(--accent-neon));
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.burger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--accent-neon);
    transition: all 0.3s ease-in-out;
}

.burger[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav_links {
    display: flex;
}

.nav_links ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav_links a {
    color: var(--text-color-light);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.nav_links a:hover {
    color: var(--accent-neon);
    background: rgba(57, 255, 20, 0.1);
    box-shadow: 0 0 10px var(--accent-neon);
    text-shadow: 0 0 8px var(--accent-neon);
}

.nav_links a.active {
    color: var(--accent-neon);
    background: rgba(57, 255, 20, 0.1);
    box-shadow: 0 0 10px var(--accent-neon);
    text-shadow: 0 0 8px var(--accent-neon);
    cursor: default;
}

.nav_links a.active:hover {
    transform: scale(1.05);
}

/* --- Attractive Heading Styles --- */
@keyframes pulse {
    0% {
        text-shadow: 0 0 10px #ffff00, 0 0 20px #ff8c00;
    }

    100% {
        text-shadow: 0 0 20px #ffff00, 0 0 30px #ff8c00, 0 0 40px #ff4500;
    }
}

.title {
    margin: 100px 1rem 0 1rem;
    text-align: center;
    z-index: 3;
}

.main-heading {
    font-family: "Honk", system-ui;
    /* Increased size for PC screens */
    font-size: 100px; 
    letter-spacing: 3px;
    text-shadow: 0 0 10px #ffff00, 0 0 20px #ff8c00;
    animation: pulse 2s infinite alternate;
}

.gradient-text {
    background: linear-gradient(90deg, #ffff00, #ff4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #ffffff;
}

/* --- Rules Section --- */
.rules {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    font-family: "JetBrains Mono", monospace;
    padding: 20px;
    border-radius: 10px;
    max-width: 900px;
    margin: 30px auto 10px;
    font-size: 1rem;
}

.rules h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: khaki;
}

.rules ul {
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 20px;
    color: #fff;
    list-style: disc inside;
}

.rules .prize-highlight {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffd900;
    text-shadow: 0 0 5px #000000, 0 0 10px #000000;
    margin-top: 5px;
}

/* --- Register Button --- */
.register_btn {
    display: block;
    margin: 25px auto 60px;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    background-color: #02ff63;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.register_btn:hover {
    background-color: #000;
    color: #fff;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 800px) {
    .nav_links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        background: rgba(17, 20, 37, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 2px solid var(--accent-neon);
    }

    .nav_links.open {
        display: flex;
    }

    .nav_links ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        width: 100%;
    }

    .nav_links ul li {
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(57, 255, 20, 0.2);
    }

    .nav_links ul li:last-child {
        border-bottom: none;
    }

    .nav_links a {
        display: block;
        padding: 10px 16px;
        font-size: 1rem;
    }

    .burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    /* Smaller font-size for tablets and smaller desktops */
    .main-heading {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (max-width: 500px) {
    /* Even smaller font-size for mobile phones */
    .main-heading {
        font-size: clamp(2rem, 8vw, 3rem);
        margin: 80px 10px 0;
    }

    .register_btn {
        width: calc(100% - 40px);
        padding: 12px 20px;
        font-size: 1rem;
    }
}