* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    color: #00ff9f;
    line-height: 1.7;
    min-height: 100vh;
}

.page-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
    background: linear-gradient(90deg, #0a0e27 0%, #1a1f3a 100%);
    border-bottom: 2px solid #00ff9f;
    box-shadow: 0 4px 20px rgba(0, 255, 159, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.3rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-id {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #00ff9f;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(0, 255, 159, 0.7);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #00ff9f;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    border: 2px solid #00ff9f;
    background: rgba(0, 255, 159, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 159, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: rgba(0, 255, 159, 0.1);
    border: 2px solid #00ff9f;
    padding: 0.6rem;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #00ff9f;
    transition: 0.3s;
}

.content-area {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}

.hero-panel {
    text-align: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(0, 255, 159, 0.1) 0%, rgba(26, 31, 58, 0.5) 100%);
    border: 2px solid #00ff9f;
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: 0 0 40px rgba(0, 255, 159, 0.3);
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #00ff9f;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(0, 255, 159, 0.7);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #7fffd4;
    letter-spacing: 1px;
}

.status-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.status-panel {
    padding: 2.5rem;
    border: 2px solid;
    background: rgba(10, 14, 39, 0.7);
    text-align: center;
    transition: all 0.3s ease;
}

.status-panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 255, 159, 0.4);
}

.status-panel.green {
    border-color: #00ff9f;
}

.status-panel.cyan {
    border-color: #00d4ff;
}

.status-panel.amber {
    border-color: #ffd700;
}

.panel-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.status-panel h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.status-panel p {
    color: #b0e0d0;
    line-height: 1.7;
}

.info-block {
    background: rgba(10, 14, 39, 0.7);
    border: 2px solid #00ff9f;
    border-left: 5px solid #00ff9f;
    padding: 3rem;
    margin: 3rem 0;
}

.info-block h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #00ff9f;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.info-content p {
    color: #b0e0d0;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.game-zone {
    margin: 4rem 0;
}

.game-zone h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #00ff9f;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 255, 159, 0.6);
}

.game-display {
    background: #000;
    border: 3px solid #00ff9f;
    padding: 1.5rem;
    box-shadow: 0 0 40px rgba(0, 255, 159, 0.4);
}

.game-embed {
    width: 100%;
    height: 650px;
    border: none;
}

.game-status {
    text-align: center;
    margin-top: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #00ff9f;
    letter-spacing: 1px;
}

.feature-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.matrix-item {
    background: rgba(10, 14, 39, 0.7);
    border: 2px solid #00ff9f;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.matrix-item:hover {
    background: rgba(0, 255, 159, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 159, 0.4);
}

.matrix-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.matrix-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ff9f;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.matrix-item p {
    color: #b0e0d0;
}

.responsibility {
    background: linear-gradient(135deg, rgba(0, 255, 159, 0.1) 0%, rgba(10, 14, 39, 0.8) 100%);
    border-color: #ffd700;
}

.play-header {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(10, 14, 39, 0.7);
    border: 2px solid #00ff9f;
    margin-bottom: 3rem;
}

.play-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #00ff9f;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.play-header p {
    font-size: 1.2rem;
    color: #7fffd4;
}

.play-zone {
    margin: 3rem 0;
}

.play-display {
    background: #000;
    border: 3px solid #00ff9f;
    padding: 1.5rem;
    box-shadow: 0 0 40px rgba(0, 255, 159, 0.4);
}

.play-embed {
    width: 100%;
    height: 750px;
    border: none;
}

.operation-guide {
    margin: 4rem 0;
}

.operation-guide h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #00ff9f;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.guide-panel {
    background: rgba(10, 14, 39, 0.7);
    border: 2px solid #00d4ff;
    border-left: 5px solid #00d4ff;
    padding: 2rem;
}

.guide-panel h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.guide-panel p {
    color: #b0e0d0;
}

.optimization-tips {
    margin: 4rem 0;
}

.optimization-tips h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #00ff9f;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.tips-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-module {
    background: rgba(0, 255, 159, 0.1);
    border: 1px solid #00ff9f;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.05rem;
    color: #b0e0d0;
}

.doc-container {
    background: rgba(10, 14, 39, 0.7);
    border: 2px solid #00ff9f;
    padding: 3rem;
    margin: 2rem 0;
}

.doc-container h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #00ff9f;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.doc-container h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00ff9f;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.doc-container p {
    color: #b0e0d0;
    margin-bottom: 1.2rem;
    line-height: 1.9;
}

.doc-container ul {
    color: #b0e0d0;
    margin: 1rem 0 1rem 2.5rem;
    line-height: 1.9;
}

.doc-timestamp {
    font-style: italic;
    color: #7fffd4;
    margin-bottom: 2rem;
}

.site-footer {
    background: linear-gradient(90deg, #0a0e27 0%, #1a1f3a 100%);
    border-top: 2px solid #00ff9f;
    padding: 3rem 2rem 1rem;
    margin-top: auto;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ff9f;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-col p {
    color: #7fffd4;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin: 0.5rem 0;
}

.footer-links a {
    color: #7fffd4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00ff9f;
}

.footer-bar {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 159, 0.3);
    color: #7fffd4;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.access-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.access-gate.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gate-panel {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    border: 3px solid #00ff9f;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 60px rgba(0, 255, 159, 0.6);
}

.gate-symbol {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.gate-panel h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #00ff9f;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 255, 159, 0.7);
}

.gate-panel p {
    color: #7fffd4;
    font-size: 1.1rem;
    margin: 1rem 0;
}

.gate-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.gate-controls button {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-grant {
    background: #00ff9f;
    color: #0a0e27;
    border-color: #00ff9f;
}

.btn-grant:hover {
    background: transparent;
    color: #00ff9f;
    box-shadow: 0 0 20px rgba(0, 255, 159, 0.6);
}

.btn-deny {
    background: transparent;
    color: #00ff9f;
    border-color: #00ff9f;
}

.btn-deny:hover {
    background: rgba(0, 255, 159, 0.1);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #0a0e27;
        width: 100%;
        padding: 2rem;
        transition: 0.3s;
        border-top: 2px solid #00ff9f;
        box-shadow: 0 10px 30px rgba(0, 255, 159, 0.3);
    }

    .main-nav.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .game-embed {
        height: 500px;
    }

    .play-embed {
        height: 550px;
    }

    .gate-panel {
        margin: 1rem;
        padding: 2rem;
    }

    .gate-controls {
        flex-direction: column;
    }

    .content-area {
        padding: 2rem 1rem;
    }

    .info-block,
    .doc-container {
        padding: 1.5rem;
    }
}
