* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink: #ec4899;
    --pink-light: #f9a8d4;
    --pink-dark: #be185d;
    --teal: #14b8a6;
    --teal-light: #5eead4;
    --teal-dark: #0f766e;
    --amber: #fbbf24;
    --bg-primary: #fdf2f8;
    --bg-secondary: #fff7ed;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-dark);
    line-height: 1.7;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(236, 72, 153, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--pink);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover {
    color: var(--pink);
}

.main-nav a:hover::before {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--pink);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(20, 184, 166, 0.15) 100%);
    padding: 5rem 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--pink-dark);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
}

/* About Section */
.about-section {
    padding: 4rem 24px;
}

.about-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--teal-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Important Notices */
.important-notices {
    padding: 4rem 24px;
    background: var(--white);
}

.important-notices h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.notice-item {
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-item.pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    border: 2px solid var(--pink-light);
}

.notice-item.teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
    border: 2px solid var(--teal-light);
}

.notice-item.amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
    border: 2px solid var(--amber);
}

.notice-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.notice-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.2;
    margin-bottom: 0.5rem;
}

.notice-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.notice-item p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Game Showcase */
.game-showcase {
    padding: 4rem 24px;
}

.game-showcase h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--pink-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.game-frame {
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.game-frame iframe {
    width: 100%;
    height: 600px;
    display: block;
    border: none;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 24px;
    background: var(--white);
}

.benefits-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--teal-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--pink-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 0.8rem;
}

.benefit-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Disclaimer Banner */
.disclaimer-banner {
    padding: 3rem 24px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.05) 100%);
}

.banner-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.banner-content p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Age Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.modal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--pink-dark);
    margin-bottom: 1.5rem;
}

.modal-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.modal-note {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-yes, .btn-no {
    flex: 1;
    padding: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
    color: white;
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.btn-no {
    background: #e5e7eb;
    color: var(--text-medium);
}

.btn-no:hover {
    background: #d1d5db;
}

/* Play Page */
.play-intro {
    padding: 4rem 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.play-intro h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--teal-dark);
    margin-bottom: 1rem;
}

.play-description {
    font-size: 1.3rem;
    color: var(--text-medium);
}

.instructions-section {
    padding: 4rem 24px;
    background: var(--white);
}

.instructions-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.instruction-card {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--teal-light);
}

.instruction-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 1rem;
}

.instruction-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Legal Pages */
.page-hero {
    padding: 4rem 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
}

.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--pink-dark);
    margin-bottom: 0.8rem;
}

.meta-date {
    font-size: 1rem;
    color: var(--text-light);
}

.legal-content {
    padding: 4rem 24px;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.content-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-dark);
    margin: 2.5rem 0 1.2rem 0;
}

.content-container h2:first-child {
    margin-top: 0;
}

.content-container p {
    color: var(--text-medium);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.content-container ul {
    margin: 1rem 0 1.5rem 2rem;
}

.content-container li {
    color: var(--text-medium);
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.content-container a {
    color: var(--pink);
    text-decoration: none;
    font-weight: 600;
}

.content-container a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 24px 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pink-light);
    margin-bottom: 1.2rem;
}

.footer-col p {
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--teal-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

    .main-nav.active {
        left: 0;
    }

    .hero-overlay h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-section h2,
    .important-notices h2,
    .game-showcase h2,
    .benefits-section h2 {
        font-size: 2rem;
    }

    .notices-grid,
    .benefits-grid,
    .instructions-grid {
        grid-template-columns: 1fr;
    }

    .game-frame iframe {
        height: 400px;
    }

    .modal-content {
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .content-container {
        padding: 2rem;
    }

    .play-intro h1 {
        font-size: 2.5rem;
    }
}