/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff9500;
    --primary-dark: #e68a00;
    --secondary-color: #1a1a2e;
    --tertiary-color: #16213e;
    --accent-color: #e94560;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --gradient-fire: linear-gradient(135deg, #ff6b00, #ff9500, #ffcc00);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4em;
    font-weight: bold;
}

.logo-icon {
    font-size: 1.5em;
}

.logo-text {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 50px;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 149, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(233, 69, 96, 0.1) 0%, transparent 50%),
        var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(255, 149, 0, 0.02) 100px,
        rgba(255, 149, 0, 0.02) 200px
    );
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-title {
    font-size: 5em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 149, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5em;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-fire);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 20px 40px;
    font-size: 1.2em;
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.cs2-emblem {
    position: relative;
    width: 300px;
    height: 300px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.emblem-ring {
    position: absolute;
    inset: 0;
    border: 8px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.emblem-ring::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 4px dashed rgba(255, 149, 0, 0.3);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

.emblem-core {
    position: absolute;
    inset: 20px;
    background: var(--gradient-fire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    font-weight: bold;
    color: var(--bg-dark);
    box-shadow: 
        0 0 30px rgba(255, 149, 0, 0.5),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-fire);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1em;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid rgba(255, 149, 0, 0.2);
}

.stat-value {
    font-size: 3em;
    font-weight: bold;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9em;
}

/* Features Section */
.features {
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: var(--text-light);
}

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

/* Maps Section */
.maps {
    background: var(--secondary-color);
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.map-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.map-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.map-preview {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-icon {
    font-size: 4em;
    z-index: 1;
}

.map-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
}

.map-info {
    padding: 25px;
}

.map-info h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.map-info p {
    color: var(--text-gray);
}

/* Weapons Section */
.weapons {
    background: var(--bg-dark);
}

.weapons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.weapon-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.weapon-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.weapon-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.weapon-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.weapon-card p {
    color: var(--text-gray);
    font-size: 0.95em;
}

/* CTA Section */
.cta {
    background: 
        radial-gradient(circle at center, rgba(255, 149, 0, 0.2) 0%, transparent 70%),
        var(--secondary-color);
    text-align: center;
}

.cta h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.3em;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: var(--bg-card);
    padding: 50px 0;
    border-top: 2px solid rgba(255, 149, 0, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 40px;
}

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

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

.footer-copyright {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9em;
}

.footer-copyright p {
    margin: 5px 0;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .features-grid,
    .weapons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 4em;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        flex-direction: column;
        padding: 150px 20px 50px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 3em;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        flex: 1;
        min-width: 150px;
    }
    
    .features-grid,
    .maps-grid,
    .weapons-grid {
        grid-template-columns: 1fr;
    }
    
    .cs2-emblem {
        width: 200px;
        height: 200px;
    }
    
    .emblem-core {
        font-size: 2.5em;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Анимации появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.map-card,
.weapon-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1),
.map-card:nth-child(1),
.weapon-card:nth-child(1) { animation-delay: 0.1s; }

.feature-card:nth-child(2),
.map-card:nth-child(2),
.weapon-card:nth-child(2) { animation-delay: 0.2s; }

.feature-card:nth-child(3),
.map-card:nth-child(3),
.weapon-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card:nth-child(4),
.map-card:nth-child(4),
.weapon-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card:nth-child(5),
.weapon-card:nth-child(5) { animation-delay: 0.5s; }

.feature-card:nth-child(6),
.weapon-card:nth-child(6) { animation-delay: 0.6s; }