@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #FF9800;
    --secondary: #FF5722;
    --dark: #212121;
    --light: #FFF3E0;
    --gray: #757575;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--light);
    color: var(--dark);
}

/* Header */
.page-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 40px;
}

.brand-name {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.navigation {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 30px;
}

.navigation a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navigation a:hover,
.navigation a.active {
    background: var(--primary);
    color: white;
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    width: 30px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Main Content Area */
.content-area {
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 40px;
}

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.grid-full {
    grid-column: span 12;
}

.grid-half {
    grid-column: span 6;
}

.grid-third {
    grid-column: span 4;
}

.grid-two-thirds {
    grid-column: span 8;
}

/* Content Boxes */
.content-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.title-main {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-section {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.title-subsection {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin: 25px 0 15px;
}

.text-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 20px;
}

/* Alert Box */
.alert-important {
    background: linear-gradient(135deg, var(--secondary), #E64A19);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 6px solid #BF360C;
}

.alert-important h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.alert-important p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Feature Boxes */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-box {
    background: linear-gradient(135deg, var(--primary), #FB8C00);
    color: white;
    padding: 35px 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: scale(1.05);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 15px;
    line-height: 1.6;
}

/* Game Section */
.game-section {
    background: white;
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 650px;
    border: 4px solid var(--primary);
    border-radius: 10px;
    margin: 30px auto 0;
    display: block;
}

/* Footer */
.page-footer {
    background: var(--dark);
    color: white;
    padding: 50px 40px;
    margin-top: 80px;
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--secondary);
}

.footer-notice {
    color: #9E9E9E;
    font-size: 14px;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(33, 33, 33, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-inner {
    background: white;
    padding: 60px 50px;
    border-radius: 15px;
    max-width: 550px;
    text-align: center;
    border: 5px solid var(--primary);
}

.age-modal-inner h2 {
    font-size: 36px;
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.age-modal-inner p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 35px;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.age-btn {
    padding: 16px 45px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.age-btn-confirm {
    background: var(--primary);
    color: white;
}

.age-btn-confirm:hover {
    background: #FB8C00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
}

.age-btn-reject {
    background: var(--secondary);
    color: white;
}

.age-btn-reject:hover {
    background: #E64A19;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-half,
    .grid-third,
    .grid-two-thirds {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    .header-inner {
        grid-template-columns: 1fr auto;
        padding: 15px 25px;
    }

    .brand-name {
        font-size: 24px;
    }

    .navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 25px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-200%);
        transition: transform 0.3s ease;
    }

    .navigation.open {
        transform: translateY(0);
    }

    .menu-btn {
        display: flex;
    }

    .content-area {
        padding: 30px 20px;
    }

    .content-box {
        padding: 30px 20px;
    }

    .title-main {
        font-size: 36px;
    }

    .title-section {
        font-size: 28px;
    }

    .game-frame {
        height: 450px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }

    .age-modal-inner {
        margin: 20px;
        padding: 40px 30px;
    }

    .age-modal-inner h2 {
        font-size: 28px;
    }

    .age-buttons {
        flex-direction: column;
    }
}
