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

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

:root {
    --neon-pink: #FF69B4;
    --neon-pink-bright: #FF85C8;
    --neon-pink-dark: #DB4D9A;
    --glow-pink: 0 0 20px rgba(255, 105, 180, 0.5), 0 0 40px rgba(255, 105, 180, 0.3);
    --glow-pink-intense: 0 0 30px rgba(255, 105, 180, 0.8), 0 0 60px rgba(255, 105, 180, 0.5);
    --gradient-pink: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-pink-bright) 50%, var(--neon-pink-dark) 100%);
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
}

[data-theme="light"] {
    --neon-pink: #DB4D9A;
    --glow-pink: 0 4px 20px rgba(219, 77, 154, 0.2);
}

.bg-glow::after {
    background: var(--neon-pink);
}

.main-content {
    padding: 120px 20px 60px;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 20px;
    color: var(--neon-cyan);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.3);
    letter-spacing: normal;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0.2); }
    to { text-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 0 80px rgba(0, 212, 255, 0.4); }
}

.page-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.9;
}

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

.year-tab-btn {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 40px;
    background: var(--bg-card);
    border: 2px solid var(--border-accent);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.year-tab-btn:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    transform: translateY(-3px);
}

.year-tab-btn.active {
    background: var(--gradient-neon);
    color: var(--bg-primary);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan-intense);
}

.year-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.team-battle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.team-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    flex: 1;
    max-width: 350px;
    min-width: 280px;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.team-card.team-blue {
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.team-card.team-blue::before {
    background: var(--gradient-neon);
}

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

.team-card.team-pink {
    border: 2px solid rgba(255, 105, 180, 0.3);
}

.team-card.team-pink::before {
    background: var(--gradient-pink);
}

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

.team-card.team-winner {
    border: 2px solid var(--gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.team-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.team-card.team-blue .team-icon {
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
}

.team-card.team-pink .team-icon {
    filter: drop-shadow(0 0 15px rgba(255, 105, 180, 0.6));
}

.team-card:hover .team-icon {
    transform: scale(1.1);
}

.team-name {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.team-card.team-blue .team-name {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.team-card.team-pink .team-name {
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

.team-score {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.team-card.team-blue .team-score {
    color: var(--neon-cyan);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.team-card.team-pink .team-score {
    color: var(--neon-pink);
    text-shadow: 0 0 30px rgba(255, 105, 180, 0.8);
}

.team-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.winner-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: linear-gradient(135deg, var(--gold), #FFA500);
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-xl);
}

.vs-badge {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-muted);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: vsPulse 2s ease-in-out infinite;
    padding: 0 20px;
}

@keyframes vsPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.tabs-container {
    margin-top: 40px;
}

.tabs-header {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.tab-btn {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 25px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.tab-btn.active {
    background: var(--gradient-neon);
    color: var(--bg-primary);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

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

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

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

.tab-panel {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(0, 139, 139, 0.03) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border-accent);
}

.tab-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    text-align: center;
    text-shadow: var(--glow-text);
}

.note-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.note-box svg {
    width: 24px;
    height: 24px;
    color: #FFC107;
    flex-shrink: 0;
    margin-top: 2px;
}

.note-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Top 3 Winners - Pedestal/Hero Style */

.top3-section {
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(0, 139, 139, 0.03) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-accent);
}

.top3-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neon-cyan);
    margin-bottom: 30px;
    text-align: center;
    text-shadow: var(--glow-text);
}

.top3-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.top3-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border-radius: var(--radius-lg);
    padding: 25px 20px 20px;
    text-align: center;
    border: 2px solid var(--border-subtle);
    transition: all var(--transition-normal);
    position: relative;
    min-width: 180px;
    flex: 1;
    max-width: 220px;
}

.top3-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.top3-card.gold {
    order: 2;
    padding-top: 30px;
    padding-bottom: 25px;
}

.top3-card.silver {
    order: 1;
}

.top3-card.bronze {
    order: 3;
}

.top3-card.gold::before {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.5), rgba(255, 165, 0, 0.3));
}

.top3-card.silver::before {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.5), rgba(168, 168, 168, 0.3));
}

.top3-card.bronze::before {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.5), rgba(184, 134, 11, 0.3));
}

.top3-card:hover {
    transform: translateY(-8px);
}

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

.top3-card.gold:hover {
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.top3-card.silver:hover {
    border-color: var(--silver);
    box-shadow: 0 0 40px rgba(192, 192, 192, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.top3-card.bronze:hover {
    border-color: var(--bronze);
    box-shadow: 0 0 40px rgba(205, 127, 50, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Avatar Container with Glow */

.top3-avatar-container {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
}

.top3-card.gold .top3-avatar-container {
    width: 110px;
    height: 110px;
}

.top3-avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.6;
    animation: avatarPulse 3s ease-in-out infinite;
}

.top3-card.gold .top3-avatar-glow {
    background: var(--gold);
}

.top3-card.silver .top3-avatar-glow {
    background: var(--silver);
}

.top3-card.bronze .top3-avatar-glow {
    background: var(--bronze);
}

@keyframes avatarPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

.top3-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    background: var(--bg-tertiary);
}

.top3-card.gold .top3-avatar {
    border: 4px solid var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.top3-card.silver .top3-avatar {
    border: 3px solid var(--silver);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.4);
}

.top3-card.bronze .top3-avatar {
    border: 3px solid var(--bronze);
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.4);
}

/* Rank Badge */

.top3-rank {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.top3-card.gold .top3-rank {
    font-size: 1.8rem;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.top3-card.silver .top3-rank {
    color: var(--silver);
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.top3-card.bronze .top3-rank {
    color: var(--bronze);
    text-shadow: 0 0 15px rgba(205, 127, 50, 0.5);
}

/* Name */

.top3-name {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top3-card.gold .top3-name {
    font-size: 1.2rem;
}

/* Points */

.top3-points {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Prize Pill */

.top3-prize {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    padding: 8px 20px;
    border-radius: 50px;
}

.top3-card.gold .top3-prize {
    background: linear-gradient(135deg, var(--gold), #FFA500);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.top3-card.silver .top3-prize {
    background: linear-gradient(135deg, var(--silver), #A8A8A8);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.3);
}

.top3-card.bronze .top3-prize {
    background: linear-gradient(135deg, var(--bronze), #B8860B);
    color: #fff;
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.3);
}

.calendar-wrapper {
    overflow-x: auto;
    padding-bottom: 10px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: auto repeat(12, 1fr);
    gap: 3px;
    min-width: 900px;
}

.calendar-header {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 10px 5px;
    text-align: center;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.calendar-week {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px;
    text-align: center;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-cell {
    min-height: 55px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-normal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.calendar-cell:hover {
    transform: scale(1.05);
    z-index: 10;
}

.calendar-cell.team-blue-win {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    color: var(--neon-cyan);
}

.calendar-cell.team-pink-win {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.3) 0%, rgba(255, 105, 180, 0.1) 100%);
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
    color: var(--neon-pink);
}

.calendar-cell.off-week {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.legend-box {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-sm);
}

.legend-box.blue {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.5) 0%, rgba(0, 212, 255, 0.2) 100%);
    border: 1px solid var(--neon-cyan);
}

.legend-box.pink {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.5) 0%, rgba(255, 105, 180, 0.2) 100%);
    border: 1px solid var(--neon-pink);
}

.legend-box.off {
    background: var(--bg-tertiary);
    border: 1px solid var(--text-muted);
}

.calendar-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.data-table th {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 15px 10px;
    text-align: center;
    background: var(--bg-tertiary);
    color: var(--neon-cyan);
    border-bottom: 2px solid var(--neon-cyan);
}

.data-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    vertical-align: middle;
    white-space: pre-wrap;
    word-break: break-word;
}

.data-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.data-table tbody tr:hover td {
    color: var(--text-primary);
}

.top5-cell {
    font-size: 0.85rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.guesser-cell {
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.rank-cell {
    font-family: var(--font-display);
    font-weight: 700;
}

.rank-1 td {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.15) 0%, transparent 100%);
}

.rank-1 .rank-cell {
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.rank-2 td {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.15) 0%, transparent 100%);
}

.rank-2 .rank-cell {
    color: var(--silver);
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.6);
}

.rank-3 td {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.15) 0%, transparent 100%);
}

.rank-3 .rank-cell {
    color: var(--bronze);
    text-shadow: 0 0 15px rgba(205, 127, 50, 0.6);
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-weight: 700;
}

.rank-1 .rank-badge {
    background: linear-gradient(135deg, var(--gold), #FFA500);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.rank-2 .rank-badge {
    background: linear-gradient(135deg, var(--silver), #A0A0A0);
    color: #000;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
}

.rank-3 .rank-badge {
    background: linear-gradient(135deg, var(--bronze), #8B4513);
    color: #fff;
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.5);
}

.points-cell {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--neon-cyan) !important;
}

/* Team Color Classes for Tables */

.text-blue, .winner-blue {
    color: var(--neon-cyan) !important;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.text-pink, .winner-pink {
    color: var(--neon-pink) !important;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.4);
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading-spinner::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loader-logo {
    object-fit: cover;
    background: var(--bg-card);
}

.loader-text {
    letter-spacing: normal;
}

.footer {
    position: relative;
    z-index: 1;
}

.social-link.kick:hover {
    box-shadow: 0 0 20px rgba(83, 252, 24, 0.4);
}

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

@media (max-width: 1024px) {
    .calendar-grid {
        min-width: 800px;
    }

    .top3-grid {
        flex-direction: column;
        align-items: center;
    }

    .top3-card {
        order: unset !important;
        max-width: 280px;
        width: 100%;
    }

    .top3-card.gold {
        order: unset !important;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 100px 15px 40px;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .team-battle {
        flex-direction: column;
        gap: 15px;
    }

    .team-card {
        max-width: 100%;
        width: 100%;
    }

    .vs-badge {
        padding: 10px 0;
    }

    .team-score {
        font-size: 3rem;
    }

    .team-icon {
        width: 60px;
        height: 60px;
    }

    .tabs-header {
        gap: 5px;
        padding: 8px;
    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .tab-panel {
        padding: 20px 15px;
    }

    .calendar-cell {
        font-size: 0.7rem;
        min-height: 45px;
    }

    .year-tabs {
        gap: 10px;
    }

    .year-tab-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .calendar-grid {
        min-width: 650px;
    }

    .calendar-cell {
        font-size: 0.65rem;
    }

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

/* Calendar Hint */

.calendar-hint {
    text-align: center;
    font-size: 1rem;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    padding: 12px 20px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: var(--radius-md);
    border: 1px dashed var(--neon-cyan);
    font-weight: 500;
}

/* Calendar Cell Interactive States */

.calendar-cell.has-data {
    cursor: pointer;
}

.calendar-cell:not(.has-data):not(.off-week) {
    cursor: default;
    opacity: 0.5;
}

.calendar-cell:not(.has-data):not(.off-week):hover {
    transform: none;
}

/* Archive Week Modal */

@keyframes fadeInModal {
    0% { opacity: 0; transform: scale(0.9) translateY(-20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fadeOutModal {
    0% { opacity: 1; transform: scale(1) translateY(0); }
    100% { opacity: 0; transform: scale(0.9) translateY(-20px); }
}

@keyframes fadeInOverlay {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.archive-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
}

.archive-modal-overlay.active {
    display: flex;
    animation: fadeInOverlay 0.3s ease forwards;
}

.archive-modal-overlay.closing {
    animation: fadeInOverlay 0.25s ease reverse forwards;
}

.archive-modal-content {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 30px;
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.2);
    animation: fadeInModal 0.35s ease forwards;
}

.archive-modal-overlay.closing .archive-modal-content {
    animation: fadeOutModal 0.25s ease forwards;
}

.archive-modal-content.team-blue {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}

.archive-modal-content.team-pink {
    border-color: var(--neon-pink);
    box-shadow: 0 0 40px rgba(255, 105, 180, 0.3);
}

.archive-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.archive-modal-close:hover {
    background: #f87171;
    color: white;
    border-color: #f87171;
}

.archive-modal-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.archive-modal-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.archive-modal-team {
    font-size: 1rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    display: inline-block;
}

.archive-modal-team.blue {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
}

.archive-modal-team.pink {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.2) 0%, rgba(255, 105, 180, 0.1) 100%);
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
}

.archive-modal-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.archive-detail-item {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 15px;
    border: 1px solid var(--border-subtle);
    text-align: center;
}

.archive-detail-label {
    font-size: 1rem;
    color: var(--neon-cyan);
    margin-bottom: 12px;
    display: block;
    text-align: center;
    font-weight: 700;
}

.archive-detail-value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.archive-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.archive-detail-badges span {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0.05) 100%);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: 1px solid var(--border-accent);
    color: var(--text-primary);
}

.archive-detail-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.archive-detail-list .top-item {
    background: var(--bg-card);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    border: 1px solid var(--border-subtle);
    min-width: 150px;
    text-align: center;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .archive-modal-content {
        padding: 25px 20px;
        max-width: 95%;
    }

    .archive-modal-title {
        font-size: 1.1rem;
    }

    .archive-detail-label {
        font-size: 0.9rem;
    }

    .archive-detail-value {
        font-size: 1rem;
    }
}
