* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-bg: #0f0f1e;
    --darker-bg: #1a1a2e;
    --electric-blue: #00d4ff;
    --deep-purple: #6f42c1;
    --light-purple: #9d5cd0;
    --cyber-pink: #ff006e;
    --white: #ffffff;
    --gray-text: #b0b0c3;
    --card-bg: #16213e;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--white);
    line-height: 1.6;
}

.access-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.98) 0%, rgba(26, 26, 46, 0.98) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(15px);
}

.access-screen.hidden {
    display: none;
}

.access-box {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--darker-bg) 100%);
    padding: 4rem 3.5rem;
    border-radius: 8px;
    max-width: 580px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 212, 255, 0.3);
    border: 2px solid var(--electric-blue);
    position: relative;
}

.access-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--electric-blue), var(--deep-purple));
    border-radius: 8px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

.access-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px var(--electric-blue); }
    50% { text-shadow: 0 0 40px var(--electric-blue); }
}

.access-box h2 {
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    color: var(--electric-blue);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.access-box p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray-text);
}

.access-controls {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
}

.access-grant,
.access-deny {
    padding: 1.2rem 2.5rem;
    font-family: 'Russo One', sans-serif;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.access-grant {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--deep-purple) 100%);
    color: white;
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

.access-grant:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.6);
}

.access-deny {
    background: #2a2a3e;
    color: var(--gray-text);
    border: 2px solid #3a3a4e;
}

.access-deny:hover {
    background: #3a3a4e;
}

.top-header {
    background: rgba(26, 26, 46, 0.95);
    padding: 1.2rem 0;
    box-shadow: 0 4px 30px rgba(0, 212, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--electric-blue);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section svg {
    height: 70px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--electric-blue);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Russo One', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    position: relative;
}

.nav-list a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--electric-blue);
}

.nav-list a:hover::before {
    width: 100%;
}

.hero-zone {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero-zone::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-main h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--light-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-main p {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--electric-blue);
    border-radius: 4px;
    font-family: 'Russo One', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.hero-graphic {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-pattern {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(111, 66, 193, 0.2) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: rotate 20s linear infinite;
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.5);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.info-zone,
.game-zone,
.protocol-zone,
.features-zone {
    padding: 5rem 2rem;
}

.info-zone h2,
.game-zone h2,
.protocol-zone h2,
.features-zone h2 {
    font-family: 'Russo One', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--electric-blue);
    letter-spacing: 3px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.info-module {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: transform 0.3s ease;
}

.info-module:hover {
    transform: translateY(-5px);
    border-color: var(--electric-blue);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.module-icon {
    font-size: 2.5rem;
}

.info-module h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.5rem;
    color: var(--electric-blue);
}

.info-module p {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.8;
}

.game-zone {
    background: var(--darker-bg);
}

.zone-header {
    text-align: center;
    margin-bottom: 3rem;
}

.zone-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-top: 1rem;
}

.game-window {
    margin: 0 auto;
    max-width: 100%;
    border: 3px solid var(--electric-blue);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 60px rgba(0, 212, 255, 0.3);
}

.game-screen {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.game-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.metric {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    text-align: center;
}

.metric-label {
    display: block;
    font-family: 'Russo One', sans-serif;
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.metric-value {
    display: block;
    font-family: 'Russo One', sans-serif;
    font-size: 1.3rem;
    color: var(--electric-blue);
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.protocol-card {
    padding: 3rem 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.3);
    border: 2px solid;
    transition: transform 0.3s ease;
}

.protocol-card:hover {
    transform: translateY(-10px);
}

.dark-blue {
    background: linear-gradient(135deg, #0d2d4f 0%, #1a3d5f 100%);
    border-color: var(--electric-blue);
}

.electric-blue {
    background: linear-gradient(135deg, #005f7f 0%, #007d9f 100%);
    border-color: var(--electric-blue);
}

.purple {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--light-purple) 100%);
    border-color: var(--light-purple);
}

.protocol-symbol {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.protocol-card h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.protocol-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.features-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-cell {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: transform 0.3s ease;
}

.feature-cell:hover {
    transform: scale(1.05);
    border-color: var(--electric-blue);
}

.feature-hex {
    font-family: 'Russo One', sans-serif;
    font-size: 3rem;
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.feature-cell h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-cell p {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.6;
}

.bottom-section {
    background: var(--dark-bg);
    padding: 4rem 2rem 1.5rem;
    margin-top: 5rem;
    border-top: 2px solid var(--electric-blue);
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-block h4 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.3rem;
    color: var(--electric-blue);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.footer-block p {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--electric-blue);
}

.footer-legal {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--gray-text);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--darker-bg);
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        padding: 2rem;
        border: 2px solid var(--electric-blue);
        border-top: none;
        border-radius: 0 0 0 8px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        gap: 1.5rem;
    }

    .nav-list.active {
        transform: translateX(0);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(9px, -9px);
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-main h1 {
        font-size: 2.5rem;
    }

    .hero-graphic {
        height: 250px;
    }

    .hex-pattern {
        width: 200px;
        height: 200px;
    }

    .game-screen {
        height: 500px;
    }

    .game-metrics {
        grid-template-columns: 1fr;
    }

    .access-box {
        margin: 1.5rem;
        padding: 3rem 2rem;
    }

    .access-controls {
        flex-direction: column;
    }
}
