/* Base Reset & Variables */
:root {
    --navy-dark: #0f263b;
    --navy: #1F4E79;
    --navy-light: #2c6ca8;
    --accent: #ff5500; /* Bold Sony-style orange */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-page: #f8fafc;
    --white: #ffffff;
    --error: #e53e3e;
    --success: #38a169;
    --border: #cbd5e1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.text-link {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 600;
}

.text-link:hover {
    color: var(--navy-light);
}

/* Hero Section / Photography Header */
.photography-header {
    position: relative;
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 2rem 2rem 6rem;
    text-align: center;
    border-bottom: 4px solid var(--navy-light);
    overflow: hidden;
}

/* Hero Slideshow Background */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 38, 59, 0.6) 0%, rgba(10, 25, 41, 0.85) 100%);
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: crossfade 36s infinite linear;
}

.slide-1 { background-image: url('https://offertabs.s3.amazonaws.com/offer/wjbs8s/site/media/6a43de1a75aea0.21689171.jpg'); animation-delay: 0s; }
.slide-2 { background-image: url('https://offertabs.s3.amazonaws.com/offer/wjbs8s/site/media/6a43de1fc77006.28473619.jpg'); animation-delay: 6s; }
.slide-3 { background-image: url('https://offertabs.s3.amazonaws.com/offer/wjbs8s/site/media/6a43e57b721780.17137161.jpg'); animation-delay: 12s; }
.slide-4 { background-image: url('https://offertabs.s3.amazonaws.com/offer/wjbs8s/site/media/6a43e2c65c7635.46979794.jpg'); animation-delay: 18s; }
.slide-5 { background-image: url('https://offertabs.s3.amazonaws.com/offer/wjbs8s/site/media/6a43e5441bb117.73055996.jpg'); animation-delay: 24s; }
.slide-6 { background-image: url('https://offertabs.s3.amazonaws.com/offer/wjbs8s/site/media/6a43de1fc77006.28473619.jpg'); animation-delay: 30s; }

@keyframes crossfade {
    0% { opacity: 0; transform: scale(1.05); }
    4% { opacity: 1; transform: scale(1.03); }
    14% { opacity: 1; transform: scale(1.01); }
    18% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; transform: scale(1); }
}

.logo-container {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    z-index: 3;
}

.logo-container img {
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.midwest-logo {
    max-height: 80px;
}

.sony-logo {
    max-height: 40px;
}

.logo-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.sponsor-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.photography-header h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
    flex-wrap: wrap;
}

.btn-hero {
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.4);
    margin: 0;
}

.btn-hero:hover {
    background: #e64d00;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 85, 0, 0.5);
}

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

.btn-hero-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    box-shadow: none;
}

.btn-hero-outline:hover {
    background: #ffffff;
    color: var(--navy-dark);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Countdown */
#countdown-wrapper {
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2rem 3rem;
    border-radius: 24px;
    display: inline-block;
    border: 1px solid rgba(255, 85, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.countdown-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.25rem;
    color: var(--accent);
    font-weight: 800;
}

.countdown {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cd-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.cd-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(255, 85, 0, 0.4);
    margin-bottom: 0.25rem;
}

.cd-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    color: #cbd5e1;
    font-weight: 600;
}

/* How to Enter Section */
.how-to-enter-section {
    max-width: 1200px;
    margin: -3rem auto 2rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.how-to-enter-container {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.how-to-enter-container h2 {
    color: var(--navy);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

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

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(255, 85, 0, 0.3);
}

.step-item p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}

/* Main Layout */
.main-layout {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

/* Left Column: Info Panel */
.info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.info-card h2 {
    color: var(--navy);
    font-size: 1.8rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin: 1.5rem 0 0.75rem;
}

/* Vibrant Prize Card */
.prize-box {
    background: linear-gradient(135deg, var(--accent) 0%, #ff2a00 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    margin: 2.5rem 0;
    box-shadow: 0 15px 35px rgba(255, 85, 0, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

.prize-box::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.prize-box-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.prize-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    flex-shrink: 0;
    overflow: hidden;
    padding: 12px;
}

.prize-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.prize-amount-wrapper {
    display: flex;
    flex-direction: column;
}

.prize-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.25rem;
}

.prize-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-bottom: 0.25rem;
}

.prize-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    line-height: 1.2;
}

.prize-box-body {
    position: relative;
    z-index: 1;
}

.prize-box-body p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.prize-box-body p:last-child {
    margin-bottom: 0;
}

.theme-list, .req-list {
    margin-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.theme-list li, .req-list li {
    margin-bottom: 0.5rem;
}

/* Right Column: Form Panel */
.form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-card h2 {
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-instructions {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.error-banner {
    background: #fef2f2;
    color: var(--error);
    border: 1px solid #f87171;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.2s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Custom File Upload */
.themes-upload-group {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.section-label {
    font-size: 1.1rem;
    color: var(--navy);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.themes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.theme-upload-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.theme-upload-box:hover {
    border-color: var(--navy-light);
    box-shadow: 0 4px 12px rgba(31, 78, 121, 0.08);
}

.theme-upload-box.has-file {
    background: #f0fdf4;
    border-color: var(--success);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.1);
}

.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    left: -9999px;
}

.file-upload-ui {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    width: 100%;
}

.file-upload-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background-color: #f1f5f9;
    border: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    color: #94a3b8;
    transition: all 0.2s;
}

.theme-upload-box:hover .file-upload-thumb {
    border-color: var(--navy-light);
    color: var(--navy-light);
}

.theme-upload-box.has-file .file-upload-thumb {
    border-style: solid;
    border-color: var(--success);
    border-width: 1px;
}

.upload-empty-icon {
    width: 24px;
    height: 24px;
}

.file-upload-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.theme-card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
    font-weight: 800;
}

.theme-upload-box.has-file .theme-card-label {
    color: var(--success);
}

.file-name-display {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-btn {
    font-size: 0.8rem;
    color: var(--navy);
    font-weight: 600;
    margin-top: 0.2rem;
    align-self: flex-start;
    border: 1px solid var(--navy);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    background: transparent;
    transition: all 0.2s;
    pointer-events: none;
}

.theme-upload-box:hover .file-btn {
    background: var(--navy);
    color: var(--white);
}

.theme-upload-box.has-file .file-btn {
    border-color: var(--success);
    color: var(--success);
}

.theme-upload-box.has-file:hover .file-btn {
    background: var(--success);
    color: var(--white);
}

.title-input {
    margin-top: 1rem;
    margin-bottom: 0 !important;
    font-size: 0.9rem !important;
    padding: 0.6rem 0.75rem !important;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 100%;
}

/* Checkboxes */
.checkbox-group {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    min-width: 20px;
    height: 20px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--navy);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--navy);
    border-color: var(--navy);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.cb-label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-main);
    font-weight: 400;
}

/* Buttons */
.btn-primary {
    background: var(--navy);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary:hover {
    background: var(--navy-dark);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    width: 100%;
}

.btn-secondary:hover {
    background: rgba(31, 78, 121, 0.05);
}

/* Success Section */
#success-section {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

/* Success Files Grid */
.success-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.success-file-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 0.75rem;
    border-radius: 8px;
}

.success-file-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    flex-shrink: 0;
}

.success-file-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.success-file-theme {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
    font-weight: 700;
}

.success-file-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Share Action Box */
.share-action {
    margin: 2rem 0;
}

.btn-instagram {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.3);
}

.ig-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ig-icon svg {
    width: 28px;
    height: 28px;
}

.ig-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

.action-buttons {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}


/* -------------------------------------------
   MUSEUM GALLERY SECTION
------------------------------------------- */
.museum-gallery {
    background-color: #050505;
    background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #050505 80%);
    color: #f4f4f0;
    padding: 6rem 2rem;
    position: relative;
    border-top: 2px solid #222;
}

.museum-header {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.museum-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #e6dfc8; /* subtle gold/parchment */
}

.museum-subtitle {
    font-family: 'Open Sans', sans-serif;
    color: #999;
    font-size: 1.1rem;
    line-height: 1.8;
}

.museum-wings {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.wing-btn {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.wing-btn:hover {
    border-color: #e6dfc8;
    color: #e6dfc8;
    background: rgba(230, 223, 200, 0.05);
}

/* Gallery Sections - all visible at once, wing buttons jump-scroll to these */
.gallery-section {
    margin-bottom: 5rem;
    scroll-margin-top: 20px;
}

.gallery-section:last-child {
    margin-bottom: 0;
}

.gallery-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-style: italic;
    color: #e6dfc8;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

/* Responsive Masonry Gallery Grid */
.museum-hall {
    max-width: 1400px;
    margin: 0 auto;
    column-count: 4;
    column-gap: 16px;
}

.art-piece {
    display: block;
    width: 100%;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 16px;
}

.art-frame {
    display: block;
    background: transparent;
    padding: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    margin-bottom: 0;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.art-frame:focus {
    outline: 2px solid #e6dfc8;
    outline-offset: 4px;
}

.art-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.7);
}

.art-frame img {
    display: block;
    width: 100%;
    height: auto;
    background: #111;
    border: none;
    box-shadow: none;
}

.art-placard {
    background: #111;
    border: 1px solid #333;
    padding: 1.25rem;
    width: 90%;
    max-width: 100%;
    margin: -15px auto 0;
    text-align: center;
    z-index: 2;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    border-top: 2px solid #e6dfc8;
    box-sizing: border-box;
    border-radius: 4px;
}

.art-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #e6dfc8;
    margin-bottom: 0.5rem;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}

.art-artist {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}

.museum-loading, .empty-gallery, .error-gallery {
    text-align: center;
    padding: 3rem 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #888;
    font-style: italic;
    column-span: all;
}


/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    z-index: 10000;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.lightbox-close {
    position: absolute;
    top: -40px; right: -40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #e6dfc8;
}

.lightbox-image-container {
    background: #fff;
    padding: 20px 20px 60px 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,1);
    max-height: 75vh;
    max-width: 100%;
    box-sizing: border-box;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: calc(75vh - 80px);
    object-fit: contain;
    display: block;
}

.lightbox-info {
    background: #111;
    border: 1px solid #333;
    padding: 1.5rem 2.5rem;
    text-align: center;
    margin-top: -30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border-top: 2px solid #e6dfc8;
    min-width: min(100%, 300px);
    max-width: 100%;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.lightbox-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #e6dfc8;
    margin-bottom: 0.5rem;
    font-style: italic;
    word-break: break-word;
}

.lightbox-info p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    word-break: break-word;
}


/* -------------------------------------------
   LEGAL FOOTER — organized navy band
------------------------------------------- */
.legal-footer {
    background: var(--navy-dark);
    border-top: 3px solid var(--accent);
    margin: 0;
    padding: 3rem 1.5rem 2rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8125rem; /* ~10pt — keeps legal text compliant but readable */
    line-height: 1.65;
}

.legal-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
}

.legal-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.legal-col p {
    margin: 0;
}

.legal-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
}

.legal-bottom p {
    margin: 0;
}

.legal-sponsor {
    color: rgba(255, 255, 255, 0.75);
}

.legal-links a.text-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.legal-links a.text-link:hover {
    color: var(--accent);
}

.legal-sep {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Powered By Slot */
#wbx-powered-by-slot {
    margin: 2rem auto;
    width: 100%;
    max-width: 1200px;
}

/* Responsive */
@media (max-width: 1200px) {
    .museum-hall {
        column-count: 3;
        column-gap: 16px;
    }
}

@media (max-width: 900px) {
    .how-to-enter-section {
        margin-top: -2rem;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-layout {
        grid-template-columns: 1fr;
        margin-top: 0;
        padding: 2rem 1rem;
    }
    
    .photography-header {
        padding: 2rem 1rem 4rem;
    }
    
    .photography-header h1 {
        font-size: 3rem;
    }
    
    .museum-title {
        font-size: 3rem;
    }
    
    .museum-hall {
        column-count: 2;
        column-gap: 16px;
    }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .photography-header h1 {
        font-size: 2.25rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
    .how-to-enter-section {
        padding: 0 1rem;
    }
    .how-to-enter-container {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    #countdown-wrapper {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .countdown {
        gap: 0.75rem;
    }
    
    .cd-box {
        min-width: 60px;
    }
    
    .cd-number {
        font-size: 2.25rem;
    }
    
    .form-card, .info-card {
        padding: 1.5rem;
    }
    
    .logo-container {
        margin-bottom: 2rem;
        gap: 1.5rem;
    }
    
    .midwest-logo {
        max-height: 50px;
    }

    .sony-logo {
        max-height: 25px;
    }

    .logo-divider {
        height: 40px;
    }

    .prize-box-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .prize-amount {
        font-size: 2.5rem;
    }

    .btn-instagram {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .themes-grid {
        grid-template-columns: 1fr;
    }

    /* Museum Responsive */
    .museum-gallery {
        padding: 4rem 1rem;
    }
    .museum-wings {
        flex-direction: column;
        gap: 1rem;
    }
    .lightbox-close {
        top: -40px; right: 0px;
    }
    .museum-title {
        font-size: 2.5rem;
    }
    
    .museum-hall {
        column-count: 1;
        column-gap: 0;
    }
    
    .art-placard {
        width: 95%;
    }

    .gallery-section-title {
        font-size: 1.5rem;
    }

    .legal-footer {
        padding: 2.5rem 1rem 1.5rem;
    }

    .legal-bottom {
        flex-direction: column;
        text-align: center;
    }
}