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

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: linear-gradient(180deg, #1a1333 0%, #2d1b4e 50%, #1a1333 100%);
    color: #d4c5e8;
    line-height: 1.7;
    min-height: 100vh;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-navigation {
    background: rgba(26, 19, 51, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(138, 99, 210, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.title-symbol {
    font-size: 2rem;
    color: #8a63d2;
}

.title-text {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8a63d2, #26d0ce);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navigation-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: #d4c5e8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.current {
    color: #26d0ce;
}

.nav-link.current::before {
    content: '✦';
    position: absolute;
    left: -15px;
    color: #8a63d2;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-hamburger span {
    width: 26px;
    height: 3px;
    background: #8a63d2;
    transition: all 0.3s;
    border-radius: 2px;
}

.mystical-header {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(138, 99, 210, 0.1);
    border-bottom: 1px solid rgba(138, 99, 210, 0.3);
}

.header-ornament {
    font-size: 1.5rem;
    color: #8a63d2;
    margin: 0.5rem 0;
    letter-spacing: 1rem;
}

.mystical-header h1 {
    font-family: 'Philosopher', sans-serif;
    font-size: 3rem;
    margin: 1rem 0;
    color: #26d0ce;
    text-shadow: 0 0 20px rgba(38, 208, 206, 0.5);
}

.header-verse {
    font-size: 1.3rem;
    color: #b8a3d9;
    font-style: italic;
}

.content-realm {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}

.dual-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.enchanted-card {
    background: rgba(45, 27, 78, 0.6);
    border: 1px solid rgba(138, 99, 210, 0.4);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(138, 99, 210, 0.2);
}

.enchanted-card h2 {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.8rem;
    color: #26d0ce;
    margin-bottom: 1rem;
}

.knowledge-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.knowledge-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.knowledge-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.knowledge-text strong {
    color: #8a63d2;
    display: block;
    margin-bottom: 0.3rem;
}

.game-portal {
    background: rgba(45, 27, 78, 0.6);
    border: 1px solid rgba(138, 99, 210, 0.4);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(138, 99, 210, 0.2);
}

.game-portal h2 {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.8rem;
    color: #26d0ce;
    margin-bottom: 1.5rem;
    text-align: center;
}

.portal-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(138, 99, 210, 0.4);
}

.portal-window {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.portal-note {
    text-align: center;
    margin-top: 1rem;
    color: #8a63d2;
    font-size: 1.05rem;
}

.realm-features {
    margin-bottom: 3rem;
}

.realm-features h2 {
    font-family: 'Philosopher', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: #26d0ce;
    margin-bottom: 2.5rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pillar {
    background: rgba(45, 27, 78, 0.6);
    border: 1px solid rgba(138, 99, 210, 0.4);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 99, 210, 0.3);
}

.pillar-number {
    font-family: 'Philosopher', sans-serif;
    font-size: 3rem;
    color: rgba(138, 99, 210, 0.5);
    margin-bottom: 1rem;
}

.pillar h3 {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.5rem;
    color: #8a63d2;
    margin-bottom: 1rem;
}

.wisdom-section {
    margin-bottom: 3rem;
}

.wisdom-scroll {
    background: rgba(45, 27, 78, 0.6);
    border: 1px solid rgba(138, 99, 210, 0.4);
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.wisdom-scroll h2 {
    font-family: 'Philosopher', sans-serif;
    font-size: 2rem;
    color: #26d0ce;
    margin-bottom: 1rem;
}

.play-zone {
    margin-bottom: 3rem;
}

.main-portal {
    background: rgba(45, 27, 78, 0.6);
    border: 1px solid rgba(138, 99, 210, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
}

.full-portal {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
}

.guidance-section {
    margin-bottom: 3rem;
}

.guidance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guidance-card {
    background: rgba(45, 27, 78, 0.6);
    border: 1px solid rgba(138, 99, 210, 0.4);
    border-radius: 15px;
    padding: 2rem;
}

.guidance-card h3 {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.4rem;
    color: #8a63d2;
    margin-bottom: 1rem;
}

.proclamation-section {
    margin-bottom: 3rem;
}

.proclamation-scroll {
    background: rgba(138, 99, 210, 0.15);
    border: 2px solid #8a63d2;
    border-radius: 15px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.proclamation-seal {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.proclamation-scroll h3 {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.6rem;
    color: #26d0ce;
    margin-bottom: 1rem;
}

.scroll-document {
    background: rgba(45, 27, 78, 0.6);
    border: 1px solid rgba(138, 99, 210, 0.4);
    border-radius: 15px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.scroll-document h1 {
    font-family: 'Philosopher', sans-serif;
    font-size: 2.5rem;
    color: #26d0ce;
    margin-bottom: 0.5rem;
}

.scroll-document h2 {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.8rem;
    color: #8a63d2;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.scroll-date {
    color: #9580b5;
    font-style: italic;
    margin-bottom: 2rem;
}

.realm-footer {
    background: rgba(26, 19, 51, 0.95);
    border-top: 2px solid rgba(138, 99, 210, 0.3);
    padding: 3rem 2rem 1rem;
    margin-top: auto;
}

.footer-sections {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-part h3 {
    font-family: 'Philosopher', sans-serif;
    color: #26d0ce;
    margin-bottom: 1rem;
}

.footer-age-mark {
    color: #8a63d2;
    font-weight: 600;
    margin-top: 0.5rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: #b8a3d9;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #26d0ce;
}

.footer-seal {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(138, 99, 210, 0.3);
    color: #9580b5;
}

.verification-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 19, 51, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.verification-screen.hidden {
    display: none;
}

.verification-panel {
    background: linear-gradient(135deg, #2d1b4e, #1a1333);
    border: 2px solid #8a63d2;
    border-radius: 20px;
    padding: 3rem;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(138, 99, 210, 0.4);
}

.mystical-symbol {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.verification-panel h2 {
    font-family: 'Philosopher', sans-serif;
    font-size: 2rem;
    color: #26d0ce;
    margin-bottom: 1rem;
}

.verify-requirement {
    font-size: 1.1rem;
    margin: 1rem 0;
}

.highlight {
    color: #8a63d2;
    font-weight: 600;
}

.verify-note {
    color: #b8a3d9;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.verification-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.portal-btn {
    padding: 1rem 2rem;
    border: 2px solid;
    border-radius: 30px;
    font-family: 'Philosopher', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.portal-btn.enter {
    background: linear-gradient(135deg, #8a63d2, #26d0ce);
    border-color: #26d0ce;
    color: white;
}

.portal-btn.enter:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(38, 208, 206, 0.5);
}

.portal-btn.leave {
    background: transparent;
    border-color: #8a63d2;
    color: #d4c5e8;
}

.portal-btn.leave:hover {
    background: rgba(138, 99, 210, 0.2);
}

@media (max-width: 968px) {
    .nav-hamburger {
        display: flex;
    }

    .navigation-links {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        background: rgba(26, 19, 51, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transition: left 0.3s;
        border-bottom: 2px solid rgba(138, 99, 210, 0.3);
    }

    .navigation-links.active {
        left: 0;
    }

    .navigation-links li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(138, 99, 210, 0.2);
    }

    .dual-columns {
        grid-template-columns: 1fr;
    }

    .mystical-header h1 {
        font-size: 2rem;
    }

    .portal-window {
        height: 400px;
    }

    .full-portal {
        height: 500px;
    }

    .verification-panel {
        margin: 1rem;
        padding: 2rem;
    }

    .verification-actions {
        flex-direction: column;
    }

    .scroll-document {
        padding: 2rem 1.5rem;
    }

    .content-realm {
        padding: 2rem 1rem;
    }
}
