/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1b2e;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #0f1419 0%, #1a1b2e 100%);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4ade80;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

.cta-button {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.3);
}

.cta-button.large {
    padding: 16px 32px;
    font-size: 18px;
    border-radius: 12px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f1419 0%, #1a1b2e 50%, #16213e 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.game-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.game-item:hover {
    transform: translateY(-5px);
}

.game-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.game-rating {
    background: #fbbf24;
    color: #1a1b2e;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #4ade80;
}

h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: #ffffff;
}

p {
    margin-bottom: 20px;
    color: #e5e7eb;
    font-size: 1rem;
}

ul {
    margin: 20px 0;
    padding-left: 30px;
}

li {
    margin-bottom: 10px;
    color: #e5e7eb;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.stats-table th {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #1a1b2e;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.stats-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 60px 0;
}

/* FAQ Section */
.faq-section {
    margin: 60px 0;
}

.faq-item {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #ffffff;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer.active {
    max-height: 200px;
    padding: 20px;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a1b2e 100%);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-brands {
    text-align: center;
    margin-bottom: 30px;
}

.brand-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.brand-logo {
    height: 30px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.payment-logo {
    height: 25px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-logo:hover {
    opacity: 1;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.age-restriction p {
    margin-bottom: 10px;
}

.age-restriction ul {
    list-style: none;
    padding: 0;
}

.age-restriction a,
.contact-info a {
    color: #4ade80;
    text-decoration: none;
}

.age-restriction a:hover,
.contact-info a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a1b2e;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-games {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .stats-table {
        font-size: 0.9rem;
    }

    .stats-table th,
    .stats-table td {
        padding: 10px 8px;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .brand-logos,
    .payment-methods {
        gap: 15px;
    }

    .brand-logo {
        height: 25px;
    }

    .payment-logo {
        height: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-games {
        grid-template-columns: 1fr;
    }

    .cta-button.large {
        padding: 12px 24px;
        font-size: 16px;
    }

    .faq-question {
        padding: 15px;
    }

    .faq-answer.active {
        padding: 15px;
    }
}
.author-bio {
    background-color: #2a2a2a;
    padding: 40px 0;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

.author-container {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.author-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ccc;
}

.author-text {
    flex: 1;
    min-width: 250px;
}

.author-text h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #fffffff;
}

.author-text p {
    margin-top: 10px;
    font-size: 1em;
    color: #ffffff;
    line-height: 1.6;
}
/* Контейнер для изображения */
.image-wrapper {
    text-align: center;      /* Центрируем изображение */
    margin: 20px 0;         /* Отступ сверху и снизу */
}

/* Стили для самого изображения */
.image-wrapper img {
    max-width: 100%;        /* Изображение не выходит за пределы текста */
    height: auto;           /* Сохраняем пропорции */
    display: block;         /* Убираем лишние пробелы */
    margin: 0 auto;         /* Центрируем внутри контейнера */
    border-radius: 8px;     /* Красивое скругление углов (опционально) */
}
