/* ===================================
   GLOBAL STYLES & RESET
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0099ff;
    --accent-color: #ff6b35;
    --dark-bg: #0a0e27;
    --darker-bg: #050812;
    --card-bg: #141b3a;
    --text-primary: #ffffff;
    --text-secondary: #b4b4b4;
    --border-color: #1e2749;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.school-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===================================
   NAVIGATION BAR
   =================================== */

.navbar {
    background-color: var(--darker-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.logo-text .event-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1100;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    display: block;
}

/* Hamburger active state (X icon) */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* ===================================
   ROBOT ICON ANIMATION
   =================================== */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.robot-icon {
    position: absolute;
    bottom: 50px;
    right: 10%;
    animation: float 3s ease-in-out infinite;
}

.robot-head {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.robot-body {
    width: 80px;
    height: 100px;
    background-color: var(--card-bg);
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    margin-top: 10px;
    margin-left: -10px;
}

/* ===================================
   ABOUT EVENT SECTION
   =================================== */

.about-event {
    padding: var(--spacing-lg) 0;
    background-color: var(--darker-bg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ===================================
   HIGHLIGHTS SECTION
   =================================== */

.highlights {
    padding: var(--spacing-lg) 0;
    background-color: var(--dark-bg);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-md);
}

.highlight-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.highlight-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   STATS SECTION
   =================================== */

.stats {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--card-bg) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: 900;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* ===================================
   CALL TO ACTION SECTION
   =================================== */

.cta {
    padding: var(--spacing-lg) 0;
    background-color: var(--dark-bg);
    text-align: center;
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: var(--darker-bg);
    padding: var(--spacing-md) 0 1rem 0;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column p,
.footer-column ul {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ===================================
   GAMING PRIZES HIGHLIGHTS
   =================================== */

.gaming-highlights-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.gaming-highlights-card,
.cod-highlights-card {
    flex: 1;
    min-width: 300px;
    background: rgba(20, 27, 58, 0.7);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gaming-highlights-card {
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.15);
}

.cod-highlights-card {
    border: 1px solid #ff3b30;
    box-shadow: 0 0 25px rgba(255, 59, 48, 0.15);
}

.card-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1.3rem;
}

.cod-highlights-card .card-title {
    color: #ff3b30;
}

.gaming-highlights-card .general-title {
    color: var(--accent-color);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--darker-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.cod-fee {
    border-color: rgba(255, 59, 48, 0.3);
}

.highlight-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.cod-highlights-card .highlight-item:hover {
    border-color: #ff3b30;
    box-shadow: 0 5px 15px rgba(255, 59, 48, 0.2);
}

.highlight-item.prize-first {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), var(--darker-bg));
    border-color: rgba(255, 215, 0, 0.5);
}

.highlight-item.prize-first:hover {
    border-color: #FFD700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.highlight-item.prize-second {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), var(--darker-bg));
    border-color: rgba(192, 192, 192, 0.5);
}

.highlight-item.prize-second:hover {
    border-color: #C0C0C0;
    box-shadow: 0 5px 15px rgba(192, 192, 192, 0.2);
}

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.highlight-text p {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.highlight-item.prize-first .highlight-text p {
    color: #FFD700;
}

.highlight-item.prize-second .highlight-text p {
    color: #C0C0C0;
}

.highlight-text p span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* ===================================
   LARGE TABLETS & SMALL LAPTOPS
   =================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }

    .navbar .container { gap: 1rem; }
    .nav-links { gap: 1rem; }

    .stats-grid,
    .highlights-grid,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .gaming-highlights-container { flex-direction: column; }
}

/* ===================================
   TABLETS
   =================================== */
@media (max-width: 768px) {
    /* NAVBAR — hamburger layout */
    .navbar .container {
        flex-wrap: wrap;
        position: relative;
        padding: 0.5rem 20px;
    }

    .logo {
        flex: 1;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--darker-bg);
        padding: 1rem 0;
        gap: 0;
        border-top: 1px solid var(--border-color);
        margin-top: 0.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a::after {
        display: none;
    }

    /* HERO */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 80px;
    }

    .hero-title { font-size: 2.5rem; line-height: 1.2; }
    .hero-subtitle { font-size: 1rem; letter-spacing: 1px; }
    .hero-description { font-size: 1rem; }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .robot-icon { display: none; }

    .section-title { font-size: 1.8rem; }

    .highlights-grid,
    .stats-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .highlight-card,
    .gaming-highlights-card,
    .cod-highlights-card {
        padding: 1.5rem;
    }

    .gaming-highlights-container { flex-direction: column; }

    .highlight-item { flex-direction: row; align-items: center; }
    .highlight-text p { font-size: 1.2rem; }

    .about-content p { font-size: 1rem; }

    .cta h2 { font-size: 2rem; }
    .cta p { font-size: 1rem; }

    .footer-content { text-align: center; }
}

/* ===================================
   MOBILE PHONES
   =================================== */
@media (max-width: 480px) {
    body { font-size: 14px; }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar { padding: 0.8rem 0; }

    .logo h1 { font-size: 1.1rem; }
    .logo-text .event-name { font-size: 0.7rem; }
    .school-logo { width: 40px; height: 40px; }

    .hero { padding-top: 90px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-description { font-size: 0.95rem; line-height: 1.7; }

    .btn { padding: 10px 20px; font-size: 0.9rem; }

    .section-title { font-size: 1.5rem; }

    .stat-number { font-size: 2.5rem; }
    .stat-label { font-size: 1rem; }

    .highlight-card { padding: 1.2rem; }
    .highlight-card h3 { font-size: 1.2rem; }

    .gaming-highlights-card,
    .cod-highlights-card {
        min-width: 100%;
        padding: 1.2rem;
    }

    .highlight-item { padding: 1rem; gap: 0.8rem; }
    .highlight-icon { font-size: 2rem; }
    .highlight-text h4 { font-size: 0.75rem; }
    .highlight-text p { font-size: 1rem; }
    .highlight-text p span { font-size: 0.7rem; }

    .cta h2 { font-size: 1.6rem; }

    .footer { padding: 2rem 0 1rem; }
    .footer-column h3 { font-size: 1rem; }
    .footer-column p,
    .footer-column li,
    .footer-column a { font-size: 0.9rem; }
}

/* ===================================
   EXTRA SMALL DEVICES
   =================================== */
@media (max-width: 360px) {
    .hero-title { font-size: 1.7rem; }
    .hero-subtitle { font-size: 0.8rem; }
    .logo h1 { font-size: 1rem; }
    .section-title { font-size: 1.3rem; }
    .btn { font-size: 0.8rem; }
}