/* =========================================
   1. GLOBAL RESET & BROWSER FIXES
========================================= */
:root {
    --primary: #ff2e63;
    --accent: #08d9d6;
    --bg: #05070a;
    --text: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.reveal {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* =========================================
   2. GLOBAL LAYOUT
========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    width: 100%;
}

/* =========================================
   3. TYPOGRAPHY
========================================= */
.hero-title {
    font-family: 'Orbitron';
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--primary);
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Orbitron';
    color: var(--accent);
    letter-spacing: 5px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    display: block;
}

.description-text {
    max-width: 850px;
    margin: 20px auto;
    font-size: 1.1rem;
    color: #cccccc;
}

.section-title {
    font-family: 'Orbitron';
    font-size: 1.8rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

/* =========================================
   4. HOME GRID & CONTENT BLOCKS
========================================= */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 40px;
}

.home-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    background: #111;
    border: 1px solid #222;
    transition: 0.4s ease;
}

.home-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    text-align: left;
}

.feature-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #222;
    margin: 20px 0;
    text-align: left;
}

/* =========================================
   5. UI ELEMENTS
========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-family: 'Orbitron';
    font-size: 0.8rem;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid var(--primary);
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron';
    transition: 0.3s;
    background: transparent;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.btn:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary);
}

/* Roster Carousel specific */
.roster-swiper .swiper-slide {
    width: 300px;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    opacity: 0.4;
    filter: grayscale(1);
    transition: 0.5s;
}

.roster-swiper .swiper-slide-active {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
    border: 2px solid var(--primary);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .home-card {
        height: 320px;
    }

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