/* ============================================================
   results.css — страница жетістіктер (достижения)
   Jasqanat · 2024
   ============================================================ */

/* --- ОБЩИЙ ФОН СТРАНИЦЫ --- */
.results-page {
    background: #0a0f1e;
    min-height: 100vh;
}

/* --- HERO --- */
.results-hero {
    padding: 110px 2rem 60px;
    text-align: center;
    background: linear-gradient(180deg, #0a0f1e 0%, #0d1528 100%);
    position: relative;
    overflow: hidden;
}

.results-hero::before {
    content: '';
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(212,170,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.results-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.results-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,170,0,0.1);
    border: 1px solid rgba(212,170,0,0.3);
    color: #d4aa00;
    padding: 6px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.results-hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -1.5px;
    font-family: 'Inter', sans-serif;
}

.gold-text {
    background: linear-gradient(135deg, #d4aa00, #f5d800, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-family: 'Inter', sans-serif;
}

/* Статистика в hero */
.results-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.rhs-item {
    flex: 1;
    text-align: center;
}

.rhs-num {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #d4aa00, #f5d800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    margin-bottom: 4px;
}

.rhs-lbl {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.rhs-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.08);
    margin: 0 1rem;
}

/* --- СЛАЙДЕР --- */
.slider-section {
    padding: 3rem 2rem 4rem;
    background: #0a0f20;
}

.slider-wrap {
    max-width: 900px;
    margin: 0 auto;
}

/* Контейнер слайдера */
.slider-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 260px;
    box-shadow:
        0 0 0 1px rgba(212,170,0,0.15),
        0 40px 80px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
    background: #0d1528;
}

/* Трек */
.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Один слайд */
.slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    position: relative;
    box-sizing: border-box;
}

.slide-inner {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    background: #0b1121;
}

.slide-img {
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: contain;
    object-position: top;
    display: block;
    margin: 0 auto;
}

/* Свечение под изображением */
.slide-glow {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(212,170,0,0.06), transparent);
    pointer-events: none;
}

/* Кнопки стрелок */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(212,170,0,0.3);
    color: #d4aa00;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(212,170,0,0.2);
    border-color: #d4aa00;
    transform: translateY(-50%) scale(1.08);
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dot.active {
    width: 28px;
    border-radius: 4px;
    background: linear-gradient(90deg, #d4aa00, #f5d800);
}

/* --- ПРЕВЬЮ (thumbnails) --- */
.slider-thumbs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumb {
    width: 130px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
    transition: all 0.25s;
    flex-shrink: 0;
}

.thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    object-position: top;
    display: block;
    filter: brightness(0.65);
    transition: filter 0.25s;
}

.thumb-name {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    padding: 6px 8px 2px;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
    transition: color 0.25s;
}

.thumb-score {
    font-size: 12px;
    font-weight: 700;
    color: rgba(212,170,0,0.5);
    padding: 0 8px 8px;
    font-family: 'Inter', sans-serif;
    transition: color 0.25s;
}

.thumb.active {
    border-color: #d4aa00;
    box-shadow: 0 0 0 2px rgba(212,170,0,0.2), 0 8px 20px rgba(0,0,0,0.3);
}

.thumb.active img {
    filter: brightness(1);
}

.thumb.active .thumb-name {
    color: #fff;
}

.thumb.active .thumb-score {
    color: #d4aa00;
}

.thumb:hover:not(.active) {
    border-color: rgba(212,170,0,0.3);
    transform: translateY(-2px);
}

.thumb:hover:not(.active) img {
    filter: brightness(0.85);
}

/* --- CTA БЛОК --- */
.results-cta {
    background: linear-gradient(135deg, rgba(22,163,74,0.12), rgba(0,61,153,0.15));
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 4rem 2rem;
    text-align: center;
}

.results-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.results-cta h2 {
    font-size: 32px;
    font-weight: 800;
    color: #a67d26;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

.results-cta p {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

.btn-cta-gold {
    display: inline-block;
    background: linear-gradient(135deg, #b8860b, #d4aa00, #f5d800);
    color: #1a1000;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 6px 20px rgba(212,170,0,0.3);
    transition: all 0.2s;
    letter-spacing: 0.2px;
}

.btn-cta-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212,170,0,0.45);
    text-decoration: none;
    color: #1a1000;
}

/* --- АДАПТИВ --- */
@media (max-width: 768px) {
    .results-hero {
        padding: 90px 1.25rem 40px;
    }

    .results-hero-title {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .results-hero-sub {
        font-size: 15px;
    }

    .results-hero-stats {
        padding: 1.25rem 1rem;
    }

    .rhs-num {
        font-size: 28px;
    }

    .slider-section {
        padding: 2rem 1rem 3rem;
    }

    .slider-container {
        border-radius: 18px;
        min-height: 240px;
    }

    .slide-img {
        max-height: 540px;
    }

    .slider-btn {
        width: 38px; height: 38px;
    }

    .slider-thumbs {
        gap: 8px;
    }

    .thumb {
        width: 100px;
    }

    .thumb img {
        height: 70px;
    }

    .results-cta h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .results-hero-title {
        font-size: 28px;
    }

    .rhs-divider {
        margin: 0 0.5rem;
    }

    .thumb {
        width: 85px;
    }

    .thumb-name {
        font-size: 10px;
    }

    .slider-btn {
        width: 32px; height: 32px;
    }

    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }
}
/* ============================================================ */


/* ============================================================
   ПЕРЕКЛЮЧАТЕЛЬ ГОДОВ (year-switcher)
   ============================================================ */

.year-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    padding: 6px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}

.year-btn {
    flex: 1;
    padding: 10px 28px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.4);
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.3px;
}

.year-btn:hover:not(.active) {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
}

.year-btn.active {
    background: linear-gradient(135deg, #b8860b, #d4aa00, #f5d800);
    color: #1a1000;
    box-shadow: 0 4px 16px rgba(212,170,0,0.35);
}

/* Плавное переключение слайдера при смене года */
.slider-track {
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Скрытые слайды не занимают место в flex — но остаются в DOM */
.slide[style*="display: none"] {
    min-width: 0 !important;
    width: 0 !important;
    overflow: hidden;
}

/* Thumbs враппер — flex с переносом */
.slider-thumbs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Скрытые thumbs */
.thumb[style*="display: none"] {
    display: none !important;
}

@media (max-width: 480px) {
    .year-switcher {
        max-width: 220px;
    }

    .year-btn {
        padding: 9px 20px;
        font-size: 14px;
    }
}
/* ============================================================ */
