/* ================================
   CSS Custom Properties (Brand Colors)
   ================================ */
:root {
    --color-gold: #D4A853;
    --color-gold-light: #E8C878;
    --color-peach: #E8A07A;
    --color-coral: #E5927A;
    --color-teal: #5BBFBA;
    --color-teal-light: #7DD3CE;
    --color-blue: #8CBFD4;
    --color-cream: #F0D78C;
    --color-warm-bg: #2A1810;
    --color-dark: #1A1A1A;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --color-gray: #888888;
    --color-error: #E53935;
    --color-success: #43A047;

    --font-display: 'Righteous', cursive;
    --font-body: 'Poppins', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;

    --transition: 0.3s ease;
}

/* ================================
   Utility Classes
   ================================ */
.hidden {
    display: none !important;
}

/* ================================
   Password Gate
   ================================ */
.password-gate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.password-gate.hidden {
    display: none !important;
}

.password-modal {
    background: var(--color-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.password-modal h2 {
    font-family: var(--font-display);
    color: var(--color-teal);
    margin-bottom: 8px;
}

.password-modal p {
    color: var(--color-gray);
    margin-bottom: 24px;
}

.password-modal form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.password-modal input {
    padding: 14px 20px;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    text-align: center;
}

.password-modal input:focus {
    outline: none;
    border-color: var(--color-teal);
}

.password-modal button {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.password-modal button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.password-error {
    color: var(--color-error) !important;
    font-size: 0.9rem;
    margin-top: 8px;
    margin-bottom: 0 !important;
    min-height: 1.2em;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: #0a0a0a;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   Typography
   ================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition);
}

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

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    background: #0a0a0a;
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-bg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CO-FOUNDERS Logo */
.hero-logo-cofounders {
    position: absolute;
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 600px;
    height: auto;
}

/* Presents Text */
.hero-presents {
    position: absolute;
    top: 9%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 2.5vw, 1.1rem);
    font-weight: 500;
    color: #FFFFFF;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Event Title Image - anchored to TV screen center */
.hero-title-img {
    position: absolute;
    top: 26%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 400px;
    height: auto;
}

/* Buy Tickets Button */
.btn-tickets {
    position: absolute;
    top: 43%;
    left: calc(50% + 4px);
    transform: translateX(-50%);
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-tickets img {
    width: clamp(144px, 32vw, 256px);
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.btn-tickets:hover {
    transform: translateX(-50%) translateY(-3px);
}

.btn-tickets:hover img {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4)) brightness(1.05);
}

.btn-tickets:active {
    transform: translateX(-50%) translateY(-1px);
}

/* Pitches Powered By */
.hero-powered {
    position: absolute;
    top: 51%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-powered span {
    font-family: var(--font-body);
    font-size: clamp(0.6rem, 2vw, 0.9rem);
    font-weight: 500;
    color: #FFFFFF;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hiiwav-logo {
    height: clamp(20px, 5vw, 40px);
    width: auto;
}

/* Description Text */
.hero-description {
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
    max-width: 500px;
}

.hero-description p {
    font-family: var(--font-body);
    font-size: clamp(0.65rem, 2.2vw, 1rem);
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.8;
    margin: 0;
}

/* Sponsors */
.hero-sponsors {
    position: absolute;
    top: 76%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 90%;
}

.hero-sponsors .sponsors-label {
    font-family: var(--font-body);
    font-size: clamp(0.5rem, 1.5vw, 0.7rem);
    font-weight: 500;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.sponsors-img {
    width: 80%;
    max-width: 500px;
    height: auto;
}

/* Venue Bar */
.hero-venue {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12%;
    pointer-events: none;
}

.hjk-logo {
    position: absolute;
    left: 5%;
    bottom: 75%;
    height: clamp(34px, 6vw, 54px);
    width: auto;
    pointer-events: auto;
}

.venue-address {
    position: absolute;
    left: 5%;
    bottom: 35%;
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 2.5vw, 1.2rem);
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    pointer-events: auto;
}

/* ================================
   About Section
   ================================ */
.about {
    padding: 60px 20px;
    background: var(--color-white);
}

.section-title {
    font-size: 2rem;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

.about-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 16px;
    color: #444;
}


/* ================================
   Application Section
   ================================ */
.application {
    padding: 60px 20px 80px;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-light) 100%);
}

/* Collapsible Toggle Button */
.apply-toggle {
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
    margin-bottom: 0;
}

.apply-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
}

.apply-toggle .toggle-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.apply-toggle .toggle-icon {
    position: absolute;
    right: 32px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    transition: transform var(--transition);
    line-height: 1;
}

.apply-toggle.expanded .toggle-icon {
    transform: rotate(45deg);
}

/* Application Content (Collapsible) */
.application-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

.application-content.expanded {
    max-height: 5000px;
    opacity: 1;
    margin-top: 24px;
}

/* Progress Indicator */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    height: 6px;
    background: #E0E0E0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-gold) 100%);
    width: 33.33%;
    transition: width var(--transition);
    border-radius: 3px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-steps .step {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: #E0E0E0;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition);
}

.progress-steps .step.active {
    background: var(--color-teal);
    color: var(--color-white);
}

.progress-steps .step.completed {
    background: var(--color-success);
    color: var(--color-white);
}

.progress-labels {
    display: none;
}

@media (min-width: 640px) {
    .progress-labels {
        display: flex;
        justify-content: space-between;
        font-size: 0.7rem;
        color: var(--color-gray);
        text-align: center;
    }

    .progress-labels span {
        flex: 1;
    }
}

/* Form Styles */
.multi-step-form {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

.step-title {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.step-description {
    color: var(--color-gray);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.required {
    color: var(--color-error);
}

.field-hint {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(91, 191, 186, 0.2);
}

input.error,
textarea.error {
    border-color: var(--color-error);
}

.error-message {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Checkbox & Radio Styles */
.checkbox-group,
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input,
.radio-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-teal);
}

.commitment-checkbox {
    display: flex;
    align-items: flex-start;
    background: var(--color-gray-light);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.commitment-checkbox input {
    margin-top: 3px;
}

/* File Upload Styles */
.file-upload-zone {
    border: 2px dashed #D0D0D0;
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: var(--color-teal);
    background: rgba(91, 191, 186, 0.05);
}

.file-upload-zone.has-file {
    border-color: var(--color-success);
    background: rgba(67, 160, 71, 0.05);
}

.upload-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.upload-text {
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.upload-hint {
    font-size: 0.85rem;
    color: var(--color-gray);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-preview {
    margin-top: 16px;
}

.upload-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: var(--radius-sm);
}

.upload-preview .file-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-gray-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.upload-preview .remove-file {
    background: var(--color-error);
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E0E0E0;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid #E0E0E0;
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-submit {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-gold) 100%);
    color: var(--color-white);
    padding: 16px 48px;
}

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 60px 32px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.success-message h3 {
    font-size: 2rem;
    color: var(--color-success);
    margin-bottom: 16px;
}

.success-message p {
    color: var(--color-gray);
    margin-bottom: 8px;
}

/* ================================
   About Co-Founders Section
   ================================ */
.about-cofounders {
    padding: 60px 20px;
    background: var(--color-white);
    text-align: center;
}

.about-cofounders .about-text {
    margin-bottom: 24px;
}

.about-cofounders .btn-primary {
    display: inline-block;
}

.pitch-cta-banner + .about-cofounders {
    padding-top: 24px;
}

.about-cofounders.bg-gray {
    background: linear-gradient(180deg, var(--color-gray-light) 0%, var(--color-white) 100%);
}

/* ================================
   Pitch Contest Hero Section
   ================================ */
.pitch-hero {
    position: relative;
    background:
        linear-gradient(180deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.7) 40%, rgba(26, 26, 26, 0.85) 100%),
        url('assets/Wide-host-no-text.png') center bottom / cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.pitch-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.spotlight {
    position: absolute;
    top: -50%;
    width: 300px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.3) 0%, rgba(212, 168, 83, 0.1) 40%, transparent 70%);
    transform: rotate(15deg);
}

.spotlight-left {
    left: 5%;
    transform: rotate(-20deg);
}

.spotlight-center {
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    width: 400px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.25) 0%, rgba(212, 168, 83, 0.08) 50%, transparent 70%);
}

.spotlight-right {
    right: 5%;
    transform: rotate(20deg);
}

.pitch-hero .container {
    position: relative;
    z-index: 1;
}

.pitch-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.pitch-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.btn-pitch-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-white);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.4);
}

.btn-pitch-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.5);
    color: var(--color-white);
}

.btn-pitch-cta .cta-icon {
    font-size: 1.3rem;
}

/* ================================
   Pitch Benefits Section
   ================================ */
.pitch-benefits {
    background: linear-gradient(180deg, #faf8f3 0%, #f5f0e6 100%);
    padding: 60px 20px;
}

.pitch-benefits-container {
    max-width: 1000px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.benefit-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.benefit-highlight {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.benefit-description {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.5;
    margin: 0;
}

/* ================================
   Pitch CTA Banner Section
   ================================ */
.pitch-cta-banner {
    background:
        linear-gradient(135deg, rgba(212, 168, 83, 0.92) 0%, rgba(232, 200, 120, 0.92) 100%),
        url('assets/Wide-host-no-text.png') center center / cover no-repeat;
    padding: 50px 20px 30px;
    text-align: center;
    position: relative;
    padding-bottom: 60px;
}

.pitch-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -75px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 150px;
    z-index: 2;
    background-image: url('assets/arrow-down.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pitch-cta-banner-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--color-dark);
    margin-bottom: 12px;
}

.pitch-cta-banner-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
    max-width: 550px;
    margin: 0 auto 0;
    line-height: 1.5;
}

.btn-pitch-cta-dark {
    background: rgba(0, 0, 0, 0.15);
    box-shadow: none;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.btn-pitch-cta-dark:hover {
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ================================
   Judges Section
   ================================ */
.judges {
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--color-gray-light) 0%, var(--color-white) 100%);
}

.judges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .judges-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

.judge-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.judge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.judge-photo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 4px solid var(--color-teal);
    margin-bottom: 20px;
}

.judge-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #E0E0E0 0%, #BDBDBD 100%);
    border: 4px solid var(--color-teal);
    margin: 0 auto 20px;
}

.judge-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-teal);
    margin-bottom: 12px;
}

.judge-bio {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.judge-link {
    color: var(--color-coral);
    font-weight: 500;
    transition: color var(--transition);
}

.judge-link:hover {
    color: var(--color-gold);
}

/* Mystery Mode Toggle Styles */

/* Mystery mode - hide revealed content, show mystery content */
.judges.mystery-mode .judge-photo,
.judges.mystery-mode .judge-name,
.judges.mystery-mode .judge-bio,
.judges.mystery-mode .judge-link {
    display: none;
}

.judges.mystery-mode .judge-photo-mystery,
.judges.mystery-mode .judge-name-mystery,
.judges.mystery-mode .judge-bio-mystery {
    display: block;
}

/* Revealed mode (default) - show revealed, hide mystery */
.judges .judge-photo-mystery,
.judges .judge-name-mystery,
.judges .judge-bio-mystery {
    display: none;
}

/* Silhouette styling */
.judge-photo-mystery {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 4px solid var(--color-teal);
    margin: 0 auto 20px;
    position: relative;
}

/* Question mark mystery icon */
.judge-photo-mystery::after {
    content: "?";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--color-teal);
    font-weight: bold;
}

/* Style mystery names and bios same as regular ones */
.judge-name-mystery {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-teal);
    margin-bottom: 12px;
}

.judge-bio-mystery {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ================================
   FAQ Section
   ================================ */
.faq {
    padding: 60px 20px;
    background: var(--color-white);
}

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

.faq-item {
    margin-bottom: 12px;
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    box-shadow: var(--shadow-md);
}

.faq-question span:first-child {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    text-align: left;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    transition: transform var(--transition);
    line-height: 1;
}

.faq-item.expanded .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    background: var(--color-gray-light);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.faq-item.expanded .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding: 20px 24px;
}

.faq-answer p {
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 48px 20px 24px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-links {
        text-align: right;
    }
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-teal);
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--color-gray);
}

.footer-logo {
    max-width: 200px;
    height: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--color-coral);
    transition: color var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: var(--color-gray);
    font-size: 0.85rem;
}

/* ================================
   Loading States
   ================================ */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--color-gold);
    border-top-color: transparent;
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

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

/* ================================
   Responsive Adjustments
   ================================ */
@media (min-width: 801px) {
    .hero-container {
        max-width: 100%;
    }

    .hero-logo-cofounders {
        width: 55%;
        max-width: 700px;
    }

    .hero-title-img {
        width: 38%;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .hero-logo-cofounders {
        width: 95%;
    }

    .hero-title-img {
        width: 60%;
    }

    .multi-step-form {
        padding: 20px;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .progress-steps .step {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .checkbox-group,
    .radio-group {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Save Draft Button
   ================================ */
.btn-draft {
    background: transparent;
    color: var(--color-teal);
    border: 2px solid var(--color-teal);
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-draft:hover {
    background: rgba(91, 191, 186, 0.1);
    border-color: var(--color-teal-light);
    color: var(--color-teal-light);
    transform: translateY(-2px);
}

/* ================================
   Save Draft Modal
   ================================ */
.draft-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: draftFadeIn 0.2s ease;
}

@keyframes draftFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.draft-modal {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: draftSlideUp 0.3s ease;
}

.draft-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-gray);
    line-height: 1;
}

.draft-modal-close:hover {
    color: var(--color-dark);
}

.draft-modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-teal);
    margin-bottom: 12px;
    text-align: center;
}

.draft-modal-text {
    color: var(--color-gray);
    text-align: center;
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.draft-email-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: center;
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.draft-email-input:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(91, 191, 186, 0.2);
}

.draft-error {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: 8px;
    text-align: center;
}

.draft-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.draft-modal-actions .btn {
    flex: 1;
    text-align: center;
}

/* Draft Success State */
.draft-success-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--color-success);
    color: var(--color-white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.draft-modal-success .draft-modal-text {
    margin-bottom: 20px;
}

.draft-modal-success .btn {
    display: block;
    width: 100%;
}

/* ================================
   Draft Restored Banner
   ================================ */
.draft-restored-banner {
    background: linear-gradient(135deg, rgba(91, 191, 186, 0.1), rgba(91, 191, 186, 0.05));
    border: 1px solid var(--color-teal);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.draft-restored-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.draft-restored-text {
    flex: 1;
    color: var(--color-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.draft-restored-dismiss {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--color-gray);
    flex-shrink: 0;
}

.draft-restored-dismiss:hover {
    color: var(--color-dark);
}

/* ================================
   Responsive: Save Draft
   ================================ */
@media (max-width: 480px) {
    .draft-modal {
        padding: 28px 20px;
    }

    .draft-modal-actions {
        flex-direction: column;
    }

    .btn-draft {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}
