@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1B2845;
    --secondary-color: #5C7CFA;
    --accent-color: #A8DADC;
    --text-color: #E8F1F2;
    --dark-bg: #0D1321;
    --card-bg: #1B2845;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0D1321 0%, #1B2845 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
header {
    background: rgba(27, 40, 69, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--secondary-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 2rem;
    cursor: pointer;
}

/* Main Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(92, 124, 250, 0.1), rgba(168, 218, 220, 0.1));
    border-radius: 16px;
    margin-bottom: 3rem;
    border: 1px solid rgba(92, 124, 250, 0.3);
}

.hero-section h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(92, 124, 250, 0.3);
}

.info-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    opacity: 0.9;
}

.notice-box {
    background: linear-gradient(135deg, rgba(92, 124, 250, 0.2), rgba(168, 218, 220, 0.2));
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
}

.notice-box h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.notice-list {
    list-style: none;
}

.notice-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(92, 124, 250, 0.3);
    display: flex;
    align-items: start;
    gap: 1rem;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list li::before {
    content: '⚡';
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.content-block {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(92, 124, 250, 0.3);
}

.content-block h2 {
    font-family: 'Cinzel', serif;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.content-block h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    margin: 2rem 0 1rem;
    font-size: 1.6rem;
}

.content-block p {
    margin-bottom: 1.2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.game-section {
    text-align: center;
    margin: 3rem 0;
}

.game-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.game-container {
    border: 3px solid var(--secondary-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(92, 124, 250, 0.4);
    background: var(--dark-bg);
}

.game-container iframe {
    display: block;
    width: 100%;
    height: 600px;
    border: none;
}

/* Footer */
footer {
    background: var(--dark-bg);
    border-top: 2px solid var(--secondary-color);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links h3 {
    font-family: 'Cinzel', serif;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Age Modal */
.age-verification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-verification.show {
    display: flex;
}

.age-content {
    background: var(--card-bg);
    border: 3px solid var(--secondary-color);
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    margin: 1rem;
}

.age-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.age-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-button.confirm {
    background: var(--secondary-color);
    color: white;
}

.age-button.confirm:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
}

.age-button.decline {
    background: #444;
    color: white;
}

.age-button.decline:hover {
    background: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background: var(--card-bg);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(92, 124, 250, 0.3);
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .game-container iframe {
        height: 400px;
    }

    .age-actions {
        flex-direction: column;
    }

    .age-button {
        width: 100%;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 1rem;
    }
}
