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

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #240046 0%, #3c096c 50%, #5a189a 100%);
    color: #f0f0f0;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Age Overlay */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(36, 0, 70, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.age-overlay.hidden {
    display: none;
}

.age-card {
    background: linear-gradient(135deg, #9d4edd, #c77dff);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(157, 78, 221, 0.4);
    color: #240046;
}

.age-header {
    margin-bottom: 1.5rem;
}

.age-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.age-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
}

.age-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.age-notice {
    font-size: 1.3rem;
    margin: 1.5rem 0;
}

.age-description {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.age-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.age-btn-yes {
    background: #240046;
    color: #fff;
}

.age-btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(36, 0, 70, 0.6);
}

.age-btn-no {
    background: #fff;
    color: #240046;
}

.age-btn-no:hover {
    background: #e0e0e0;
}

/* Header */
.header {
    background: rgba(36, 0, 70, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #9d4edd;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-name {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #c77dff;
    letter-spacing: 2px;
}

.navigation {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
    font-family: 'Poppins', sans-serif;
}

.nav-item:hover {
    color: #c77dff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #c77dff;
    display: block;
    transition: all 0.3s;
}

/* Main Container */
.main-container {
    padding: 2rem 0;
}

.hero-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(199, 125, 255, 0.2));
    border-radius: 20px;
    margin-bottom: 3rem;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #c77dff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(199, 125, 255, 0.5);
}

.hero-description {
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
}

.features-section {
    margin-bottom: 3rem;
}

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

.feature-card {
    background: rgba(60, 9, 108, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(157, 78, 221, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.5);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: #c77dff;
    margin-bottom: 1rem;
}

.game-section {
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    text-align: center;
    color: #c77dff;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ddd;
}

.game-box {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #9d4edd;
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.4);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-note {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: #bbb;
}

.info-section {
    margin-bottom: 3rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: rgba(60, 9, 108, 0.4);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #c77dff;
}

.info-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    color: #e0aaff;
}

.notice-section {
    margin-bottom: 3rem;
}

.notice-grid {
    display: grid;
    gap: 1.5rem;
}

.notice-item {
    background: rgba(255, 0, 0, 0.15);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #ff4444;
}

.notice-item p {
    font-size: 1.1rem;
}

.cta-section {
    margin-bottom: 3rem;
}

.cta-content {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.3), rgba(199, 125, 255, 0.3));
    border-radius: 20px;
}

.cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: #c77dff;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #9d4edd, #c77dff);
    color: #240046;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    border-radius: 50px;
    margin-top: 1.5rem;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.6);
}

/* Play Page */
.play-header {
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    color: #c77dff;
    margin-bottom: 1rem;
}

.page-intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.gameplay-section {
    margin-bottom: 3rem;
}

.gameplay-box {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #9d4edd;
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.4);
}

.game-frame-large {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.instructions-section {
    margin-bottom: 3rem;
}

.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.instruction-card {
    background: rgba(60, 9, 108, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid rgba(157, 78, 221, 0.4);
}

.instruction-card h3 {
    font-family: 'Poppins', sans-serif;
    color: #e0aaff;
    margin-bottom: 0.7rem;
}

.warning-section {
    background: rgba(255, 0, 0, 0.15);
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid #ff4444;
}

.warning-box h3 {
    font-family: 'Poppins', sans-serif;
    color: #c77dff;
    margin-bottom: 1rem;
}

.warning-box p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Legal Pages */
.legal-page {
    padding: 3rem 0;
}

.legal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    color: #c77dff;
    text-align: center;
    margin-bottom: 3rem;
}

.legal-section {
    background: rgba(60, 9, 108, 0.4);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 5px solid #9d4edd;
}

.legal-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #e0aaff;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.legal-section li {
    margin-bottom: 0.7rem;
}

.legal-section a {
    color: #c77dff;
    text-decoration: underline;
}

.warning-section-legal {
    background: rgba(157, 78, 221, 0.2);
    border-left-color: #ff4444;
}

/* Footer */
.footer {
    background: rgba(36, 0, 70, 0.9);
    border-top: 3px solid #9d4edd;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-column h4 {
    font-family: 'Poppins', sans-serif;
    color: #c77dff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #c77dff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(157, 78, 221, 0.3);
    color: #888;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .navigation {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(36, 0, 70, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        padding: 2rem 0;
        gap: 0;
    }

    .navigation.active {
        left: 0;
    }

    .nav-item {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(157, 78, 221, 0.3);
    }

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

    .page-title {
        font-size: 2.5rem;
    }

    .logo-name {
        font-size: 1.5rem;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-large {
        height: 500px;
    }

    .legal-title {
        font-size: 2.5rem;
    }
}
