/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.8), 
        rgba(15, 15, 15, 0.7),
        rgba(44, 62, 80, 0.6));
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out;
}

.hero-logo img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    animation: slideIn 1s ease-out 0.3s both;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: slideIn 1s ease-out 0.6s both;
}

.server-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.9s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.online {
    background: var(--success-color);
    box-shadow: 0 0 10px var(--success-color);
}

.status-dot.offline {
    background: var(--error-color);
    box-shadow: 0 0 10px var(--error-color);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), #e55a2b);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    animation: fadeIn 1s ease-out 1.2s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #e55a2b, var(--primary-color));
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--card-bg);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: var(--primary-color);
}

.news-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.news-item h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-item p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #e55a2b;
}

/* Rules Section */
.rules-section {
    padding: 80px 0;
    background: var(--card-bg);
}

.rules-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.rule-item {
    background: var(--dark-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.rule-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: var(--primary-color);
}

.rule-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #e55a2b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1.5rem;
}

.rule-item h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rule-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    font-weight: bold;
    z-index: 2001;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .server-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 14px 28px;
    }

    .gallery-section h2,
    .news-section h2,
    .rules-section h2 {
        font-size: 2rem;
    }

    .gallery-grid,
    .news-grid,
    .rules-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-logo img {
        width: 80px;
        height: 80px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .gallery-section,
    .news-section,
    .rules-section {
        padding: 60px 0;
    }
}