/* CSS Variables */
:root {
    --primary-color: #1a1a1a;
    --accent-cyan: #00ffff;
    --accent-magenta: #ff00ff;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --background-dark: #0a0a0a;
    --card-background: #2a2a2a;
    --border-color: #333333;
    --hover-glow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header Styles */
.header {
    background-color: var(--primary-color);
    padding: 20px 0;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta), var(--accent-cyan));
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--background-dark) 100%);
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 0v20M0 10h20" stroke="%2300ffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');
    opacity: 0.3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-size: 1rem;
}

.hero-feature svg {
    flex-shrink: 0;
}

.cta-button {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    box-shadow: var(--hover-glow);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-light);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 15px;
}

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

.about p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--card-background);
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Gaming Stations */
.gaming-stations {
    background-color: var(--primary-color);
}

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

.stations-text ul {
    list-style: none;
    margin-top: 30px;
}

.stations-text li {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.stations-text li::before {
    content: '▶';
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.stations-text p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: left;
}

.stations-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Bootcamps */
.bootcamp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bootcamp-text ul {
    list-style: none;
    margin-top: 30px;
}

.bootcamp-text li {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.bootcamp-text li::before {
    content: '✓';
    color: var(--accent-magenta);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.bootcamp-text p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: left;
}

.bootcamp-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Tournaments */
.tournaments {
    background-color: var(--primary-color);
}

.tournaments p {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 50px;
}

.tournament-image {
    max-width: 600px;
    margin: 0 auto;
}

.tournament-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Products Section */
.products {
    background-color: var(--background-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.product-card {
    background-color: var(--card-background);
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
}

.product-card.featured {
    border-color: var(--accent-magenta);
    background: linear-gradient(135deg, var(--card-background), rgba(255, 0, 255, 0.1));
}

.product-card.featured::before {
    content: 'ПОПУЛЯРНО';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-magenta);
    color: var(--primary-color);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin: 20px 0;
}

.product-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.product-card li {
    color: var(--text-gray);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.product-card li::before {
    content: '✓';
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.product-button {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.product-button:hover {
    box-shadow: var(--hover-glow);
    transform: translateY(-2px);
}

/* Why Choose Us */
.why-choose {
    background-color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    padding: 30px 20px;
}

.feature-icon {
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Stats Section */
.stats {
    background-color: var(--background-dark);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* Contacts Section */
.contacts {
    background-color: var(--primary-color);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background-color: var(--card-background);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.contact-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.contact-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.3));
}

.contact-item h3 {
    color: var(--accent-cyan);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    border-top: 2px solid var(--border-color);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-column h3 {
    color: var(--accent-cyan);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section h3 {
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

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

.footer-section li {
    margin-bottom: 8px;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: var(--card-background);
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    border: 2px solid var(--border-color);
    position: relative;
}

.close {
    color: var(--text-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 25px;
}

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

.modal h2 {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.submit-button {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.submit-button:hover {
    box-shadow: var(--hover-glow);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .stations-content,
    .bootcamp-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-img {
        height: 250px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stations-img,
    .bootcamp-img,
    .tournament-img {
        height: 200px;
    }
}