* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: #0f0f23;
    color: #e0e0e0;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Audiowide', cursive;
    letter-spacing: 2px;
}

/* Portal Gate */
.portal-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1e1e3f 0%, #0f0f23 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.portal-gate.hidden {
    display: none;
}

.portal-content {
    background: linear-gradient(135deg, #1e1e3f 0%, #2d2d5f 100%);
    border: 2px solid #7c3aed;
    padding: 3.5rem 3rem;
    border-radius: 8px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.5), inset 0 0 20px rgba(124, 58, 237, 0.2);
}

.portal-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.portal-content h2 {
    font-size: 2rem;
    color: #7c3aed;
    margin-bottom: 1.5rem;
}

.portal-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #c0c0c0;
}

.portal-subtext {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 2.5rem;
}

.portal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.access-btn {
    padding: 1.2rem 2.5rem;
    border: 2px solid;
    background: transparent;
    font-family: 'Audiowide', cursive;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.access-btn.grant {
    border-color: #7c3aed;
    color: #7c3aed;
}

.access-btn.grant:hover {
    background: #7c3aed;
    color: #fff;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
}

.access-btn.deny {
    border-color: #ef4444;
    color: #ef4444;
}

.access-btn.deny:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Header */
.main-header {
    background: rgba(30, 30, 63, 0.95);
    border-bottom: 2px solid #7c3aed;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(124, 58, 237, 0.3);
}

.header-wrap {
    max-width: 100%;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-id {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-title {
    font-family: 'Audiowide', cursive;
    font-size: 1.6rem;
    color: #7c3aed;
    letter-spacing: 3px;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-family: 'Audiowide', cursive;
    font-size: 0.85rem;
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 1px;
    position: relative;
}

.main-nav a:hover {
    color: #7c3aed;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7c3aed;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-trigger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-trigger span {
    width: 26px;
    height: 2px;
    background: #7c3aed;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-drawer {
    display: none;
    flex-direction: column;
    background: #1e1e3f;
    border-bottom: 2px solid #7c3aed;
}

.mobile-drawer a {
    font-family: 'Audiowide', cursive;
    padding: 1.2rem 3rem;
    color: #c0c0c0;
    text-decoration: none;
    letter-spacing: 1px;
    border-bottom: 1px solid #2d2d5f;
    transition: all 0.3s ease;
}

.mobile-drawer a:hover {
    background: #2d2d5f;
    color: #7c3aed;
}

.mobile-drawer.active {
    display: flex;
}

/* Content Area */
.content-area {
    max-width: 100%;
}

/* Hero Portal */
.hero-portal {
    background: linear-gradient(135deg, #1e1e3f 0%, #0f0f23 100%);
    padding: 7rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-portal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-inner h1 {
    font-size: 4.5rem;
    color: #7c3aed;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.8);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #c0c0c0;
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.hero-desc {
    font-size: 1.15rem;
    max-width: 850px;
    margin: 0 auto 3rem;
    color: #a0a0a0;
    line-height: 1.9;
}

.portal-link {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: transparent;
    color: #7c3aed;
    border: 2px solid #7c3aed;
    text-decoration: none;
    font-family: 'Audiowide', cursive;
    font-size: 1.1rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.portal-link:hover {
    background: #7c3aed;
    color: #fff;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
}

/* Core Features */
.core-features {
    padding: 5rem 3rem;
    background: #1a1a2e;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-module {
    background: linear-gradient(135deg, #1e1e3f 0%, #2d2d5f 100%);
    border: 1px solid #7c3aed;
    padding: 3rem 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-module:hover {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
    transform: translateY(-8px);
}

.module-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.feature-module h3 {
    font-size: 1.6rem;
    color: #7c3aed;
    margin-bottom: 1.2rem;
}

.feature-module p {
    color: #c0c0c0;
    line-height: 1.8;
}

/* Critical Data */
.critical-data {
    padding: 5rem 3rem;
    background: #0f0f23;
}

.data-container {
    max-width: 1400px;
    margin: 0 auto;
}

.data-container h2 {
    text-align: center;
    font-size: 3rem;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.data-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 3.5rem;
}

.data-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.data-mod {
    background: #1e1e3f;
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.data-mod.alert-red {
    border-color: #ef4444;
}

.data-mod.alert-blue {
    border-color: #3b82f6;
}

.data-mod.alert-purple {
    border-color: #7c3aed;
}

.data-mod h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #e0e0e0;
}

.data-mod p {
    color: #c0c0c0;
    line-height: 1.8;
}

/* Experience Zone */
.experience-zone {
    padding: 5rem 3rem;
    background: #1a1a2e;
}

.zone-container {
    max-width: 1400px;
    margin: 0 auto;
}

.zone-container h2 {
    text-align: center;
    font-size: 3rem;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.zone-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
}

.game-portal {
    background: #000;
    border: 2px solid #7c3aed;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.4);
    margin-bottom: 2rem;
}

.game-portal iframe {
    width: 100%;
    height: 600px;
    display: block;
}

.zone-notice {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1e1e3f 0%, #2d2d5f 100%);
    border: 1px solid #7c3aed;
    border-radius: 8px;
    color: #c0c0c0;
}

.zone-notice a {
    color: #7c3aed;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #7c3aed;
}

/* About Dimension */
.about-dimension {
    padding: 5rem 3rem;
    background: #0f0f23;
}

.dimension-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.dimension-text h2 {
    font-size: 2.5rem;
    color: #7c3aed;
    margin-bottom: 2rem;
}

.dimension-text p {
    margin-bottom: 1.8rem;
    color: #c0c0c0;
    font-size: 1.05rem;
    line-height: 1.9;
}

.dimension-specs {
    background: linear-gradient(135deg, #1e1e3f 0%, #2d2d5f 100%);
    border: 1px solid #7c3aed;
    padding: 3rem;
    border-radius: 8px;
}

.dimension-specs h3 {
    font-size: 1.8rem;
    color: #7c3aed;
    margin-bottom: 2rem;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-icon {
    color: #7c3aed;
    font-size: 1.3rem;
}

.spec-item span:last-child {
    color: #c0c0c0;
    font-size: 1.05rem;
}

/* Responsibility Protocol */
.responsibility-protocol {
    padding: 5rem 3rem;
    background: #1a1a2e;
}

.protocol-container {
    max-width: 1400px;
    margin: 0 auto;
}

.protocol-container h2 {
    text-align: center;
    font-size: 3rem;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.protocol-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 3.5rem;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.protocol-box {
    background: linear-gradient(135deg, #1e1e3f 0%, #2d2d5f 100%);
    border: 1px solid #7c3aed;
    padding: 2.5rem;
    border-radius: 8px;
}

.protocol-box h4 {
    font-size: 1.4rem;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.protocol-box p {
    color: #c0c0c0;
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background: #0a0a15;
    border-top: 2px solid #7c3aed;
    padding: 3.5rem 3rem 1.5rem;
}

.footer-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    font-family: 'Audiowide', cursive;
    color: #7c3aed;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.footer-section p {
    color: #a0a0a0;
    line-height: 1.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #7c3aed;
}

.footer-base {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1e1e3f;
    color: #888;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .menu-trigger {
        display: flex;
    }
    
    .header-wrap {
        padding: 1rem 1.5rem;
    }
    
    .hero-inner h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-portal {
        padding: 4.5rem 1.5rem;
    }
    
    .core-features,
    .critical-data,
    .experience-zone,
    .about-dimension,
    .responsibility-protocol {
        padding: 3.5rem 1.5rem;
    }
    
    .dimension-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .game-portal iframe {
        height: 400px;
    }
    
    .portal-content {
        padding: 2.5rem 2rem;
        margin: 1rem;
    }
}
