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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%);
    color: #e9d5ff;
    line-height: 1.6;
}

.page-header {
    background: rgba(91, 33, 182, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 3px solid #A855F7;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #A855F7, #D946EF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.primary-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    color: #e9d5ff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.7rem 1.3rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active-item {
    background: linear-gradient(135deg, #A855F7, #7E22CE);
    color: #fff;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.5);
}

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

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #A855F7;
    border-radius: 3px;
    transition: 0.3s;
}

.overlay-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #5B21B6, #4c1d95);
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 2000;
    border-left: 3px solid #A855F7;
}

.overlay-nav.open {
    right: 0;
}

.close-overlay {
    background: #A855F7;
    border: none;
    font-size: 2.5rem;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    margin-bottom: 2rem;
    font-weight: 700;
}

.overlay-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.overlay-links a {
    color: #e9d5ff;
    text-decoration: none;
    font-weight: 700;
    padding: 1rem;
    border-radius: 10px;
    transition: 0.3s;
}

.overlay-links a:hover {
    background: rgba(168, 85, 247, 0.3);
}

.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-area {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(126, 34, 206, 0.2));
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 2px solid #A855F7;
}

.hero-area h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #A855F7, #D946EF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #c4b5fd;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-cards {
    margin-bottom: 3rem;
}

.about-card {
    background: rgba(168, 85, 247, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid #A855F7;
}

.about-card h2 {
    color: #A855F7;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-card p {
    color: #c4b5fd;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.principle-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.principle {
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid;
}

.principle.purple-principle {
    background: rgba(168, 85, 247, 0.1);
    border-color: #A855F7;
}

.principle.violet-principle {
    background: rgba(126, 34, 206, 0.1);
    border-color: #7E22CE;
}

.principle.magenta-principle {
    background: rgba(217, 70, 239, 0.1);
    border-color: #D946EF;
}

.principle-symbol {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
}

.principle h3 {
    color: #A855F7;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.principle p {
    color: #c4b5fd;
    line-height: 1.8;
}

.game-section {
    margin-bottom: 4rem;
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h2 {
    font-size: 2.5rem;
    color: #A855F7;
    margin-bottom: 1rem;
    font-weight: 700;
}

.game-header p {
    font-size: 1.1rem;
    color: #c4b5fd;
}

.game-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.5);
    border: 3px solid #A855F7;
}

.game-player {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.features-section {
    margin-bottom: 4rem;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #A855F7;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.feature-item {
    background: rgba(168, 85, 247, 0.08);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(168, 85, 247, 0.3);
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #A855F7;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-item p {
    color: #c4b5fd;
    line-height: 1.7;
}

.responsibility-area {
    background: rgba(168, 85, 247, 0.1);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid #A855F7;
    margin-bottom: 3rem;
}

.responsibility-area h2 {
    text-align: center;
    color: #A855F7;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.responsibility-text p {
    text-align: center;
    color: #c4b5fd;
    max-width: 900px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.responsibility-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.resp-card {
    background: rgba(91, 33, 182, 0.5);
    padding: 1.8rem;
    border-radius: 12px;
    border-left: 4px solid #A855F7;
}

.resp-card strong {
    color: #D946EF;
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.entry-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.gate-panel {
    background: linear-gradient(135deg, #5B21B6, #4c1d95);
    padding: 3rem;
    border-radius: 20px;
    max-width: 550px;
    text-align: center;
    border: 3px solid #A855F7;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.7);
}

.gate-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.gate-panel h2 {
    font-size: 2.2rem;
    color: #A855F7;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.gate-panel p {
    color: #c4b5fd;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.enter-btn,
.exit-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.enter-btn {
    background: linear-gradient(135deg, #A855F7, #7E22CE);
    color: #fff;
}

.enter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(168, 85, 247, 0.6);
}

.exit-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 2px solid #ef4444;
}

.exit-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

.main-footer {
    background: rgba(91, 33, 182, 0.8);
    border-top: 3px solid #A855F7;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

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

.footer-column h3 {
    color: #A855F7;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-column p {
    color: #c4b5fd;
    line-height: 1.7;
}

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

.footer-list li {
    margin-bottom: 0.7rem;
}

.footer-list a {
    color: #c4b5fd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #A855F7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(168, 85, 247, 0.3);
    color: #D946EF;
}

.play-intro {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.play-intro h1 {
    font-size: 2.8rem;
    color: #A855F7;
    margin-bottom: 1rem;
    font-weight: 900;
}

.play-lead {
    font-size: 1.3rem;
    color: #c4b5fd;
}

.gameplay-info {
    margin-bottom: 3rem;
}

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

.info-card {
    background: rgba(168, 85, 247, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #A855F7;
}

.info-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #A855F7;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card p {
    color: #c4b5fd;
    line-height: 1.7;
}

.play-notices {
    margin-top: 3rem;
    background: rgba(168, 85, 247, 0.08);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid #A855F7;
}

.play-notices h2 {
    text-align: center;
    color: #A855F7;
    margin-bottom: 2rem;
    font-weight: 700;
}

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

.notice-item {
    background: rgba(91, 33, 182, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #A855F7;
}

.notice-item strong {
    color: #D946EF;
    display: block;
    margin-bottom: 0.5rem;
}

.document-container {
    max-width: 1000px;
    margin: 0 auto;
}

.document-container h1 {
    font-size: 3rem;
    color: #A855F7;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.doc-date {
    text-align: center;
    color: #D946EF;
    margin-bottom: 3rem;
    font-style: italic;
}

.doc-section {
    background: rgba(168, 85, 247, 0.08);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #A855F7;
    margin-bottom: 2rem;
}

.doc-section h2 {
    color: #A855F7;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.doc-section p {
    color: #c4b5fd;
    line-height: 1.8;
}

.priority-notice {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(126, 34, 206, 0.2));
    padding: 2.5rem;
    border-radius: 15px;
    border: 3px solid #A855F7;
    margin-bottom: 2rem;
}

.priority-notice h2 {
    color: #D946EF;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.priority-notice p {
    color: #e9d5ff;
    line-height: 1.8;
    font-size: 1.05rem;
}

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

    .primary-nav {
        display: none;
    }

    .hero-area h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .game-player {
        height: 450px;
    }

    .gate-buttons {
        flex-direction: column;
    }

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