@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --emerald: #10b981;
    --emerald-light: #34d399;
    --emerald-dark: #059669;
    --teal: #14b8a6;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--slate-900);
    color: var(--text-white);
    line-height: 1.7;
}

a {
    color: var(--emerald);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--emerald-light);
}

/* Header */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--emerald);
    letter-spacing: -1px;
}

.main-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.main-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-links a:hover {
    color: var(--emerald);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 26px;
    height: 3px;
    background: var(--emerald);
    border-radius: 2px;
}

/* Hero */
.hero-area {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                linear-gradient(225deg, rgba(20, 184, 166, 0.08) 0%, transparent 50%);
}

.hero-flex {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-left {
    flex: 1;
}

.hero-left h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-left h1 .green {
    color: var(--emerald);
}

.hero-left p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 500px;
}

.play-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
    color: var(--text-white);
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-shape {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    animation: morphShape 8s ease-in-out infinite;
}

@keyframes morphShape {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

/* Notice Bar */
.notice-bar {
    padding: 4rem 2rem;
    background: var(--slate-800);
}

.notices-flex {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.notice-item {
    text-align: center;
    padding: 2rem;
    background: var(--slate-700);
    border-radius: 12px;
    border-top: 3px solid var(--emerald);
}

.notice-item .ico {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.notice-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--emerald-light);
    margin-bottom: 0.5rem;
}

.notice-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Game Area */
.game-area {
    padding: 5rem 2rem;
    background: var(--slate-900);
}

.area-head {
    text-align: center;
    margin-bottom: 3rem;
}

.area-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
}

.area-head h2 span {
    color: var(--emerald);
}

.area-head p {
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.game-window {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--slate-800);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--emerald);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
}

.game-window iframe {
    width: 100%;
    height: 640px;
    border: none;
    display: block;
}

/* Info Section */
.info-section {
    padding: 5rem 2rem;
    background: var(--slate-800);
}

.info-grid {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--slate-700);
    border-radius: 12px;
    padding: 2.5rem;
    border-left: 4px solid var(--teal);
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--emerald-light);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.info-card ul {
    list-style: none;
    margin-top: 1rem;
}

.info-card li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    padding-left: 1.5rem;
    position: relative;
}

.info-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--emerald);
}

/* Footer */
.site-footer {
    background: var(--slate-900);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.support-section {
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
}

.support-section h4 {
    font-size: 0.8rem;
    color: var(--emerald);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.support-section a {
    margin: 0 1rem;
    font-size: 0.9rem;
}

.footer-copyright {
    margin-top: 2rem;
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Age Verify */
.age-verify {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
}

.age-card {
    background: var(--slate-800);
    border: 2px solid var(--emerald);
    border-radius: 16px;
    padding: 3rem;
    max-width: 450px;
    text-align: center;
}

.age-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.age-card p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.age-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-opt {
    padding: 0.9rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.age-opt.yes {
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    color: var(--text-white);
}

.age-opt.no {
    background: transparent;
    border: 2px solid var(--emerald);
    color: var(--emerald);
}

.age-opt:hover {
    transform: scale(1.05);
}

/* Page Content */
.page-wrap {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-wrap h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--emerald);
}

.page-wrap h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--emerald-light);
    margin: 2rem 0 1rem;
}

.page-wrap p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.page-wrap ul, .page-wrap ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.page-wrap li {
    margin-bottom: 0.5rem;
}

/* Mobile */
@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-left p {
        max-width: 100%;
    }
    
    .hero-shape {
        width: 250px;
        height: 250px;
        font-size: 4rem;
    }
    
    .notices-flex {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .main-links {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--emerald);
    }

    .main-links.active {
        transform: translateY(0);
    }

    .hero-area {
        padding: 7rem 1.5rem 4rem;
    }

    .game-window iframe {
        height: 400px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .age-options {
        flex-direction: column;
    }
}
