/* ========================================
   AJIT CLASSIC - SEASON 4
   Premium Bodybuilding Event Registration
   Baba Fateh Singh Foundation
   ======================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --bg-dark: #1a1f14;
    --bg-darker: #141810;
    --bg-card: rgba(30, 36, 24, 0.95);
    
    /* Gold Palette */
    --gold-primary: #d4af37;
    --gold-light: #f4d03f;
    --gold-bright: #ffd700;
    --gold-dark: #b8860b;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    
    /* Accent Colors */
    --olive-dark: #2a3320;
    --olive-medium: #3d4a2d;
    --olive-light: #4a5a38;
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-light: #e8e8e8;
    --text-muted: #a0a0a0;
    
    /* Effects */
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    --shadow-deep: 0 25px 50px rgba(0, 0, 0, 0.5);
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.5), 0 0 40px rgba(212, 175, 55, 0.3);
    
    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(3rem, 8vw, 6rem);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Background Effects */
.bg-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--olive-dark) 0%, var(--bg-darker) 70%);
    z-index: -3;
}

.camo-pattern {
    position: fixed;
    inset: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.08;
    z-index: -2;
    mix-blend-mode: overlay;
}

.particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-primary);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

/* Header */
.header {
    text-align: center;
    padding: var(--section-padding) 0 2rem;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.logo {
    width: clamp(100px, 20vw, 160px);
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
    animation: logo-pulse 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.logo-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.foundation-name {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 0 var(--section-padding);
}

.tagline-top {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Countdown Clock */
.countdown-clock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: clamp(50px, 12vw, 80px);
}

.countdown-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    color: var(--gold-primary);
    line-height: 1;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.countdown-label {
    font-family: var(--font-body);
    font-size: clamp(0.6rem, 1.5vw, 0.8rem);
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.countdown-separator {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gold-primary);
    opacity: 0.6;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.2; }
}

.countdown-banner {
    position: relative;
    display: inline-block;
    padding: 1.5rem 4rem;
    margin: 2rem 0;
}

.gold-brush {
    position: absolute;
    inset: 0;
    background: var(--gold-gradient);
    clip-path: polygon(5% 0%, 95% 5%, 100% 50%, 95% 95%, 5% 100%, 0% 50%);
    animation: shimmer 3s ease-in-out infinite;
}

.gold-brush::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: brush-shine 3s ease-in-out infinite;
}

@keyframes brush-shine {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1);
    }
}

.weeks-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.weeks-number {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 900;
    color: var(--bg-dark);
    line-height: 1;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.2);
}

.weeks-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--bg-dark);
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
}

.weeks-text span:first-child {
    font-size: clamp(1rem, 3vw, 1.5rem);
    letter-spacing: 0.1em;
}

.out-text {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 0.2em 0.5em;
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    margin-top: 0.2em;
}

.tagline-bottom {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--text-white);
    margin: 2rem 0 3rem;
    text-transform: uppercase;
}

/* Event Details */
.event-details {
    margin-top: 2rem;
}

.event-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: var(--glow-gold);
    margin-bottom: 0.5rem;
}

.season {
    font-weight: 400;
    color: var(--text-white);
}

.event-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.4em;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.date-badge {
    display: inline-block;
    background: #d4af37;
    padding: 1.2rem 3.5rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.5);
}

.date-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: brush-shine 3s ease-in-out infinite;
}

.date {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 900;
    color: #000000;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.date sup {
    font-size: 0.6em;
    vertical-align: super;
}

/* Gold Divider */
.gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--section-padding) 0;
    position: relative;
}

.gold-divider::before,
.gold-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.divider-text {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 0.3em;
    padding: 0 2rem;
    text-transform: uppercase;
}

/* Registration Section */
.registration-section {
    padding-bottom: var(--section-padding);
}

.form-container {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0;
    padding: clamp(2rem, 5vw, 3.5rem);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
}

.form-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.form-header h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-header p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-muted);
    font-weight: 300;
}

/* Form Styles */
.registration-form {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 0.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.form-group input:focus ~ .input-highlight,
.form-group select:focus ~ .input-highlight,
.form-group textarea:focus ~ .input-highlight {
    width: 100%;
}

/* Checkbox Styles */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container:hover .checkmark {
    border-color: var(--gold-primary);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
}

.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid var(--bg-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    transform: rotate(45deg) scale(1);
}

.checkbox-text a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Required Field Indicator */
.required {
    color: #e74c3c;
    font-weight: 700;
    margin-left: 2px;
}

/* Radio Button Styles */
.category-options {
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-label {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.category-info {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.radio-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 0;
    transition: all 0.3s ease;
}

.radio-container:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.radio-container input[type="radio"] {
    display: none;
}

.radio-mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-container:hover .radio-mark {
    border-color: var(--gold-primary);
}

.radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--gold-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.radio-container input[type="radio"]:checked + .radio-mark {
    border-color: var(--gold-primary);
}

.radio-container input[type="radio"]:checked + .radio-mark::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-container input[type="radio"]:checked ~ .radio-text {
    color: var(--gold-primary);
}

.radio-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    margin-left: 0.5rem;
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem 2rem;
    margin-top: 2rem;
    background: var(--gold-gradient);
    border: none;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-text {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 700;
    color: var(--bg-dark);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--bg-dark);
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover .btn-shine {
    left: 100%;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.form-footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: var(--gold-light);
}

/* Footer */
.footer {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    padding: var(--section-padding) 0 2rem;
    margin-top: 2rem;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    width: 80px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold-primary);
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-primary);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .countdown-clock {
        gap: 0.3rem;
        padding: 1rem 0.5rem;
        flex-wrap: nowrap;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-value {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.55rem;
        letter-spacing: 0.05em;
    }
    
    .countdown-separator {
        font-size: 1.2rem;
    }
    
    .countdown-banner {
        padding: 1.2rem 2.5rem;
    }
    
    .weeks-container {
        gap: 0.3rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .tagline-top,
    .tagline-bottom {
        letter-spacing: 0.15em;
    }
    
    .event-subtitle {
        letter-spacing: 0.2em;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 2.5rem;
    }
    
    .foundation-name {
        letter-spacing: 0.08em;
    }
    
    .countdown-clock {
        gap: 0.2rem;
        padding: 0.8rem 0.3rem;
        margin: 1rem 0;
    }
    
    .countdown-item {
        min-width: 40px;
    }
    
    .countdown-value {
        font-size: 1.4rem;
    }
    
    .countdown-label {
        font-size: 0.5rem;
        letter-spacing: 0.02em;
        margin-top: 0.3rem;
    }
    
    .countdown-separator {
        font-size: 1rem;
        margin: 0 -0.1rem;
    }
    
    .countdown-banner {
        padding: 1rem 1.5rem;
    }
    
    .date-badge {
        padding: 0.6rem 1.5rem;
    }
    
    .form-header {
        margin-bottom: 2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.9rem 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .checkbox-container {
        font-size: 0.85rem;
    }
    
    .checkmark {
        width: 20px;
        height: 20px;
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
    }
    
    .btn-text {
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }
}

/* Animation for Form Elements on Load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: fadeInUp 0.6s ease forwards;
}

.form-row:nth-child(1) .form-group { animation-delay: 0.1s; }
.form-row:nth-child(2) .form-group { animation-delay: 0.2s; }
.form-row:nth-child(3) .form-group { animation-delay: 0.3s; }
.form-row:nth-child(4) .form-group { animation-delay: 0.4s; }
.form-row:nth-child(5) .form-group { animation-delay: 0.5s; }
.form-row:nth-child(6) .form-group { animation-delay: 0.6s; }
.form-row:nth-child(7) .form-group { animation-delay: 0.7s; }
.form-row:nth-child(8) .form-group { animation-delay: 0.8s; }

/* Selection Styles */
::selection {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

::-moz-selection {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--olive-medium);
    border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .bg-overlay,
    .camo-pattern,
    .particles,
    .gold-brush,
    .btn-shine,
    .logo-glow {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .form-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ========================================
   Contestants / Live submissions styles
   ======================================== */
.contestants-page .loading-text {
    color: var(--text-muted);
    font-size: 1rem;
    padding: 1.5rem 0;
}

#contestantList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.contestant-card {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(212,175,55,0.08);
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contestant-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
}

.contestant-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--gold-primary);
    margin-bottom: 0.25rem;
}

.contestant-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.contestant-fields {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.95rem;
}

.contestant-pill {
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.08);
    color: var(--gold-primary);
    padding: 0.25rem 0.5rem;
    font-weight: 600;
    border-radius: 3px;
    letter-spacing: 0.03em;
}

.contestant-empty {
    color: var(--text-muted);
    padding: 1rem 0;
}

/* Small utility */
.kv { color: var(--text-muted); font-size: 0.85rem; margin-right: 0.5rem; }

@media (max-width: 600px) {
    #contestantList { grid-template-columns: 1fr; }
}
