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

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

body {
    font-family: 'Comfortaa', cursive;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    color: #2d3436;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 5px solid transparent;
    border-image: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3) 1;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #2d3436;
    font-size: 2.2rem;
    font-weight: 700;
}

.brand-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.primary-nav a {
    color: #2d3436;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.primary-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
    transition: left 0.3s ease;
    z-index: -1;
}

.primary-nav a:hover::before {
    left: 0;
}

.primary-nav a:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 10px;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero-banner {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    margin-bottom: 3rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 5px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    border-radius: 30px;
    z-index: -1;
}

.hero-banner h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease infinite;
}

@keyframes textShimmer {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.hero-banner p {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: #636e72;
}

.warning-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fff9e6 100%);
    border: 3px solid #ff6b6b;
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
}

.warning-card h2 {
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.warning-card ul {
    list-style: none;
}

.warning-card li {
    padding: 1rem 0;
    padding-left: 3rem;
    position: relative;
    font-size: 1.15rem;
    color: #2d3436;
}

.warning-card li:before {
    content: "🎨";
    position: absolute;
    left: 0.5rem;
    font-size: 1.5rem;
}

.game-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.game-wrapper h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3rem;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-player {
    width: 100%;
    height: 700px;
    border: 5px solid transparent;
    border-radius: 15px;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3) border-box;
}

.features-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.feature-box p {
    line-height: 1.7;
    color: #636e72;
    font-size: 1.05rem;
}

.text-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 3rem;
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.text-section h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-section h2 {
    font-size: 2.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.text-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #636e72;
}

.text-section ul,
.text-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.text-section li {
    margin-bottom: 0.75rem;
    color: #636e72;
}

.page-footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    margin-top: 4rem;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid transparent;
    border-image: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3) 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
    transition: width 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-nav a:hover {
    color: #48dbfb;
}

.copyright {
    margin-top: 2rem;
    color: #636e72;
}

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

.popup-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3.5rem;
    border-radius: 30px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 5px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.popup-content::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    border-radius: 30px;
    z-index: -1;
}

.popup-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #636e72;
}

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

.popup-btn {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Comfortaa', cursive;
    text-transform: uppercase;
}

.popup-btn.yes {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(58, 123, 213, 0.4);
}

.popup-btn.yes:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(58, 123, 213, 0.6);
}

.popup-btn.no {
    background: linear-gradient(135deg, #ff6b6b 0%, #c44569 100%);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.popup-btn.no:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
}

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

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        transition: right 0.3s ease;
        padding: 6rem 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    }

    .primary-nav.active {
        right: 0;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .primary-nav a {
        display: block;
        padding: 1.2rem;
        font-size: 1.3rem;
        text-align: center;
    }

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

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

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

    .game-player {
        height: 550px;
    }

    .popup-content {
        margin: 1.5rem;
        padding: 2.5rem;
    }

    .popup-content h2 {
        font-size: 2.2rem;
    }

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

    .popup-btn {
        width: 100%;
    }

    .text-section {
        padding: 2rem;
    }

    .text-section h1 {
        font-size: 2.5rem;
    }
}
