/* ============================================
   ✨ STAR DRAW - Styles
   ============================================ */

:root {
    --primary: #00d4ff;
    --primary-glow: rgba(0, 212, 255, 0.3);
    --secondary: #9c4dff;
    --secondary-glow: rgba(156, 77, 255, 0.3);
    --gold: #ffd700;
    --gold-glow: rgba(255, 215, 0, 0.3);
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    
    --bg-dark: #0a0a1a;
    --bg-card: rgba(15, 15, 35, 0.9);
    --bg-card-hover: rgba(25, 25, 55, 0.95);
    
    --text: #ffffff;
    --text-muted: #8a8aa3;
    --text-dim: #5a5a73;
    
    --border: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(0, 212, 255, 0.5);
    
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --max-width: 1400px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1a2e 100%);
}

.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
}

.stars {
    background-image: radial-gradient(2px 2px at 20px 30px, #fff, transparent),
                      radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
                      radial-gradient(1px 1px at 90px 40px, #fff, transparent),
                      radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.6), transparent),
                      radial-gradient(1px 1px at 160px 120px, #fff, transparent);
    background-size: 200px 200px;
    animation: stars-move 100s linear infinite;
}

.stars2 {
    background-image: radial-gradient(1px 1px at 50px 50px, rgba(0,212,255,0.8), transparent),
                      radial-gradient(1px 1px at 100px 150px, rgba(156,77,255,0.6), transparent),
                      radial-gradient(2px 2px at 150px 50px, rgba(255,215,0,0.5), transparent);
    background-size: 300px 300px;
    animation: stars-move 150s linear infinite;
}

.stars3 {
    background-image: radial-gradient(1px 1px at 25px 75px, rgba(255,255,255,0.4), transparent),
                      radial-gradient(1px 1px at 75px 25px, rgba(255,255,255,0.3), transparent);
    background-size: 150px 150px;
    animation: stars-move 200s linear infinite reverse;
}

@keyframes stars-move {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

.shooting-star {
    position: absolute;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    top: 20%;
    left: -150px;
    animation: shoot 4s ease-in-out infinite;
    opacity: 0;
}

.shooting-star.delay-1 { top: 40%; animation-delay: 1.5s; }
.shooting-star.delay-2 { top: 60%; animation-delay: 3s; }

@keyframes shoot {
    0% { transform: translateX(0) rotate(-45deg); opacity: 0; }
    10% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 300px)) rotate(-45deg); opacity: 0; }
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
}

.logo-image {
    height: 50px;
    width: auto;
    animation: logo-float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(200, 100, 180, 0.5));
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.logo-star {
    font-size: 2rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 5px var(--gold)); }
    50% { filter: drop-shadow(0 0 20px var(--gold)); }
}

.logo-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-draw {
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-glow);
}

.event-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.streamer { display: flex; flex-direction: column; align-items: flex-end; }
.powered-by { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.event-info .streamer span:last-child { font-weight: 600; color: var(--secondary); }

/* Main Content */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

.intro { text-align: center; margin-bottom: 3rem; }

.intro-logo {
    width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
    animation: intro-logo-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(200, 100, 180, 0.6));
}

@keyframes intro-logo-pulse {
    0%, 100% { 
        transform: scale(1) rotate(-3deg); 
        filter: drop-shadow(0 0 20px rgba(200, 100, 180, 0.6));
    }
    50% { 
        transform: scale(1.05) rotate(3deg); 
        filter: drop-shadow(0 0 35px rgba(200, 100, 180, 0.9));
    }
}

.title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}

.title-line { display: block; color: var(--text-muted); font-weight: 400; }

.title-highlight {
    display: block;
    font-size: 1.5em;
    background: linear-gradient(90deg, var(--gold), var(--primary), var(--secondary), var(--gold));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle { color: var(--text-muted); font-size: 1.1rem; }
.subtitle strong { color: var(--text); }

/* Loading */
.loading { text-align: center; padding: 4rem; }

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

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

/* Selection Bar */
.selection-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 1rem;
    z-index: 100;
    background: rgba(10, 10, 26, 0.95);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.selection-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.selection-slot[data-slot="1"] { border-color: var(--gold); }
.selection-slot[data-slot="2"] { border-color: var(--silver); }
.selection-slot[data-slot="3"] { border-color: var(--bronze); }
.selection-slot.filled { background: var(--bg-card-hover); }

.slot-medal { font-size: 1.5rem; margin-bottom: 0.25rem; }
.slot-label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.slot-clip { font-size: 0.9rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selection-slot.filled .slot-clip { color: var(--text); font-weight: 500; }

.slot-clear {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(255, 100, 100, 0.2);
    color: #ff6b6b;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.slot-clear:hover { background: rgba(255, 100, 100, 0.4); }

/* Clips Grid */
.clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.clip-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.clip-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

.clip-card.selected { border-color: var(--gold); box-shadow: 0 0 30px var(--gold-glow); }
.clip-card.selected-1 { border-color: var(--gold); }
.clip-card.selected-2 { border-color: var(--silver); }
.clip-card.selected-3 { border-color: var(--bronze); }

.clip-embed { position: relative; padding-bottom: 56.25%; background: #000; }
.clip-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.clip-info { padding: 1rem; }
.clip-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text); }
.clip-meta { display: flex; justify-content: center; font-size: 0.8rem; color: var(--text-dim); }

.clip-actions { padding: 0 1rem 1rem; }

/* Place Buttons */
.place-buttons {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.place-btn {
    flex: 1;
    padding: 0.6rem 0.4rem;
    border: 2px solid var(--border);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.place-medal {
    font-size: 1.3rem;
    line-height: 1;
}

.place-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.place-btn.place-1 { border-color: rgba(255, 215, 0, 0.3); }
.place-btn.place-2 { border-color: rgba(192, 192, 192, 0.3); }
.place-btn.place-3 { border-color: rgba(205, 127, 50, 0.3); }

.place-btn.place-1:hover:not(:disabled) { 
    border-color: var(--gold); 
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 15px var(--gold-glow);
}
.place-btn.place-2:hover:not(:disabled) { 
    border-color: var(--silver); 
    background: rgba(192, 192, 192, 0.1);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
}
.place-btn.place-3:hover:not(:disabled) { 
    border-color: var(--bronze); 
    background: rgba(205, 127, 50, 0.1);
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.3);
}

.place-btn.active {
    transform: scale(1.05);
}

.place-btn.place-1.active { 
    border-color: var(--gold); 
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 20px var(--gold-glow);
}
.place-btn.place-1.active .place-label { color: var(--gold); }

.place-btn.place-2.active { 
    border-color: var(--silver); 
    background: rgba(192, 192, 192, 0.2);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.4);
}
.place-btn.place-2.active .place-label { color: var(--silver); }

.place-btn.place-3.active { 
    border-color: var(--bronze); 
    background: rgba(205, 127, 50, 0.2);
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.4);
}
.place-btn.place-3.active .place-label { color: var(--bronze); }

.place-btn.disabled,
.place-btn:disabled { 
    opacity: 0.3; 
    cursor: not-allowed; 
    transform: none !important;
    box-shadow: none !important;
}

.clip-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.clip-btn.select { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }
.clip-btn.select:hover:not(:disabled) { transform: scale(1.02); box-shadow: 0 5px 20px var(--primary-glow); }
.clip-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.clip-btn.remove { background: rgba(255, 100, 100, 0.1); color: #ff6b6b; border: 1px solid rgba(255, 100, 100, 0.3); }
.clip-btn.remove:hover { background: rgba(255, 100, 100, 0.2); }

.clip-position {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    border: 2px solid;
}

.clip-position.pos-1 { border-color: var(--gold); }
.clip-position.pos-2 { border-color: var(--silver); }
.clip-position.pos-3 { border-color: var(--bronze); }

/* Vote Form */
.vote-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.form-title { font-family: var(--font-display); text-align: center; margin-bottom: 1.5rem; color: var(--gold); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }

.form-group input[type="text"],
.form-group textarea,
.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus,
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.checkbox-group { margin-bottom: 1rem; }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text);
}

.checkbox-label input { display: none; }

.checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-label input:checked + .checkmark { background: var(--primary); border-color: var(--primary); }
.checkbox-label input:checked + .checkmark::after { content: '✓'; color: white; font-size: 0.9rem; }

.raffle-group {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(156, 77, 255, 0.1));
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gold);
}

.raffle-label { font-weight: 600; }
.rules-link { color: var(--primary); text-decoration: underline; }

.captcha-container { display: flex; justify-content: center; margin-bottom: 1.5rem; }

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gold), #ff9500);
    border: none;
    border-radius: var(--border-radius-sm);
    color: #000;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.submit-btn:hover:not(:disabled) { transform: scale(1.02); box-shadow: 0 10px 30px var(--gold-glow); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Status Cards */
.voting-closed, .already-voted, .success-section { text-align: center; padding: 4rem 2rem; }

.closed-card, .voted-card, .success-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.closed-icon, .voted-icon, .success-icon { font-size: 4rem; display: block; margin-bottom: 1rem; }
.closed-card h2, .voted-card h2, .success-card h2 { font-family: var(--font-display); margin-bottom: 1rem; }
.success-card { border-color: var(--gold); box-shadow: 0 0 50px var(--gold-glow); }

.status-logo, .success-logo {
    width: 100px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(200, 100, 180, 0.6));
    animation: status-logo-bounce 2s ease-in-out infinite;
}

.success-logo {
    width: 120px;
    animation: success-logo-celebrate 1s ease-in-out infinite;
}

/* Results Section */
.results-section {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.results-title {
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-podium {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.podium-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 2px solid var(--border);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.podium-item.podium-gold {
    border-color: var(--gold);
    box-shadow: 0 0 30px var(--gold-glow);
}

.podium-item.podium-silver {
    border-color: var(--silver);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.2);
}

.podium-item.podium-bronze {
    border-color: var(--bronze);
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.2);
}

.podium-medal {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.podium-place {
    font-family: var(--font-display);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.podium-gold .podium-place { color: var(--gold); }
.podium-silver .podium-place { color: var(--silver); }
.podium-bronze .podium-place { color: var(--bronze); }

.podium-embed {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

.podium-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.podium-info {
    text-align: center;
}

.podium-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.podium-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.podium-points {
    font-weight: 600;
    color: var(--gold);
}

/* Submission CTA */
.submission-cta {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.cta-card {
    background: linear-gradient(135deg, rgba(156, 77, 255, 0.1), rgba(0, 212, 255, 0.1));
    border: 2px solid var(--secondary);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
}

.cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.cta-hint {
    font-size: 0.9rem;
    color: var(--text-dim) !important;
    margin-bottom: 1.5rem !important;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: var(--border-radius-sm);
    color: white;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--primary-glow);
}

@keyframes status-logo-bounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes success-logo-celebrate {
    0%, 100% { transform: scale(1) rotate(-3deg); }
    25% { transform: scale(1.1) rotate(5deg); }
    50% { transform: scale(1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(3deg); }
}

.success-share { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.success-share p { color: var(--text-muted); margin-bottom: 1rem; }
.share-buttons { display: flex; justify-content: center; gap: 1rem; }

.share-btn {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text);
}

.share-btn:hover { background: var(--bg-card-hover); border-color: var(--primary); }

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover { background: rgba(255, 255, 255, 0.2); }
.modal-content h2 { font-family: var(--font-display); margin-bottom: 1.5rem; }
.rules-content h3 { color: var(--primary); margin: 1.5rem 0 0.75rem; font-size: 1rem; }
.rules-content ul { list-style: none; padding-left: 0; }
.rules-content li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; color: var(--text-muted); }
.rules-content li::before { content: '★'; position: absolute; left: 0; color: var(--gold); }

.modal-btn {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    border: none;
    border-radius: var(--border-radius-sm);
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn:hover { transform: scale(1.02); }

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.footer a { color: var(--primary); text-decoration: none; }
.submit-link { margin-top: 0.5rem; }
.submit-link a { color: var(--gold); }

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 100, 100, 0.95);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    z-index: 9999;
    animation: toast-in 0.3s ease;
    font-weight: 500;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes toast-out {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* Utilities */
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 768px) {
    .header { flex-direction: column; gap: 1rem; text-align: center; }
    .event-info { align-items: center; }
    .logo-image { height: 40px; }
    .intro-logo { width: 120px; }
    .selection-bar { grid-template-columns: 1fr; position: static; }
    .selection-slot { flex-direction: row; gap: 1rem; padding: 0.75rem 1rem; }
    .slot-medal { margin-bottom: 0; }
    .slot-label { display: none; }
    .clips-grid { grid-template-columns: 1fr; }
    .title { font-size: 1.3rem; }
    .title-highlight { font-size: 1.3em; }
    
    .place-btn { padding: 0.5rem 0.3rem; }
    .place-medal { font-size: 1.1rem; }
    .place-label { font-size: 0.6rem; }
    
    .results-title { font-size: 1.5rem; }
    .podium-item { padding: 1rem; }
    .podium-medal { font-size: 2rem; }
    .podium-stats { flex-direction: column; gap: 0.5rem; }
    
    .cta-card { padding: 1.5rem; }
    .cta-card h3 { font-size: 1.2rem; }
    .cta-button { padding: 0.875rem 1.5rem; font-size: 1rem; }
}
