* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --tech-black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --cyber-cyan: #00ffff;
    --electric-blue: #0080ff;
    --neon-green: #39ff14;
    --steel-gray: #808080;
    --light-text: #e0e0e0;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: var(--tech-black);
    color: var(--light-text);
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 2px,
            rgba(0, 255, 255, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.main-header {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 2px solid var(--cyber-cyan);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.header-wrapper {
    max-width: 100%;
    padding: 1.8rem 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-svg {
    width: 55px;
    height: 55px;
}

.logo-name {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--cyber-cyan);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 10px var(--cyber-cyan);
}

.main-navigation {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.main-navigation a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.8rem 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 255, 255, 0.1);
    transition: width 0.3s;
    z-index: -1;
}

.main-navigation a:hover {
    color: var(--cyber-cyan);
    border-color: var(--cyber-cyan);
    box-shadow: 0 0 15px var(--cyber-cyan);
}

.main-navigation a:hover::before {
    width: 100%;
}

.menu-icon {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.icon-bar {
    width: 32px;
    height: 3px;
    background: var(--cyber-cyan);
    transition: all 0.3s;
    box-shadow: 0 0 5px var(--cyber-cyan);
}

.hero-section {
    padding: 7rem 7%;
    text-align: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.9));
    border-bottom: 3px solid var(--electric-blue);
}

.hero-section h1 {
    font-size: 5.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(90deg, var(--cyber-cyan), var(--electric-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.hero-description {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    color: var(--steel-gray);
    max-width: 1000px;
    margin: 0 auto 3rem;
    line-height: 2;
}

.tech-button {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: transparent;
    border: 3px solid var(--cyber-cyan);
    color: var(--cyber-cyan);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.tech-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--cyber-cyan);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.tech-button:hover {
    color: var(--tech-black);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
}

.tech-button:hover::before {
    width: 100%;
    height: 100%;
}

.section-block {
    padding: 6rem 7%;
    position: relative;
    z-index: 2;
    border-bottom: 2px solid rgba(0, 128, 255, 0.3);
}

.block-title {
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--electric-blue);
    text-shadow: 0 0 20px rgba(0, 128, 255, 0.5);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
}

.tech-card {
    padding: 3rem;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--electric-blue);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.tech-card:hover {
    border-color: var(--cyber-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
    transform: translateY(-8px);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card h3 {
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.tech-card p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    color: var(--steel-gray);
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

.game-container {
    width: 100%;
    background: rgba(26, 26, 26, 0.9);
    border: 3px solid var(--cyber-cyan);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
}

.game-container iframe {
    width: 100%;
    height: 850px;
    border: none;
    display: block;
}

.main-footer {
    padding: 4rem 7%;
    background: rgba(26, 26, 26, 0.95);
    border-top: 2px solid var(--cyber-cyan);
    position: relative;
    z-index: 2;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer-navigation {
    display: flex;
    gap: 3rem;
    list-style: none;
    flex-wrap: wrap;
}

.footer-navigation a {
    color: var(--steel-gray);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.footer-navigation a:hover {
    color: var(--cyber-cyan);
    text-shadow: 0 0 10px var(--cyber-cyan);
}

.legal-section {
    padding: 5rem 7%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.legal-section h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--cyber-cyan);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.legal-section h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--electric-blue);
}

.legal-section p, .legal-section ul {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    color: var(--steel-gray);
    margin-bottom: 1.5rem;
    line-height: 2;
}

.legal-section ul {
    margin-left: 3rem;
}

.legal-section li {
    margin-bottom: 1rem;
}

.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.age-gate.show {
    display: flex;
}

.gate-box {
    background: var(--dark-gray);
    padding: 4rem;
    border: 3px solid var(--cyber-cyan);
    text-align: center;
    max-width: 650px;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.6);
}

.gate-box h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--cyber-cyan);
    text-shadow: 0 0 20px var(--cyber-cyan);
}

.gate-box p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    color: var(--steel-gray);
    margin-bottom: 3rem;
    line-height: 2;
}

.gate-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.gate-button {
    padding: 1.3rem 3rem;
    border: 3px solid;
    background: transparent;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gate-button.yes {
    border-color: var(--cyber-cyan);
    color: var(--cyber-cyan);
}

.gate-button.yes:hover {
    background: var(--cyber-cyan);
    color: var(--tech-black);
    box-shadow: 0 0 30px var(--cyber-cyan);
}

.gate-button.no {
    border-color: var(--steel-gray);
    color: var(--steel-gray);
}

.gate-button.no:hover {
    background: var(--steel-gray);
    color: var(--tech-black);
}

@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 95px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 95px);
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 3rem 2rem;
        border-left: 2px solid var(--cyber-cyan);
        transition: right 0.4s ease;
        gap: 1.5rem;
    }

    .main-navigation.active {
        right: 0;
    }

    .hero-section h1 {
        font-size: 3.2rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }

    .block-title {
        font-size: 2.8rem;
    }

    .game-container iframe {
        height: 520px;
    }

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
