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

:root {
    --primary-gold: #FFD700;
    --dark-navy: #1a2332;
    --medium-blue: #2a5298;
    --dark-blue: #1e3c72;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-navy);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 215, 0, 0.03) 35px, rgba(255, 215, 0, 0.03) 70px);
    z-index: -1;
}

.header {
    background: rgba(26, 35, 50, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-gold);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-gold);
    text-decoration: none;
    letter-spacing: 3px;
    position: relative;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.logo::after {
    content: '★';
    position: absolute;
    top: -10px;
    right: -15px;
    font-size: 0.8rem;
    color: var(--primary-gold);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.nav-desktop {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

.nav-menu a:hover::before {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--dark-navy);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--dark-navy);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--dark-navy);
    padding: 2rem;
    transition: left 0.3s ease;
    z-index: 2000;
    border-right: 1px solid var(--primary-gold);
}

.nav-mobile.active {
    left: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--primary-gold);
    font-size: 2rem;
    cursor: pointer;
}

.nav-mobile ul {
    list-style: none;
    margin-top: 3rem;
}

.nav-mobile ul li {
    margin-bottom: 1.5rem;
}

.nav-mobile ul a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.nav-mobile ul a:hover {
    color: var(--primary-gold);
    padding-left: 10px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1999;
}

.mobile-overlay.active {
    display: block;
}

.floating-mobile-buttons {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    gap: 12px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.floating-mobile-buttons .btn {
    padding: 0.75rem 1.8rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.floating-mobile-buttons .btn-primary {
    background: var(--primary-gold);
    border: none;
}

.floating-mobile-buttons .btn-secondary {
    background: var(--dark-navy);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-gold);
}

.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-label {
    display: inline-block;
    color: var(--primary-gold);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

.hero-highlight {
    color: var(--primary-gold);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gold);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.badge {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    min-width: 150px;
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.badge-text {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.features {
    padding: 6rem 0;
    background: var(--dark-navy);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
}

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

.feature-card {
    background: rgba(42, 82, 152, 0.1);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.games {
    padding: 6rem 0;
    background: var(--dark-blue);
}

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

.game-card {
    background: var(--dark-navy);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.game-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--medium-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border-bottom: 1px solid var(--primary-gold);
}

.game-info {
    padding: 2rem;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-gold);
}

.game-info p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.game-info .btn {
    width: 100%;
    text-align: center;
    display: block;
}

.registration {
    padding: 6rem 0;
    background: var(--dark-navy);
}

.registration-content {
    max-width: 1000px;
    margin: 0 auto;
}

.registration-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: rgba(42, 82, 152, 0.1);
    padding: 2.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.step:hover::before {
    opacity: 1;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: var(--dark-navy);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.step h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    color: var(--text-gray);
    line-height: 1.7;
}

.footer {
    background: var(--dark-navy);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--primary-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--text-gray);
}

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

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

    .nav-mobile {
        display: block;
    }

    .floating-mobile-buttons {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-badges {
        gap: 1.5rem;
    }

    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }

    .registration-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0 5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .floating-mobile-buttons {
        width: calc(100% - 40px);
    }

    .floating-mobile-buttons .btn {
        flex: 1;
        padding: 0.7rem 1rem;
    }
}
.content-section {
    padding: 3rem 0;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: justify;
}

.warning-section {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.warning-section h2 {
    color: #856404;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-section p {
    color: #856404;
}

.conclusion-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 3rem 0;
}

.conclusion-section h2 {
    color: #ffd700;
}

.conclusion-section p {
    color: #e0e0e0;
}

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

@media (max-width: 768px) {
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section p {
        font-size: 1rem;
        text-align: left;
    }
}