:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --bg-dark: #0a0e14;
    --text-light: #f5f5f5;
    --text-muted: #b0b0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Image with Overlay */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('../assets/images/background.jpg') no-repeat center center/cover;
    transform: translateZ(0);
    will-change: transform;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

/* Header & Nav */
header {
    padding: 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
    will-change: transform, filter;
    backface-visibility: hidden;
}

.logo-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.6));
}

/* Navigation Menu */
.nav-container {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav-item {
    position: relative;
    padding: 1rem 0;
}

.nav-trigger {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-item:hover .nav-trigger {
    color: var(--primary-color);
}

.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: rgba(10, 14, 20, 0.4); /* Changed from 0.95 to 0.4 for transparency */
    border: 1px solid var(--glass-border);
    /* backdrop-filter: blur(20px); */ /* Removed blur */
    /* -webkit-backdrop-filter: blur(20px); */ /* Removed blur */
    border-radius: 15px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) translateZ(0);
    transition: opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    will-change: transform, opacity;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px) translateZ(0);
}

.mega-menu h4 {
    color: var(--primary-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.mega-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mega-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: rgba(0, 210, 255, 0.2);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.btn-primary:hover {
    background: rgba(0, 210, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Info & Features */
.info-section {
    padding: 80px 5%;
    background: transparent;
    margin: 40px 0;
    width: 100%;
}

.info-content {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.info-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.rules-container {
    text-align: left;
    width: 100%;
    margin: 40px auto;
    color: var(--text-muted);
    line-height: 1.8;
}

.rules-container h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.team-card {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Update/News Cards */
.update-card {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    text-align: left;
}

.update-date {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.update-title {
    color: white;
    margin: 0.5rem 0;
}

/* Status Indicator */
.status-badge {
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 40px;
}

.status-dot {
    width: 20px;
    height: 20px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 15px #2ecc71;
}

/* Footer */
footer {
    padding: 6rem 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: transparent;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(10, 14, 20, 0.9);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    z-index: 1000;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-banner.active {
    bottom: 2rem;
}

/* Animations */

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

@media (max-width: 768px) {
    .nav-container { display: none; } /* Mobile Menu would go here */
    .hero h1 { font-size: 3rem; }
}
