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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0b1e;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1b3e 0%, #2d1b69 100%);
    padding: 80px 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-brand {
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.logo {
    height: 80px;
    width: auto;
}

.brand-name {
    font-size: 3rem;
    font-weight: 700;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b8b9ca;
    margin-bottom: 30px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #b8b9ca;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #00d4ff, #ff4500);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #111225;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #00d4ff;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #b8b9ca;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #1a1b3e 0%, #2d1b69 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8b9ca;
    font-style: italic;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #0a0b1e;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #00d4ff;
}

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

.feature-card {
    background-color: #1a1b3e;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.feature-card:hover {
    border-color: #00d4ff;
}

.feature-icon {
    height: 60px;
    width: 60px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #b8b9ca;
}

/* Equipment Section */
.equipment {
    padding: 80px 0;
    background-color: #111225;
}

.equipment h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #00d4ff;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.equipment-item {
    background-color: #1a1b3e;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.equipment-icon {
    height: 50px;
    width: 50px;
    margin-bottom: 20px;
}

.equipment-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.equipment-item p {
    color: #b8b9ca;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #0a0b1e;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #00d4ff;
}

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

.service-card {
    background-color: #1a1b3e;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

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

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    color: #b8b9ca;
}

/* Programs Section */
.programs {
    padding: 80px 0;
    background-color: #111225;
}

.programs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #00d4ff;
}

.programs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.program-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.program-item p {
    color: #b8b9ca;
    margin-bottom: 20px;
}

/* Tournaments Section */
.tournaments {
    padding: 80px 0;
    background-color: #0a0b1e;
}

.tournaments h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #00d4ff;
}

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

.tournament-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.tournament-info p {
    color: #b8b9ca;
    margin-bottom: 20px;
}

.tournament-info ul {
    list-style: none;
    margin-left: 20px;
}

.tournament-info li {
    color: #b8b9ca;
    margin-bottom: 10px;
    position: relative;
}

.tournament-info li::before {
    content: '•';
    color: #00d4ff;
    font-weight: bold;
    position: absolute;
    left: -20px;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: #111225;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #00d4ff;
}

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

.product-card {
    background-color: #1a1b3e;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: transform 0.3s ease;
    position: relative;
}

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

.product-card.popular {
    border-color: #ff4500;
}

.product-card.popular::before {
    content: 'ПОПУЛЯРНИЙ';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4500;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 20px;
}

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

.product-card li {
    color: #b8b9ca;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.product-card li::before {
    content: '✓';
    color: #00d4ff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-button {
    display: inline-block;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.product-button:hover {
    transform: translateY(-2px);
}

/* Analytics Section */
.analytics {
    padding: 80px 0;
    background-color: #0a0b1e;
}

.analytics h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #00d4ff;
}

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

.analytics-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.analytics-info p {
    color: #b8b9ca;
    margin-bottom: 20px;
}

.analytics-info ul {
    list-style: none;
    margin-left: 20px;
}

.analytics-info li {
    color: #b8b9ca;
    margin-bottom: 10px;
    position: relative;
}

.analytics-info li::before {
    content: '▶';
    color: #00d4ff;
    font-weight: bold;
    position: absolute;
    left: -20px;
}

/* Contacts Section */
.contacts {
    padding: 80px 0;
    background-color: #111225;
}

.contacts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #00d4ff;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    height: 40px;
    width: 40px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.contact-item a {
    color: #00d4ff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    color: #b8b9ca;
}

/* Footer */
.footer {
    background-color: #0a0b1e;
    padding: 40px 0 20px;
    border-top: 1px solid #1a1b3e;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 40px;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d4ff;
}

.footer-info p {
    color: #b8b9ca;
    margin-bottom: 5px;
}

.footer-info a {
    color: #00d4ff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1a1b3e;
    color: #888;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1b3e 0%, #2d1b69 100%);
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-top: 2px solid #00d4ff;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-text a {
    color: #00d4ff;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
}

.cookie-btn.reject {
    background: transparent;
    color: #b8b9ca;
    border: 1px solid #b8b9ca;
}

.cookie-btn.customize {
    background: transparent;
    color: #00d4ff;
    border: 1px solid #00d4ff;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn.accept:hover {
    background: linear-gradient(45deg, #0099cc, #007aa3);
}

.cookie-btn.reject:hover {
    background: #b8b9ca;
    color: #1a1b3e;
}

.cookie-btn.customize:hover {
    background: #00d4ff;
    color: #1a1b3e;
}

/* Cookie Customization Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: linear-gradient(135deg, #1a1b3e 0%, #2d1b69 100%);
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid #00d4ff;
}

.cookie-modal h3 {
    color: #00d4ff;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.cookie-category h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-category p {
    color: #b8b9ca;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: #666;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-switch.active {
    background: #00d4ff;
}

.cookie-switch.disabled {
    background: #888;
    cursor: not-allowed;
}

.cookie-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-switch.active::after {
    transform: translateX(26px);
}

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.cookie-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-modal-btn.save {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
}

.cookie-modal-btn.cancel {
    background: transparent;
    color: #b8b9ca;
    border: 1px solid #b8b9ca;
}

.cookie-modal-btn:hover {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-name {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .about-content,
    .tournament-content,
    .analytics-content,
    .contacts-content,
    .programs-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-grid,
    .equipment-grid,
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-modal-content {
        margin: 10px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .brand-name {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .product-card,
    .feature-card,
    .service-card {
        padding: 20px;
    }
    
    .cookie-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}