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

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.7;
    color: #e2e8f0;
    background: #0f172a;
}

.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.98);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

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

.age-modal {
    background: #1e293b;
    padding: 3rem;
    border-radius: 12px;
    max-width: 450px;
    text-align: center;
    border: 1px solid #334155;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

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

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

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

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

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

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

.age-yes {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.age-yes:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
}

.age-no:hover {
    background: #1e293b;
    border-color: #64748b;
}

/* Header */
.header {
    background: #0f172a;
    color: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #1e293b;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

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

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

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #e2e8f0;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    padding: 6rem 0;
    text-align: center;
    border-bottom: 1px solid #1e293b;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

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

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

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

.btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-game {
    margin-top: 1rem;
}

/* Game Card Section */
.game-card-section {
    padding: 5rem 0;
    background: #1e293b;
}

.game-card {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: #475569;
}

.game-card-image {
    flex-shrink: 0;
}

.game-image {
    width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.game-card:hover .game-image {
    transform: scale(1.05);
}

.game-card-content {
    flex: 1;
}

.game-card-content h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.game-card-content p {
    color: #cbd5e0;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

.principle {
    text-align: center;
    padding: 2rem;
    background: #1e293b;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.principle:hover {
    transform: translateY(-5px);
    border-color: #475569;
}

.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: #e2e8f0;
}

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

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

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

.responsibility {
    background: #0f172a;
}

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

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

/* 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: #e2e8f0;
}

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

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

.important-item {
    border: 1px solid #334155;
    padding: 2rem;
    background: #1e293b;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.important-item:hover {
    transform: translateY(-3px);
    border-color: #475569;
}

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

.important-item p {
    color: #cbd5e0;
}

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

.resp-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 1px solid #334155;
    background: #1e293b;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.resp-item:hover {
    transform: translateX(5px);
    border-color: #475569;
}

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

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

.resp-content p {
    color: #cbd5e0;
}

/* Logos Section */
.logos-section {
    padding: 5rem 0;
    background: #1e293b;
    border-top: 1px solid #334155;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
}

.logo-item:hover {
    transform: translateY(-5px);
    border-color: #475569;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: brightness(1.1);
}

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

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

.page-intro p {
    color: #cbd5e0;
}

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

.play-box {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
}

.play-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 8px;
    background: #0f172a;
}

.play-info {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 2rem;
    border-radius: 12px;
}

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

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

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

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

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

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

.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 #3b82f6;
    background: #0f172a;
    color: #cbd5e0;
    border-radius: 6px;
}

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

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

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

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

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

.legal li {
    margin-bottom: 0.5rem;
}

.alert {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.alert p {
    color: #e2e8f0;
    margin: 0;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 1rem;
    border-top: 1px solid #1e293b;
}

.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: #e2e8f0;
    margin-bottom: 1rem;
}

.footer-col p {
    color: #cbd5e0;
    margin-bottom: 0.5rem;
}

.footer-email {
    margin-top: 1rem;
}

.footer-email a {
    color: #3b82f6;
    text-decoration: none;
}

.footer-email a:hover {
    text-decoration: underline;
}

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

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

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

.footer-col a:hover {
    color: #3b82f6;
}

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

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

    .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-card {
        flex-direction: column;
        text-align: center;
    }

    .game-image {
        width: 100%;
        max-width: 300px;
    }

    .play-frame {
        height: 400px;
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .logos-grid {
        grid-template-columns: 1fr;
    }
}
