/* ==========================================================================
   FISHING ANALYZER PRO™ — TOURNAMENT, HALL OF FAME & SPONSORS STYLES
   Стили лидербордов, Зала Славы, сезонных кубков и спонсорских карточек
   ========================================================================== */

/* --- СТИЛИ БЕГУЩЕЙ СТРОКИ ТУРНИРОВ КЛУБОВ --- */
.ticker-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

@keyframes tickerMoveUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.ticker-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 16px;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.ticker-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: scale(1.01);
}

.ticker-item.gold-item {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(20, 16, 12, 0.95) 100%);
    border: 1.5px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

#tournaments-ticker-list:hover {
    animation-play-state: paused !important;
}

/* --- ТУРНИРНАЯ ТАБЛИЦА (LEADERBOARD) --- */
#leaderboard-container {
    margin-top: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.leaderboard-tabs button {
    background: rgba(255,255,255,0.05);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.leaderboard-tabs button.active {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Шапка таблицы */
.leaderboard-header-row {
    display: grid;
    grid-template-columns: 50px 80px 1fr 100px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    margin-bottom: 10px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--gold-bright);
    letter-spacing: 1px;
}

/* Строки рейтинга */
.leaderboard-row {
    display: grid;
    grid-template-columns: 50px 80px 1fr 100px;
    padding: 18px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: center;
    transition: 0.2s;
}

.leaderboard-row:hover {
    background: rgba(255,255,255,0.02);
}

.leaderboard-row.top-1 { background: linear-gradient(to right, rgba(212, 175, 55, 0.1), transparent); }

.col-rank { font-weight: 800; color: var(--text-gray); }
.top-1 .col-rank { color: var(--gold); font-size: 1.2rem; }

.lb-flag { width: 32px; height: 20px; border-radius: 4px; object-fit: cover; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.lb-name { text-align: left; font-weight: 600; color: #fff; padding-left: 10px; }
.lb-weight { font-weight: 800; color: var(--gold-bright); text-align: right; }

/* --- СЕЗОННЫЙ КУБОК И КОРОЛЬ МЕСЯЦА (2 КАРТОЧКИ 50/50 LAYOUT) --- */
.hero-leader-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

.hero-subcard {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.12), rgba(20, 16, 12, 0.95));
    border: 2px solid var(--gold);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.seasonal-cups-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 5px;
}

.seasonal-cup-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    text-align: left;
    transition: all 0.3s ease;
}

.seasonal-cup-item.season-spring {
    border: 1px solid rgba(76, 175, 80, 0.25);
    background: rgba(76, 175, 80, 0.03);
}
.seasonal-cup-item.season-spring .seasonal-cup-title { color: #81C784; }
.seasonal-cup-item.season-spring.active {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(20, 16, 12, 0.9));
    border: 1.5px solid #4CAF50;
    box-shadow: 0 4px 18px rgba(76, 175, 80, 0.3);
}

.seasonal-cup-item.season-summer {
    border: 1px solid rgba(0, 188, 212, 0.25);
    background: rgba(0, 188, 212, 0.03);
}
.seasonal-cup-item.season-summer .seasonal-cup-title { color: #4DD0E1; }
.seasonal-cup-item.season-summer.active {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(20, 16, 12, 0.9));
    border: 1.5px solid #00BCD4;
    box-shadow: 0 4px 18px rgba(0, 188, 212, 0.3);
}

.seasonal-cup-item.season-autumn {
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(212, 175, 55, 0.03);
}
.seasonal-cup-item.season-autumn .seasonal-cup-title { color: #FFD700; }
.seasonal-cup-item.season-autumn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(20, 16, 12, 0.9));
    border: 1.5px solid #D4AF37;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3);
}

.seasonal-cup-item.season-winter {
    border: 1px solid rgba(33, 150, 243, 0.25);
    background: rgba(33, 150, 243, 0.03);
}
.seasonal-cup-item.season-winter .seasonal-cup-title { color: #64B5F6; }
.seasonal-cup-item.season-winter.active {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(20, 16, 12, 0.9));
    border: 1.5px solid #2196F3;
    box-shadow: 0 4px 18px rgba(33, 150, 243, 0.3);
}

.seasonal-cup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.seasonal-cup-title { font-size: 0.85rem; font-weight: 800; color: #fff; }
.seasonal-cup-item.active .seasonal-cup-title { color: var(--gold-bright); font-size: 0.95rem; }

.active-now-badge {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    color: #4CAF50;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.seasonal-cup-desc { font-size: 0.75rem; color: var(--text-gray); margin: 0 0 6px 0; line-height: 1.3; }

.sponsor-ad-badge {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border: 1.5px dashed var(--gold);
    color: var(--gold-bright);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.sponsor-ad-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
}

.crown-icon { font-size: 3rem; color: var(--gold); margin-bottom: 10px; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.leader-status { font-size: 0.75rem; font-weight: 900; letter-spacing: 2px; color: var(--gold); margin-bottom: 15px; }
.leader-nick { font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 5px; }
.leader-weight { font-size: 1.5rem; color: var(--gold-bright); font-weight: 800; }

.timer-box {
    margin-top: 20px;
    background: rgba(0,0,0,0.4);
    padding: 10px 25px;
    border-radius: 15px;
    border: 1px solid rgba(212,175,55,0.2);
}
.timer-label { font-size: 0.65rem; color: var(--text-gray); text-transform: uppercase; margin-bottom: 3px; }
.timer-val { font-family: monospace; color: #fff; font-weight: bold; font-size: 1.1rem; }

/* --- ГОДОВАЯ СЕТКА (ROAD TO FINAL) --- */
.annual-road-container {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(212,175,55,0.1);
}
.annual-road-title { font-size: 0.8rem; font-weight: 900; color: var(--text-gray); margin-bottom: 20px; letter-spacing: 1px; }

.annual-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.month-slot {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
    min-height: 55px;
    justify-content: center;
}
.month-slot.filled { border-color: var(--gold); background: rgba(212,175,55,0.1); }
.month-slot.pretender { border-style: dashed; border-color: var(--text-gray); background: rgba(255,255,255,0.05); animation: pulse-border 2s infinite; }
@keyframes pulse-border { 0% { opacity: 0.7; } 50% { opacity: 1; } 100% { opacity: 0.7; } }
.month-name { font-size: 0.65rem; color: var(--gold-bright); text-transform: uppercase; margin-bottom: 5px; font-weight: 800; }
.month-winner-flag { width: 22px; height: 14px; border-radius: 2px; }
.month-empty { color: rgba(255,255,255,0.4); font-size: 0.9rem; font-weight: 800; }

.month-slot.season-spring { border-color: rgba(76, 175, 80, 0.4); background: rgba(76, 175, 80, 0.05); }
.month-slot.season-spring .month-name { color: #81C784; }
.month-slot.season-summer { border-color: rgba(0, 188, 212, 0.4); background: rgba(0, 188, 212, 0.05); }
.month-slot.season-summer .month-name { color: #4DD0E1; }
.month-slot.season-autumn { border-color: rgba(255, 152, 0, 0.4); background: rgba(255, 152, 0, 0.05); }
.month-slot.season-autumn .month-name { color: #FFB74D; }
.month-slot.season-winter { border-color: rgba(33, 150, 243, 0.4); background: rgba(33, 150, 243, 0.05); }
.month-slot.season-winter .month-name { color: #64B5F6; }

.month-slot.month-current-active {
    border: 2px solid var(--gold) !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(20, 16, 12, 0.9)) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    animation: gold-pulse 2s infinite ease-in-out;
}

@keyframes gold-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); border-color: var(--gold); }
    50% { box-shadow: 0 0 28px rgba(255, 215, 0, 0.7); border-color: #FFD700; }
}

/* --- СТИЛИ СПОНСОРОВ И ЗАЛА СЛАВЫ --- */
.hall-sponsors-container {
    margin-bottom: 50px;
    width: 100%;
    text-align: center;
}

.sponsors-carousel-web {
    display: flex;
    overflow: visible;
    position: relative;
    min-height: 140px;
    justify-content: center;
    align-items: center;
}

.web-sponsor-card {
    background: linear-gradient(145deg, #1e1b18, #120e0b);
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.5s;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    position: absolute;
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    width: 95%;
    max-width: 500px;
}

.web-sponsor-card.super-edition { border: 2px solid #00FFFF; }
.web-sponsor-card.super-edition.active {
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.45), inset 0 0 15px rgba(0, 255, 255, 0.1);
}
.web-sponsor-card.gold-edition { border: 2px solid var(--gold); }
.web-sponsor-card.gold-edition.active { box-shadow: 0 0 50px rgba(212, 175, 55, 0.25); }
.web-sponsor-card.silver-edition { border: 2px solid #C0C0C0; }
.web-sponsor-card.silver-edition.active { box-shadow: 0 0 40px rgba(192, 192, 192, 0.3); }

.web-sponsor-card.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
    pointer-events: auto;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.25);
}

.sponsor-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #000;
    padding: 4px 20px;
    font-size: 0.7rem;
    font-weight: 900;
    border-radius: 6px;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    z-index: 100;
    white-space: nowrap;
}

.sponsor-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.sponsor-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.sponsor-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}

.sponsor-info h3 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: clamp(1.05rem, 3.5vw, 1.35rem);
    font-weight: 900;
    line-height: 1.2;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.sponsor-info p {
    color: var(--gold);
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: break-word;
}

/* --- АБСОЛЮТНЫЙ ЛИДЕР ГОДА (HALL OF FAME) --- */
.hof-leader-card {
    background: #1B1612;
    border: 2px solid var(--gold);
    border-radius: 24px;
    padding: 24px;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}
.hof-card-content { display: flex; align-items: center; gap: 20px; }
.hof-avatar-circle {
    position: relative; width: 100px; height: 100px;
    border-radius: 50%; border: 2px solid var(--gold);
    padding: 3px; background: rgba(212, 175, 55, 0.1);
}
.hof-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hof-rank-badge {
    position: absolute; bottom: -5px; right: -5px;
    background: var(--gold); color: #000; width: 30px; height: 30px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 13px; border: 2px solid #1B1612;
}
.hof-info-block { text-align: left; flex: 1; min-width: 0; }
.hof-rep-label {
    color: var(--text-gray); font-size: 10px; font-weight: 800;
    text-transform: uppercase; margin-bottom: 4px;
    display: flex; align-items: center;
}
.hof-user-name {
    color: #fff; font-size: 20px; font-weight: 900; margin-bottom: 5px;
    white-space: normal; word-wrap: break-word; line-height: 1.1;
}
.hof-weight-row { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.hof-weight-val { color: var(--gold); font-size: 28px; font-weight: 900; }
.hof-weight-unit { color: var(--gold); opacity: 0.7; font-size: 14px; font-weight: 700; }
.hof-rank-text { color: var(--text-gray); font-size: 12px; margin-top: 5px; }
.hof-status-tag { color: #4CAF50; font-size: 10px; font-weight: 800; margin-top: 10px; text-transform: uppercase; }

/* Awards / Награждение */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.award-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 10px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.award-item.banner {
    grid-column: 1 / -1;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.15), rgba(27, 22, 18, 0.95));
    border: 2px solid var(--gold);
    flex-direction: row;
    padding: 25px;
    gap: 30px;
    align-items: center;
    min-height: 220px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.award-item.banner .photo-wrapper {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
}

.award-item.banner .award-info { text-align: left; padding: 0; }
.award-item.banner .award-info p { font-size: 1.2rem; line-height: 1.5; }
.award-item.banner .sponsor-badge-web {
    color: var(--gold); font-size: 0.8rem; font-weight: 800;
    text-transform: uppercase; margin-bottom: 8px; display: block;
}

.photo-wrapper {
    width: 100%; height: 180px;
    display: flex; align-items: center; justify-content: center;
    background: #000; border-radius: 12px;
}

.award-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.award-item iframe { width: 100%; height: 200px; border-radius: 12px; }
.award-info { padding: 15px 5px 5px 5px; text-align: center; }
.award-info p { color: #fff; font-weight: 600; font-size: 0.9rem; margin: 0; }

@media (max-width: 768px) {
    .web-sponsor-card {
        padding: 18px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .sponsor-content {
        gap: 14px !important;
    }
    .sponsor-logo {
        width: 48px !important;
        height: 48px !important;
    }
    .sponsor-info h3 {
        font-size: 1.1rem !important;
    }
    .sponsor-info p {
        font-size: 0.72rem !important;
    }
    .awards-grid { grid-template-columns: 1fr; }
    .award-item img, .award-item iframe { height: 250px; }
    .award-item.banner { flex-direction: column; text-align: center; padding: 20px 15px; }
    .award-item.banner .photo-wrapper { width: 100%; height: 180px; }
    .award-item.banner .award-info { text-align: center; margin-top: 15px; }
    .award-item.banner .award-info p { font-size: 1rem; }
    .hero-leader-row { grid-template-columns: 1fr !important; gap: 20px; }
    .hero-subcard { padding: 18px 14px; }
    .annual-grid { grid-template-columns: repeat(4, 1fr); }
    .leader-nick { font-size: 1.6rem; }
}

/* --- СТИЛИ ОФИЦИАЛЬНОГО РЕЕСТРА СПОНСОРОВ (SHOWCASE MODAL) --- */
#sponsors-showcase-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 20px;
}

.showcase-sponsor-card {
    background: rgba(22, 18, 14, 0.95);
    border: 1.5px solid var(--gold);
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    text-align: left;
}

[dir="rtl"] .showcase-sponsor-card {
    text-align: right;
}

.showcase-sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.25);
}

.showcase-sponsor-card.super-edition {
    border-color: #00FFFF;
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.25);
}

.showcase-sponsor-card.super-edition:hover {
    box-shadow: 0 12px 40px rgba(0, 255, 255, 0.45);
}

.showcase-sponsor-card.gold-edition {
    border-color: var(--gold);
}

.showcase-sponsor-card.silver-edition {
    border-color: #C0C0C0;
}

.showcase-sponsor-card.cup-edition {
    border-color: #FF7700;
}

.sp-tier-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sp-tier-btn:hover {
    color: #fff;
    background: rgba(212, 175, 55, 0.15);
}

.sp-tier-btn.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}
