/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: #000000;
    color: #00FF41;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Matrix Background Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(0deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    animation: matrixMove 20s linear infinite;
}

@keyframes matrixMove {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: #0a0a0a;
    border: 3px solid #00FF41;
    padding: 3rem 2.5rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.5), inset 0 0 30px rgba(0, 255, 65, 0.1);
    animation: modalGlow 2s ease-in-out infinite;
}

@keyframes modalGlow {
    0%, 100% { box-shadow: 0 0 50px rgba(0, 255, 65, 0.5), inset 0 0 30px rgba(0, 255, 65, 0.1); }
    50% { box-shadow: 0 0 70px rgba(0, 255, 65, 0.7), inset 0 0 40px rgba(0, 255, 65, 0.15); }
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #00FF41;
    text-shadow: 0 0 20px #00FF41;
}

.age-modal-content h2 {
    color: #00FF41;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #00FF41;
}

.age-modal-content p {
    color: #00FF41;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.age-disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
}

.btn-access, .btn-deny {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #00FF41;
    background: transparent;
    color: #00FF41;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-access:hover {
    background: #00FF41;
    color: #000;
    box-shadow: 0 0 20px #00FF41;
}

.btn-deny:hover {
    border-color: #FF0000;
    color: #FF0000;
    box-shadow: 0 0 20px #FF0000;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid #00FF41;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 30px rgba(0, 255, 65, 0.3);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo span {
    font-size: 1.8rem;
    font-weight: 900;
    color: #00FF41;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #00FF41;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    color: #00FF41;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 2px;
}

.nav-menu a:hover {
    border-color: #00FF41;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.nav-menu a.active {
    background: rgba(0, 255, 65, 0.2);
    border-color: #00FF41;
}

.menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-btn span {
    width: 28px;
    height: 3px;
    background: #00FF41;
    margin: 3px 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px #00FF41;
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Banner */
.hero-banner {
    padding: 4rem 0;
    text-align: center;
}

.hero-grid h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #00FF41;
    text-shadow: 0 0 20px #00FF41;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch-1 2s infinite;
    color: #00FF41;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 2s infinite;
    color: #00FFFF;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

.hero-tagline {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #00FF41;
    opacity: 0.8;
    letter-spacing: 3px;
}

.cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 2px solid #00FF41;
    background: transparent;
    color: #00FF41;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-btn:hover {
    background: #00FF41;
    color: #000;
    box-shadow: 0 0 30px #00FF41;
}

/* Page Header */
.page-header {
    padding: 3rem 0;
    text-align: center;
    border-bottom: 2px solid #00FF41;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #00FF41;
    text-shadow: 0 0 20px #00FF41;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* System Info */
.system-info {
    margin-bottom: 4rem;
}

.info-panel {
    background: rgba(0, 20, 0, 0.8);
    border: 2px solid #00FF41;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #00FF41;
    margin-bottom: 1.5rem;
}

.panel-title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.status-indicator {
    color: #00FF41;
    font-size: 0.9rem;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.panel-content p {
    color: #00FF41;
    margin-bottom: 1.5rem;
    opacity: 0.85;
    line-height: 1.8;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #00FF41;
    text-shadow: 0 0 15px #00FF41;
    padding-bottom: 1rem;
    border-bottom: 2px solid #00FF41;
}

/* Protocols */
.protocols {
    margin-bottom: 4rem;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.protocol-card {
    background: rgba(0, 20, 0, 0.6);
    border: 2px solid #00FF41;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.protocol-card:hover {
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
    transform: translateY(-5px);
}

.card-corner {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-top: 4px solid #00FFFF;
    border-right: 4px solid #00FFFF;
}

.protocol-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #00FF41;
    text-shadow: 0 0 10px #00FF41;
}

.protocol-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #00FF41;
    letter-spacing: 2px;
}

.protocol-card p {
    color: #00FF41;
    opacity: 0.85;
    line-height: 1.8;
}

/* Game Terminal */
.game-terminal {
    margin-bottom: 4rem;
}

.terminal-wrapper {
    background: rgba(0, 20, 0, 0.8);
    border: 2px solid #00FF41;
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.2);
}

.terminal-header {
    background: rgba(0, 255, 65, 0.1);
    padding: 0.75rem 1.5rem;
    border-bottom: 2px solid #00FF41;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.terminal-status {
    color: #00FFFF;
    animation: blink 2s infinite;
}

.terminal-screen {
    padding: 1.5rem;
    background: #000;
}

.terminal-screen iframe {
    width: 100%;
    height: 650px;
    border: 1px solid #00FF41;
}

.terminal-footer {
    background: rgba(0, 255, 65, 0.1);
    padding: 0.75rem 1.5rem;
    border-top: 2px solid #00FF41;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Features */
.features {
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-block {
    background: rgba(0, 20, 0, 0.6);
    border: 1px solid #00FF41;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-block:hover {
    background: rgba(0, 255, 65, 0.1);
    border-width: 2px;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.feature-hex {
    font-size: 3rem;
    color: #00FF41;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #00FF41;
}

.feature-block h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #00FF41;
    letter-spacing: 2px;
}

.feature-block p {
    color: #00FF41;
    opacity: 0.8;
    line-height: 1.8;
}

/* CTA Terminal */
.cta-terminal {
    margin-bottom: 4rem;
}

.cta-box {
    background: rgba(0, 255, 65, 0.05);
    border: 3px solid #00FF41;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.3);
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #00FF41;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px #00FF41;
}

.cta-box p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.terminal-btn {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    border: 2px solid #00FF41;
    background: transparent;
    color: #00FF41;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.terminal-btn:hover {
    background: #00FF41;
    color: #000;
    box-shadow: 0 0 40px #00FF41;
}

/* System Brief */
.system-brief {
    margin-bottom: 3rem;
}

.brief-panel {
    background: rgba(0, 20, 0, 0.8);
    border: 2px solid #00FF41;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.brief-panel h3 {
    color: #00FFFF;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.specs-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 255, 65, 0.3);
}

.spec-label {
    color: #00FFFF;
    font-weight: 600;
}

.spec-value {
    color: #00FF41;
    opacity: 0.9;
}

/* Notice Panel */
.notice-panel {
    margin-bottom: 3rem;
}

.notice-box {
    background: rgba(255, 200, 0, 0.05);
    border: 2px solid #FFCC00;
    padding: 2.5rem;
}

.notice-header {
    color: #FFCC00;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.notice-box h3 {
    color: #FFCC00;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.notice-box p {
    color: #00FF41;
    opacity: 0.9;
    line-height: 1.9;
}

/* Legal Document */
.legal-doc {
    background: rgba(0, 20, 0, 0.6);
    border: 2px solid #00FF41;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.doc-section {
    margin-bottom: 3rem;
}

.doc-section:last-child {
    margin-bottom: 0;
}

.doc-section h2 {
    color: #00FFFF;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.doc-section p {
    color: #00FF41;
    opacity: 0.9;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.doc-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.doc-section li {
    color: #00FF41;
    opacity: 0.9;
    line-height: 1.9;
    margin-bottom: 0.5rem;
}

.doc-section.critical {
    background: rgba(255, 0, 0, 0.05);
    border: 2px solid #FF0000;
    padding: 2rem;
    margin-bottom: 2rem;
}

.doc-section.critical h2 {
    color: #FF0000;
}

/* Footer */
.footer {
    background: rgba(0, 20, 0, 0.95);
    border-top: 2px solid #00FF41;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
    box-shadow: 0 -5px 30px rgba(0, 255, 65, 0.2);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-block h4 {
    color: #00FFFF;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-block p {
    color: #00FF41;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-block ul {
    list-style: none;
}

.footer-block li {
    margin-bottom: 0.75rem;
}

.footer-block a {
    color: #00FF41;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-block a:hover {
    opacity: 1;
    text-shadow: 0 0 10px #00FF41;
}

.footer-base {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 65, 0.3);
    text-align: center;
    color: #00FF41;
    opacity: 0.7;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        border-top: 2px solid #00FF41;
        padding: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-btn {
        display: flex;
    }

    .hero-grid h1 {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .terminal-screen iframe {
        height: 450px;
    }

    .cta-box {
        padding: 3rem 2rem;
    }

    .cta-box h2 {
        font-size: 2.2rem;
    }

    .main-container {
        padding: 2rem 1.5rem;
    }

    .legal-doc,
    .info-panel,
    .brief-panel {
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .protocol-grid,
    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
