/* DE-BLOCKS — Neon Arcade Landing Page */

:root {
    --neon-cyan: #00ffff;
    --neon-magenta: #ff00cc;
    --neon-green: #00ff66;
    --neon-yellow: #ffff00;
    --neon-orange: #ff8000;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.3);
    --font-mono: 'Share Tech Mono', 'Courier New', monospace;
    --font-display: 'Orbitron', var(--font-mono);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Animated Background ── */

.bg-grid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    animation: floatGlow 12s ease-in-out infinite alternate;
}

.bg-glow--cyan { background: var(--neon-cyan); top: -200px; left: -100px; }
.bg-glow--magenta { background: var(--neon-magenta); bottom: -200px; right: -100px; animation-delay: -6s; }
.bg-glow--green { background: var(--neon-green); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -3s; opacity: 0.08; }

@keyframes floatGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 30px); }
}

/* ── Container ── */

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ── Header / Nav ── */

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--neon-cyan);
    text-decoration: none;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    letter-spacing: 2px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav__links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav__links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

.lang-switcher {
    position: relative;
}

.lang-switcher__btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.lang-switcher__btn:hover {
    border-color: var(--neon-cyan);
}

.lang-switcher__menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
    min-width: 160px;
}

.lang-switcher__menu.active {
    display: block;
}

.lang-switcher__menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}

.lang-switcher__menu a:hover,
.lang-switcher__menu a.active {
    background: rgba(0, 255, 255, 0.08);
    color: var(--neon-cyan);
}

/* ── Hero Section ── */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero__content {
    max-width: 700px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow:
        0 0 40px rgba(0, 255, 255, 0.6),
        0 0 80px rgba(0, 255, 255, 0.3),
        0 0 4px rgba(0, 255, 255, 0.8);
    letter-spacing: 4px;
    margin-bottom: 16px;
    animation: titlePulse 3s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    0% { text-shadow: 0 0 40px rgba(0, 255, 255, 0.6), 0 0 80px rgba(0, 255, 255, 0.3); }
    100% { text-shadow: 0 0 60px rgba(0, 255, 255, 0.8), 0 0 120px rgba(0, 255, 255, 0.4); }
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--neon-magenta);
    text-shadow: 0 0 12px rgba(255, 0, 204, 0.5);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero__description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: transparent;
    border: 2px solid var(--neon-cyan);
    border-radius: 14px;
    color: var(--neon-cyan);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.hero__cta:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4), inset 0 0 30px rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero__cta svg {
    width: 24px;
    height: 24px;
}

/* ── Features Section ── */

.features {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.section-title--cyan { color: var(--neon-cyan); text-shadow: 0 0 30px rgba(0, 255, 255, 0.4); }
.section-title--magenta { color: var(--neon-magenta); text-shadow: 0 0 30px rgba(255, 0, 204, 0.4); }
.section-title--green { color: var(--neon-green); text-shadow: 0 0 30px rgba(0, 255, 102, 0.4); }

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:nth-child(1) { border-color: rgba(0, 255, 255, 0.15); }
.feature-card:nth-child(1):hover { border-color: rgba(0, 255, 255, 0.4); box-shadow: 0 0 30px rgba(0, 255, 255, 0.1); }
.feature-card:nth-child(2) { border-color: rgba(255, 0, 204, 0.15); }
.feature-card:nth-child(2):hover { border-color: rgba(255, 0, 204, 0.4); box-shadow: 0 0 30px rgba(255, 0, 204, 0.1); }
.feature-card:nth-child(3) { border-color: rgba(0, 255, 102, 0.15); }
.feature-card:nth-child(3):hover { border-color: rgba(0, 255, 102, 0.4); box-shadow: 0 0 30px rgba(0, 255, 102, 0.1); }
.feature-card:nth-child(4) { border-color: rgba(255, 255, 0, 0.15); }
.feature-card:nth-child(4):hover { border-color: rgba(255, 255, 0, 0.4); box-shadow: 0 0 30px rgba(255, 255, 0, 0.1); }
.feature-card:nth-child(5) { border-color: rgba(255, 128, 0, 0.15); }
.feature-card:nth-child(5):hover { border-color: rgba(255, 128, 0, 0.4); box-shadow: 0 0 30px rgba(255, 128, 0, 0.1); }
.feature-card:nth-child(6) { border-color: rgba(0, 255, 255, 0.15); }
.feature-card:nth-child(6):hover { border-color: rgba(0, 255, 255, 0.4); box-shadow: 0 0 30px rgba(0, 255, 255, 0.1); }

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.feature-card:nth-child(1) .feature-card__title { color: var(--neon-cyan); }
.feature-card:nth-child(2) .feature-card__title { color: var(--neon-magenta); }
.feature-card:nth-child(3) .feature-card__title { color: var(--neon-green); }
.feature-card:nth-child(4) .feature-card__title { color: var(--neon-yellow); }
.feature-card:nth-child(5) .feature-card__title { color: var(--neon-orange); }
.feature-card:nth-child(6) .feature-card__title { color: var(--neon-cyan); }

.feature-card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Levels Section ── */

.levels {
    padding: 100px 0;
}

.levels__timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.level-block {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 24px 20px;
    border-left: 3px solid;
    transition: transform 0.3s;
}

.level-block:hover {
    transform: translateX(4px);
}

.level-block--cyan { border-color: var(--neon-cyan); }
.level-block--magenta { border-color: var(--neon-magenta); }
.level-block--orange { border-color: var(--neon-orange); }
.level-block--green { border-color: var(--neon-green); }

.level-block__range {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.level-block--cyan .level-block__range { color: var(--neon-cyan); }
.level-block--magenta .level-block__range { color: var(--neon-magenta); }
.level-block--orange .level-block__range { color: var(--neon-orange); }
.level-block--green .level-block__range { color: var(--neon-green); }

.level-block__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.level-block__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── CTA Section ── */

.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-section__box {
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section__text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* ── Footer ── */

.footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    list-style: none;
}

.footer__links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--neon-cyan);
}

.footer__copy {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ── Legal Pages ── */

.legal {
    padding: 120px 0 80px;
}

.legal h1 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.legal__date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 48px;
    display: block;
}

.legal h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.legal p,
.legal ul {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal ul {
    padding-left: 24px;
}

.legal li {
    margin-bottom: 8px;
}

.legal a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: text-shadow 0.3s;
}

.legal a:hover {
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

.legal__card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px 36px;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .nav__links { display: none; }

    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero__title { letter-spacing: 2px; }
    .hero__cta { padding: 14px 28px; font-size: 0.95rem; }

    .features__grid { grid-template-columns: 1fr; }
    .levels__timeline { grid-template-columns: 1fr; }

    .cta-section__box { padding: 40px 24px; }

    .legal__card { padding: 28px 20px; }

    .footer__links { gap: 16px; }
}

/* ── Animations ── */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
