/* ========================================
   AWARDS PAGE - HALL OF FAME
   Trophy showcase and timeline
   ======================================== */

.awards-page {
    min-height: 100vh;
    background: var(--bg-primary);
    padding: var(--space-4xl) 0;
    position: relative;
}

/* Confetti animation trigger */
.awards-page.celebrate .confetti-piece {
    animation: confetti-fall 3s ease forwards;
}

/* Background spotlights */
.spotlight-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.spotlight {
    position: absolute;
    width: 300px;
    height: 600px;
    background: conic-gradient(from 180deg, transparent, rgba(var(--primary-rgb), 0.1), transparent 30%);
    transform-origin: top center;
    animation: spotlight-sweep 8s ease-in-out infinite;
}

.spotlight:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.spotlight:nth-child(2) {
    left: 50%;
    animation-delay: 2s;
}

.spotlight:nth-child(3) {
    left: 80%;
    animation-delay: 4s;
}

@keyframes spotlight-sweep {

    0%,
    100% {
        transform: rotate(-30deg);
        opacity: 0.3;
    }

    50% {
        transform: rotate(30deg);
        opacity: 0.6;
    }
}

/* Header */
.awards-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.awards-header h1 {
    font-size: var(--text-5xl);
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
}

.awards-header .trophy-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--space-lg);
    animation: trophy-shine 3s ease-in-out infinite;
}

@keyframes trophy-shine {

    0%,
    100% {
        filter: brightness(1);
        transform: scale(1);
    }

    50% {
        filter: brightness(1.3);
        transform: scale(1.1);
    }
}

/* Awards grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Award card */
.award-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.award-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            rgba(var(--primary-rgb), 0.1),
            transparent 30%);
    animation: card-rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

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

@keyframes card-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.award-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px var(--primary-glow);
}

/* Award content */
.award-content {
    position: relative;
    z-index: 1;
}

.award-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.award-rank {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--bg-primary);
    margin-bottom: var(--space-md);
}

.award-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xs);
    color: var(--primary);
}

.award-event {
    font-size: var(--text-lg);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.award-organizer {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.award-meta {
    display: flex;
    gap: var(--space-lg);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-muted);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.award-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* Stats section */
.awards-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    min-width: 150px;
}

.stat-number {
    font-size: var(--text-5xl);
    font-family: var(--font-display);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* Timeline view */
.timeline-container {
    max-width: 800px;
    margin: var(--space-3xl) auto 0;
    position: relative;
    z-index: 1;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: var(--space-md);
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-glow-md);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    max-width: calc(50% - var(--space-2xl));
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

/* Responsive */
@media (max-width: 768px) {
    .awards-page {
        padding: var(--space-2xl) 0;
    }

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

    .awards-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
    }

    .timeline-line {
        left: var(--space-md);
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: var(--space-3xl);
    }

    .timeline-item::before {
        left: var(--space-md);
    }

    .timeline-content {
        max-width: 100%;
    }
}