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

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.7;
    color: #1a202c;
    background: #ffffff;
}

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

/* Age Check */
.age-check {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.age-check.active {
    display: flex;
}

.age-modal {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    max-width: 450px;
    text-align: center;
}

.age-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.age-modal h1 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.age-modal p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.age-sub {
    font-size: 0.9rem;
    color: #718096;
}

.age-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.age-yes,
.age-no {
    flex: 1;
    padding: 1rem;
    border: 2px solid #1a202c;
    background: transparent;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-yes {
    background: #1a202c;
    color: white;
}

.age-yes:hover {
    background: #2d3748;
}

.age-no:hover {
    background: #f7fafc;
}

/* Header */
.header {
    background: #1a202c;
    color: white;
    padding: 1.5rem 0;
}

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

.logo {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 2px;
}

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

.nav-link {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    margin: 3px 0;
}

/* Hero */
.hero {
    padding: 6rem 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.hero-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: #4a5568;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: #1a202c;
    color: white;
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #2d3748;
}

/* Principles */
.principles {
    padding: 5rem 0;
    background: #f7fafc;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.principle {
    text-align: center;
}

.principle-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.principle h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #1a202c;
}

.principle p {
    font-size: 0.95rem;
    color: #4a5568;
}

/* Sections */
.game-section,
.about,
.important,
.responsibility {
    padding: 5rem 0;
}

.game-section {
    background: #f7fafc;
}

.about {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.responsibility {
    background: #f7fafc;
}

.section-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #1a202c;
}

.section-desc {
    text-align: center;
    color: #4a5568;
    margin-bottom: 3rem;
}

/* Game */
.game-box {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

.game-note {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

/* About */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a202c;
}

.about-content p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

/* Important */
.important-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.important-item {
    border: 1px solid #e2e8f0;
    padding: 2rem;
    background: white;
}

.important-item h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.important-item p {
    color: #4a5568;
}

/* Responsibility */
.resp-list {
    max-width: 800px;
    margin: 0 auto;
}

.resp-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    background: white;
}

.resp-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2rem;
    font-weight: 600;
    color: #cbd5e0;
    min-width: 50px;
}

.resp-content h4 {
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.resp-content p {
    color: #4a5568;
}

/* Play Page */
.page-intro {
    padding: 4rem 0;
    text-align: center;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.page-intro h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.page-intro p {
    color: #4a5568;
}

.play-area {
    padding: 4rem 0;
}

.play-box {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    margin-bottom: 2rem;
}

.play-frame {
    width: 100%;
    height: 700px;
    border: none;
}

.play-info {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 2rem;
}

.play-info h3 {
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 1rem;
    color: #1a202c;
}

.play-info ul {
    list-style: none;
    padding: 0;
}

.play-info li {
    padding: 0.8rem 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.play-info li:last-child {
    border-bottom: none;
}

.play-reminders {
    padding: 3rem 0;
    background: #f7fafc;
}

.play-reminders h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.reminder-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.reminder-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-left: 3px solid #1a202c;
    background: white;
    color: #4a5568;
}

/* Legal */
.legal {
    padding: 4rem 0;
}

.legal h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: #1a202c;
}

.legal h3:first-child {
    margin-top: 0;
}

.legal p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.legal ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.alert {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    margin: 2rem 0;
}

/* Footer */
.footer {
    background: #1a202c;
    color: #cbd5e0;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-family: 'IBM Plex Mono', monospace;
    color: white;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #1a202c;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

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

    .principle-grid,
    .important-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .game-frame,
    .play-frame {
        height: 400px;
    }
}
