/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: rgb(32, 8, 51);
    background-color: #fff;
}

/* Colors */
:root {
    --primary-red: rgb(236, 0, 0);
    --dark-purple: rgb(32, 8, 51);
    --white: #fff;
    --light-gray: rgb(233, 230, 235);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-purple);
    font-weight: bold;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-purple);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background-color: var(--primary-red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-container {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Navigation */
.nav {
    background-color: var(--light-gray);
    padding: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-list li:last-child {
    border-right: none;
}

.nav-link {
    color: var(--dark-purple);
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 0;
    transition: background-color 0.3s ease;
    display: block;
    text-align: center;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    padding: 10px 20px;
    border: none;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--dark-purple);
    color: var(--white);
}

.btn-secondary:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile only: Show icons */
.btn-icon {
    display: block;
    font-size: 1.2rem;
}

.btn-text {
    display: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    padding: 1rem;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-link {
    display: block;
    color: var(--white);
    padding: 1rem 0;
    font-weight: 500;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--light-gray);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    max-height: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(236, 0, 0, 0.8) 0%, rgba(32, 8, 51, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 600px;
    padding: 2rem;
}

.hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero .btn {
    font-size: 1.1rem;
    padding: 15px 30px;
    margin: 0.5rem;
}

/* Content Sections */
.section {
    padding: 3rem 0;
}

.section-light {
    background-color: var(--white);
}

.section-dark {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Cards and Features */
.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Game Cards */
.games-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.game-card {
    background-color: var(--white);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-3px);
}

.game-card img {
    width: 100%;
    object-fit: cover;
}

.game-card-content {
    padding: 1.5rem;
}

.game-card h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

th {
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: bold;
}

tr:hover {
    background-color: rgba(236, 0, 0, 0.05);
}

/* FAQ Section */
.faq-item {
    background-color: var(--white);
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--dark-purple);
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-answer {
    padding: 1.5rem 1.5rem;
    display: none;
}

.faq-answer p {
    margin-bottom: 0;
}

.faq-answer.active {
    display: block;
}

/* Footer */
.footer {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--light-gray);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--white);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-icon {
    width: 50px;
    height: 32px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--dark-purple);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: var(--light-gray);
}

header .container {
    max-width: unset;
    margin: 0;
    padding: 0;
}

@media (min-width:380px) {
    .btn-icon {
        display: none;
    }
    
    .btn-text {
        display: block;
    }
}

/* Tablet Styles (768px - 1024px) */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }


    .nav {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .nav-list {
        flex-wrap: nowrap;
    }

    .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}

/* Laptop Styles (1024px - 1280px) */
@media (min-width: 1024px) {
    .nav {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Desktop Styles (1280px+) */
@media (min-width: 1280px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    

    .nav-link {
        font-size: 1rem;
    }
}

/* Mobile Styles (до 768px) */
@media (max-width: 767px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-top {
        padding: 0.8rem 1rem;
    }

    .logo img {
        height: 35px;
    }

    .btn {
        padding: 8px 16px;
        min-height: 40px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-red {
    color: var(--primary-red);
}

.text-white {
    color: var(--white);
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Legal and Disclaimer */
.legal-text {
    font-size: 0.9rem;
    color: var(--dark-purple);
    font-style: italic;
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background-color: var(--light-gray);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Focus States for Accessibility */
.btn:focus,
a:focus,
button:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    .header, .footer, .mobile-menu-toggle, .cta-buttons {
        display: none;
    }
    
    .hero {
        height: auto;
        min-height: auto;
    }
    
    .hero-video {
        display: none;
    }
} 