* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    background: linear-gradient(to bottom, #2b1515 0%, #180a0a 100%);
    color: #e8d4c0;
    line-height: 1.7;
    min-height: 100vh;
}

.section-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 28px;
}

/* Gate Overlay */
.gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.gate-overlay.active {
    display: flex;
}

.gate-panel {
    background: linear-gradient(145deg, #3d1a1a 0%, #2b1515 100%);
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    max-width: 580px;
    border: 4px solid #ff8c00;
    box-shadow: 0 0 60px rgba(255, 140, 0, 0.5);
}

.gate-symbol {
    font-size: 4em;
    margin-bottom: 20px;
}

.gate-title {
    font-family: 'Playfair Display', serif;
    color: #ff8c00;
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 22px;
}

.gate-message {
    font-size: 1.2em;
    margin-bottom: 18px;
}

.gate-question {
    font-size: 1.3em;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 10px;
}

.gate-note {
    font-size: 1em;
    color: #999;
    font-style: italic;
}

.gate-buttons {
    display: flex;
    gap: 20px;
    margin-top: 38px;
    justify-content: center;
}

.gate-btn {
    padding: 18px 38px;
    font-size: 1.15em;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gate-enter {
    background: linear-gradient(135deg, #c41e3a 0%, #a01828 100%);
    color: #fff;
}

.gate-enter:hover {
    background: linear-gradient(135deg, #e02847 0%, #c41e3a 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.6);
}

.gate-leave {
    background: #666;
    color: #fff;
}

.gate-leave:hover {
    background: #777;
    transform: translateY(-5px);
}

/* Page Header */
.page-header {
    background: rgba(43, 21, 21, 0.94);
    backdrop-filter: blur(12px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #ff8c00;
}

.header-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4em;
    font-weight: 900;
    color: #ff8c00;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.nav-button {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.btn-bar {
    width: 30px;
    height: 3px;
    background: #ff8c00;
    margin: 4px 0;
    border-radius: 3px;
    transition: 0.3s;
}

.primary-nav {
    display: flex;
    gap: 38px;
}

.nav-link {
    color: #e8d4c0;
    text-decoration: none;
    font-size: 1.15em;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff8c00;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #ff8c00;
}

.nav-link:hover::after {
    width: 100%;
}

/* Banner Section */
.banner-section {
    padding: 110px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.2) 0%, rgba(255, 140, 0, 0.15) 100%);
}

.banner-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 28px;
}

.banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5em;
    font-weight: 900;
    color: #ff8c00;
    margin-bottom: 28px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
}

.banner-text {
    font-size: 1.4em;
    margin-bottom: 45px;
    line-height: 1.8;
}

.banner-action {
    display: inline-block;
    padding: 20px 48px;
    background: linear-gradient(135deg, #c41e3a 0%, #a01828 100%);
    color: #fff;
    text-decoration: none;
    font-size: 1.35em;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.5);
}

.banner-action:hover {
    background: linear-gradient(135deg, #e02847 0%, #c41e3a 100%);
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(196, 30, 58, 0.7);
}

/* Philosophy Section */
.philosophy-section {
    padding: 90px 0;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    font-weight: 800;
    color: #ff8c00;
    text-align: center;
    margin-bottom: 35px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.philosophy-intro {
    font-size: 1.25em;
    text-align: center;
    max-width: 950px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 45px;
}

.principle-card {
    background: linear-gradient(145deg, rgba(61, 26, 26, 0.6) 0%, rgba(43, 21, 21, 0.6) 100%);
    border: 3px solid rgba(255, 140, 0, 0.4);
    border-radius: 18px;
    padding: 42px;
    text-align: center;
    transition: all 0.3s ease;
}

.principle-card:hover {
    border-color: #ff8c00;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
}

.principle-emblem {
    font-size: 4em;
    display: block;
    margin-bottom: 25px;
}

.principle-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9em;
    color: #ff8c00;
    margin-bottom: 18px;
    font-weight: 700;
}

.principle-card p {
    font-size: 1.08em;
    line-height: 1.8;
}

/* Attraction Section */
.attraction-section {
    padding: 90px 0;
    background: rgba(0, 0, 0, 0.3);
}

.attraction-frame {
    max-width: 1400px;
    margin: 0 auto 45px;
}

.game-iframe {
    width: 100%;
    height: 800px;
    border: 4px solid #ff8c00;
    border-radius: 22px;
    box-shadow: 0 0 50px rgba(255, 140, 0, 0.5);
}

.notices-container {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.notice {
    padding: 25px;
    border-radius: 14px;
    font-size: 1.15em;
    border: 3px solid;
}

.warning-notice {
    background: rgba(196, 30, 58, 0.15);
    border-color: #c41e3a;
}

.info-notice {
    background: rgba(255, 140, 0, 0.15);
    border-color: #ff8c00;
}

/* Virtues Section */
.virtues-section {
    padding: 90px 0;
}

.virtues-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 38px;
}

.virtue-piece {
    text-align: center;
    padding: 38px;
}

.virtue-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4.5em;
    font-weight: 800;
    color: rgba(255, 140, 0, 0.4);
    margin-bottom: 25px;
}

.virtue-piece h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: #ff8c00;
    margin-bottom: 18px;
    font-weight: 700;
}

.virtue-piece p {
    font-size: 1.08em;
    line-height: 1.8;
}

/* Proclamation Section */
.proclamation-section {
    padding: 90px 0;
    background: rgba(0, 0, 0, 0.3);
}

.proclamation-title {
    color: #c41e3a;
}

.proclamation-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 38px;
}

.proclamation-box {
    border-radius: 18px;
    padding: 42px;
    border: 3px solid;
}

.age-proclamation {
    background: rgba(196, 30, 58, 0.12);
    border-color: #c41e3a;
}

.purpose-proclamation {
    background: rgba(255, 140, 0, 0.12);
    border-color: #ff8c00;
}

.gift-proclamation {
    background: rgba(160, 24, 40, 0.12);
    border-color: #a01828;
}

.proclamation-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7em;
    margin-bottom: 18px;
    font-weight: 700;
}

.age-proclamation h3 {
    color: #c41e3a;
}

.purpose-proclamation h3 {
    color: #ff8c00;
}

.gift-proclamation h3 {
    color: #e8d4c0;
}

/* Play Banner */
.play-banner {
    padding: 85px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.2) 0%, rgba(255, 140, 0, 0.15) 100%);
}

.play-title {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    font-weight: 900;
    color: #ff8c00;
    margin-bottom: 25px;
}

.play-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.play-game-section {
    padding: 50px 0 90px;
}

.game-container {
    max-width: 1500px;
    margin: 0 auto;
}

.play-game-iframe {
    width: 100%;
    height: 900px;
    border: 4px solid #ff8c00;
    border-radius: 22px;
    box-shadow: 0 0 50px rgba(255, 140, 0, 0.5);
}

.guidance-section {
    padding: 85px 0;
    background: rgba(0, 0, 0, 0.3);
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 38px;
    margin-bottom: 50px;
}

.guidance-item {
    background: linear-gradient(145deg, rgba(61, 26, 26, 0.5) 0%, rgba(43, 21, 21, 0.5) 100%);
    border: 3px solid rgba(255, 140, 0, 0.4);
    border-radius: 16px;
    padding: 38px;
}

.guidance-item h3 {
    font-family: 'Playfair Display', serif;
    color: #ff8c00;
    margin-bottom: 18px;
    font-size: 1.6em;
    font-weight: 700;
}

.guidance-item p {
    line-height: 1.8;
    font-size: 1.08em;
}

.play-reminder {
    background: rgba(196, 30, 58, 0.15);
    border: 3px solid #c41e3a;
    padding: 35px;
    border-radius: 14px;
    text-align: center;
    max-width: 1050px;
    margin: 0 auto;
}

.play-reminder p {
    font-size: 1.15em;
    line-height: 1.8;
}

/* Document Section */
.document-section {
    padding: 70px 0;
}

.document-title {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    font-weight: 900;
    color: #ff8c00;
    margin-bottom: 18px;
}

.document-timestamp {
    font-style: italic;
    color: #888;
    margin-bottom: 50px;
    font-size: 1.08em;
}

.document-content {
    max-width: 1150px;
}

.document-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3em;
    color: #ff8c00;
    margin-top: 48px;
    margin-bottom: 22px;
    font-weight: 700;
}

.document-content p {
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 1.08em;
}

.document-content ul {
    margin-left: 38px;
    margin-bottom: 20px;
}

.document-content li {
    margin-bottom: 13px;
    line-height: 1.8;
}

.document-content a {
    color: #ff8c00;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.document-content a:hover {
    border-bottom-color: #ff8c00;
}

/* Site Footer */
.site-footer {
    background: rgba(43, 21, 21, 0.96);
    padding: 75px 0 28px;
    border-top: 3px solid #ff8c00;
    margin-top: 95px;
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-block h4 {
    font-family: 'Playfair Display', serif;
    color: #ff8c00;
    margin-bottom: 22px;
    font-size: 1.5em;
    font-weight: 700;
}

.footer-block p {
    line-height: 1.8;
    font-size: 1.08em;
}

.footer-block ul {
    list-style: none;
}

.footer-block li {
    margin-bottom: 13px;
}

.footer-block a {
    color: #e8d4c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-block a:hover {
    color: #ff8c00;
}

.guidance-links a {
    color: #c41e3a;
}

.guidance-links a:hover {
    color: #e02847;
}

.footer-seal {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 140, 0, 0.3);
    color: #888;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-button {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 73%;
        height: 100vh;
        background: rgba(43, 21, 21, 0.98);
        flex-direction: column;
        padding: 95px 38px;
        transition: right 0.3s ease;
        border-left: 3px solid #ff8c00;
    }

    .primary-nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.5em;
        padding: 20px 0;
    }

    .banner-title {
        font-size: 2.9em;
    }

    .banner-text {
        font-size: 1.2em;
    }

    .section-heading {
        font-size: 2.6em;
    }

    .principle-grid, .virtues-display, .proclamation-boxes {
        grid-template-columns: 1fr;
    }

    .game-iframe {
        height: 620px;
    }

    .play-game-iframe {
        height: 720px;
    }

    .play-title, .document-title {
        font-size: 2.8em;
    }

    .document-content h2 {
        font-size: 1.9em;
    }
}
