@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-color: #d4af37;
    --secondary-color: #8b1a6f;
    --accent-color: #c9a961;
    --dark-bg: #1a0b2e;
    --light-text: #f5f5f5;
    --warning-color: #ff6b35;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(to bottom, #1a0b2e, #2d1449, #1a0b2e);
    color: var(--light-text);
    min-height: 100vh;
    line-height: 1.6;
}

header {
    background: rgba(26, 11, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 26, 111, 0.3), rgba(212, 175, 55, 0.2));
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
}

.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"><path d="M50 10 L60 40 L90 40 L65 60 L75 90 L50 70 L25 90 L35 60 L10 40 L40 40 Z" fill="rgba(212,175,55,0.1)"/></svg>') repeat;
    background-size: 150px;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.6);
}

.disclaimer-section {
    background: rgba(139, 26, 111, 0.2);
    border: 3px solid var(--secondary-color);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 900px;
    box-shadow: 0 8px 30px rgba(139, 26, 111, 0.4);
}

.disclaimer-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--warning-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.disclaimer-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    color: var(--light-text);
}

.games-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 0;
}

.game-section {
    padding: 4rem 0;
}

.game-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.game-section p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 550px;
    border: 4px solid var(--primary-color);
    border-radius: 15px;
    margin: 0 auto;
    display: block;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
    background: rgba(26, 11, 46, 0.5);
}

.game-frame:hover {
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.7);
    transform: scale(1.01);
}

.about-section,
.reviews-section,
.features-section,
.contact-section {
    padding: 4rem 0;
}

.about-section h2,
.reviews-section h2,
.features-section h2,
.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    border: 3px solid var(--primary-color);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.review-card {
    background: rgba(139, 26, 111, 0.2);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 6px 25px rgba(139, 26, 111, 0.3);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(139, 26, 111, 0.5);
    border-color: var(--primary-color);
}

.review-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--light-text);
}

.review-card h4 {
    color: var(--primary-color);
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(139, 26, 111, 0.2), rgba(212, 175, 55, 0.1));
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.6);
    border-color: var(--accent-color);
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-text);
    position: relative;
    z-index: 1;
}

.contact-form {
    max-width: 700px;
    margin: 2rem auto;
    background: rgba(139, 26, 111, 0.2);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 8px 30px rgba(139, 26, 111, 0.4);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(26, 11, 46, 0.6);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--light-text);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

footer {
    background: rgba(26, 11, 46, 0.95);
    border-top: 3px solid var(--primary-color);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    box-shadow: 0 -4px 20px rgba(212, 175, 55, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: var(--light-text);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-notice {
    text-align: center;
    padding: 1.5rem;
    background: rgba(139, 26, 111, 0.2);
    border-radius: 10px;
    margin: 2rem 0 1.5rem;
    border: 2px solid var(--secondary-color);
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--secondary-color);
    color: var(--accent-color);
}

.age-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-popup.active {
    display: flex;
}

.popup-content {
    background: linear-gradient(135deg, rgba(26, 11, 46, 0.98), rgba(45, 20, 73, 0.98));
    padding: 3rem;
    border-radius: 20px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 15px 60px rgba(212, 175, 55, 0.6);
    max-width: 550px;
    text-align: center;
}

.popup-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.popup-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.popup-buttons button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--dark-bg);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.6);
}

.btn-decline {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--secondary-color);
}

.btn-decline:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.7);
}

.content-section {
    padding: 4rem 0;
}

.content-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-section p,
.content-section ul {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.content-section ul {
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(26, 11, 46, 0.98);
        width: 100%;
        padding: 2rem;
        gap: 0;
        transition: left 0.3s ease;
        border-bottom: 3px solid var(--primary-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 0.8rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: auto;
        aspect-ratio: 16/9;
    }

    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .popup-content {
        margin: 1rem;
        padding: 2rem;
    }

    .popup-buttons {
        flex-direction: column;
    }
}
