

/* =========================================
   2. SHARED SECTION STYLES
   ========================================= */
.hero-section,
.art-section,

.features-section,
лок.streamer-section {
    width: 100%;
    /* Default for Desktop: Full Screen Height */
    height: 100vh; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: var(--scroll-snap-align); 
    scroll-snap-stop: always;
    position: relative;
    padding: 80px 0;   
}/* =========================================
   4. HERO SECTION (SYSTEMATIZED & FIXED)
   ========================================= */

/* ------------------------------------------------
   1. BASE STRUCTURE & BACKGROUNDS (Desktop Default)
   ------------------------------------------------ */
.hero-section {
    position: relative;
    overflow: hidden; /* Ховаємо горизонтальний скрол від картинки */
    padding: 100px 0px 0px;
    
    /* ФІКС ВИСОТИ: Не "рівно екран", а "мінімум екран" */
    height: auto; 
    min-height: 100vh; 
    padding-bottom: 50px; /* Повітря знизу для кнопок */
}

.hero-bg {
    /* ФІКС ШИРИНИ: Ігноруємо контейнер, займаємо весь екран */
    width: 100vw; 
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%; /* Центр */
    right: 50%;
    margin-left: -50vw; /* Витягуємо вліво */
    margin-right: -50vw; /* Витягуємо вправо */
    
    z-index: var(--z-background);
    background-image: url('../img/bg/login-art.jpg');
    background-size: cover;
    background-position: center top; /* Центруємо верх картинки */
    background-repeat: no-repeat;
}

/* ------------------------------------------------
   2. CHARACTER & ANIMATIONS
   ------------------------------------------------ */
.character-layer {
    position: absolute;
    top: -4%; left: 46%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 1400px;
    height: 100%;
    z-index: var(--z-character);
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: visible;
}

.anim-float {
    display: block;
    will-change: transform;
    height: auto;
    max-height: 101vh; 
    width: auto;
    margin-top: 187px;
    margin-right: -143px;
    filter: drop-shadow(-20px 10px 30px rgba(0, 0, 0, 0.5));
    animation: floatUpDown 5s ease-in-out infinite;
}

@keyframes floatUpDown {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
    100% { transform: translateY(0px); }
}

/* Sparks */
.sparks-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: var(--z-particles);
}
.sparks, .sparks2, .sparks3 { position: absolute; }
.sparks { z-index: 1000; animation: fly infinite ease-in 20s; }
.sparks2 { z-index: -1000; animation: fly infinite ease-in 35s; }
.sparks3 { z-index: -1000; animation: fly infinite ease-in 30s; }
@keyframes fly {
    0% { top: 300px; left: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: -1000px; opacity: 1; left: -1000px; }
}

/* ------------------------------------------------
   3. LAYOUT GRID & TITLES
   ------------------------------------------------ */
.hero-grid-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 10px;
    padding-bottom: 40px;
    position: relative;
    z-index: var(--z-content);
}

.hero-level-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
}

.servers-title {
    width: 100%; text-align: left; margin-bottom: 35px; margin-top: -20px;
}
.servers-title h3 {
    font-family: var(--font-accent); font-size: 1.6rem; font-weight: 700; 
    color: #ffffff; text-transform: uppercase; letter-spacing: 1px; margin: 0; opacity: 0.9;
}

.hero-level-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 48px;
    width: 100%;
}

/* ------------------------------------------------
   4. COMPONENT: BOTTOM HUD (Glass & Skew)
   ------------------------------------------------ */
.hero-bottom-hud {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 40px;
    padding-bottom: 20px;
    position: relative;
    z-index: 20;
}

.hud-glass-panel {
    display: flex;
    gap: 15px;
    padding: 20px;
}
.hud-glass-panel > * { transform: skewX(0deg); }

.hud-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 35px;
    min-width: 160px;
    color: #ffffff;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0); 
    backdrop-filter: blur(20px);    
    -webkit-backdrop-filter: blur(20px); 
    transform: skewX(-20deg); 
    transition: all 0.3s ease;
}

.hud-btn i, .hud-btn span { transform: skewX(20deg); }
.hud-btn i { font-size: 1.1rem; color: #ffffff; transition: 0.3s; }

.hud-btn:hover {
    background: #ffffff; color: #000000; border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}
.hud-btn:hover i { color: #000000; }

.hud-btn.active {
    border-color: #FFAD33; color: #FFAD33;
    box-shadow: 0 0 15px rgba(255, 173, 51, 0.3);
}
.hud-btn.active i { color: #FFAD33; }
.hud-btn.active:hover { background: #FFAD33; color: #000; }
.hud-btn.active:hover i { color: #000; }

/* ------------------------------------------------
   5. COMPONENT: SERVER CARDS
   ------------------------------------------------ */
.server-card-classic {
  background: rgba(13, 22, 40, 0.6); /* Темний напівпрозорий */
    backdrop-filter: blur(12px); /* Розмиття фону під блоком */
    -webkit-backdrop-filter: blur(12px); /* Для Safari */

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.server-rates-row {
    display: flex; justify-content: space-between; gap: 10px; margin-bottom: 15px; 
}

.rate-btn {
    flex: 1; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px; padding: 8px 5px;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease;
}
.rate-btn .green-text { color: #4ade80; font-weight: 700; font-family: var(--font-accent, sans-serif); }
.rate-btn:hover {
    background: rgba(255, 255, 255, 0.05); border-color: rgba(74, 222, 128, 0.4);
    transform: translateY(-2px); cursor: default;
}

.sc-classic-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;
}
.header-left { display: flex; align-items: center; gap: 15px; }
.server-icon svg { width: 38px; height: 38px; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3)); }
.sc-classic-header h3 {
    margin: 0; font-family: var(--font-accent, sans-serif); font-size: 1.4rem;
    color: #fff; text-transform: uppercase; font-weight: 700; letter-spacing: 1px;
}

.online-badge {
    background: rgba(46, 204, 113, 0.15); 
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #fff; 
    font-size: 0.75rem; 
    font-weight: 700; 
    padding: 4px 10px;
    border-radius: 10px; 
    
    /* ГАРАНТІЯ ЛІНІЇ */
    display: flex; 
    align-items: center; 
    gap: 6px;
    white-space: nowrap; /* Забороняє перенос тексту на новий рядок */
    flex-wrap: nowrap;    /* Забороняє флекс-елементам перестрибувати вниз */
    width: max-content;  /* Кнопка буде розширюватися рівно під довжину тексту */
}
.dot.green {
    width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; box-shadow: 0 0 6px #2ecc71;
}

.sc-progress-wrapper {
    width: 100%; height: 6px; background: rgba(255, 255, 255, 0.1);
    border-radius: 3px; margin-bottom: 15px; overflow: hidden;
}
.sc-progress-bar { height: 100%; border-radius: 3px; box-shadow: 0 0 15px currentColor; }
.ruine-bar, .mega-bar {
    background: linear-gradient(90deg, #4ade80 0%, #22c55e 100%);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
}

.server-info-compact {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.03); padding: 10px 15px;
    border-radius: 6px; margin-bottom: 20px; border: 1px solid rgba(255, 255, 255, 0.05);
}
.info-col { display: flex; flex-direction: column; align-items: center; }
.info-label {
    font-size: 0.65rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase;
    font-weight: 600; letter-spacing: 0.5px; margin-bottom: 3px;
}
.info-value { font-size: 0.95rem; color: #fff; font-weight: 700; font-family: var(--font-accent, sans-serif); }
.info-value.gold { color: #FFAD33; text-shadow: 0 0 10px rgba(255, 173, 51, 0.3); }

/* Server Table */
.sc-table-classic { width: 100%; }
.table-title {
    font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase;
    margin-bottom: 10px; font-weight: 700;
}
.sc-table-classic table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.sc-table-classic th {
    text-align: left; color: rgba(255, 255, 255, 0.4); font-size: 0.7rem;
    padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sc-table-classic td {
    padding: 10px 0; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.sc-table-classic tr:last-child td { border-bottom: none; }
.sc-table-classic td.highlight { color: #FFAD33; font-weight: 700; }

/* ------------------------------------------------
   6. COMPONENT: NAVIGATION BUTTONS
   ------------------------------------------------ */
.hero-navig {
    display: flex; justify-content: flex-start; gap: 20px; padding: 30px 0;
    transform: skewX(-10deg); margin-left: 10px;
}

.nav-btn {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-width: 156px; padding: 11px 25px;
    background: rgba(13, 22, 40, 0.6); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-decoration: none; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-content {
    display: flex; align-items: center; gap: 10px; transform: skewX(10deg);
    font-family: var(--font-accent, sans-serif); font-weight: 700; font-size: 0.95rem;
    color: #aebfd6; text-transform: uppercase; letter-spacing: 1px;
}
.btn-content i { color: #FFAD33; font-size: 1.1rem; transition: transform 0.3s ease; }

.nav-btn:hover {
    transform: translateY(-5px);
    background: linear-gradient(180deg, rgba(30, 45, 70, 0.9) 0%, rgba(15, 25, 40, 0.95) 100%);
    border-color: rgba(255, 173, 51, 0.5); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}
.nav-btn:hover .btn-content { color: #ffffff; }
.nav-btn:hover i { text-shadow: 0 0 10px rgba(255, 173, 51, 0.8); transform: scale(1.1) rotate(5deg); }
.nav-btn:active { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); }


/* ==========================================================================
   7. SYSTEMATIZED ADAPTATIONS (ORDERED)
   ========================================================================== */

/* ------------------------------------------------
   A. NOTEBOOK / SMALL LAPTOP (1366x768 - 1440x800)
   Fixes height issues and enables scroll
   ------------------------------------------------ */
@media screen and (max-width: 1440px) and (max-height: 800px) {
    .hero-section {
        height: auto !important;
        min-height: 100vh;
        overflow: visible !important; /* ENABLE SCROLL */
        padding-bottom: 20px;
    }

    .hero-grid-layout {
        height: auto !important;
        padding-top: 20px !important;
        justify-content: flex-start !important;
        display: block !important;
    }

    .hero-level-2 {
        margin-top: 40px; margin-bottom: 40px; transform: none !important;
    }

    /* Hero Character as background */
    .character-layer {
        width: 100%; position: absolute; top: 0; right: 0; height: 100%;
        justify-content: flex-end; align-items: flex-start;
    }

    .anim-float {
        margin-top: 120px !important; max-height: 800px !important;
        min-width: 70vh !important; margin-right: -50px !important;
    }
}

/* ------------------------------------------------
   B. TABLET / COMPACT LAYOUT (Max 991px)
   Switches from Grid to Column Layout
   ------------------------------------------------ */
@media screen and (max-width: 991px) {
    /* Main Layout */
    .hero-section {
        height: auto !important; min-height: 100vh;
        padding-top: 100px !important; padding-bottom: 60px;
        overflow: visible !important; background-position: center top;
    }

    .hero-grid-layout {
        display: flex; flex-direction: column; justify-content: flex-start !important;
        width: 100% !important;
        /* Default mobile padding */
        padding-left: 20px; padding-right: 20px; padding-top: 10px !important;
    }

    /* Titles & Text */
    .servers-title { width: 100% !important; text-align: left; margin-top: 0; margin-bottom: 30px; }
    .servers-title h3 { font-size: 2.2rem; line-height: 1.1; white-space: normal; }

    .hero-level-1 {
        display: flex; flex-direction: column; width: 100%;
        margin-bottom: 30px; margin-top: 0px !important;
    }

    /* Server Cards Stack */
    .hero-level-2 {
        display: flex; flex-direction: column; gap: 20px;
        width: 100% !important; margin: 0 !important; transform: none !important;
    }

    /* Character Background */
    .character-layer {
        width: 100%; height: 37%; position: absolute; top: 0; left: 0; z-index: 0;
        justify-content: center; align-items: flex-end; transform: none;
    }

    .anim-float {
        position: absolute; bottom: 0; max-height: 50vh !important;
        opacity: 0.25; margin: 0 !important;
    }

    /* HUD Buttons Stack */
    .hud-glass-panel {
        padding: 15px; gap: 10px; width: 100%;
        transform: none; justify-content: space-between; border-radius: 10px;
    }
    .hud-glass-panel > * { transform: none; }

    .hud-btn {
        flex: 1; padding: 10px 5px; min-width: auto; font-size: 0.75rem;
        flex-direction: column; gap: 5px; transform: skewX(-10deg);
    }
    .hud-btn i, .hud-btn span { transform: skewX(10deg); }
}

/* ------------------------------------------------
   C. MOBILE PHONE (Max 767px)
   Specific overrides for small screens (15px Padding)
   ------------------------------------------------ */
@media screen and (max-width: 767px) {
    /* 15px PADDING REQUIREMENT */
    .hero-grid-layout {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    /* Navigation Stack */
    .hero-navig {
        flex-direction: column; transform: skewX(0); gap: 15px;
        width: 100%; margin-left: 0;
    }
    .nav-btn { width: 100%; transform: skewX(-10deg); justify-content: center; }
    .btn-content { transform: skewX(10deg); }
}

/* ------------------------------------------------
   D. MICRO MOBILE (Max 360px)
   Tiny tweaks
   ------------------------------------------------ */
@media (max-width: 360px) {
    .server-rates-row { gap: 5px; }
    .rate-btn { font-size: 0.65rem; padding: 6px 2px; flex-direction: column; gap: 0; }
}
/* =========================================
   11. ART SECTION (FINAL CLEAN VERSION)
   ========================================= */

/* --- 1. ГЛОБАЛЬНІ НАЛАШТУВАННЯ (DESKTOP, 2K, 4K) --- */
.final-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;        
    min-height: 50vh;
    overflow: hidden;
    display: flex;
    align-items: center;      
    justify-content: center; 
    padding: 0;
   
}

/* Обгортка контенту: Центрується і має ліміт ширини для 4K */
.final-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px; /* ЗАХИСТ ВІД РОЗТЯГУВАННЯ НА 4K */
    height: 100%;
    margin: 0 auto;    /* Центруємо на дуже великих екранах */
   
    
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    
    padding-top: 20%;    /* Скинув до стандарту, адаптація нижче */
    z-index: 20; 
    pointer-events: none;
}

/* --- СЦЕНА З ГЕРОЯМИ (БАЗА) --- */
.top-visuals-area {
    position: absolute;
    bottom: 38%; 
    left: 50%;
    transform: translateX(-50%);
    
    width: 100%;
    max-width: 1600px;
    height: 60vh;
    
    pointer-events: none;
    z-index: 10;
}

.visual-item {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s;
}
.visual-item.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-in;
}

/* --- СКЛЯНИЙ БЛОК (БАЗА) --- */
.bottom-glass-block {
    position: relative;
    width: 90%;
    max-width: 1100px;
    padding: 50px;
    
    background: rgba(13, 22, 40, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    pointer-events: auto; /* Вмикаємо кліки */
}

/* --- КНОПКИ (БАЗА - КАНОНІЧНІ) --- */
.slider-nav-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
    flex-wrap: wrap;       /* Кнопки переносяться, якщо не влазять */
    justify-content: center;
}

.skew-btn {
    position: relative;
    min-width: 120px;       
    padding: 15px 10px;
    background: linear-gradient(180deg, #FFAD33 0%, #FF8C00 100%);
    color: #0b1521;
    font-family: var(--font-main, sans-serif);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-style: italic;
    border: none;
    cursor: pointer;
    transform: skewX(-15deg);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 173, 51, 0.4);
    transition: all 0.3s ease;
}
.skew-btn span { display: block; transform: skewX(20deg); }
.skew-btn:not(.active) {
    background: rgba(13, 22, 40, 0.6);
    color: #FFAD33;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 173, 51, 0.2);
}
.skew-btn:hover { transform: skewX(-20deg) translateY(-3px); filter: brightness(1.1); }

/* --- ТЕКСТ --- */
.slider-text-content { position: relative; width: 100%; height: 100px; text-align: center; }
.text-item { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transform: translateY(10px); transition: all 0.5s ease-in-out; pointer-events: none; }
.text-item.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.txt-sub { font-family: var(--font-desc); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255, 255, 255, 0.6); margin-bottom: 5px; }
.txt-title { font-family: var(--font-accent); font-size: 2rem; text-transform: uppercase; color: #fff; margin: 0 0 5px 0; font-weight: 700; letter-spacing: 1px; }
.txt-title.gold { color: #FFAD33; }
.txt-desc { font-family: var(--font-desc); font-size: 0.9rem; color: #aebfd6; line-height: 1.4; max-width: 600px; margin: 0 auto; }

/* ============================================================
   ОБ'ЄКТИ: БАЗОВІ ПОЗИЦІЇ (ДЛЯ ВЕЛИКИХ ЕКРАНІВ)
   ============================================================ */
/* Я виправив тут помилку з 0% ширини */
.main-char-img { position: absolute; z-index: 5; width: 20%; min-width: 663px; bottom: 5%; left: 5%; }
.floating-logo { position: absolute; z-index: 6; width: 26%; min-width: 300px; top: 30%; left: 49%; transform: translateX(-50%); }
.center-portal { position: absolute; z-index: 2; width: 10%; min-width: 81vh; bottom: 13%; left: 49%; transform: translateX(-50%); }

/* Flying Items */
.fly-item { position: absolute; width: 8%; min-width: 60px; z-index: 3; }
.f-left-bot { bottom: 24%; left: 15%; --rot: -25deg; transform: rotate(-25deg); }
.f-left-top { top: 17%; left: 22%; --rot: -25deg; transform: rotate(-25deg); }
.f-right-bot { bottom: 22%; right: 20%; --rot: 32deg; transform: rotate(25deg); }
.f-right-top { top: 3%; right: 22%; --rot: 25deg; transform: rotate(25deg); }

/* Items */
.center-feather { position: absolute; z-index: 4; width: 13%; min-width: 100px; top: 50%; left: 56%; transform: translate(-50%, -50%); }
.wing-item { position: absolute; width: 18%; min-width: 120px; z-index: 3; }
.w-lb { bottom: 8%; left: 8%; --rot: -18deg; transform: rotate(-25deg); scale: 120%;}
.w-lt { top: 7%; left: 22%; --rot: 25deg; transform: rotate(31deg); scale: 120%;}
.w-rb { bottom: 14%; right: 19%; --rot: 9deg; transform: rotate(25deg); scale: 130%; }
.w-rt { top: 7%; right: 23%; --rot: -25deg; transform: rotate(-25deg); scale: 120%;}

/* Chaos */
.chaos-machine-img { position: absolute; z-index: 2; width: 30%; min-width: 250px; bottom: 10%; right: 20%; }
.goblin-img { position: absolute; z-index: 3; width: 30%; min-width: 180px; top: 14% ; left:15% }
.jewel-item { position: absolute; width: 5%; min-width: 50px; z-index: 4; }
.j-1 { bottom: 55%; left: 6%; }
.j-2 { bottom: 0%; right: 25%; width: 7%; }
.j-3 { top: 10%; left: 35%; transform: translateX(-50%); }

/* --- АНІМАЦІЇ --- */
@keyframes float-y { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-15px) rotate(var(--rot, 0deg)); } }
.float-loop { animation: flyInPosition 0.8s ease-out forwards, float-y 4s ease-in-out 0.8s infinite; }
.active .main-char-img { animation: slideInChar 1s ease-out forwards; }
.active .floating-logo { animation: slideInDown 1s ease-out forwards; }
.active .center-portal { animation: slideInDown 1s ease-out forwards;}
.active .center-feather { animation: popUp 0.8s forwards; }
.active .chaos-machine-img { animation: slideInRight 1s ease-out forwards; }
.active .goblin-img { animation: slideInLeft 1s ease-out forwards; }
@keyframes slideInChar { from { transform: translateX(-50px) translateY(50px); opacity: 0; } to { transform: translateX(0) translateY(0); opacity: 1; } }
@keyframes slideInDown { from { transform: translateY(-50px) translateX(-50%); opacity: 0; } to { transform: translateY(0) translateX(-50%); opacity: 1; } }
@keyframes popUp { from { transform: translateX(-50%) scale(0.5) translate(-50%, -50%); opacity: 0; } to { transform: translateX(-50%) scale(1) translate(-50%, -50%); opacity: 1; } }
@keyframes slideInLeft { from { transform: translateX(-50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes flyInPosition { from { transform: scale(0) rotate(var(--rot, 0deg)); opacity: 0; } to { transform: scale(1) rotate(var(--rot, 0deg)); opacity: 1; } }
@keyframes popUpSimple { from { transform: translateX(-50%) scale(0.8); opacity: 0; } to { transform: translateX(-50%) scale(1); opacity: 1; } }


/* ============================================================
   АДАПТАЦІЯ (ТІЛЬКИ НОУТБУК І ТЕЛЕФОН)
   ============================================================ */

/* ------------------------------------------------------------
   1. NOTEBOOK (1366 x 768)
   ------------------------------------------------------------ */
@media screen and (max-width: 1440px) and (max-height: 800px) {
    
    .final-slider-wrapper {
        padding-top: 30%;
        padding-bottom: 0;
    }

    .top-visuals-area {
        top: 20%;
        height: 50vh;
    
    }

    .main-char-img { width: 18%; left: 25%; bottom: -8%; z-index: 10;}
      .floating-logo { position: absolute; z-index: 6; width: 3%; min-width: 300px; top: -19%; left: 49%; transform: translateX(-50%); }
    .center-portal { position: absolute; z-index: 2; width: 10%; min-width: 61vh; bottom: 20%; left: 57%; transform: translateX(-50%); scale: 130%; }
.fly-item { position: absolute; width: 8%; min-width: 60px; z-index: 3; }
.f-left-bot { bottom: 0%; left: 15%; --rot: -25deg; transform: rotate(-25deg); scale: 150%; }
.f-left-top { top: -15%; left: 22%; --rot: -25deg; transform: rotate(-25deg); }
.f-right-bot { bottom: 0%; right: 20%; --rot: 32deg; transform: rotate(25deg); scale: 150%;  }
.f-right-top { top: -10%; right: 25%; --rot: 25deg; transform: rotate(25deg); }
    
    /* Items */
.center-feather { position: absolute; z-index: 4; width: 16%; min-width: 100px; top: 30%; left: 56%; transform: translate(-50%, -50%); }
.wing-item { position: absolute; width: 18%; min-width: 120px; z-index: 3; }
.w-lb { bottom: 8%; left: 8%; --rot: -18deg; transform: rotate(-25deg); scale: 120%;}
.w-lt { top: -20%; left: 22%; --rot: 25deg; transform: rotate(31deg); scale: 120%;}
.w-rb { bottom: -10%; right: 19%; --rot: 9deg; transform: rotate(25deg); scale: 180%; }
.w-rt { top: -30%; right: 23%; --rot: -25deg; transform: rotate(-25deg); scale: 120%;}

/* Chaos */
.chaos-machine-img { position: absolute; z-index: 2; width: 50%; min-width: 250px; bottom: 20%; right: 5%; }
.goblin-img { position: absolute; z-index: 3; width: 49%; min-width: 180px; top: -20% ; left: 5% }
.jewel-item { position: absolute; width: 5%; min-width: 50px; z-index: 4; }
.j-1 { bottom: 75%; left: 6%; }
.j-2 { bottom: 15%; right: 35%; width: 7%; }
.j-3 { top: -20%; left: 45%; transform: translateX(-50%); }

    .bottom-glass-block {
        max-width: 800px;
        padding: 30px;
    }
  
}

/* ------------------------------------------------------------
   2. SMARTPHONE (360 x 740)
   ------------------------------------------------------------ */
@media screen and (max-width: 767px) {
    
    /* 1. КОНТЕНТ */
    .final-slider-wrapper { 
        padding-top: 70vh; 
        padding-bottom: 70vh; 
        justify-content: flex-start; 
    }

    /* 2. ГЕРОЇ */
    .top-visuals-area { 
        top: 20vh;           
        height: 50vh;     
        bottom: auto; 
    }
    
    .bottom-glass-block { 
        width: 95%; 
        padding: 25px 15px; 
        max-width: 800px;
    }
    
    .txt-title { font-size: 1.6rem; }
    .txt-desc { font-size: 0.85rem; padding: 0 5px; }
    
    /* --- 3. ПОЗИЦІЇ КАРТИНОК --- */
    .main-char-img { 
        width: 70%; 
        left: 40%; 
        transform: translateX(-70%) scale(0.7); 
        z-index: 10;
        bottom: -27%; 
    }
    .active .main-char-img { animation: popUpSimple 0.8s forwards; } 

    .floating-logo { width: 60%; top: 10px; z-index: 7; }
    .center-portal { width: 90%; bottom: 10%; left: 70%; }
    
    .chaos-machine-img { 
        width: 80%; right: -10%; bottom: 50%; 
        opacity: 0.8; transform: scale(1.2); 
    }
    .goblin-img { 
        width: 100%; top: 40% !important; 
        left: -10%; bottom: 0; opacity: 0.8; 
    }
    
    .center-feather { 
        width: 60%; top: 50%; left: 50%; 
        transform: translate(-50%, -50%) !important; 
    }

    /* --- MOBILE: SMALL ITEMS CONTROL --- */
    .fly-item, .wing-item, .jewel-item { 
        display: block !important; 
        position: absolute;
        z-index: 2;
    }

    /* EVENTS */
    .fly-item { width: 13%; min-width: 50px; }
    .f-left-bot { top: 94%; left: 10%; transform: rotate(-35deg); scale: 250%; }
    .f-left-top { top: 20%; left: 5%; transform: rotate(-25deg); }
    .f-right-bot { top: 84%; right: 5%; transform: rotate(15deg); scale: 190%; }
    .f-right-top { top: 0%; right: 20%; transform: rotate(25deg); }

    /* ITEMS */
    .wing-item { width: 18%; min-width: 10px; }
    .w-lb { top: -50%; left: 5%; transform: rotate(-15deg) scale(2); }
    .w-lt { top: 90%; left: 5%; transform: rotate(20deg) scale(1.9); }
    .w-rb { top: 85%; right: 5%; transform: rotate(-9deg) scale(2.2); }
    .w-rt { top: -50%; right: 10%; transform: rotate(-15deg) scale(1.7); }

    /* CHAOS */
    .jewel-item { width: 16%; min-width: 35px; }
    .j-1 { top: -50%; left: 1%; transform: scale(0.4); }
    .j-2 { top: 15%; right: 22%; }
    .j-3 { width: 5%; top: -50%; left: 40%; transform: translateX(-50%); }

} /* <-- Кінець мобільної адаптації */

/* =========================================
   PERSONALIZED BACKGROUNDS SYSTEM
   ========================================= */

/* 1. Налаштування для всіх секцій, що мають фон */
.art-section, 
.features-section, 
.streamer-section {
    position: relative; /* Щоб фон позиціонувався відносно секції */
    z-index: 1; /* Контент має бути вище фону */
    /* overflow: hidden;  <-- Можна увімкнути, якщо картинка вилазить, але обережно з Феніксом */
}

/* 2. Створюємо псевдо-елемент для фону (шар під контентом) */
.art-section::before,
.features-section::before,
.streamer-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -7; /* Ставимо ЗА контентом */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s ease;
}

/* =========================================
   3. ПРИЗНАЧЕННЯ КАРТИНОК
   (Заміни 'url' на свої файли)
   ========================================= */

/* --- Слайдер персонажів (Art Section) --- */
.art-section::before {
    /* Твій фон для персонажів */
    background-image: url('../img/bg/login-art.jpg'); 
    background-color: #210b0b; /* Колір, поки вантажиться */
}

/* --- 6 Переваг (Features Section) --- */
.features-section::before {
    /* Твій фон для переваг */
    background-image:  linear-gradient(rgba(255, 0, 0, 0) 0%,);;
    
    /* Якщо хочеш просто затемнення або градієнт замість картинки: */
    /* background: linear-gradient(180deg, #0b1521 0%, #060c16 100%); */
}

/* --- Летс плей (Streamer Section) --- */
.streamer-section::before {
    /* Твій фон для стримера */
    background-image: url('../img/bg/kanturu-tower.png');
    background-size: 101% auto;
    background-position: center top;
    
    
}

/* --- ВИПРАВЛЕННЯ ДЛЯ ЗАГАЛЬНОЇ ОБГОРТКИ --- */
/* Оскільки ми задали фони окремо, загальну обгортку робимо прозорою */
.main-content-bg {
    position: relative;
    width: 100%;
    /* Мінімальна висота, щоб покрити весь контент */
    min-height: 100vh; 
    
    /* ТУТ ТВОЯ ГОЛОВНА КАРТИНКА ДЛЯ ВСІХ НИЖНІХ СЕКЦІЙ */
    background-image: url('../img/bg/Body-final-background.jpg'); 
    
    /* МАГІЯ: Фон стоїть на місці, поки ти скролиш */
    background-attachment: fixed; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* Завжди розтягується на весь екран без пробілів */
    
    /* Робимо затемнення, щоб текст читався */
    
    
    z-index: 1;
}
.art-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 0 !important; 
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-x: hidden;
    z-index: 5;
}

.art-section  {
    flex: 1 1 auto;
    display: flex;      
    align-items: center; 
    justify-content: center; 
    width: 100%;
    padding-top: 35vh;
    position: relative;
}

.char-showcase {
    position: relative;
    width: 100%;
    max-width: 1115px;
    margin: 0 !important;
    transform: translateY(50px); 
}

.char-image-wrapper {
    position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 100vh; height: auto; aspect-ratio: 16/9;
    z-index: 10; pointer-events: none; display: flex; justify-content: center; align-items: flex-end;
}

@keyframes heroBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.char-main-img {
    width: auto; height: auto; max-width: 132%; max-height: 100%;
    object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    animation: heroBreath 8s ease-in-out infinite; will-change: transform, opacity;
}

.char-content-box {
    position: relative; z-index: 5; 
    background: linear-gradient(180deg, rgba(16, 36, 70, 0.29) 0%, rgba(6, 12, 22, 0) 100%);
    backdrop-filter: blur(20px);
    border-radius: 15px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    padding: 46px 40px 40px; text-align: center; width: 100%;
}
.char-content-box > * { transform: skewX(3deg); }

.char-tabs {
    display: flex; justify-content: center; gap: 20px;
    margin-bottom: 28px; padding-bottom: 25px; margin-top: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap; position: relative; z-index: 20;
}
.char-tab {
    background: #0b1521; border: none; cursor: pointer;
    position: relative; width: 140px; height: 49px;
    transform: skewX(-15deg); border-radius: 15px; overflow: hidden; transition: 0.3s; padding: 0;
}
.char-tab img {
    width: 150%; height: 100%; object-fit: cover;
    transform: skewX(15deg) translateX(-15%); filter: grayscale(100%) brightness(0.6); transition: 0.4s;
}
.char-tab span {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) skewX(15deg);
    font-size: 0.9rem; font-weight: 700; color: rgba(255, 255, 255, 0.7);
    z-index: 2; text-shadow: 0 2px 5px rgba(0, 0, 0, 1);
    letter-spacing: 1px; text-transform: uppercase;
}
.char-tab:hover img, .char-tab.active img {
    filter: grayscale(0%) brightness(1.1); transform: skewX(15deg) translateX(-15%) scale(1.1);
}
.char-tab.active span { color: white; }

@media screen and (max-height: 800px) {
    .art-section { padding-top: 15vh; }
    .char-showcase { margin-top: 50px; }
    .char-image-wrapper { max-width: 60vh; }
}
@media (max-width: 768px) {
    .art-section { padding-top: 10px; height: fit-content; }
    .char-showcase { margin-top: 147px; }
    .char-image-wrapper { bottom: 106%; max-width: 145%; transform: translateX(-50%) scale(1.2); }
    .char-tabs { gap: 10px; }
    .char-tab { width: 45%; }
}

.section-glass-header {
    width: 100%;
    padding: 20px 0; 
    margin-top: 0 !important;
    margin-bottom: 0; 
    background: rgba(6, 12, 22, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative; 
    z-index: 100;
}

.section-banner-title {
    font-family: var(--font-accent);
    color: #FFAD33;
    font-size: 1.7rem;
    text-align: center;
    margin: 0;
    letter-spacing: 8px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-shadow: 0 0 20px rgba(255, 173, 51, 0.4);
}

.section-banner-title::before,
.section-banner-title::after {
    content: "";
    flex: 1;
    height: 1px;
    max-width: 200px;
    background: linear-gradient(90deg, transparent, rgba(255, 173, 51, 0.5));
}
.section-banner-title::after {
    background: linear-gradient(270deg, transparent, rgba(255, 173, 51, 0.5));
}
/* =========================================
   ARTIFACTS PARALLAX (ART SECTION)
   ========================================= */

.artifacts-scroll-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 4; /* Layer 4: Behind the character (Level 10), but above the background */
    overflow: hidden; 
}

.artifact-scroll {
    position: absolute;
    width: 80px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    
    /* FIX: Initial state is invisible */
    opacity: 0; 
    
    will-change: transform, opacity;
    /* Smooth appearance */
    transition: opacity 0.5s ease-out; 
    
    /* Golden shadow */
    filter: drop-shadow(0 0 15px rgba(255, 173, 51, 0.4)); 
}

/* Individual Settings remain the same as you provided */
.art-1 { top: 33%; left: 10%; width: 100px; height: 140px; background-image: url('../img/icons/jewel.png'); }
.art-2 { top: 10%; right: 15%; width: 110px; height: 120px; background-image: url('../img/icons/Devil-eye.png'); }
.art-3 { top: 60%; right: 8%; width: 90px; height: 130px; background-image: url('../img/icons/art-trophy.png'); filter: blur(2px); }
.art-4 { top: 75%; left: 5%; width: 100px; height: 100px; background-image: url('../img/icons/bc-cloak.png'); filter: blur(3px); }
/* =========================================
   12. FEATURES SECTION (FIXED & UNIFIED)
   ========================================= */
.features-section { 
    position: relative; 
    padding: 100px 0; 
    overflow: hidden; 
    z-index: 1; 
}

/* --- ФОНОВІ ЕЛЕМЕНТИ --- */
.phoenix-wrapper {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important; /* Вище фону, але нижче карток (які мають z-index 10) */
    pointer-events: none !important;
    overflow: visible !important;
}
#scroll-phoenix {
    position: absolute !important;
    right: 15% !important; /* Початкова точка вильоту за краєм */
    top: -25% !important;
    width: 85% !important;
    opacity: 1.0 !important;
    transform-origin: center center !important;
    filter: drop-shadow(0 0 50px rgba(255, 140, 0, 0.4)) !important;
    will-change: transform;
}
.phoenix-img { width: 100%; height: auto; filter: drop-shadow(0 0 30px rgba(255, 173, 51, 0.4)); }

.feathers-scroll-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 2; overflow: hidden;
}
.feather-scroll {
    position: absolute; background-size: contain; background-repeat: no-repeat;
    opacity: 0; will-change: transform; transition: opacity 0.6s ease; 
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.f-blue { width: 150px; height: 150px; background-image: url('../img/particles/feather-blue.png'); }
.f-red { width: 150px; height: 150px; background-image: url('../img/particles/feather-red.png'); }

#feather-1 { top: 15%; left: 23%; }
#feather-2 { top: 40%; left: 30%; filter: blur(2px); transform: scale(0.8); }
#feather-3 { top: 65%; left: 3%; transform: rotate(45deg); }
#feather-4 { top: 85%; left: 24%; filter: blur(2px); transform: scale(1.2); }

@media (max-width: 1200px)  }

/* --- ЗАГОЛОВОК --- */
.section-header-main { text-align: center; margin-bottom: 60px; z-index: 5; position: relative; }
.reasons-title { font-family: var(--font-accent); line-height: 1; }
.highlight-gold {
    color: #FFAD33; font-family: var(--font-accent); font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700; text-shadow: 0 0 20px rgba(255, 173, 51, 0.3);
}
.main-title-text { font-size: clamp(1.2rem, 3vw, 2rem); color: #fff; letter-spacing: 4px; font-weight: 700; }

/* --- СІТКА КАРТОК --- */
.features-grid { 
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; 
    position: relative; z-index: 5;
}

/* --- ЄДИНИЙ СТИЛЬ ДЛЯ ВСІХ КАРТОК --- */
.feature-card.slanted-box {
    position: relative;
    padding: 35px 40px;
    transition: all 0.3s ease;
    cursor: default;
    background: transparent;
}

/* Спільний темний скляний фон (через ::before) */
.feature-card.slanted-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Темний градієнт */
    background: rgba(13, 22, 40, 0.6); /* Темний напівпрозорий */
    backdrop-filter: blur(12px); /* Розмиття фону під блоком */
    -webkit-backdrop-filter: blur(12px); /* Для Safari */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    z-index: -1;
    transition: all 0.3s ease;
}

/* Тексти */
.feature-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.feature-icon-gold { color: #FFAD33; font-size: 1.6rem; filter: drop-shadow(0 0 8px rgba(255, 173, 51, 0.4)); }
.feature-card h4 { font-family: var(--font-accent); color: #FFAD33; font-size: 1.2rem; margin: 0; letter-spacing: 1px; }
.feature-card p { font-family: var(--font-text); color: #aebfd6; font-size: 0.95rem; line-height: 1.6; margin: 0; }
.feature-card b { color: #fff; font-weight: 600; }

/* Ховер для звичайних карток */
.feature-card.slanted-box:hover { transform: translateY(-5px); }
.feature-card.slanted-box:hover::before {
    border-color: #FFAD33;
    background: linear-gradient(135deg, rgba(20, 53, 108, 0.6) 0%, rgba(13, 20, 36, 0.8) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}


/* --- СПЕЦІАЛЬНИЙ СТИЛЬ ДЛЯ ОСТАННЬОЇ КАРТКИ (HIGHLIGHT) --- */
/* Вона виглядає так само, але має постійну анімацію світіння */

.feature-card.highlight-card::before {
    /* Робимо рамку золотою */
    border-color: rgba(255, 173, 51, 0.5);
    /* Запускаємо анімацію */
    animation: goldPulse 3s infinite alternate ease-in-out;
}

/* Анімація "Дихання" світінням */
@keyframes goldPulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 173, 51, 0.1);
        border-color: rgba(255, 173, 51, 0.3);
    }
    100% {
        box-shadow: 0 0 35px rgba(255, 173, 51, 0.5); /* Яскраве світіння */
        border-color: rgba(255, 173, 51, 0.8);
    }
}

/* При наведенні на виділену картку посилюємо ефект */
.feature-card.highlight-card:hover {
    transform: translateY(-5px) scale(1.02);
}
.feature-card.highlight-card:hover::before {
    background: linear-gradient(135deg, rgba(255, 173, 51, 0.1) 0%, rgba(8, 14, 26, 0.9) 100%);
    box-shadow: 0 0 50px rgba(255, 173, 51, 0.7);
    animation: none; /* Зупиняємо пульсацію і просто світимо */
}



/* =========================================
   АДАПТАЦІЯ FEATURES SECTION (SMARTPHONE)
   ========================================= */

@media screen and (max-width: 767px) {
    * --- ФОНОВІ ЕЛЕМЕНТИ --- */
.phoenix-wrapper {
    position: absolute; top: 31%; left: 1px; transform: translateY(-50%);
    width: 124vh; z-index: 2; pointer-events: none; transition: transform 0.1s ease-out; 
}
.phoenix-img { width: 100%; height: auto; filter: drop-shadow(0 0 30px rgba(255, 173, 51, 0.4)); }

.feathers-scroll-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 2; overflow: hidden;
}
.feather-scroll {
    position: absolute; background-size: contain; background-repeat: no-repeat;
    opacity: 0; will-change: transform; transition: opacity 0.6s ease; 
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.f-blue { width: 150px; height: 150px; background-image: url('../img/particles/feather-blue.png'); }
.f-red { width: 150px; height: 150px; background-image: url('../img/particles/feather-red.png'); }

#feather-1 { top: 15%; left: 23%; }
#feather-2 { top: 40%; left: 30%; filter: blur(2px); transform: scale(0.8); }
#feather-3 { top: 65%; left: 3%; transform: rotate(45deg); }
#feather-4 { top: 85%; left: 24%; filter: blur(2px); transform: scale(1.2); }

    .features-section {
        /* 1. ВІДСТУПИ ТА РОЗМІРИ */
        padding: 60px 1px; /* 60px зверху/знизу, 15px з боків (як у Hero) */
        height: auto;       /* Висота залежить від контенту */
        min-height: auto;   /* Прибираємо фіксовану висоту */
        display: block;     /* Блокове відображення */
    }

    /* 2. СІТКА КАРТОК */
    .features-grid {
        display: grid;
        grid-template-columns: 1fr; /* Одна колонка на всю ширину */
        gap: 20px; /* Відступ між картками */
        width: 100%;
    }

    /* 3. КАРТКИ */
    .feature-card.slanted-box {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .feature-card.slanted-box::before {
        border-radius: 15px;
    }

    /* Шрифти в картках */
    .feature-icon-gold { font-size: 1.5rem; }
    .feature-card h4 { font-size: 1.1rem; }
    .feature-card p { font-size: 0.9rem; line-height: 1.5; }

    /* 4. ЗАГОЛОВОК */
    .section-header-main { margin-bottom: 30px; }
    .highlight-gold { font-size: 2.2rem; }
    .main-title-text { font-size: 1.1rem; letter-spacing: 2px; }

    /* ==========================================
       5. ПОЗИЦІЇ ФОНОВИХ ЕЛЕМЕНТІВ (Фенікс і Пір'я)
       ========================================== */
    
    /* ФЕНІКС */
    .phoenix-wrapper {
        width: 80%;        /* Відносно ширини екрану */
        max-width: 300px;
        left: -15%;        /* Трохи визирає зліва */
        top: auto;         /* Скидаємо top */
        bottom: 5%;        /* Притискаємо до низу секції */
        transform: none;   /* Прибираємо центрування */
        opacity: 0.25;     /* Напівпрозорий, щоб читався текст */
    }

    /* ПІР'Я (Вмикаємо контейнер, але налаштовуємо кожне перо) */
    .feathers-scroll-container { 
        display: block; /* Показуємо пір'я */
    }

    /* Перо 1 (Верхній правий кут) */
    #feather-1 { 
        top: 2%; 
        left: auto; 
        right: -10px; 
        transform: scale(0.6) rotate(-15deg);
        opacity: 0.5;
    }

    /* Перо 2 (Десь посередині зліва) */
    #feather-2 { 
        top: 30%; 
        left: -20px; 
        transform: scale(0.5) rotate(45deg);
        filter: blur(1px);
        opacity: 0.4;
    }

    /* Перо 3 (Ближче до низу справа) */
    #feather-3 { 
        top: auto;
        bottom: 15%; 
        left: auto;
        right: 5%; 
        transform: rotate(15deg) scale(0.7);
        opacity: 0.4;
    }

    /* Перо 4 (Ховаємо, щоб не було забагато сміття) */
    #feather-4 { 
        display: none; 
    }
}
/* =========================================
   13. STREAMER SECTION (Optimized)
   ========================================= */

.streamer-section {
    position: relative;
    padding: 30vh 0 30vh 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Щоб іскри не робили скрол */
}


/* --- ГОЛОВНА КАРТКА --- */
.streamer-card-full {
    display: flex;
    width: 100%;
    max-width: 1200px; /* Base for Wide Screens */
    min-height: 450px;
    position: relative;
    margin: 0 auto;
    z-index: 5;
    /* Вирівнювання по вертикалі всередині картки */
    align-items: stretch; 
}

/* --- ЛІВА ЧАСТИНА (Скло) --- */
.streamer-info-side {
    flex: 0 0 65%; /* Займає 65% ширини */
    position: relative;
    z-index: 5; /* Поверх жовтого фону, але під героєм, якщо треба */
    
    /* GLASSMORPHISM */
    background: rgba(13, 22, 40, 0.6); /* Темний напівпрозорий */
    backdrop-filter: blur(12px); /* Розмиття фону під блоком */
    -webkit-backdrop-filter: blur(12px); /* Для Safari */
    
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none; /* З'єднання з жовтим блоком */
    border-radius: 20px 0 0 20px;
    padding: 60px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.streamer-title-area h2 {
    font-family: var(--font-accent); /* Перевір чи є змінна, або font-family: 'Rajdhani', sans-serif; */
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
}
.streamer-title-area h2 span { color: #FFAD33; }

.streamer-subtitle {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: #aebfd6;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 3px;
    font-weight: 500;
}

.streamer-text-content p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
    font-size: 1rem;
}

/* =========================
   BUTTON: PLAY NOW (User's Pulse Logic)
   ========================= */

.btn-start-play {
    /* 1. ПОЗИЦІОНУВАННЯ */
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 9px 27px;
    
    /* 2. СКЛЯНИЙ СТИЛЬ (Основа) */
   background: rgba(13, 22, 40, 0.6); /* Темний напівпрозорий */
    backdrop-filter: blur(12px); /* Розмиття фону під блоком */
    -webkit-backdrop-filter: blur(12px); /* Для Safari */
    /* Рамка (статична) */
    border: 1px solid #FFAD33;
    border-radius: 14px; /* Твій радіус */

    /* 3. ТИПОГРАФІКА */
    color: #ffffff;
    font-family: var(--font-accent, sans-serif);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
    
    /* 4. ГЕОМЕТРІЯ (Нахил) */
    transform: skewX(-10deg);
    
    /* 5. АНІМАЦІЯ (Твій код пульсації) */
    /* Використовуємо box-shadow для пульсації, як у твоєму прикладі */
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.39); 
    animation: blue-shadow-pulse 2s infinite; 
    
    transition: all 0.3s ease;
}

/* Вирівнюємо текст всередині */
.btn-start-play span {
    display: block;
    transform: skewX(15deg);
}

/* 6. ЕФЕКТ НАВЕДЕННЯ (HOVER) */
.btn-start-play:hover {
    /* Стає оранжевою */
    background: linear-gradient(180deg, #FFAD33 0%, #E69500 100%);
    color: #050f21;
    border-color: transparent;
    
    /* Змінюємо тінь на світіння (без пульсації) */
    box-shadow: 0 0 30px rgba(255, 173, 51, 0.8);
    
    /* Трохи піднімаємо */
    transform: skewX(-15deg) scale(1.05);
    
    /* Зупиняємо синю анімацію, щоб не заважала */
    animation: none;
}

/* 7. КЕЙФРЕЙМИ (Адаптовані з твого коду) */
@keyframes blue-shadow-pulse {
    0% {
        /* Тінь щільно притиснута (синя) */
        box-shadow: 0 0 0 0 #FFAD33;
    }
    70% {
        /* Тінь розширюється на 15px і стає прозорою */
        box-shadow: 0 0 0 15px rgba(0, 190, 255, 0);
    }
    100% {
        /* Фініш */
        box-shadow: 0 0 0 0 rgba(0, 190, 255, 0);
    }
}





/* --- ПРАВА ЧАСТИНА (Жовтий фон) --- */
.streamer-yellow-side {
    flex: 0 0 35%; /* Решта ширини */
    position: relative;
    z-index: 4;
}

.streamer-yellow-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFAD33 0%, #ff8c00 100%);
    border-radius: 0 20px 20px 0;
    box-shadow: 0 0 50px rgba(255, 173, 51, 0.15);
    position: relative;
    overflow: hidden; /* Щоб світлові ефекти не вилазили */
}
/* Додамо трохи візерунку або блиску на жовтий фон */
.streamer-yellow-bg::after {
    content: ''; position: absolute;
    top: -50%; right: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0.6;
}

/* --- ГЕРОЙ (Окремий шар) --- */
.streamer-hero-img {
    position: absolute;
    z-index: 10; /* Найвищий шар */
    
    /* Розміри та позиція для WIDE екранів (1920px+) */
    height: 140%; /* Більше ніж картка */
    width: auto;
    bottom: -20px; /* Трохи обрізаний знизу або стоїть на межі */
    right: -50px; /* Вилазить вправо */
    
    filter: drop-shadow(-20px 10px 30px rgba(0,0,0,0.5));
    
    /* Анімація левітації */
    animation: floatHero 6s ease-in-out infinite;
    pointer-events: none; /* Щоб не заважав клікати, якщо перекриє кнопку */
}

@keyframes floatHero {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* =========================================
   АДАПТАЦІЯ: NOTEBOOK & SMARTPHONE
   ========================================= */

/* 1. NOTEBOOK (1366 x 768) */
/* Горизонтальний вигляд, але компактніший по висоті */
@media screen and (max-width: 1440px) and (max-height: 800px) {
    
    .streamer-section {
        /* Зменшуємо гігантські відступи 30vh до розумних меж */
        padding: 100px 0; 
        min-height: 100vh;
    }

    .streamer-card-full {
        max-width: 900px; /* Трохи вужча картка */
        min-height: 400px;
    }
    
    .streamer-info-side {
        padding: 40px; /* Менше внутрішнього простору */
    }

    .streamer-title-area h2 {
        font-size: 2.2rem; /* Менший шрифт заголовка */
    }

    .streamer-text-content p {
        font-size: 0.9rem; /* Компактніший текст */
        margin-bottom: 20px;
    }

    .streamer-hero-img {
        height: 125%; /* Трохи зменшуємо героя, щоб вліз у висоту */
        right: -40px;
        bottom: -10px;
    }
}
/* 2. SMARTPHONE (360 x 740) - ВІДСТУПИ 15px */
@media screen and (max-width: 767px) {
    
    .streamer-section {
        /* ТУТ ЗМІНА: 15px зліва і справа */
        padding: 60px 15px !important; 
        display: block; 
    }

    .streamer-card-full {
        flex-direction: column;
        width: 100%; /* Розтягуємо на всю доступну ширину */
        min-height: auto;
        margin-top: 40px;
    }

    /* --- ВЕРХ: Жовтий фон --- */
    .streamer-yellow-side {
        flex: none;
        width: 100%;
        height: 200px; 
        order: 1;      
        border-radius: 20px 20px 0 0;
    }
    
    .streamer-yellow-bg { border-radius: 20px 20px 0 0; }

    /* --- НИЗ: Текст --- */
    .streamer-info-side {
        flex: none;
        width: 100%;
        order: 2;      
        
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top: none;
        
        text-align: center;
        align-items: center;
        /* Внутрішній відступ теж 15px, щоб текст був рівно, але не прилипав */
        padding: 30px 15px; 
    }

    /* --- ГЕРОЙ --- */
    .streamer-hero-img {
        position: absolute;
        height: 280px;  
        width: auto;
        
        top: -40px;     
        bottom: auto;
        right: auto;
        left: 50%;      
        transform: translateX(-50%); 
        
        animation: floatHeroMobile 4s ease-in-out infinite; 
    }

    @keyframes floatHeroMobile {
        0%, 100% { margin-top: 0; }
        50% { margin-top: -10px; }
    }

    /* --- ШРИФТИ --- */
    .streamer-title-area h2 {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    
    .streamer-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    
    .streamer-text-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* --- КНОПКА --- */
    .btn-start-play {
        width: 100%;       
        max-width: 100%; /* На всю ширину контейнера */
        justify-content: center;
    }
}