@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;800&family=Rubik:wght@300;400;500&display=swap');

:root {
    --primary-color: #00e5ff;
    --secondary-color: #ff6b9d;
    --accent-color: #7c4dff;
    --dark-bg: #0a0e27;
    --light-text: #e8f4f8;
    --warning-color: #ff5722;
}

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

body {
    font-family: 'Rubik', sans-serif;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    color: var(--light-text);
    min-height: 100vh;
    line-height: 1.6;
}

header {
    background: rgba(10, 14, 39, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 25px rgba(0, 229, 255, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
}

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

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

.logo {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
}

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

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 0.2;
}

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

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

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

.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
    background: radial-gradient(ellipse at center, rgba(124, 77, 255, 0.15), transparent 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
        url('bg.webp') center center/cover no-repeat,
        radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 157, 0.1) 0%, transparent 40%);
    animation: drift 15s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

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

.hero h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-text);
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 1.1rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.6);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.disclaimer-section {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(124, 77, 255, 0.15));
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 900px;
    box-shadow: 0 8px 35px rgba(255, 107, 157, 0.3);
    position: relative;
}

.disclaimer-section::before {
    content: '⚠';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    background: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 50%;
    color: var(--warning-color);
}

.disclaimer-section h2 {
    font-family: 'Exo 2', sans-serif;
    color: var(--warning-color);
    font-size: 2.1rem;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

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

.game-section h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.game-section p {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 3rem;
    color: var(--light-text);
    opacity: 0.9;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 550px;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    margin: 0 auto;
    display: block;
    box-shadow: 
        0 0 30px rgba(0, 229, 255, 0.4),
        0 10px 40px rgba(124, 77, 255, 0.3);
    transition: all 0.3s ease;
    background: rgba(10, 14, 39, 0.6);
}

.game-frame:hover {
    box-shadow: 
        0 0 40px rgba(0, 229, 255, 0.6),
        0 15px 50px rgba(124, 77, 255, 0.5);
    transform: translateY(-5px);
}

.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: 'Exo 2', sans-serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 229, 255, 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: 2.5rem;
    margin-top: 2rem;
}

.review-card {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(124, 77, 255, 0.1));
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 30px rgba(124, 77, 255, 0.3);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(124, 77, 255, 0.5);
    border-color: var(--primary-color);
}

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

.review-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.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(255, 107, 157, 0.12), rgba(0, 229, 255, 0.12));
    padding: 2.8rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.25);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 60%);
    transition: all 0.5s ease;
    opacity: 0;
}

.feature-card:hover::after {
    opacity: 1;
    transform: rotate(45deg);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.5);
    border-color: var(--primary-color);
}

.feature-card h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.contact-form {
    max-width: 700px;
    margin: 2rem auto;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(124, 77, 255, 0.08));
    padding: 3rem;
    border-radius: 12px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 40px rgba(124, 77, 255, 0.3);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    background: rgba(10, 14, 39, 0.7);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--light-text);
    font-family: 'Rubik', 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 25px rgba(0, 229, 255, 0.3);
}

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

footer {
    background: rgba(10, 14, 39, 0.95);
    border-top: 2px solid var(--primary-color);
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
    box-shadow: 0 -4px 25px rgba(0, 229, 255, 0.25);
}

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

.footer-section h3 {
    font-family: 'Exo 2', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

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

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

.footer-notice {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(124, 77, 255, 0.1));
    border-radius: 10px;
    margin: 2rem 0 1.5rem;
    border: 2px solid var(--secondary-color);
    color: var(--light-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(0, 229, 255, 0.3);
    color: var(--light-text);
    opacity: 0.85;
}

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

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

.popup-content {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98), rgba(26, 31, 58, 0.98));
    padding: 3.5rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 
        0 0 50px rgba(0, 229, 255, 0.5),
        0 15px 60px rgba(124, 77, 255, 0.4);
    max-width: 550px;
    text-align: center;
}

.popup-content h2 {
    font-family: 'Exo 2', sans-serif;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

.popup-buttons button {
    padding: 1.1rem 2.8rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--dark-bg);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4);
}

.btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 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: 35px;
    right: 35px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.5);
}

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

.scroll-top:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.7);
}

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

.content-section h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.content-section h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.1rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

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

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

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

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

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

    .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: 2.5rem;
    }

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