* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(180deg, #1a0033 0%, #0d001a 100%);
    color: #e8d7ff;
    line-height: 1.7;
    min-height: 100vh;
}

.page-container { min-height: 100vh; display: flex; flex-direction: column; }

.top-bar {
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 3px solid #9d4edd;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.site-logo { display: flex; align-items: center; gap: 0.8rem; }
.logo-symbol { font-size: 2.5rem; }
.logo-text { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 900; color: #c77dff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span { width: 26px; height: 3px; background: #9d4edd; border-radius: 2px; }

.navigation {
    display: flex;
    gap: 2rem;
}

.navigation a {
    color: #e8d7ff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navigation a:hover {
    background: rgba(157, 78, 221, 0.3);
    color: #c77dff;
}

.main-area {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.intro-banner {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(199, 125, 255, 0.1));
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
    border: 3px solid #9d4edd;
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.3);
}

.banner-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: #c77dff;
    margin-bottom: 1rem;
    font-weight: 900;
}

.banner-desc {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #e8d7ff;
}

.banner-tags {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: 2px solid #9d4edd;
    font-weight: 700;
}

.critical-info { margin: 3rem 0; }

.info-wrapper {
    background: rgba(157, 78, 221, 0.15);
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid #9d4edd;
}

.info-wrapper h2 {
    font-family: 'Cinzel', serif;
    color: #c77dff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(157, 78, 221, 0.5);
}

.info-item h3 {
    color: #c77dff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.story-section { margin: 3rem 0; }

.story-text {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(157, 78, 221, 0.4);
}

.story-text h2 {
    font-family: 'Cinzel', serif;
    color: #c77dff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.story-text p { margin-bottom: 1.5rem; font-size: 1.05rem; }

.featured-gaming { margin: 4rem 0; text-align: center; }

.gaming-intro h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: #c77dff;
    margin-bottom: 1rem;
}

.gaming-intro p { font-size: 1.2rem; margin-bottom: 2rem; }

.gaming-container {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid #9d4edd;
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.4);
}

.gaming-frame {
    width: 100%;
    height: 680px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.gaming-tip {
    margin-top: 1.5rem;
    background: rgba(157, 78, 221, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
}

.attributes { margin: 4rem 0; }

.attributes h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: #c77dff;
    text-align: center;
    margin-bottom: 3rem;
}

.attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.attr-card {
    background: rgba(157, 78, 221, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(157, 78, 221, 0.4);
    text-align: center;
    transition: all 0.3s ease;
}

.attr-card:hover {
    transform: translateY(-10px);
    border-color: #9d4edd;
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.4);
}

.attr-icon { font-size: 4rem; margin-bottom: 1rem; }

.attr-card h3 {
    color: #c77dff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.philosophy { margin: 4rem 0; }

.philosophy-content {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(199, 125, 255, 0.1));
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid #9d4edd;
}

.philosophy-content h2 {
    font-family: 'Cinzel', serif;
    color: #c77dff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.philosophy-content p { margin-bottom: 1.5rem; }

.philosophy-points {
    list-style: none;
    margin: 2rem 0;
}

.philosophy-points li {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
}

.invitation { margin: 4rem 0; text-align: center; }

.invitation-box {
    background: rgba(0, 0, 0, 0.6);
    padding: 4rem 3rem;
    border-radius: 20px;
    border: 3px solid #9d4edd;
    box-shadow: 0 0 40px rgba(157, 78, 221, 0.4);
}

.invitation-box h2 {
    font-family: 'Cinzel', serif;
    color: #c77dff;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.invitation-box p { font-size: 1.3rem; margin-bottom: 2rem; }

.invitation-btn {
    display: inline-block;
    background: linear-gradient(135deg, #9d4edd, #c77dff);
    color: #000;
    padding: 1.3rem 3.5rem;
    font-size: 1.3rem;
    font-weight: 900;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.invitation-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.6);
}

.page-footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 3px solid #9d4edd;
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.footer-col h4 {
    color: #c77dff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin: 0.7rem 0; }

.footer-col a {
    color: #e8d7ff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover { color: #c77dff; }

.footer-end {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(157, 78, 221, 0.3);
    color: #b8a0cc;
}

.gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.gate-overlay.hidden { display: none; }

.gate-box {
    background: linear-gradient(135deg, #1a0033, #0d001a);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    max-width: 550px;
    border: 3px solid #9d4edd;
    box-shadow: 0 0 50px rgba(157, 78, 221, 0.5);
}

.gate-symbol { font-size: 4rem; margin-bottom: 1rem; }

.gate-title {
    font-family: 'Cinzel', serif;
    color: #c77dff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.gate-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #e8d7ff;
}

.gate-message p { margin: 1rem 0; }

.gate-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.gate-yes, .gate-no {
    flex: 1;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
}

.gate-yes {
    background: linear-gradient(135deg, #9d4edd, #c77dff);
    color: #000;
}

.gate-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.6);
}

.gate-no {
    background: rgba(255, 255, 255, 0.1);
    color: #e8d7ff;
    border: 2px solid #666;
}

.play-intro {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(199, 125, 255, 0.1));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
    border: 3px solid #9d4edd;
}

.play-intro h1 { font-family: 'Cinzel', serif; font-size: 3rem; color: #c77dff; margin-bottom: 0.5rem; }

.play-guide { margin: 2rem 0; }

.guide-box {
    background: rgba(157, 78, 221, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(157, 78, 221, 0.4);
}

.guide-box h2 { color: #c77dff; margin-bottom: 2rem; font-size: 2rem; }

.guide-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.guide-point { display: flex; gap: 1rem; align-items: start; }
.point-symbol { font-size: 2.5rem; }

.play-zone { margin: 2rem 0; }

.zone-frame {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid #9d4edd;
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.4);
}

.zone-game {
    width: 100%;
    height: 770px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.play-hints { margin: 2rem 0; }

.hints-box {
    background: rgba(157, 78, 221, 0.2);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #9d4edd;
}

.hints-box h3 { color: #c77dff; margin-bottom: 1.5rem; font-size: 1.8rem; }

.hints-list { list-style: none; }

.hints-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.hints-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: #9d4edd;
    font-size: 1.3rem;
}

.doc-page { max-width: 950px; margin: 0 auto; }

.doc-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: #c77dff;
    text-align: center;
    margin-bottom: 1rem;
}

.doc-updated {
    text-align: center;
    color: #b8a0cc;
    margin-bottom: 3rem;
    font-style: italic;
}

.doc-section {
    background: rgba(157, 78, 221, 0.1);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    border-left: 5px solid #9d4edd;
}

.doc-section h2 { color: #c77dff; margin-bottom: 1rem; font-size: 1.7rem; }
.doc-section p { margin-bottom: 1rem; }

.doc-section.emphasis {
    background: rgba(157, 78, 221, 0.2);
    border: 3px solid #9d4edd;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    
    .navigation {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.97);
        width: 100%;
        padding: 2rem 0;
        gap: 0.5rem;
        transition: 0.3s;
    }
    
    .navigation.active { left: 0; }
    
    .banner-content h1 { font-size: 2.3rem; }
    .banner-desc { font-size: 1.1rem; }
    .banner-tags { flex-direction: column; align-items: center; }
    .gaming-frame, .zone-game { height: 520px; }
    .gate-actions { flex-direction: column; }
}
