/* TOP-100 Hall of Fame - Corporate Minimal Design */

/* Global Hall of Fame Theme */
.hall-of-fame {
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Enhanced Dark Header */
.dark-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #1e293b 30%, #334155 70%, #475569 100%);
    padding: 20px 0;
    border-bottom: 2px solid #3b82f6;
    box-shadow: 0 4px 20px rgba(59,130,246,0.3);
    position: relative;
}

.dark-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #1e40af 50%, #1d4ed8 100%);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 48px;
    filter: drop-shadow(0 0 15px rgba(59,130,246,0.5));
    animation: none; /* Убираем анимацию для корпоративности */
    position: relative;
}

.logo-text h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #8b7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.logo-text p {
    margin: 4px 0 0 0;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.5px;
}

.header-nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    background: rgba(71, 85, 105, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* Enhanced Hero Section - No Parallax */
.hero-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid #3b82f6;
}

.hero-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59,130,246,0.1) 0%, transparent 70%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-icon {
    font-size: 80px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(59,130,246,0.4));
    /* Убираем анимацию */
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 20px 0;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #8b7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 40px;
    font-weight: 500;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(71, 85, 105, 0.5);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legendary-stat::before { background: linear-gradient(90deg, #3b82f6, #1e40af); }
.elite-stat::before { background: linear-gradient(90deg, #8b5cf6, #a855f7); }
.rising-stat::before { background: linear-gradient(90deg, #10b981, #059669); }
.power-stat::before { background: linear-gradient(90deg, #ec4899, #be185d); }

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.stat-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #3b82f6;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.stat-change {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 6px;
    opacity: 0.9;
    font-style: italic;
}

/* Champions Podium Section - No Parallax */
.champions-podium {
    background: linear-gradient(180deg, #111827 0%, #1f2937 50%, #374151 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.champions-podium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(59,130,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.podium-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.podium-header {
    text-align: center;
    margin-bottom: 50px;
}

.podium-title {
    font-size: 42px;
    font-weight: 900;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #8b7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.podium-subtitle {
    font-size: 16px;
    color: #94a3b8;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.podium-stage {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 30px;
    margin-bottom: 50px;
    min-height: 350px;
}

.podium-placeholder, .podium-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-style: italic;
}

.loading-crown {
    font-size: 50px;
    margin-bottom: 15px;
}

/* Podium positions */
.podium-position {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: podiumRise 1s ease-out;
}

@keyframes podiumRise {
    0% { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0px); 
    }
}

.podium-position-1 {
    order: 2;
    z-index: 3;
}

.podium-position-2 {
    order: 1;
    z-index: 2;
}

.podium-position-3 {
    order: 3;
    z-index: 1;
}

.champion-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 50%, #475569 100%);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    width: 260px;
}

.champion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.champion-card-1::before { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.champion-card-2::before { background: linear-gradient(90deg, #e5e7eb, #d1d5db); }
.champion-card-3::before { background: linear-gradient(90deg, #cd7c2f, #a16207); }

.champion-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.champion-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
    overflow: hidden;
}

.champion-avatar-1 {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.champion-avatar-2 {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    box-shadow: 0 0 15px rgba(229, 231, 235, 0.4);
}

.champion-avatar-3 {
    background: linear-gradient(135deg, #cd7c2f 0%, #a16207 100%);
    box-shadow: 0 0 15px rgba(205, 124, 47, 0.4);
}

.champion-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.champion-title {
    font-size: 14px;
    color: #3b82f6;
    font-style: italic;
    margin: 0 0 12px 0;
}

.champion-power {
    font-size: 22px;
    font-weight: 800;
    color: #3b82f6;
    margin: 0 0 8px 0;
}

.champion-owner {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
}

.podium-base {
    width: 100px;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.podium-base-1 {
    height: 100px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.podium-base-2 {
    height: 75px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    box-shadow: 0 0 15px rgba(229, 231, 235, 0.3);
}

.podium-base-3 {
    height: 50px;
    background: linear-gradient(135deg, #cd7c2f 0%, #a16207 100%);
    box-shadow: 0 0 15px rgba(205, 124, 47, 0.3);
}

/* Achievement Showcase */
.achievement-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.achievement-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.achievement-title {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #8b7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
}

.achievement-description {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

/* Enhanced Filters Section */
.filters-dark {
    background: #111827;
    padding: 20px 0;
    border-bottom: 1px solid #374151;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.filters-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.filters-title-section {
    text-align: left;
}

.filters-header h2 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #8b7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 6px 0;
}

.filters-header p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.filters-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-item label {
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #8b7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dark-select, .dark-input {
    background: #1f2937;
    border: 2px solid #374151;
    border-radius: 6px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 13px;
    transition: all 0.3s ease;
    outline: none;
}

.dark-select:focus, .dark-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #0f172a;
}

.dark-select:hover, .dark-input:hover {
    border-color: #64748b;
}

.search-item {
    grid-column: 1 / -1;
}

.search-container .dark-input {
    padding-right: 40px;
}

.range-item {
    grid-column: span 2;
}

/* Enhanced Filter Action Buttons */
.filter-action-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-action-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

.filter-action-btn.primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.filter-action-btn.secondary {
    background: rgba(71, 85, 105, 0.3);
    color: #cbd5e1;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.filter-action-btn.secondary:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border-color: #3b82f6;
}

/* Main Content Area */
.main-content-area {
    background: #0a0a0a;
    padding: 0;
    min-height: 100vh;
}

.content-layout {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Enhanced Main Ranking */
.ranking-main {
    background: #111827;
    padding: 40px 30px;
    min-height: 100vh;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #8b7355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 12px 0;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.section-header p {
    font-size: 16px;
    color: #94a3b8;
    margin: 0;
    font-style: italic;
    line-height: 1.6;
}

.ranking-wrapper {
    background: linear-gradient(145deg, #1f2937 0%, #374151 100%);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.ranking-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #1e40af 50%, #1d4ed8 100%);
}

.ranking-table-container {
    overflow-x: auto;
    border-radius: 16px;
    background: #0f172a;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

/* Enhanced Achievement Table */
.achievement-table {
    width: 100%;
    border-collapse: collapse;
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
}

.achievement-table thead {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #1d4ed8 100%);
}

.achievement-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 800;
    color: #ffffff;
    font-size: 14px;
    border-bottom: 2px solid #1d4ed8;
}

.achievement-table tbody tr {
    background: #1f2937;
    border-bottom: 1px solid #374151;
    transition: all 0.3s ease;
}

.achievement-table tbody tr:hover {
    background: linear-gradient(135deg, #374151 0%, #475569 100%);
    transform: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.achievement-table tbody tr:nth-child(even) {
    background: #111827;
}

.achievement-table tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, #374151 0%, #475569 100%);
}

.achievement-table td {
    padding: 18px 15px;
    color: #e2e8f0;
    font-size: 14px;
    vertical-align: middle;
}

/* Special styling for top 3 rows */
.achievement-table tbody tr:nth-child(1) {
    background: linear-gradient(135deg, rgba(251,191,36,0.1) 0%, #1f2937 100%);
    border-left: 3px solid #fbbf24;
}

.achievement-table tbody tr:nth-child(2) {
    background: linear-gradient(135deg, rgba(229,231,235,0.1) 0%, #1f2937 100%);
    border-left: 3px solid #e5e7eb;
}

.achievement-table tbody tr:nth-child(3) {
    background: linear-gradient(135deg, rgba(205,124,47,0.1) 0%, #1f2937 100%);
    border-left: 3px solid #cd7c2f;
}

.rank-cell {
    font-weight: 900;
    font-size: 16px;
    text-align: center;
    color: #3b82f6;
}

.spirit-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.table-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: 2px solid #3b82f6;
    flex-shrink: 0;
}

.spirit-details h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.spirit-details p {
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
}

.class-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.class-A\+ { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #0a0a0a; }
.class-A { background: linear-gradient(135deg, #8b5cf6, #a855f7); color: white; }
.class-B\+ { background: linear-gradient(135deg, #3b82f6, #2563eb); color: white; }
.class-B { background: linear-gradient(135deg, #10b981, #059669); color: white; }
.class-S { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #0a0a0a; box-shadow: 0 0 15px rgba(251,191,36,0.3); }

.power-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.power-bar {
    width: 100px;
    height: 8px;
    background: #374151;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.power-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
    border-radius: 4px;
    transition: width 1s ease;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.power-number {
    font-weight: 700;
    color: #3b82f6;
    font-size: 14px;
    min-width: 45px;
}

.skills-display {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 220px;
}

.skill-tag {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.skill-tag.more-skills {
    background: rgba(107, 114, 128, 0.3);
    color: #9ca3af;
    border-color: rgba(107, 114, 128, 0.5);
}

.owner-info {
    color: #94a3b8;
    font-size: 13px;
    font-style: italic;
}

.owner-info.has-owner {
    color: #10b981;
    font-weight: 600;
    font-style: normal;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    min-width: fit-content;
    border: 1px solid rgba(255,255,255,0.1);
}

.status-active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.status-reserve {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.status-assigned {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.status-maintenance {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.2);
}

/* Mountain Footer */
.mountain-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.mountain-scene {
    position: relative;
    padding: 80px 0 30px 0;
    background: linear-gradient(to bottom, 
        #0f172a 0%,
        #1e293b 30%,
        #334155 60%,
        #475569 100%);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.mountain-background {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    overflow: hidden;
}

.mountain-peak {
    position: absolute;
    bottom: 0;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    filter: drop-shadow(0 -10px 20px rgba(0,0,0,0.5));
}

.peak-1 {
    left: 5%;
    width: 160px;
    height: 100px;
    z-index: 1;
    background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #111827 100%);
    opacity: 0.8;
}

.peak-2 {
    left: 20%;
    width: 220px;
    height: 160px;
    z-index: 2;
    background: linear-gradient(135deg, #4b5563 0%, #374151 50%, #1f2937 100%);
    transform: translateX(-50%);
}

.peak-3 {
    left: 50%;
    width: 300px;
    height: 220px;
    z-index: 3;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 50%, #374151 100%);
    transform: translateX(-50%);
    position: relative;
}

.peak-3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 30px;
    background: linear-gradient(135deg, #f3f4f6 0%, #d1d5db 100%);
    clip-path: polygon(50% 0%, 20% 100%, 80% 100%);
    z-index: 1;
}

.peak-4 {
    right: 20%;
    width: 200px;
    height: 140px;
    z-index: 2;
    background: linear-gradient(135deg, #4b5563 0%, #374151 50%, #1f2937 100%);
    transform: translateX(50%);
}

.peak-5 {
    right: 5%;
    width: 140px;
    height: 90px;
    z-index: 1;
    background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #111827 100%);
    opacity: 0.7;
}

.champions-mountain {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 0 30px;
    min-height: 350px;
}

.mountain-top-3 {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 40px;
}

.mountain-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-style: italic;
    text-align: center;
}

.mountain-loading {
    font-size: 60px;
    margin-bottom: 15px;
}

.mountain-champion {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: mountainRise 1.2s ease-out;
}

@keyframes mountainRise {
    0% { 
        opacity: 0; 
        transform: translateY(60px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0px); 
    }
}

.mountain-champion-1 { order: 2; z-index: 3; }
.mountain-champion-2 { order: 1; z-index: 2; }
.mountain-champion-3 { order: 3; z-index: 1; }

.mountain-champion-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    margin-bottom: 12px;
    width: 180px;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.mountain-champion-card-1 {
    border-color: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.mountain-champion-card-2 {
    border-color: #e5e7eb;
    box-shadow: 0 0 15px rgba(229, 231, 235, 0.4);
}

.mountain-champion-card-3 {
    border-color: #cd7c2f;
    box-shadow: 0 0 15px rgba(205, 124, 47, 0.4);
}

.mountain-champion-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.mountain-champion-avatar-1 {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.mountain-champion-avatar-2 {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    box-shadow: 0 0 12px rgba(229, 231, 235, 0.5);
}

.mountain-champion-avatar-3 {
    background: linear-gradient(135deg, #cd7c2f 0%, #a16207 100%);
    box-shadow: 0 0 12px rgba(205, 124, 47, 0.5);
}

.mountain-champion-name {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.mountain-champion-power {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.mountain-champion-power-1 { color: #fbbf24; }
.mountain-champion-power-2 { color: #e5e7eb; }
.mountain-champion-power-3 { color: #cd7c2f; }

.mountain-champion-bonus {
    font-size: 10px;
    color: #94a3b8;
    font-style: italic;
    margin: 0;
}

.mountain-pedestal {
    width: 80px;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.mountain-pedestal-1 {
    height: 60px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.mountain-pedestal-2 {
    height: 45px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    box-shadow: 0 0 12px rgba(229, 231, 235, 0.4);
}

.mountain-pedestal-3 {
    height: 30px;
    background: linear-gradient(135deg, #cd7c2f 0%, #a16207 100%);
    box-shadow: 0 0 12px rgba(205, 124, 47, 0.4);
}

.mountain-bonuses {
    position: relative;
    z-index: 5;
    text-align: center;
    margin-top: 30px;
    padding: 0 30px;
}

.bonus-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #3b82f6;
    margin: 0 0 8px 0;
}

.bonus-info p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 25px 0;
    font-style: italic;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.bonus-card {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    transition: all 0.3s ease;
}

.bonus-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.bonus-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.bonus-card-1 h4 { color: #fbbf24; }
.bonus-card-2 h4 { color: #e5e7eb; }
.bonus-card-3 h4 { color: #cd7c2f; }

.bonus-card p {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 30px 25px 30px;
    position: relative;
    z-index: 5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #3b82f6;
    margin: 0 0 15px 0;
}

.footer-section p {
    color: #9ca3af;
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.footer-section a {
    color: #3b82f6;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #60a5fa;
}

.telegram-link {
    color: #3b82f6;
    text-decoration: none;
    display: inline;
    transition: color 0.2s ease;
    font-weight: 500;
}

.telegram-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 2px solid rgba(59, 130, 246, 0.3);
}

.footer-bottom p {
    color: #6b7280;
    margin: 0 0 8px 0;
    font-size: 13px;
}

.mountain-rule {
    font-size: 11px;
    color: #94a3b8;
    font-style: italic;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(15px);
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    font-size: 80px;
    animation: loadingSpin 2s linear infinite;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
}

@keyframes loadingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-content p {
    font-size: 18px;
    color: #3b82f6;
    font-weight: 600;
}

/* Responsive Design */
/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .header-container,
    .hero-container,
    .podium-container,
    .filters-container {
        padding: 0 20px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .podium-stage {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .mountain-top-3 {
        flex-direction: column;
        gap: 25px;
    }

    .filters-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .achievement-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .bonuses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets and mobile landscape */
@media (max-width: 768px) {
    /* Header adjustments */
    .header-container {
        padding: 0 15px;
        flex-wrap: wrap;
    }

    .logo-section {
        flex: 1;
        min-width: 0;
    }

    .logo-text h1 {
        font-size: 24px;
    }

    .logo-text p {
        font-size: 12px;
    }

    .header-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-link {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    /* Hero section */
    .hero-dark {
        padding: 40px 0;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-icon {
        font-size: 60px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 30px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-icon {
        font-size: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Podium section */
    .champions-podium {
        padding: 40px 0;
    }

    .podium-container {
        padding: 0 15px;
    }

    .podium-title {
        font-size: 32px;
    }

    .podium-subtitle {
        font-size: 14px;
    }

    .podium-stage {
        min-height: 280px;
        margin-bottom: 30px;
    }

    .champion-card {
        width: 220px;
        padding: 20px 15px;
    }

    .champion-avatar {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .champion-name {
        font-size: 16px;
    }

    .champion-title {
        font-size: 12px;
    }

    .champion-power {
        font-size: 18px;
    }

    .achievement-showcase {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Filters section */
    .filters-dark {
        padding: 15px 0;
    }

    .filters-container {
        padding: 0 15px;
    }

    .filters-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 20px;
    }

    .filters-header h2 {
        font-size: 18px;
    }

    .filters-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .search-item {
        grid-column: 1 / -1;
    }

    .range-item {
        grid-column: 1 / -1;
    }

    /* Main content */
    .ranking-main {
        padding: 30px 15px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 14px;
    }

    .ranking-wrapper {
        padding: 20px;
    }

    /* Table adjustments */
    .achievement-table {
        font-size: 12px;
    }
    
    .achievement-table th,
    .achievement-table td {
        padding: 12px 8px;
    }

    .table-avatar {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .spirit-details h4 {
        font-size: 14px;
    }

    .spirit-details p {
        font-size: 11px;
    }

    .class-badge {
        padding: 3px 8px;
        font-size: 10px;
    }

    .power-bar {
        width: 80px;
        height: 6px;
    }

    .power-number {
        font-size: 12px;
        min-width: 35px;
    }

    .skill-tag {
        font-size: 9px;
        padding: 2px 6px;
    }

    .status-badge {
        font-size: 9px;
        padding: 3px 6px;
    }

    /* Mountain footer */
    .mountain-footer {
        padding: 60px 0 20px 0;
    }

    .mountain-scene {
        padding: 60px 0 20px 0;
    }

    .champions-mountain {
        padding: 0 15px;
        min-height: 280px;
    }

    .mountain-champion-card {
        width: 150px;
        padding: 15px 12px;
    }

    .mountain-champion-avatar {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .mountain-champion-name {
        font-size: 12px;
    }

    .mountain-champion-power {
        font-size: 16px;
    }

    .mountain-bonuses {
        padding: 0 15px;
    }

    .bonuses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bonus-card {
        padding: 15px;
    }

    .bonus-card h4 {
        font-size: 14px;
    }

    .bonus-card p {
        font-size: 12px;
    }

    .footer-container {
        padding: 40px 15px 20px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    /* Header */
    .header-container {
        padding: 0 10px;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .logo-section {
        width: 100%;
        justify-content: center;
    }

    .logo-icon {
        font-size: 36px;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .logo-text p {
        font-size: 11px;
    }

    .header-nav {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    /* Hero section */
    .hero-dark {
        padding: 30px 0;
    }

    .hero-container {
        padding: 0 10px;
    }

    .hero-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 25px;
    }

    .stat-card {
        padding: 15px 10px;
    }

    .stat-icon {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .stat-number {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .stat-change {
        font-size: 10px;
    }

    /* Podium section */
    .champions-podium {
        padding: 30px 0;
    }

    .podium-container {
        padding: 0 10px;
    }

    .podium-header {
        margin-bottom: 30px;
    }
    
    .podium-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .podium-subtitle {
        font-size: 13px;
    }

    .podium-stage {
        min-height: 220px;
        margin-bottom: 25px;
        gap: 15px;
    }

    .champion-card {
        width: 180px;
        padding: 15px 10px;
    }

    .champion-avatar {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .champion-name {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .champion-title {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .champion-power {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .champion-owner {
        font-size: 10px;
    }

    .podium-base {
        width: 70px;
        font-size: 28px;
    }

    .podium-base-1 { height: 80px; }
    .podium-base-2 { height: 60px; }
    .podium-base-3 { height: 40px; }

    /* Filters section */
    .filters-dark {
        padding: 12px 0;
    }

    .filters-container {
        padding: 0 10px;
    }

    .filters-header {
        margin-bottom: 15px;
    }

    .filters-header h2 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .filters-header p {
        font-size: 12px;
    }

    .filters-actions {
        gap: 8px;
    }

    .filter-action-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .filter-item label {
        font-size: 11px;
    }

    .dark-select,
    .dark-input {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Main content */
    .ranking-main {
        padding: 20px 10px;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .section-header h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .section-header p {
        font-size: 13px;
    }

    .ranking-wrapper {
        padding: 15px;
        border-radius: 12px;
    }

    /* Table - horizontal scroll for mobile */
    .ranking-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .achievement-table {
        min-width: 600px; /* Минимальная ширина для горизонтального скролла */
        font-size: 11px;
    }
    
    .achievement-table th,
    .achievement-table td {
        padding: 8px 6px;
        white-space: nowrap;
    }

    .table-avatar {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .spirit-cell {
        gap: 8px;
    }

    .spirit-details h4 {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .spirit-details p {
        font-size: 10px;
    }

    .class-badge {
        padding: 2px 6px;
        font-size: 9px;
    }

    .power-bar {
        width: 60px;
        height: 5px;
    }

    .power-number {
        font-size: 11px;
        min-width: 30px;
    }

    .skills-display {
        max-width: 150px;
    }

    .skill-tag {
        font-size: 8px;
        padding: 2px 4px;
    }

    .status-badge {
        font-size: 8px;
        padding: 2px 5px;
    }

    .owner-info {
        font-size: 10px;
    }

    /* Mountain footer */
    .mountain-footer {
        padding: 40px 0 15px 0;
    }

    .mountain-scene {
        padding: 40px 0 15px 0;
    }

    .champions-mountain {
        padding: 0 10px;
        min-height: 200px;
    }

    .mountain-top-3 {
        gap: 12px;
    }

    .mountain-champion-card {
        width: 120px;
        padding: 12px 8px;
    }

    .mountain-champion-avatar {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 8px;
    }

    .mountain-champion-name {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .mountain-champion-power {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .mountain-champion-bonus {
        font-size: 9px;
    }

    .mountain-pedestal {
        width: 60px;
        font-size: 20px;
    }

    .mountain-pedestal-1 { height: 50px; }
    .mountain-pedestal-2 { height: 35px; }
    .mountain-pedestal-3 { height: 25px; }

    .mountain-bonuses {
        padding: 0 10px;
        margin-top: 20px;
    }

    .bonus-info h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .bonus-info p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .bonus-card {
        padding: 12px;
    }

    .bonus-card h4 {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .bonus-card p {
        font-size: 11px;
    }

    .footer-container {
        padding: 30px 10px 15px 10px;
    }

    .footer-content {
        gap: 15px;
    }

    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .footer-bottom {
        padding-top: 15px;
    }

    .footer-bottom p {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .mountain-rule {
        font-size: 10px;
    }

    /* Loading overlay */
    .loading-spinner {
        font-size: 60px;
        margin-bottom: 20px;
    }

    .loading-content p {
        font-size: 16px;
    }
}

/* Search suggestions */
.search-container {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #374151;
    transition: background 0.2s ease;
    color: #e5e7eb;
    font-size: 14px;
}

.suggestion-item:hover {
    background: #374151;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
}

/* Range input */
.range-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dark-range {
    width: 100%;
    height: 4px;
    background: #374151;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.dark-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.dark-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #9ca3af;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* Smooth transitions for all interactive elements */
* {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Simple fade-in animation */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}