/* Base Styles */
/* Active link color */
.nav-links li a.active {
    color: #7c3aed; /* Purple color for the active link */
}


:root {
    --primary-color: #7c3aed;
    --primary-hover: #300685;
    --background-dark: #111827;
    --background-light: #1f2937;
    --text-light: #f3f4f6;
    --text-gray: #9ca3af;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(107, 33, 168, 0.2);
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 80vh;
    background-image: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.7)),
        url('https://trackercdn.com/cdn/esports-data/fortnite/teams/reccffqpeamljwsak.png?v=638694646960000000');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
    
}
.hero-content h1 {
    white-space: nowrap; /* Prevent text from wrapping on larger screens */
    font-weight: 700;
}

/* For smaller screens (mobile devices) */
@media (max-width: 768px) {
    .hero-content h1 {
        white-space: normal; /* Allow text to wrap on smaller screens */
        font-size: 1.8rem; /* Adjust font size for mobile */
    }
}



.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero .highlight {
    color: #7c3aed;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-hover);
}

/* Sections */
section {
    padding: 4rem 2rem;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background-color: var(--background-light);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    margin-bottom: 0.5rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--background-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Tournament Section */
.tournament-list {
    max-width: 1200px;
    margin: 0 auto;
}

.tournament-card {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tournament-icon {
    background-color: var(--primary-color);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-right: 1.5rem;
}

.tournament-icon i {
    font-size: 2rem;
    color: white;
}

.tournament-button {
    margin-left: auto;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.tournament-button:hover {
    background-color: var(--primary-hover);
}

/* Footer */
footer {
    background-color: var(--background-light);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(107, 33, 168, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(107, 33, 168, 0.2);
}

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

    .mobile-menu-btn {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-dark);
        padding: 1rem;
    }

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

    .tournament-card {
        flex-direction: column;
        text-align: center;
    }

    .tournament-icon {
        margin: 0 0 1rem 0;
    }

    .tournament-button {
        margin: 1rem 0 0 0;
    }
}