/* ============================================
   Rise n Rhyme - Contest Page Styles
   ============================================ */

/* ---------- Contest Hero ---------- */
.contest-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    padding: 6rem 0 4rem;
}

.contest-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 0, 64, 0.15);
    top: -10%;
    right: -5%;
    animation: glowPulse 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 255, 136, 0.08);
    bottom: -10%;
    left: -5%;
    animation: glowPulse 8s ease-in-out infinite 4s;
}

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

/* Animated soundwave bars in hero background */
.soundwave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    z-index: 1;
    opacity: 0.12;
}

.wave-bar {
    width: 4px;
    background: #fff;
    border-radius: 2px;
    animation: waveAnim 1.5s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.08s);
}

@keyframes waveAnim {
    0%, 100% { height: 20px; }
    50% { height: calc(40px + var(--i) * 8px); }
}

.contest-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.contest-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.contest-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.title-rise {
    display: block;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-n {
    display: block;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: lowercase;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.5);
    margin: 0.25rem 0;
}

.title-rhyme {
    display: block;
    background: linear-gradient(135deg, #ff0040 0%, #ff4080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contest-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.contest-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
}

.hero-stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.contest-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Contest Buttons ---------- */
.btn-contest-primary {
    background: #fff;
    color: #000;
    padding: 0.9rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #fff;
}

.btn-contest-primary:hover {
    background: transparent;
    color: #fff;
}

.btn-contest-outline {
    background: transparent;
    color: #fff;
    padding: 0.9rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-contest-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-cta-large {
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
}

/* ---------- Section Shared ---------- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.section-desc {
    max-width: 640px;
    margin: 0 auto;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---------- About Section ---------- */
.contest-about {
    padding: 6rem 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.about-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #000;
}

.about-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Steps Section ---------- */
.contest-steps {
    padding: 6rem 0;
    background: #f9f9f9;
}

.steps-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e5e5e5;
    line-height: 1;
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.step-connector {
    width: 2px;
    height: 40px;
    background: #e5e5e5;
    margin: 0.5rem 0 0.5rem 29px;
}

/* ---------- Prizes Section ---------- */
.contest-prizes {
    padding: 6rem 0;
    background: #000;
}

.contest-prizes .section-label {
    color: rgba(255, 255, 255, 0.5);
}

.contest-prizes .section-header h2 {
    color: #fff;
}

.contest-prizes .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.prize-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.prize-card:hover {
    transform: translateY(-4px);
}

.prize-first {
    border-color: rgba(255, 0, 64, 0.4);
    background: rgba(255, 0, 64, 0.06);
}

.prize-first:hover {
    border-color: rgba(255, 0, 64, 0.7);
}

.prize-second:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.prize-third:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.prize-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.prize-first .prize-rank {
    color: #ff0040;
}

.prize-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
}

.prize-perks {
    list-style: none;
    padding: 0;
    text-align: left;
    flex: 1;
    margin-bottom: 2rem;
}

.prize-perks li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.prize-perks li:last-child {
    border-bottom: none;
}

.prize-perks svg {
    flex-shrink: 0;
    color: #00ff88;
}

.prize-first .prize-perks svg {
    color: #ff0040;
}

.btn-prize {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s;
    margin-top: auto;
}

.btn-prize:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.prize-first .btn-prize {
    background: #ff0040;
    border-color: #ff0040;
}

.prize-first .btn-prize:hover {
    background: #fff;
    color: #ff0040;
    border-color: #fff;
}

/* ---------- Rules Section ---------- */
.contest-rules {
    padding: 6rem 0;
    background: #fff;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.rule-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.2s;
}

.rule-item:hover {
    transform: translateY(-2px);
}

.rule-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rule-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #000;
}

.rule-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* ---------- Application Form Section ---------- */
.contest-apply {
    padding: 6rem 0;
    background: #f9f9f9;
}

.apply-form-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

/* Progress Indicator */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.progress-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.progress-step.active .progress-dot,
.progress-step.completed .progress-dot {
    background: #000;
    color: #fff;
}

.progress-step span {
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-step.active span,
.progress-step.completed span {
    color: #000;
}

.progress-line {
    width: 80px;
    height: 2px;
    background: #e5e5e5;
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s;
}

.progress-line.active {
    background: #000;
}

/* Form Steps */
.contest-form {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInStep 0.4s ease;
}

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

.step-header {
    margin-bottom: 2rem;
}

.step-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #000;
}

.step-header p {
    color: #666;
    font-size: 0.95rem;
}

/* Form Fields */
.contest-form .form-group {
    margin-bottom: 1.25rem;
}

.contest-form label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.required {
    color: #ff0040;
}

.contest-form input[type="text"],
.contest-form input[type="email"],
.contest-form input[type="tel"],
.contest-form select,
.contest-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contest-form input:focus,
.contest-form select:focus,
.contest-form textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.contest-form input.error,
.contest-form select.error,
.contest-form textarea.error {
    border-color: #ff0040;
    box-shadow: 0 0 0 3px rgba(255, 0, 64, 0.08);
}

.field-hint {
    font-size: 0.8rem;
    color: #999;
    margin-top: -0.25rem;
    margin-bottom: 0.75rem;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Social Handles */
.social-handles-group {
    margin-bottom: 1.25rem;
}

.social-handles-group > label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.social-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-input-row {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.social-input-row:focus-within {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.social-icon-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: #f5f5f5;
    border-right: 1px solid #e5e5e5;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    min-width: 130px;
}

.social-input-row input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.8rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
}

.social-input-row input:focus {
    outline: none;
    box-shadow: none !important;
}

/* ---------- Upload Zones ---------- */
.upload-section {
    margin-bottom: 2rem;
}

.upload-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.upload-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
}

.upload-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #000;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.upload-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.upload-zone {
    border: 2px dashed #d0d0d0;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
    position: relative;
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: #000;
    background: #f5f5f5;
}

.upload-zone.drag-over {
    border-style: solid;
    background: #f0f0f0;
}

.upload-zone.has-file {
    border-color: #00cc66;
    border-style: solid;
    background: #f0fff5;
}

.upload-zone-content {
    pointer-events: none;
}

.upload-icon {
    color: #ccc;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.upload-zone:hover .upload-icon {
    color: #000;
}

.upload-text {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.upload-subtext {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.75rem;
}

.upload-formats {
    font-size: 0.75rem;
    color: #bbb;
}

/* Upload Preview */
.upload-preview {
    margin-top: 1rem;
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.file-preview-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-preview-info {
    flex: 1;
    min-width: 0;
}

.file-preview-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview-meta {
    font-size: 0.8rem;
    color: #999;
}

.file-preview-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0.25rem;
    transition: color 0.2s;
}

.file-preview-remove:hover {
    color: #ff0040;
}

/* Upload Progress */
.upload-progress-bar {
    width: 100%;
    height: 4px;
    background: #e5e5e5;
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.upload-progress-fill {
    height: 100%;
    background: #000;
    border-radius: 2px;
    transition: width 0.3s;
    width: 0%;
}

/* ---------- Form Navigation ---------- */
.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.btn-form-next,
.btn-form-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.btn-form-next:hover,
.btn-form-submit:hover {
    background: #333;
}

.btn-form-prev {
    background: none;
    border: 1px solid #e5e5e5;
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.btn-form-prev:hover {
    border-color: #000;
    color: #000;
}

/* Submit Button */
.btn-form-submit {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Terms Checkbox */
.terms-check {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.terms-check label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
}

.terms-check input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #000;
}

.terms-check a {
    color: #000;
    text-decoration: underline;
}

/* ---------- Success State ---------- */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.success-icon {
    color: #00cc66;
    margin-bottom: 1.5rem;
}

.form-success h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.form-success p {
    color: #666;
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.success-details {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.success-details p {
    margin: 0.4rem 0;
    font-size: 0.9rem;
}

/* ---------- FAQ Section ---------- */
.contest-faq {
    padding: 6rem 0;
    background: #fff;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
}

.faq-item:first-child {
    border-top: 1px solid #e5e5e5;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    text-align: left;
    gap: 1rem;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: #999;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ---------- CTA Section ---------- */
.contest-cta {
    padding: 5rem 0;
    background: #000;
}

.cta-inner {
    text-align: center;
}

.cta-inner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Error messages ---------- */
.field-error {
    color: #ff0040;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.field-error.visible {
    display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .contest-title {
        font-size: 3.5rem;
    }

    .about-grid,
    .prizes-grid,
    .rules-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .prizes-grid {
        max-width: 400px;
    }

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

    .contest-form {
        padding: 2rem 1.5rem;
    }

    .contest-hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-value {
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .contest-hero {
        padding: 5rem 0 3rem;
        min-height: auto;
    }

    .contest-title {
        font-size: 2.75rem;
    }

    .title-n {
        font-size: 1.4rem;
    }

    .contest-tagline {
        font-size: 1rem;
    }

    .contest-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .step-item {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .step-number {
        width: auto;
    }

    .step-connector {
        margin: 0.5rem auto;
    }

    .contest-form {
        padding: 1.5rem 1.25rem;
    }

    .social-icon-label {
        min-width: 100px;
        font-size: 0.75rem;
        padding: 0.6rem 0.75rem;
    }

    .upload-zone {
        padding: 2rem 1rem;
    }

    .form-nav {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .form-nav > * {
        width: 100%;
        justify-content: center;
    }

    .form-progress {
        gap: 0;
    }

    .progress-line {
        width: 40px;
    }

    .progress-step span {
        font-size: 0.65rem;
    }

    .cta-inner h2 {
        font-size: 1.75rem;
    }

    .prize-amount {
        font-size: 2rem;
    }

    .rules-grid {
        gap: 1rem;
    }

    .contest-about,
    .contest-steps,
    .contest-prizes,
    .contest-rules,
    .contest-apply,
    .contest-faq,
    .contest-cta {
        padding: 4rem 0;
    }
}
