:root {
    --yellow: #F4C430;
    --dark-gray: #333;
    --light-gray: #666;
    --white: #fff;
    --black: #000;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--white);
    border: 1px solid var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border: 2px solid var(--black);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6b52a;
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--yellow) var(--white);
}

/* Navigation */
.navbar {
    background: var(--yellow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: invert(1);
}

.logo-fallback {
    font-size: 2rem;
    font-weight: bold;
    color: var(--black);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
/* Unified Hero Styles - All pages use this */
.hero,
.about-hero,
.download-hero,
.events-header,
.policy-hero {
    background: var(--yellow);
    padding: 6rem 2rem;
    text-align: center;
    min-height: 60vh;
    max-height: 70vh;
    height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Pixel parallax header canvas layered behind hero content */
.pixel-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero>* {
    position: relative;
    z-index: 1;
}

.hero h1,
.about-hero h1,
.download-hero h1,
.events-header h1,
.policy-hero h1 {
    font-size: 4.5rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

/* Bigger hero logo using same filter as nav */
.hero-logo {
    height: 200px;
    width: auto;
    max-width: 700px;
    object-fit: contain;
    filter: invert(1);
    margin-bottom: 1rem;
}

/* Parallax helpers */
.hero.parallax-enabled {
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-logo {
        height: 150px;
        max-width: 500px;
    }
}

.hero p,
.about-hero p,
.download-hero p,
.events-header p,
.policy-hero p {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    max-width: 800px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    align-items: center;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    vertical-align: middle;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--black);
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s;
    cursor: pointer;
    border-radius: 0;
}

.btn:hover {
    background: var(--black);
    color: var(--white);
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--black);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-danger {
    border-color: #dc3545;
    color: #dc3545;
}

.btn-danger:hover {
    background: #dc3545;
    color: var(--white);
}

/* Features */
.features {
    padding: 4rem 0;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--black);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--black);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

/* About Page */

.roadmap {
    padding: 4rem 0;
}

.roadmap h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--black);
}

.roadmap-items {
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 2px solid var(--black);
    background: var(--white);
}

.roadmap-item h3 {
    font-size: 1.2rem;
    color: var(--black);
    flex: 1;
}

.timeline {
    font-weight: bold;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

/* Events */

.events-section {
    padding: 3rem 0;
}

.events-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--black);
    text-align: center;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--black);
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1rem;
    cursor: pointer;
    position: relative;
    align-items: center;
}

.event-item.past {
    opacity: 0.85;
    border: 2px solid #ddd;
    background: #f9f9f9;
}

.event-item.past .event-image {
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.event-item.past:hover .event-image {
    filter: grayscale(0%);
}

.event-item.past .event-date {
    background: #666;
    color: white;
}

.event-item.past:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.event-date {
    background: var(--yellow);
    color: var(--black);
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--black);
}

.event-details {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-details h3 {
    color: var(--black);
    margin: 0;
    font-size: 1.4rem;
    font-weight: bold;
}

.event-details .venue,
.event-details .time {
    color: var(--light-gray);
    font-size: 1rem;
    margin: 0;
}

/* Compact Events Layout for Events Page */
.events-compact {
    max-width: 800px;
    margin: 0 auto;
}

.events-compact .event-item {
    flex-direction: row;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.5rem;
}

.events-compact .event-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    margin-bottom: 0;
    order: 2;
}

/* Poster images in compact events should also fit with white background */
.events-compact .event-image[src*="posters/"] {
    object-fit: contain;
    background-color: white;
}

.events-compact .event-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
}

.events-compact .event-details {
    text-align: left;
    flex: 1;
    padding-right: 6rem;
    order: 1;
    /* Space for date */
}

.events-compact .event-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.events-compact .event-details p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.events-compact .rsvp-section {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.event-details .description {
    color: var(--dark-gray);
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
}

/* Download Page */

.download-section {
    padding: 4rem 0;
    text-align: center;
}

.download-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--black);
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.btn-download {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.beta-note {
    color: var(--light-gray);
    font-style: italic;
    margin-top: 2rem;
}

/* Admin Panel */
.admin-header {
    background: var(--yellow);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.export-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-secondary {
    background: var(--dark-gray);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #555;
}

.admin-header h1 {
    font-size: 2.5rem;
    color: var(--black);
}

.admin-section {
    padding: 3rem 0;
}

.admin-section h2 {
    margin-bottom: 2rem;
    color: var(--black);
}

.admin-table {
    overflow-x: auto;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid var(--black);
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--black);
}

.admin-table th {
    background: var(--yellow);
    font-weight: bold;
    color: var(--black);
}

.admin-table .actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Forms */
.form-header {
    background: var(--yellow);
    padding: 2rem;
    text-align: center;
}

.form-header h1 {
    font-size: 2.5rem;
    color: var(--black);
}

.form-section {
    padding: 3rem 0;
}

.event-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--black);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.3);
}

.form-group small {
    color: var(--light-gray);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Flash Messages */
.flash-messages {
    padding: 1rem 0;
}

.flash {
    max-width: 1200px;
    margin: 0 auto 1rem auto;
    padding: 1rem 2rem;
    border: 2px solid;
    font-weight: bold;
}

.flash.success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.flash.error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

/* Footer */
footer {
    background: var(--yellow);
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
}

.footer-brand {
    text-align: center;
    flex: 0 0 auto;
}

.footer-logo {
    font-size: 3rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: invert(1);
}

.footer-subtitle {
    font-size: 1rem;
    color: var(--black);
    font-weight: bold;
}

.footer-info {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.contact-info h4,
.policy-links h4,
.newsletter-signup h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.contact-info p {
    color: var(--black);
    margin: 0.25rem 0;
    text-align: center;
}

.policy-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.policy-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.policy-link:hover {
    opacity: 0.7;
}

/* Newsletter Signup */
.newsletter-signup h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: 2px solid var(--black);
    font-size: 0.9rem;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 2px rgba(244, 196, 48, 0.3);
}

/* Artist Submission Form - Footer */
.artist-submission h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.artist-submission p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Artist Submission Page */
.artist-hero {
    background: var(--yellow);
    padding: 6rem 2rem;
    text-align: center;
    min-height: 60vh;
    max-height: 70vh;
    height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.artist-hero h1 {
    font-size: 4.5rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.artist-hero p {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    max-width: 800px;
    line-height: 1.6;
}

.artist-submission-section {
    padding: 4rem 0;
    background: var(--white);
}

.submission-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.submission-form-container h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    text-align: center;
}

.form-description {
    text-align: center;
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.artist-submission-form {
    background: #f8f9fa;
    padding: 3rem;
    border: 3px solid var(--black);
    border-radius: 8px;
}

.artist-submission-form .form-group {
    margin-bottom: 2rem;
}

.artist-submission-form .form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: bold;
    color: var(--black);
    font-size: 1.1rem;
}

.artist-submission-form .form-group input,
.artist-submission-form .form-group select,
.artist-submission-form .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--black);
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.artist-submission-form .form-group input:focus,
.artist-submission-form .form-group select:focus,
.artist-submission-form .form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.3);
    transform: translateY(-2px);
}

.artist-submission-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.artist-submission-form .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.submission-info {
    margin-top: 4rem;
    text-align: center;
}

.submission-info h3 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 2rem;
}

.info-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.step-number {
    background: var(--yellow);
    color: var(--black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 2px solid var(--black);
}

.step-content h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--dark-gray);
    line-height: 1.5;
}

.artist-guidelines {
    padding: 4rem 0;
    background: #f8f9fa;
}

.artist-guidelines h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 3rem;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.guideline {
    background: var(--white);
    padding: 2rem;
    border: 2px solid var(--black);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guideline:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.guideline h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.guideline p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Status Badge for Admin */
.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Events Preview Styles */
.latest-events {
    padding: 3rem 0;
    background: #f8f9fa;
}

.events-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.event-preview {
    background: var(--white);
    border: 2px solid var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    margin-bottom: 1rem;
    cursor: pointer;
    position: relative;
}

.event-preview.expanded {
    background: var(--yellow);
    border: 3px solid var(--black);
}

/* Centered Event Layout */
.event-preview .event-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 2px solid var(--black);
    margin-bottom: 1.5rem;
}

.event-preview .event-date {
    background: var(--yellow);
    color: var(--black);
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--black);
}

.event-preview .event-details {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-preview .event-details h3 {
    color: var(--black);
    margin: 0;
    font-size: 1.4rem;
    font-weight: bold;
}

.event-preview .venue,
.event-preview .time {
    color: var(--light-gray);
    font-size: 1rem;
    margin: 0;
}

.event-preview .description {
    color: var(--dark-gray);
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
}

/* RSVP Section */
.rsvp-section {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rsvp-count {
    font-size: 0.9rem;
    color: var(--light-gray);
    font-weight: 500;
}

.rsvp-btn {
    background: var(--yellow);
    color: var(--black);
    border: 2px solid var(--black);
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rsvp-btn:hover {
    background: var(--black);
    color: var(--white);
}

.rsvp-btn:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.events-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--yellow);
    color: var(--black);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--yellow);
    color: var(--black);
}

/* Download Page Styles */
.btn-large {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    font-weight: bold;
}

.btn-download.disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.beta-badge {
    background: var(--yellow);
    color: var(--black);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 0.5rem;
}


/* Announcement Section - Removed */

/* Event Filters */
.event-filters {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--yellow);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--yellow);
    color: var(--black);
}

/* Event Type Badge */
.event-type-badge {
    background: var(--yellow);
    color: var(--black);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-top: 0.5rem;
    display: inline-block;
}

/* Event Images */
.event-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--black);
    flex-shrink: 0;
}

/* Poster images should fit with white background */
.event-image[src*="posters/"] {
    object-fit: contain;
    background-color: white;
}

.event-preview .event-image {
    width: 80px;
    height: 80px;
    margin-right: 1rem;
}

/* Poster images in preview should also fit with white background */
.event-preview .event-image[src*="posters/"] {
    object-fit: contain;
    background-color: white;
}

.event-item .event-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 2px solid var(--black);
    margin-bottom: 1.5rem;
}

/* Poster images in event items should also fit with white background */
.event-item .event-image[src*="posters/"] {
    object-fit: contain;
    background-color: white;
}

.event-item .event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-item .event-details {
    flex: 1;
}

/* Page Blur Effect - Removed for minimal design */

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: var(--yellow);
    transform: scale(1.1);
}

/* RSVP Modal */
.rsvp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.rsvp-modal.active {
    opacity: 1;
    visibility: visible;
}

.rsvp-modal-content {
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.rsvp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--black);
}

.rsvp-modal-header h3 {
    color: var(--black);
    margin: 0;
    font-size: 1.5rem;
}

.rsvp-modal-close {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.rsvp-modal-close:hover {
    background: var(--yellow);
    transform: scale(1.1);
}

/* Congratulations Overlay - Super Fast Parallax */
.congratulations-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 400% 400%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.1s ease;
    animation: congratulationsParallax 0.3s ease-out;
}

.congratulations-overlay.active {
    opacity: 1;
    visibility: visible;
}

.congratulations-content {
    background: rgba(255, 255, 255, 0.95);
    border: 6px solid var(--yellow);
    border-radius: 30px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: congratulationsBlast 0.2s ease-out;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.8), 0 0 100px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.congratulations-icon {
    font-size: 5rem;
    margin-bottom: 0.5rem;
    animation: congratulationsExplode 0.15s ease-out;
    display: block;
    transform: scale(0);
    animation-fill-mode: forwards;
    animation-delay: 0.05s;
}

.congratulations-title {
    color: var(--black);
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
    text-shadow: 3px 3px 0 var(--yellow), 6px 6px 0 rgba(0, 0, 0, 0.1);
    animation: congratulationsZoom 0.1s ease-out;
    animation-delay: 0.1s;
    animation-fill-mode: both;
    letter-spacing: 2px;
}

.congratulations-message {
    color: var(--dark-gray);
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    animation: congratulationsSlide 0.1s ease-out;
    animation-delay: 0.15s;
    animation-fill-mode: both;
    font-weight: 600;
}

.congratulations-event {
    color: var(--black);
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    animation: congratulationsSlide 0.1s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.congratulations-count {
    color: var(--light-gray);
    font-size: 0.9rem;
    animation: congratulationsSlide 0.1s ease-out;
    animation-delay: 0.25s;
    animation-fill-mode: both;
    font-weight: 500;
}

/* Animations */
@keyframes congratulationsParallax {
    0% {
        background-position: 0% 50%;
        transform: scale(0.8) rotate(5deg);
    }

    50% {
        background-position: 100% 50%;
        transform: scale(1.05) rotate(-2deg);
    }

    100% {
        background-position: 0% 50%;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes congratulationsBlast {
    0% {
        transform: scale(0.1) rotate(-45deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes congratulationsExplode {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(360deg);
        opacity: 1;
    }
}

@keyframes congratulationsZoom {
    0% {
        transform: scale(0) translateY(50px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes congratulationsSlide {
    0% {
        transform: translateX(-100px) scale(0.8);
        opacity: 0;
    }

    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Event image container for better layout */
.event-image-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.event-image-container .event-details {
    flex: 1;
}

/* Venue Address */
.venue-address {
    color: var(--light-gray);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0.25rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .navbar {
        padding: 1.5rem 0;
        min-height: auto;
    }

    .nav-logo {
        margin-bottom: 0.5rem;
    }

    .logo-image {
        height: 45px;
        max-width: 180px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-image {
        height: 40px;
        max-width: 150px;
    }

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

    /* Additional mobile header improvements */
    .navbar {
        padding: 2rem 0;
    }

    .nav-container {
        padding: 1.5rem 0;
    }

    .nav-links {
        margin-top: 0.5rem;
    }

    .hero h1,
    .about-hero h1,
    .download-hero h1,
    .events-header h1,
    .policy-hero h1,
    .artist-hero h1 {
        font-size: 3.5rem;
    }

    .hero p,
    .about-hero p,
    .download-hero p,
    .events-header p,
    .policy-hero p,
    .artist-hero p {
        font-size: 1.2rem;
    }

    .hero,
    .about-hero,
    .download-hero,
    .events-header,
    .policy-hero,
    .artist-hero {
        padding: 6rem 1.5rem;
        min-height: 65vh;
        max-height: 75vh;
        height: 70vh;
    }
    /* Restore hero logo visibility on mobile */
    .hero-logo { display: block; }

    /* Artist Submission Page Mobile */
    .submission-form-container h2 {
        font-size: 2rem;
    }

    .artist-submission-form {
        padding: 2rem 1.5rem;
    }

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

    .artist-submission-form .form-group input,
    .artist-submission-form .form-group select,
    .artist-submission-form .form-group textarea {
        min-height: 44px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .artist-submission-form .form-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .artist-submission-form .form-actions .btn {
        width: 100%;
    }

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

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

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

    .guideline {
        padding: 1.5rem;
    }

    .roadmap-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .event-item {
        flex-direction: column;
    }

    .event-date {
        min-width: auto;
        margin-bottom: 0.5rem;
    }

    .admin-header {
        text-align: center;
        flex-direction: column;
    }

    .admin-actions {
        width: 100%;
    }

    .export-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .btn-small {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .admin-table .actions {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .rsvp-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .newsletter-form .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    .artist-form .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    .artist-form input,
    .artist-form select,
    .artist-form textarea {
        min-height: 44px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .admin-table .actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

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

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

    .footer-info>div {
        text-align: center;
    }

    .contact-info h4,
    .newsletter-signup h4,
    .policy-links h4 {
        text-align: center;
    }

    .policy-links-list {
        justify-content: center;
    }

    .footer-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Mobile button consistency for tablets */
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }

    .btn-small {
        min-height: 44px;
    }

    /* Mobile form improvements for tablets */
    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 44px;
        font-size: 16px;
    }

    .newsletter-form input {
        min-height: 44px;
        font-size: 16px;
    }

    .events-preview {
        grid-template-columns: 1fr;
    }

    .event-preview {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .event-preview .event-date {
        position: static;
        margin: 0 auto 1rem auto;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .event-preview .event-image {
        width: 100%;
        max-width: 300px;
        height: 200px;
        margin: 0 auto 1rem auto;
        align-self: center;
        object-fit: cover;
    }

    .event-preview .event-details {
        text-align: center;
        padding: 0;
    }

    .event-preview .event-details h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .event-preview .venue,
    .event-preview .time,
    .event-preview .venue-address {
        font-size: 0.9rem;
        margin: 0.25rem 0;
    }

    .event-preview .description {
        font-size: 0.9rem;
        margin: 0.5rem 0;
        line-height: 1.4;
    }

    .event-item .event-image {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: center;
    }

    .event-image-container {
        flex-direction: column;
        text-align: center;
    }

    /* Compact events layout mobile optimization */
    .events-compact .event-item {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }

    .events-compact .event-image {
        width: 100%;
        max-width: 250px;
        height: 180px;
        margin: 0 auto 1rem auto;
        order: 1;
    }

    .events-compact .event-date {
        position: static;
        margin: 0 auto 1rem auto;
        order: 2;
    }

    .events-compact .event-details {
        order: 3;
        padding: 0;
        text-align: center;
    }

    .events-compact .rsvp-section {
        margin-top: 1rem;
        justify-content: center;
    }
}

/* Policy Pages */
.policy-page {
    padding: 4rem 0;
    min-height: 80vh;
}

/* Instagram Gallery Styles */
.gallery-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.gallery-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--black);
    font-size: 2.5rem;
}

.gallery-description {
    text-align: center;
    color: var(--light-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.instagram-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-thumbnail {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 2rem;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


#lightbox-image {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    position: relative;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10002;
}

.lightbox-btn {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--yellow);
    color: var(--yellow);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    z-index: 10003;
    position: relative;
    font-weight: bold;
}

.lightbox-btn:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
    transform: scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    z-index: 10004;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .instagram-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
    }

    .gallery-section h2 {
        font-size: 2rem;
    }

    .lightbox-content {
        padding: 1rem;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 1rem;
        font-size: 2rem;
    }

    .lightbox-nav {
        padding: 0 0.5rem;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .lightbox-btn {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
        background: rgba(0, 0, 0, 0.9);
        border: 4px solid var(--yellow);
        color: var(--yellow);
        font-weight: bold;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        z-index: 10004;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .lightbox-btn:hover {
        background: var(--yellow);
        color: var(--black);
        transform: scale(1.1);
    }

    .lightbox-counter {
        bottom: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .instagram-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .gallery-section {
        padding: 2rem 0;
    }

    /* Mobile button improvements */
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }

    .btn-small {
        min-height: 44px;
    }

    /* Mobile form improvements */
    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 44px;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .newsletter-form input {
        min-height: 44px;
        font-size: 16px;
    }

    /* Mobile table improvements */
    .admin-table {
        font-size: 0.9rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }
}

.policy-page h1 {
    font-size: 3rem;
    color: var(--black);
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-content section {
    margin-bottom: 3rem;
}

.policy-content h2 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 0.5rem;
}

.policy-content h3 {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin: 1.5rem 0 1rem 0;
}

.policy-content p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.policy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.policy-content strong {
    color: var(--black);
    font-weight: 600;
}

.policy-content em {
    color: var(--light-gray);
    font-style: italic;
}

@media (max-width: 768px) {
    .policy-page h1 {
        font-size: 2.5rem;
    }

    .policy-content h2 {
        font-size: 1.5rem;
    }

    .policy-content h3 {
        font-size: 1.2rem;
    }
}








/* Smooth page transitions */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.page-transition.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Search functionality */
.search-container {
    position: relative;
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--yellow);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.2);
}

.search-results {
    margin-top: 1rem;
}

.no-results {
    text-align: center;
    color: var(--light-gray);
    font-style: italic;
    padding: 2rem;
}

/* Video Coming Soon Styles */
.video-coming-soon-section {
    background: var(--white);
    color: var(--dark-gray);
    padding: 1.5rem 0;
    margin: 0;
    border-top: 3px solid var(--yellow);
    border-bottom: 3px solid var(--yellow);
}

.video-coming-soon-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.video-coming-soon-container h2 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.coming-soon-subtitle {
    color: var(--light-gray);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* Past Events Section on Homepage */
.past-events-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin-top: 2rem;
}

.past-events-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.section-description {
    text-align: center;
    color: var(--light-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.events-actions {
    text-align: center;
    margin-top: 2rem;
}

/* Mobile responsive for video player */
@media (max-width: 768px) {
    .video-header h2 {
        font-size: 1.2rem;
    }

    .video-wrapper {
        border-radius: 4px;
    }

    .close-video-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .past-events-section {
        padding: 2rem 0;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}