/* ========================================
   EVENT PAGE STYLES
   ======================================== */

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* Event Hero */
.event-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.event-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.event-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.event-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.back-to-events {
    display: inline-block;
    margin-bottom: 40px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-to-events:hover {
    color: var(--gold-primary);
}

.event-date-large {
    margin-bottom: 25px;
}

.event-weekday-large {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.event-day-large {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    text-shadow: 0 0 40px rgba(201, 162, 39, 0.4);
}

.event-month-large {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 10px;
}

.event-title-large {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--text-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.event-time-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--gold-primary);
}

.event-time-large svg {
    width: 24px;
    height: 24px;
}

/* Event Details Section */
.event-details {
    padding: 80px 0 120px;
    background: var(--bg-primary);
}

.event-details .container {
    max-width: 900px;
}

.event-description-full {
    margin-bottom: 40px;
}

.event-description-full h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.event-description-full p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 2;
}

/* Rich Content Styles */
.rich-content {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.rich-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin: 30px 0 15px;
    letter-spacing: 2px;
}

.rich-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold-primary);
    margin: 25px 0 12px;
    letter-spacing: 1px;
}

.rich-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 20px 0 10px;
}

.rich-content p {
    margin-bottom: 15px;
}

.rich-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.rich-content em {
    font-style: italic;
}

.rich-content u {
    text-decoration: underline;
    text-decoration-color: var(--gold-dark);
}

.rich-content s {
    text-decoration: line-through;
    opacity: 0.7;
}

.rich-content a {
    color: var(--gold-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.rich-content a:hover {
    border-bottom-color: var(--gold-primary);
}

.rich-content ul,
.rich-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.rich-content li {
    margin-bottom: 8px;
}

.rich-content ul li::marker {
    color: var(--gold-primary);
}

.rich-content ol li::marker {
    color: var(--gold-primary);
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

/* ========================================
   CREWS WIDGET (Left Side)
   ======================================== */
.crews-widget {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 1000;
}

.crews-widget-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    animation: crewsPulse 2s ease-in-out infinite;
}

@keyframes crewsPulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(201, 162, 39, 0.4);
    }
    50% {
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3), 0 0 20px 5px rgba(201, 162, 39, 0.2);
    }
}

.crews-widget-toggle:hover {
    border-color: var(--gold-dark);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.4);
    animation: none;
}

.crews-widget-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--gold-primary);
}

.crews-widget.active .crews-widget-toggle {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.crews-widget-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 320px;
    max-height: 500px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(10, 10, 10, 0.98));
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.crews-widget.active .crews-widget-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.crews-list {
    flex: 1;
    overflow-y: auto;
    max-height: 350px;
    margin: 15px 0;
}

.crews-list::-webkit-scrollbar {
    width: 4px;
}

.crews-list::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 2px;
}

.crews-list::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 2px;
}

.crew-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.crew-item:hover {
    border-color: var(--border-color);
    background: rgba(201, 162, 39, 0.05);
}

.crew-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.crew-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crew-logo.no-logo {
    border-style: dashed;
}

.crew-logo.no-logo svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.crew-name {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.no-crews-widget {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 30px 0;
}

.crews-count {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    letter-spacing: 1px;
}

/* Registration Widget */
.register-widget {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
}

.register-widget-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    border: none;
    border-radius: 50px;
    color: var(--bg-primary);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(201, 162, 39, 0.3);
    animation: registerPulse 2s ease-in-out infinite;
}

@keyframes registerPulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(201, 162, 39, 0.3), 0 0 0 0 rgba(201, 162, 39, 0.5);
    }
    50% {
        box-shadow: 0 5px 25px rgba(201, 162, 39, 0.3), 0 0 25px 8px rgba(201, 162, 39, 0.3);
    }
}

.register-widget-toggle:hover {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(201, 162, 39, 0.4);
    animation: none;
}

.register-widget-toggle svg {
    width: 20px;
    height: 20px;
}

.register-widget.active .register-widget-toggle {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.register-widget-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 350px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(10, 10, 10, 0.98));
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.register-widget.active .register-widget-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.widget-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.widget-close {
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.widget-close:hover {
    border-color: var(--red-accent);
    color: var(--red-light);
}

.widget-close svg {
    width: 14px;
    height: 14px;
}

.widget-intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.register-widget .form-group {
    margin-bottom: 18px;
}

.register-widget .register-btn {
    width: 100%;
    padding: 14px 25px;
}

/* Responsive */
@media (max-width: 768px) {
    .register-widget {
        right: 20px;
        bottom: 20px;
    }
    
    .register-widget-panel {
        width: 300px;
        right: -10px;
    }
    
    .register-widget-toggle span {
        display: none;
    }
    
    .register-widget-toggle {
        padding: 15px;
        border-radius: 50%;
    }
}

.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-message.success {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #27ae60;
}

.form-message.error {
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid var(--red-accent);
    color: var(--red-light);
}

.register-form .form-group {
    margin-bottom: 25px;
}

.register-form label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.register-form input {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.register-form input:focus {
    outline: none;
    border-color: var(--gold-dark);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.1);
}

.register-form input::placeholder {
    color: var(--text-muted);
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.register-btn {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    border: none;
    border-radius: 8px;
    color: var(--bg-primary);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    box-shadow: 0 5px 25px rgba(201, 162, 39, 0.3);
    transform: translateY(-2px);
}

.register-btn svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .event-day-large {
        font-size: 4rem;
    }
    
    .crews-widget {
        left: 20px;
        bottom: 20px;
    }
    
    .crews-widget-panel {
        width: 280px;
        left: -10px;
    }
    
    .crews-widget-toggle span {
        display: none;
    }
    
    .crews-widget-toggle {
        padding: 15px;
        border-radius: 50%;
    }
    
    .register-widget {
        right: 20px;
        bottom: 20px;
    }
    
    .register-widget-panel {
        width: 300px;
        right: -10px;
    }
    
    .register-widget-toggle span {
        display: none;
    }
    
    .register-widget-toggle {
        padding: 15px;
        border-radius: 50%;
    }
}

/* ========================================
   TIMER LEADERBOARD STYLES
   ======================================== */
.crews-widget-panel.timer-mode {
    width: 350px;
}

/* Active timer container - extends the widget */
.active-timer-container {
    position: relative;
    overflow: visible;
    margin-bottom: 15px;
    min-height: 0;
    transition: min-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.active-timer-container.has-active {
    min-height: 85px;
}

.active-timer-card {
    position: relative;
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 12px;
    align-items: center;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2), rgba(10, 10, 10, 0.95));
    border: 2px solid var(--gold-primary);
    border-radius: 12px;
    padding: 15px;
    margin-right: -15px;
    box-shadow: 0 10px 40px rgba(201, 162, 39, 0.4),
                0 0 25px rgba(201, 162, 39, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 100;
    animation: activeGlow 2s ease-in-out infinite;
    transform: translateX(0) scale(1);
    opacity: 1;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease,
                margin 0.3s ease;
}

.active-timer-card.hidden {
    transform: translateX(30px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    margin-top: -85px;
}

.active-timer-card .live-badge {
    position: absolute;
    top: -8px;
    right: 15px;
    background: var(--gold-primary);
    color: var(--bg-primary);
    font-family: 'Cinzel', serif;
    font-size: 0.55rem;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 3px 8px;
    border-radius: 8px;
    animation: livePulse 1s ease-in-out infinite;
}

.active-timer-card .active-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
}

.active-timer-card .active-logo.no-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 2px dashed var(--gold-dark);
}

.active-timer-card .active-logo.no-logo svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.active-timer-card .active-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.active-timer-card .active-name {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.active-timer-card .active-time {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-primary);
    text-shadow: 0 0 15px rgba(201, 162, 39, 0.5);
    animation: timerCountUp 1s ease-in-out infinite;
}

@keyframes timerCountUp {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes activeGlow {
    0%, 100% { 
        box-shadow: 0 10px 40px rgba(201, 162, 39, 0.3),
                    0 0 20px rgba(201, 162, 39, 0.2);
    }
    50% { 
        box-shadow: 0 15px 50px rgba(201, 162, 39, 0.4),
                    0 0 30px rgba(201, 162, 39, 0.3);
    }
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.timer-list {
    position: relative;
}

.timer-list .crew-item {
    display: grid;
    grid-template-columns: 30px 45px 1fr;
    gap: 12px;
    align-items: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hide item in list when it's the active one */
.timer-list .crew-item.is-active-timer {
    opacity: 0.3;
    transform: scale(0.95);
}

/* Slot-in animation when timer stops */
.timer-list .crew-item.slotting-in {
    animation: slotIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slotIn {
    0% {
        transform: translateX(30px) scale(1.02);
        opacity: 0.5;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Smooth rank change animations */
.timer-list .crew-item.moving-up {
    animation: smoothMoveUp 0.5s ease;
}

.timer-list .crew-item.moving-down {
    animation: smoothMoveDown 0.5s ease;
}

@keyframes smoothMoveUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes smoothMoveDown {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(3px); opacity: 0.8; }
}

.timer-rank {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold-primary);
    text-align: center;
    transition: color 0.3s ease;
}

.crew-item.moving-up .timer-rank { color: #27ae60; }
.crew-item.moving-down .timer-rank { color: #e74c3c; }

.timer-item:first-child .timer-rank {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.timer-item:nth-child(2) .timer-rank {
    color: #c0c0c0;
}

.timer-item:nth-child(3) .timer-rank {
    color: #cd7f32;
}

.crew-timer-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.crew-timer-info .crew-name {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crew-timer {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.timer-item.running .crew-timer {
    animation: timerPulse 1s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Timer color classes */
.crew-timer.time-low { color: #e74c3c; }
.crew-timer.time-mid-low { color: #e67e22; }
.crew-timer.time-mid { color: #f1c40f; }
.crew-timer.time-mid-high { color: #2ecc71; }
.crew-timer.time-high { color: #27ae60; }

@media (max-width: 768px) {
    .crews-widget-panel.timer-mode {
        width: 320px;
    }
    
    .active-timer-card {
        margin-right: -10px;
    }
}

/* Event Ended Badge */
.event-ended-badge {
    display: block;
    margin: 20px auto 25px;
    padding: 10px 25px;
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.4);
    border-radius: 25px;
    color: #ff6b6b;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    width: fit-content;
}


/* ========================================
   WINNERS SECTION
   ======================================== */
.winners-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(201, 162, 39, 0.05) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.winners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.winners-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.winners-title svg {
    width: 32px;
    height: 32px;
    color: var(--gold-primary);
}

.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.podium-place {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: podiumReveal 0.8s ease-out backwards;
}

.podium-place.place-1 { animation-delay: 0.4s; }
.podium-place.place-2 { animation-delay: 0.2s; }
.podium-place.place-3 { animation-delay: 0.6s; }

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

.podium-medal {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: medalFloat 3s ease-in-out infinite;
}

.place-1 .podium-medal { animation-delay: 0s; }
.place-2 .podium-medal { animation-delay: 1s; }
.place-3 .podium-medal { animation-delay: 2s; }

@keyframes medalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.podium-crew {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid var(--border-color);
    border-radius: 15px 15px 0 0;
    min-width: 180px;
    position: relative;
}

.place-1 .podium-crew {
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.1), var(--bg-tertiary));
}

.place-2 .podium-crew {
    border-color: rgba(192, 192, 192, 0.3);
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.1), var(--bg-tertiary));
}

.place-3 .podium-crew {
    border-color: rgba(205, 127, 50, 0.3);
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.1), var(--bg-tertiary));
}

.podium-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    margin-bottom: 15px;
    background: var(--bg-secondary);
}

.place-1 .podium-logo { border-color: #ffd700; }
.place-2 .podium-logo { border-color: #c0c0c0; }
.place-3 .podium-logo { border-color: #cd7f32; }

.podium-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podium-logo.no-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    border-style: dashed;
}

.podium-logo.no-logo svg {
    width: 30px;
    height: 30px;
    color: var(--text-muted);
}

.podium-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 5px;
}

.podium-place-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.place-1 .podium-place-label { color: #ffd700; }
.place-2 .podium-place-label { color: #c0c0c0; }
.place-3 .podium-place-label { color: #cd7f32; }

.podium-time {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--gold-primary);
    margin-top: 10px;
    padding: 5px 12px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 15px;
}

.podium-stand {
    width: 100%;
}

.place-1 .podium-stand {
    height: 100px;
    background: linear-gradient(180deg, #ffd700, #b8860b);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.place-2 .podium-stand {
    height: 70px;
    background: linear-gradient(180deg, #c0c0c0, #808080);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.3);
}

.place-3 .podium-stand {
    height: 50px;
    background: linear-gradient(180deg, #cd7f32, #8b4513);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(205, 127, 50, 0.3);
}

@media (max-width: 768px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .podium-place {
        width: 100%;
        max-width: 280px;
    }
    
    .podium-stand {
        height: 20px !important;
    }
    
    .podium-medal {
        font-size: 2.5rem;
    }
}


/* Winners List (for placements beyond top 3) */
.winners-list {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.winner-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    animation: winnerReveal 0.5s ease-out backwards;
}

.winner-item:nth-child(1) { animation-delay: 0.1s; }
.winner-item:nth-child(2) { animation-delay: 0.2s; }
.winner-item:nth-child(3) { animation-delay: 0.3s; }
.winner-item:nth-child(4) { animation-delay: 0.4s; }
.winner-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes winnerReveal {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.winner-item:hover {
    border-color: var(--gold-dark);
    background: rgba(201, 162, 39, 0.05);
}

.winner-rank {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold-primary);
    min-width: 40px;
    text-align: center;
}

.winner-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.winner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-logo.no-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-style: dashed;
}

.winner-logo.no-logo svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.winner-name {
    flex: 1;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.winner-time {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--gold-primary);
    padding: 4px 10px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 12px;
}
