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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
    padding: 20px 50px;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0,0,0,0.95);
}

.navbar-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.school-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.school-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease;
    background-image: linear-gradient(135deg, #e50914 0%, #831010 100%);
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 40%, rgba(10,10,10,0.95) 100%);
}

.hero-content {
    position: absolute;
    bottom: 25%;
    left: 50px;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9);
    color: #fff;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    color: #e0e0e0;
    font-weight: 300;
}

.play-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.play-btn:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.05);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    background: #0a0a0a;
    padding: 0 0 50px 0;
    margin-top: -100px;
    position: relative;
    z-index: 3;
}

.row-container {
    margin-bottom: 40px;
    padding: 0 50px;
}

.row-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #e5e5e5;
}

.carousel-wrapper {
    position: relative;
}

.carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    padding: 15px 0;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.game-card {
    position: relative;
    min-width: 280px;
    max-width: 280px;
    height: 160px;
    border-radius: 6px;
    overflow: visible;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

.game-card:hover {
    transform: scale(1.12);
    z-index: 5;
    box-shadow: 0 12px 30px rgba(0,0,0,0.9);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.game-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,10,10,0.8);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    width: 50px;
    height: 160px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.carousel-wrapper:hover .nav-btn {
    opacity: 1;
}

.nav-btn:hover {
    background: rgba(10,10,10,0.95);
}

.nav-btn.left {
    left: 0;
}

.nav-btn.right {
    right: 0;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .school-logo {
        width: 35px;
        height: 35px;
    }
    
    .school-name {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero-content {
        left: 20px;
        bottom: 15%;
        max-width: 90%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .play-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .content-wrapper {
        margin-top: -50px;
        padding-bottom: 30px;
    }
    
    .row-container {
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    .row-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .game-card {
        min-width: 140px;
        max-width: 140px;
        height: 80px;
    }
    
    .game-card:hover {
        transform: scale(1.05);
    }
    
    .game-card-title {
        font-size: 0.75rem;
        padding: 8px;
    }
    
    .nav-btn {
        width: 35px;
        height: 80px;
        font-size: 1.8rem;
        opacity: 1;
    }
}
