/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 215, 0, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Логотип прижат к левому краю */
.logo {
    flex: 0 0 auto;
}

/* Меню прижато вправо, но начинается не сразу — добавляем отступ от центра */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    padding-left: 120px; /* Отступ от логотипа / центра */
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu li a:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #FFD700;
    margin: 3px 0;
    transition: 0.3s;
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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><radialGradient id="g"><stop offset="0%" stop-color="%23FFD700" stop-opacity="0.3"/><stop offset="100%" stop-color="%23FFD700" stop-opacity="0"/></radialGradient></defs><circle cx="20" cy="20" r="2" fill="url(%23g)"/><circle cx="80" cy="40" r="1.5" fill="url(%23g)"/><circle cx="40" cy="80" r="1" fill="url(%23g)"/><circle cx="90" cy="90" r="2" fill="url(%23g)"/><circle cx="10" cy="60" r="1.5" fill="url(%23g)"/></svg>') repeat;
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.cta-large {
    font-size: 1.3rem;
    padding: 20px 40px;
}

/* Main Content */
.main-content {
    background: #fff;
    margin-top: 0;
    padding: 60px 0;
}

.content-section {
    margin-bottom: 60px;
    padding: 40px 0;
    text-align: center;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    text-align: left;
}

.text-content {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.text-content h1, .text-content h2, .text-content h3 {
    color: #1a1a2e;
    margin-bottom: 20px;
    text-align: center;
}

.text-content h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-content h2 {
    font-size: 2rem;
    border-bottom: 3px solid #FFD700;
    padding-bottom: 10px;
    display: inline-block;
}

.text-content h3 {
    font-size: 1.5rem;
    color: #333;
}

.text-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.text-content ul {
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #FFD700;
}

.text-content li {
    margin-bottom: 10px;
    padding-left: 10px;
    position: relative;
}

.text-content li::before {
    content: "⭐";
    position: absolute;
    left: -20px;
    color: #FFD700;
}

/* Image Container */
.image-container {
    flex: 1;
    text-align: center;
    margin: 30px auto;
}

.image-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

/* Table Styles */
.table-container {
    margin: 40px auto;
    overflow-x: auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-weight: bold;
    font-size: 1rem;
}

td {
    color: #444;
}

tr:nth-child(even) {
    background: #f8f9fa;
}

tr:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* FAQ Styles */
.faq-item {
    background: #f8f9fa;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #FFD700;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: #1a1a2e;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #1a1a2e, #FFD700);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin: 60px 0 0;
    border-radius: 20px;
}

.final-cta h2 {
    color: white !important;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #0f0f23;
    color: white;
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3, .footer-section h4 {
    color: #FFD700;
    margin-bottom: 15px;
}

.footer-section p, .footer-section li {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFD700;
}

.age-restriction {
    color: #ff6b6b !important;
    font-weight: bold;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
}

.update-date {
    font-size: 0.9rem;
    color: #aaa;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 15, 35, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        padding: 0 15px;
    }

    .text-content h1 {
        font-size: 2rem;
    }

    .text-content h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .cta-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 10px 15px;
    }

    .image-container img {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .text-content h1 {
        font-size: 1.8rem;
    }

    .text-content h2 {
        font-size: 1.3rem;
    }

    .final-cta h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    th, td {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .content-section {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease-out;
    }

    .content-section.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
.author-bio {
    background-color: #f9f9f9;
    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: #222;
}

.author-text p {
    margin-top: 10px;
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}