:root {
    --black: #050505;
    --lux-gold: #d4af77;
    --deep-gold: #b38b4d;
    --neon-gold: #f5d68c;
    --text-main: #ffffff;
    --text-dim: rgba(212, 175, 119, 0.78);
    --font-header: 'Syncopate', sans-serif;
    --font-body: 'Orbitron', sans-serif;
    --glow-color: rgba(212, 175, 119, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--black);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* HEADER */
.main-header {
    padding: 50px 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo-zone { text-align: center; }

.main-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: clamp(3.8rem, 8vw, 7.2rem);
    letter-spacing: -4px;
    background: linear-gradient(180deg, #fff 30%, var(--lux-gold) 70%, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px var(--neon-gold);
    line-height: 0.85;
}

.open-sea-link {
    display: block;
    margin-top: 8px;
    font-family: var(--font-header);
    font-size: 1.1rem;
    letter-spacing: 6px;
    color: var(--lux-gold);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.4s;
}

.open-sea-link:hover {
    opacity: 1;
    text-shadow: 0 0 20px var(--neon-gold);
    transform: scale(1.05);
}

.glitch-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--lux-gold), transparent);
    margin: 18px auto 0;
    width: 420px;
    max-width: 65%;
    box-shadow: 0 0 15px var(--neon-gold);
}

/* HERO VIDEO */
.featured-section {
    position: relative;
    max-width: 100%;
    margin-bottom: 60px;
    background: #050505;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
}

.featured-video {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: #050505;
    filter: brightness(0.82) contrast(1.12);
}

.video-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 14px;
    z-index: 20;
}

.video-control-btn {
    background: rgba(8, 6, 9, 0.85);
    border: 2px solid var(--lux-gold);
    color: var(--lux-gold);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 25px rgba(212, 175, 119, 0.4);
}

.video-control-btn:hover {
    background: var(--lux-gold);
    color: #050505;
    box-shadow: 0 0 40px var(--neon-gold);
    transform: scale(1.1);
}

.sound-btn { font-size: 1.8rem; }

/* LORE + остальное без изменений */
.lore-section { margin-bottom: 100px; }

.glass-info {
    padding: 90px 70px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(212,175,119,0.15);
    backdrop-filter: blur(22px);
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 4px;
}

.lore-text {
    font-size: 1.35rem;
    line-height: 1.85;
    letter-spacing: 1.2px;
    color: var(--text-dim);
}

.holo-text {
    font-family: var(--font-header);
    font-size: 2.1rem;
    color: var(--lux-gold);
    text-shadow: 0 0 25px var(--neon-gold);
    display: block;
    margin: 30px 0;
}

/* MANIFEST GRID */
.manifest-section { margin-bottom: 80px; }

.gifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
}

.gif-card {
    aspect-ratio: 1/1;
    border: 2px solid rgba(212,175,119,0.3);
    background: rgba(8,6,9,0.95);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
    box-shadow: 0 0 25px rgba(212,175,119,0.2);
    cursor: pointer;
}

.gif-card:hover {
    border-color: var(--lux-gold);
    box-shadow: 0 0 55px var(--glow-color);
    transform: scale(1.04) rotate(1deg);
}

.gif-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* EXPLANATION */
.explanation-section { margin-bottom: 120px; }

.explanation-glass { padding: 70px 60px; }

.explanation-text {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--text-dim);
    max-width: 920px;
    margin: 0 auto;
}

/* ECHOES */
.echoes-section { padding: 80px 0 140px; position: relative; }

.cloud-container {
    position: relative;
    height: 720px;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
}

.holo-node {
    font-family: var(--font-header);
    font-size: clamp(1.15rem, 2.3vw, 1.75rem);
    letter-spacing: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    pointer-events: none;
    will-change: transform, opacity;
    text-shadow: 0 0 12px var(--lux-gold);
}

/* FOOTER */
.site-footer {
    padding: 80px 40px;
    border-top: 1px solid rgba(212,175,119,0.15);
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-left .studio-tag {
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--lux-gold);
}

.luxury-link {
    color: var(--lux-gold);
    text-decoration: none;
    margin-left: 40px;
    font-weight: 700;
    letter-spacing: 3px;
    transition: all 0.4s;
}

.luxury-link:hover {
    color: #fff;
    text-shadow: 0 0 25px var(--neon-gold);
    transform: translateY(-2px);
}

/* AUDIO UI */
.cyber-music-btn {
    position: absolute;
    top: 50px;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    z-index: 100;
}

.bar-container { display: flex; gap: 4px; height: 18px; align-items: flex-end; }

.bar {
    width: 3px;
    background: var(--lux-gold);
    height: 100%;
    transition: 0.3s;
}

.playing .bar { animation: soundWave 0.55s infinite alternate; }

@keyframes soundWave {
    from { height: 4px; }
    to { height: 18px; }
}

/* SECTION LABELS */
.section-label {
    text-align: center;
    font-size: 1.05rem;
    letter-spacing: 8px;
    margin-bottom: 32px;
    color: var(--text-dim);
    font-family: var(--font-header);
}

/* MOBILE */
@media (max-width: 768px) {
    .main-title { font-size: 3.6rem; letter-spacing: -2px; }
    .open-sea-link { font-size: 0.95rem; }
    .glass-info { padding: 60px 30px; }
    .lore-text { font-size: 1.15rem; }
    .gifs-grid { gap: 20px; }
    .video-overlay { bottom: 20px; right: 20px; }
    .video-control-btn { width: 44px; height: 44px; font-size: 1.4rem; }
    .explanation-text { font-size: 1.1rem; }
    .footer-wrap { flex-direction: column; gap: 20px; text-align: center; }
    .cyber-music-btn { top: 30px; right: 20px; }
    .luxury-link { margin: 0 15px; }
}