* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #ffffff;
    color: #264653;
    line-height: 1.7;
}

.site-header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #264653;
}

.primary-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    color: #264653;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2A9D8F;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.current::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.current {
    color: #2A9D8F;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #264653;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.intro-hero {
    background: linear-gradient(135deg, #2A9D8F 0%, #264653 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.main-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.btn-hero {
    display: inline-block;
    background: #E9C46A;
    color: #264653;
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #F4A261;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.content-section,
.notices-section,
.game-display-section,
.features-section,
.responsibility-section {
    padding: 5rem 2rem;
}

.content-section {
    background: #fafafa;
}

.notices-section {
    background: white;
}

.game-display-section {
    background: #fafafa;
}

.features-section {
    background: white;
}

.responsibility-section {
    background: #fafafa;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #264653;
    text-align: center;
    margin-bottom: 2rem;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #555;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.notice-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.notice-item {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
}

.notice-type-a { border-left-color: #E76F51; }
.notice-type-b { border-left-color: #2A9D8F; }
.notice-type-c { border-left-color: #E9C46A; }

.notice-symbol {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #264653;
    margin-bottom: 1rem;
    font-weight: 600;
}

.notice-item p {
    color: #666;
    line-height: 1.7;
}

.game-embed {
    background: #000;
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.game-player {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 5px;
}

.game-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.spec-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    font-size: 1.1rem;
    color: #264653;
    font-weight: 500;
}

.features-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature-box {
    background: #fafafa;
    padding: 2.5rem;
    border-radius: 8px;
    border-top: 3px solid #2A9D8F;
}

.feature-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #E9C46A;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #264653;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-box p {
    color: #666;
    line-height: 1.7;
}

.responsibility-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.responsibility-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.responsibility-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.point {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    border-left: 3px solid #2A9D8F;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    color: #555;
}

.page-intro {
    background: linear-gradient(135deg, #2A9D8F 0%, #264653 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.page-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.15rem;
    opacity: 0.9;
}

.instructions-section {
    padding: 4rem 2rem;
    background: white;
}

.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.instruction-box {
    background: #fafafa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 3px solid #E9C46A;
}

.instruction-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.instruction-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #264653;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.instruction-box p {
    color: #666;
    line-height: 1.6;
}

.play-game-section {
    padding: 3rem 2rem;
    background: #fafafa;
}

.game-frame-container {
    background: #000;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.game-player-full {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 5px;
}

.play-reminder-section {
    padding: 3rem 2rem;
    background: white;
}

.reminder-panel {
    background: linear-gradient(135deg, #E9C46A 0%, #F4A261 100%);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.reminder-panel h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #264653;
    margin-bottom: 1rem;
    font-weight: 700;
}

.reminder-panel p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-document-section {
    padding: 4rem 2rem;
    background: white;
}

.document-inner {
    max-width: 900px;
    margin: 0 auto;
}

.document-inner h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #264653;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.document-inner h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #2A9D8F;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.document-inner p {
    color: #555;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.document-inner ul {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.document-inner li {
    color: #555;
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.legal-acknowledgment,
.privacy-summary,
.final-statement {
    background: #fafafa;
    border-left: 4px solid #2A9D8F;
    border-radius: 5px;
    padding: 2rem;
    margin-top: 3rem;
}

.critical-warning {
    background: #fff3e0;
    border-left: 4px solid #E76F51;
    border-radius: 5px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.critical-warning h2 {
    color: #E76F51 !important;
    margin-top: 0 !important;
}

.site-footer {
    background: #264653;
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-block h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #E9C46A;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.6rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #E9C46A;
}

.footer-copy {
    margin-top: 1.5rem;
    opacity: 0.6;
    font-size: 0.9rem;
}

.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 70, 83, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-overlay.hidden {
    display: none;
}

.age-box {
    background: white;
    border-radius: 10px;
    padding: 3rem;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.age-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #264653;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.age-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
    font-weight: 500;
}

.age-subtext {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 2rem;
}

.age-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-accept,
.btn-decline {
    padding: 0.9rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: #2A9D8F;
    color: white;
}

.btn-accept:hover {
    background: #238276;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.4);
}

.btn-decline {
    background: transparent;
    color: #888;
    border: 2px solid #ddd;
}

.btn-decline:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 1.5rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .primary-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }

    .nav-link::after {
        display: none;
    }

    .main-heading {
        font-size: 2.2rem;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .game-player {
        height: 400px;
    }

    .game-player-full {
        height: 500px;
    }

    .page-heading {
        font-size: 2.2rem;
    }

    .age-box {
        margin: 1rem;
        padding: 2rem;
    }

    .age-actions {
        flex-direction: column;
    }
}
