* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #7C3AED;
    --pink: #EC4899;
    --cyan: #06B6D4;
    --orange: #F97316;
    --yellow: #FBBF24;
    --bg-light: #F8FAFC;
    --text: #1E293B;
    --card-white: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: var(--text);
    min-height: 100vh;
}

/* Header Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--purple);
}

.logo-icon {
    font-size: 2.5rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    transition: width 0.3s;
}

.main-menu a:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background: var(--purple);
    border-radius: 2px;
    transition: 0.3s;
}

/* Main Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.page-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero .tagline {
    font-size: 1.4rem;
    color: white;
    font-weight: 500;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--card-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.info-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--purple);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card p {
    color: #64748B;
    line-height: 1.8;
    font-size: 1rem;
}

.notice-card {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.3);
}

.notice-card h3 {
    color: #7C2D12;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.notice-card ul {
    list-style: none;
}

.notice-card li {
    color: #7C2D12;
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.1rem;
    font-weight: 600;
}

.notice-card li::before {
    content: '🔔';
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.game-showcase {
    background: var(--card-white);
    border-radius: 25px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.game-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.game-showcase .description {
    text-align: center;
    color: #64748B;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.game-showcase iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.text-content {
    background: var(--card-white);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.text-content h1 {
    color: var(--purple);
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 900;
}

.text-content h2 {
    color: var(--pink);
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    font-weight: 700;
}

.text-content p {
    color: #475569;
    line-height: 2;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.text-content ul,
.text-content ol {
    margin-left: 2.5rem;
    margin-bottom: 1.5rem;
    color: #475569;
}

.text-content li {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Footer */
footer {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 2.5rem 0;
    margin-top: 5rem;
}

.footer-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-wrapper p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-menu {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-menu a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--pink);
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.age-modal.visible {
    display: flex;
}

.modal-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.modal-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.modal-card p {
    color: #64748B;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.15rem;
}

.modal-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.modal-btn {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.modal-btn.confirm {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.modal-btn.confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

.modal-btn.deny {
    background: #E2E8F0;
    color: #475569;
}

.modal-btn.deny:hover {
    background: #CBD5E1;
}

/* Responsive */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }
    
    nav.open {
        max-height: 400px;
    }
    
    .main-menu {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
    }
    
    .main-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid #E2E8F0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .text-content {
        padding: 2rem;
    }
    
    .game-showcase iframe {
        height: 500px;
    }
    
    .modal-card {
        margin: 1rem;
        padding: 2rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}
