:root {
    --bg-dark: #0a0a0f;
    --bg-card: #0d0d14;
    --bg-card-hover: #14141f;
    --text-primary: #e8e8ed;
    --text-muted: #8a8a9a;
    --neon-cyan: #00f5ff;
    --neon-magenta: #ff00aa;
    --neon-yellow: #fff700;
    --neon-green: #00ff88;
    --neon-gold: #ffd700;
    --border-subtle: rgba(0, 245, 255, 0.12);
    --shadow-glow: 0 0 30px rgba(0, 245, 255, 0.3);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.35s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 1000;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.9rem 0;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.92), transparent);
    backdrop-filter: blur(12px);
    transition: background var(--transition-medium);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.logo-accent {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.lang-switch {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    overflow: hidden;
}

.lang-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    background: transparent;
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.lang-btn.active {
    background: var(--neon-cyan);
    color: var(--bg-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neon-cyan);
    transition: var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.btn-nav {
    color: var(--neon-cyan) !important;
    padding: 0.5rem 1rem;
    border: 1px solid var(--neon-cyan);
    border-radius: 6px;
}

.btn-nav:hover {
    background: rgba(0, 245, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1514565131-fce0801e5785?w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(10, 10, 15, 0.6) 50%, rgba(10, 10, 15, 0.85) 100%);
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 245, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--neon-cyan);
    top: -200px;
    right: -100px;
    animation: pulse-glow 6s ease-in-out infinite;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--neon-magenta);
    bottom: -150px;
    left: -100px;
    animation: pulse-glow 6s ease-in-out infinite 3s;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(1.08); }
}

.hero-content {
    position: relative;
    text-align: center;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--neon-cyan) 50%, var(--neon-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.3));
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-medium);
    letter-spacing: 0.05em;
}

.btn-primary {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
}

.btn-primary:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
    text-shadow: 0 0 10px var(--neon-cyan);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--neon-cyan);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 2px;
    animation: scroll-dot 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll-dot {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 24px; }
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    margin: 1rem auto 0;
}

/* About */
.about {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 245, 255, 0.02) 50%, transparent 100%);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?w=800&q=80');
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.1);
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    margin: 1rem 0 0 0;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
}

/* Rooms */
.rooms {
    background: var(--bg-dark);
}

.rooms-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
}

.room-card {
    position: relative;
    border-radius: 12px;
    overflow: visible;
}

.room-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    padding: 1px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta), var(--neon-cyan));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    transition: opacity var(--transition-medium);
}

.room-card:hover::before {
    opacity: 1;
    animation: gradient-shift 2s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.room-card-inner {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    transition: all var(--transition-medium);
}

.room-card:hover .room-card-inner {
    background: var(--bg-card-hover);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.15);
    transform: translateY(-4px);
}

.room-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.room-rank {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-yellow);
    opacity: 0.9;
}

.room-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neon-cyan);
}

.room-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-grow: 1;
    line-height: 1.6;
}

.btn-card {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(255, 0, 170, 0.1));
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

.btn-card:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.room-badge {
    font-size: 0.75rem;
    color: var(--neon-green);
    opacity: 0.95;
}

/* Taxi Gallery */
.taxi-gallery {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 215, 0, 0.02) 50%, transparent 100%);
}

.gallery-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 16/10;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-medium);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.gallery-1 {
    background-image: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?w=800&q=80');
}

.gallery-2 {
    background-image: url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?w=800&q=80');
}

.gallery-3 {
    background-image: url('https://images.unsplash.com/photo-1519501025264-65ba15a82390?w=800&q=80');
}

/* How to join */
.how {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 0, 170, 0.02) 50%, transparent 100%);
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
}

.step {
    flex: 1 1 200px;
    max-width: 240px;
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--neon-magenta);
    color: var(--neon-magenta);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.step-arrow {
    display: none;
    color: var(--neon-magenta);
    font-size: 1.5rem;
    align-self: center;
}

@media (min-width: 768px) {
    .step-arrow {
        display: block;
    }
}

/* Form */
.form-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 245, 255, 0.02) 100%);
}

.join-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input {
    padding: 0.9rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-group input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.join-form .btn {
    align-self: center;
}

.form-success {
    max-width: 400px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    text-align: center;
}

.form-success p {
    color: var(--neon-green);
}

.form-success[hidden] {
    display: none !important;
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-legal {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-height: 280px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .lang-switch {
        order: 1;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right var(--transition-medium);
        border-left: 1px solid var(--border-subtle);
    }

    .nav-links.active {
        right: 0;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
    }
}
