/* ============================================================
   archiveuhc.css — الأنماط الخاصة بصفحة archiveuhc.html
   يُحمَّل بعد الملفات المشتركة، فأي قاعدة هنا تتجاوزها.
   ============================================================ */

/* ============================================================
   archiveuhc.css — الأنماط الخاصة بصفحة archiveuhc.html
   يُحمَّل بعد الملفات المشتركة، فأي قاعدة هنا تتجاوزها.
   ============================================================ */

:root {
    --bg-void: #050508;
    --glass-bg: rgba(15, 15, 20, 0.8);
    --gold: #FFD700;
    --gold-glow: 0 0 20px rgba(255, 215, 0, 0.5);
    --silver: #C0C0C0;
    --bronze: #CD7F32;
}

[data-theme="light"] {
    --bg-void: #f0f0f0;
    --glass-bg: rgba(255, 255, 255, 0.9);
}

h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, div {
    letter-spacing: normal !important;
}

.page-header {
    padding: 140px 20px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: var(--neon-cyan);
    text-shadow: var(--glow-text), 0 0 40px rgba(0, 212, 255, 0.4);
}

.page-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
}

/* Stats Bar */

.stats-bar {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-neon);
}

.stat-card.gold-card {
    border-color: var(--gold);
}

.stat-card.gold-card::before {
    background: linear-gradient(90deg, var(--gold), #FFA500, var(--gold));
}

.stat-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-weight: 700;
}

.stat-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.8;
}

.stat-value .highlight {
    color: var(--neon-cyan);
    font-weight: 700;
}

.stat-value .gold {
    color: var(--gold);
}

.stat-big {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neon-cyan);
}

/* Tabs */

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

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.tab-btn:hover {
    border-color: var(--border-accent);
    color: var(--neon-cyan);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 139, 139, 0.2));
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

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

/* Season Content */

.season-header {
    text-align: center;
    margin-bottom: 30px;
}

.season-date {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 139, 139, 0.1));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
}

.season-date svg {
    width: 20px;
    height: 20px;
    color: var(--neon-cyan);
}

.season-date span {
    font-weight: 700;
    color: var(--text-primary);
}

.season-mode {
    font-size: 1.1rem;
    color: var(--neon-cyan);
    font-weight: 600;
}

/* Glass Panel */

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-neon);
}

.panel-title {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-bottom: 25px;
    text-align: center;
}

/* Winners Card */

.winners-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border: 2px solid var(--gold);
    box-shadow: var(--gold-glow);
}

.winners-card::before {
    background: linear-gradient(90deg, var(--gold), #FFA500, var(--gold));
}

.winners-card .panel-title {
    color: var(--gold);
}

.winners-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.winner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.winner-avatar {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 3px solid var(--gold);
    box-shadow: var(--gold-glow);
    background: var(--bg-tertiary);
}

.winner-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
}

/* Teams Grid */

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all var(--transition-normal);
}

.team-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    box-shadow: var(--glow-cyan);
}

.team-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
    text-align: center;
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--border-accent);
    background: var(--bg-tertiary);
}

.member-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Footer */

.footer {
    margin-top: 60px;
}

.social-link {
    font-size: 1.2rem;
}

::-webkit-scrollbar {
    height: 10px;
}

.loader.hidden {
    pointer-events: none;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 20px 30px;
    }

    .tabs-nav {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .winners-grid {
        gap: 20px;
    }

    .winner-avatar {
        width: 60px;
        height: 60px;
    }

    .teams-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .glass-panel {
        padding: 20px;
    }
}
