/* /assets/css/season.css */
/* Battle Pass — страница /season */

.season-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   HERO — баннер сезона
   ═══════════════════════════════════════════════════════════ */
.bp-hero {
    position: relative;
    min-height: 320px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(124, 58, 237, 0.4) 0%,
        rgba(6, 182, 212, 0.3) 50%,
        rgba(236, 72, 153, 0.3) 100%);
    border: 1px solid rgba(124, 58, 237, 0.4);
    box-shadow: 0 30px 80px rgba(124, 58, 237, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
}

.bp-hero-glow {
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.15) 90deg,
        transparent 180deg,
        rgba(255, 255, 255, 0.15) 270deg,
        transparent 360deg
    );
    animation: bpGlow 25s linear infinite;
    pointer-events: none;
}

@keyframes bpGlow {
    to { transform: rotate(360deg); }
}

.bp-hero-content {
    position: relative;
    z-index: 1;
}

.bp-hero-flag {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}

.bp-hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.bp-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 1.25rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.bp-hero-timer {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.bp-hero-timer b {
    color: #fbbf24;
    font-family: 'Space Grotesk', monospace;
    font-size: 1.1rem;
    margin-left: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════
   Прогресс игрока
   ═══════════════════════════════════════════════════════════ */
.bp-progress-section {
    padding: 1.75rem;
}

.bp-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.bp-progress-level {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.bp-progress-level b {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
}

.bp-progress-xp {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.bp-premium-badge {
    padding: 0.65rem 1.25rem;
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    color: #fff;
    font-weight: 800;
    border-radius: 999px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
    animation: premiumPulse 3s ease-in-out infinite;
}

@keyframes premiumPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35); }
    50%      { box-shadow: 0 8px 32px rgba(245, 158, 11, 0.6); }
}

.bp-progress-bar {
    height: 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    position: relative;
}

.bp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #ec4899);
    background-size: 200% 100%;
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bpBarShift 3s linear infinite;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

@keyframes bpBarShift {
    to { background-position: 200% 0; }
}

.bp-progress-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
}

/* ═══════════════════════════════════════════════════════════
   Награды по уровням
   ═══════════════════════════════════════════════════════════ */
.bp-rewards-section {
    padding: 1.75rem;
}

.bp-rewards-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.bp-rewards-head h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.bp-rewards-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bp-legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.bp-legend-dot.free {
    background: #22d3ee;
    box-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}

.bp-legend-dot.premium {
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.bp-levels-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 700px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.bp-levels-grid::-webkit-scrollbar {
    width: 6px;
}

.bp-levels-grid::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.4);
    border-radius: 3px;
}

.bp-level-row {
    display: grid;
    grid-template-columns: 60px 1fr 1fr;
    gap: 0.75rem;
    align-items: stretch;
}

.bp-level-num {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    min-height: 90px;
}
.bp-reward {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 72px;
}
.bp-reward.locked {
    opacity: 0.5;
    filter: grayscale(0.7);
}

.bp-reward.unlocked {
    cursor: pointer;
    border-color: rgba(34, 211, 238, 0.4);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(124, 58, 237, 0.05));
}

.bp-reward.unlocked:hover:not([data-no-click]) {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(34, 211, 238, 0.25);
    border-color: #22d3ee;
}

.bp-reward-premium.unlocked {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(236, 72, 153, 0.06));
}

.bp-reward-premium.unlocked:hover:not([data-no-click]) {
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
}

.bp-reward-premium.premium-locked {
    opacity: 0.6;
    filter: none;
}

.bp-reward.claimed {
    opacity: 0.55;
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.05);
    cursor: default;
}

.bp-reward.claimed:hover {
    transform: none;
    box-shadow: none;
}

.bp-reward.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Редкости */
.bp-reward[data-rarity="rare"]      { border-left: 4px solid #3b82f6; }
.bp-reward[data-rarity="epic"]      { border-left: 4px solid #a855f7; }
.bp-reward[data-rarity="legendary"] { border-left: 4px solid #f59e0b; }

.bp-reward-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
}

.bp-reward-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
    min-width: 0;
}

.bp-reward-check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #22d3ee);
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.bp-reward-tap {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.6rem;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bp-reward-lock {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.2rem;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════
   Лидерборд
   ═══════════════════════════════════════════════════════════ */
.bp-leaderboard-section {
    padding: 1.75rem;
}

.bp-leaderboard-section h2 {
    margin: 0 0 1.25rem;
    font-size: 1.35rem;
    font-weight: 800;
}

.bp-leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bp-lb-item {
    display: grid;
    grid-template-columns: 48px 40px 1fr auto auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.2s;
}

.bp-lb-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.bp-lb-item.top-1 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.15), transparent);
    border: 1px solid rgba(255, 215, 0, 0.35);
}

.bp-lb-item.top-2 {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.12), transparent);
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.bp-lb-item.top-3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.12), transparent);
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.bp-lb-rank {
    font-size: 1.35rem;
    text-align: center;
    font-weight: 900;
    color: var(--text-muted);
}

.bp-lb-name {
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-lb-premium {
    font-size: 1.1rem;
}

.bp-lb-level {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #a78bfa;
    font-size: 0.9rem;
    white-space: nowrap;
}

.bp-lb-xp {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #fbbf24;
    font-size: 0.9rem;
    white-space: nowrap;
}

.bp-lb-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
}

/* ═══════════════════════════════════════════════════════════
   Адаптив
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
    .bp-hero {
        padding: 2rem 1rem;
        min-height: 240px;
    }

    .bp-hero-flag {
        font-size: 3rem;
    }

    .bp-progress-section,
    .bp-rewards-section,
    .bp-leaderboard-section {
        padding: 1.25rem;
    }

    .bp-level-row {
        grid-template-columns: 40px 1fr 1fr;
        gap: 0.5rem;
    }

    .bp-level-num {
        font-size: 1rem;
        min-height: 76px;
    }

    .bp-reward {
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.35rem;
        text-align: center;
        min-height: 76px;
    }

    .bp-reward-icon {
        font-size: 1.5rem;
    }

    .bp-reward-label {
        font-size: 0.7rem;
    }

    .bp-lb-item {
        grid-template-columns: 32px 32px 1fr auto;
        gap: 0.5rem;
    }

    .bp-lb-level,
    .bp-lb-premium {
        display: none;
    }
}