/* ==========================================================================

PAGE HERO BANNERS & STORY LAYOUTS
========================================================================== */
.page-hero-banner {
position: relative;
border-radius: 12px;
overflow: hidden;
margin-bottom: 20px;
height: 240px;
display: flex;
align-items: flex-end;
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
background: var(--surface-dark, #121214);
}

.page-hero-banner img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
z-index: 1;
filter: brightness(0.75);
transition: transform 0.4s ease, filter 0.3s ease;
}

.page-hero-banner:hover img {
transform: scale(1.02);
}

.page-hero-overlay {
position: absolute;
inset: 0;
z-index: 2;
width: 100%;
height: 100%;
padding: 24px;
display: flex;
flex-direction: column;
justify-content: flex-end;
background: linear-gradient(
180deg,
rgba(18, 18, 20, 0.05) 0%,
rgba(18, 18, 20, 0.5) 45%,
rgba(18, 18, 20, 0.95) 100%
);
transition: background 0.3s ease;
}

.page-hero-title {
font-size: 2.2rem;
margin: 8px 0;
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
color: var(--text-main, #f4f4f6);
line-height: 1.15;
}

/* Light Mode Adaptations for Hero Banners */
body.light-theme .page-hero-banner {
border-color: var(--surface-border, #dcdce2);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

body.light-theme .page-hero-banner img {
filter: brightness(0.95);
}

body.light-theme .page-hero-overlay {
background: linear-gradient(
180deg,
rgba(240, 240, 244, 0.05) 0%,
rgba(240, 240, 244, 0.6) 45%,
rgba(240, 240, 244, 0.96) 90%,
rgba(240, 240, 244, 1) 100%
);
}

body.light-theme .page-hero-title {
color: #181818;
}

body.light-theme .page-hero-overlay .panel-desc {
color: #44444c;
}

/* Media Story Wrap */
.media-story-wrap {
display: grid;
grid-template-columns: 1fr;
gap: 20px;
align-items: center;
margin: 16px 0;
}

@media (min-width: 768px) {
.media-story-wrap {
grid-template-columns: 1.2fr 1fr;
}
}

.story-img-box {
border-radius: 10px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.story-img-box img {
width: 100%;
height: 230px;
object-fit: cover;
display: block;
transition: transform 0.3s ease;
}

.story-img-box:hover img {
transform: scale(1.04);
}

/* Community Gallery Grid */
.about-gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
margin-top: 20px;
}

.gallery-preview-card {
position: relative;
border-radius: 10px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.02);
}

.gallery-preview-card img {
width: 100%;
height: 180px;
object-fit: cover;
display: block;
transition: transform 0.3s ease;
}

.gallery-preview-card:hover img {
transform: scale(1.05);
}

.gallery-caption {
padding: 10px 14px;
font-size: 0.85rem;
font-weight: 600;
color: var(--text-muted, #ccc);
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
2. DUAL HERO PORTAL & TOP DYNAMIC BANNER (HOMEPAGE)
========================================================================== */
.portal-hero-wrapper {
padding-top: 24px;
}

.banner-top-section {
padding-bottom: 0 !important;
}

.hero-top-banner {
position: relative !important;
width: 100% !important;
height: 200px !important;
background: var(--surface-dark, #121214);
border-radius: var(--radius, 10px);
border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.1));
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
overflow: hidden !important;
}

.banner-slide {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
opacity: 0;
transition: opacity 1.2s ease-in-out;
pointer-events: none;
z-index: 1;
}

.banner-slide.is-active {
opacity: 1;
z-index: 2;
}

.banner-slide picture {
display: block !important;
width: 100% !important;
height: 100% !important;
}

.banner-slide picture img,
.top-banner-img {
width: 100% !important;
height: 100% !important;
max-height: 200px !important;
object-fit: cover !important;
object-position: center center !important;
display: block !important;
}

.banner-gradient-overlay {
position: absolute !important;
inset: 0 !important;
pointer-events: none;
z-index: 3;
background: linear-gradient(
180deg,
rgba(0, 0, 0, 0.05) 0%,
rgba(0, 0, 0, 0.4) 100%
);
}

.dual-hero {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--gap);
}

.hero-panel {
position: relative;
background: var(--surface-dark);
border-radius: var(--radius);
border: 1px solid var(--surface-border);
padding: 24px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
overflow: hidden;
}

.panel-events {
border-left: 5px solid var(--red);
}

.panel-community {
border-left: 5px solid var(--green);
}

.hero-panel h2 {
margin: 8px 0 4px;
font-size: 28px;
color: var(--text-main);
}

.panel-sub {
font-weight: 700;
margin: 0 0 10px;
font-size: 14px;
}

.panel-events .panel-sub { color: var(--red-hover); }
.panel-community .panel-sub { color: var(--green-hover); }

.panel-desc {
font-size: 14px;
color: var(--text-muted);
line-height: 1.5;
margin-bottom: 20px;
}

.panel-actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}

.panel-actions .btn {
flex: 1;
min-width: 140px;
}

.portal-panel-logo {
max-height: 65px;
width: auto;
object-fit: contain;
margin-bottom: 12px;
display: block;
}

.banner-theme-overlay {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 3;
transition: background 0.3s ease;
background: linear-gradient(
180deg,
rgba(0, 0, 0, 0.35) 0%,
rgba(0, 0, 0, 0.65) 100%
);
}

body.light-theme .banner-theme-overlay {
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.25) 0%,
rgba(255, 255, 255, 0.55) 100%
);
}

/* ==========================================================================
3. HOMEPAGE FEATURES, STATS & PROMOS
========================================================================== */
.why-join-picture-box {
margin: 14px 0;
width: 100%;
border-radius: 8px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(0, 0, 0, 0.2);
}

.why-join-picture-box img {
width: 100%;
height: 180px;
object-fit: cover;
display: block;
}

.spotlight-actions { margin-top: 18px; }
.community-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }

.styled-feature-list {
list-style: none;
padding: 0;
margin: 10px 0 0 0;
display: flex;
flex-direction: column;
gap: 12px;
}

.styled-feature-list li {
display: flex;
align-items: flex-start;
gap: 10px;
font-size: 14px;
font-weight: 600;
color: var(--text-main);
line-height: 1.4;
}

.styled-feature-list li .icon {
background: rgba(0, 140, 69, 0.2);
color: var(--green-hover);
font-size: 13px;
font-weight: 800;
width: 22px;
height: 22px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

/* Stats Grid & Reach */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 16px;
text-align: center;
}

.stat-item {
display: flex;
flex-direction: column;
}

.stat-number {
font-family: 'Oswald', sans-serif;
font-size: 34px;
font-weight: 700;
color: var(--red-hover);
line-height: 1;
}

.stat-label {
font-size: 12px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
margin-top: 6px;
letter-spacing: 0.5px;
}

/* Milestone Card */
.milestone-card {
text-align: left;
border-left: 5px solid var(--green);
}

.milestone-card h3 {
margin: 8px 0 4px;
font-size: 26px;
}

.milestone-card p.panel-desc {
margin-bottom: 0;
}

/* Sponsor Signup CTA Banner */
.sponsor-cta-card {
background: linear-gradient(135deg, rgba(205,33,42,0.15), rgba(18,12,20,0.8));
border: 1px solid var(--red-hover, #e63946);
margin-top: 20px;
}

.sponsor-cta-inner {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 16px;
}

.sponsor-cta-text {
max-width: 500px;
}

.sponsor-cta-text h3 {
margin: 8px 0 4px;
font-size: 22px;
}

.sponsor-cta-text p.panel-desc {
margin-bottom: 0;
}

.sponsor-cta-inner .btn {
padding: 12px 20px;
}

/* ==========================================================================
4. SPONSORSHIP MATRIX, PRICING & TRADE STANDS
========================================================================== */
.early-bird-callout {
background: rgba(227, 6, 19, 0.08);
border: 1px solid var(--red);
border-left: 5px solid var(--red);
border-radius: 6px;
padding: 14px 18px;
margin: 16px 0 20px 0;
}

.early-bird-badge {
display: inline-block;
background: var(--red);
color: #ffffff;
font-family: 'Oswald', sans-serif;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.8px;
padding: 2px 8px;
border-radius: 3px;
margin-bottom: 6px;
text-transform: uppercase;
}

.sponsor-table-wrapper {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
border: 1px solid var(--surface-border);
border-radius: 8px;
background: var(--surface-card);
max-width: 100%;
}

.sponsor-pricing-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
text-align: left;
font-size: 14px;
}

.sponsor-pricing-table thead tr {
background: rgba(255, 255, 255, 0.03);
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
}

.sponsor-pricing-table th,
.sponsor-pricing-table td {
padding: 12px 14px;
border-bottom: 1px solid var(--surface-border);
}

.sponsor-pricing-table tbody tr:last-child td {
border-bottom: none;
}

.sponsor-pricing-table th {
min-width: 130px;
}

.tier-head-title {
display: block;
font-size: 1.15rem;
letter-spacing: 0.5px;
color: var(--text-main);
}

.tier-head-sub {
display: block;
color: var(--text-muted);
font-size: 11px;
text-transform: none;
font-weight: 600;
margin-bottom: 4px;
}

.tier-head-price {
display: block;
color: var(--red-hover);
font-weight: 700;
font-size: 16px;
}

.val-highlight {
color: var(--green-hover);
font-weight: 700;
}

.val-muted {
color: var(--text-muted);
}

.text-center {
text-align: center;
}

.badge-opt {
display: inline-block;
font-size: 11px;
font-weight: 600;
color: var(--text-muted);
background: rgba(255, 255, 255, 0.06);
border: 1px solid var(--surface-border);
padding: 3px 8px;
border-radius: 4px;
line-height: 1.2;
}

.trade-tier-box {
background: var(--surface-card);
margin: 0;
padding: 20px;
border: 1px solid var(--surface-border);
}

.trade-price {
font-family: 'Oswald', sans-serif;
font-size: 1.3rem;
color: var(--red-hover);
font-weight: 700;
}

.accounting-notice-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 16px;
margin-top: 14px;
}

.accounting-rule-item {
background: var(--surface-card);
border: 1px solid var(--surface-border);
border-radius: 6px;
padding: 14px;
}

.accounting-rule-item strong {
display: block;
font-size: 14px;
color: var(--text-main);
margin-bottom: 6px;
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
letter-spacing: 0.4px;
}

.accounting-rule-item p {
margin: 0;
font-size: 13px;
color: var(--text-muted);
line-height: 1.45;
}

.testimonial-bubble {
background: var(--surface-card);
padding: 16px;
border-radius: 6px;
border-left: 4px solid var(--green);
border: 1px solid var(--surface-border);
border-left-width: 4px;
}

/* ==========================================================================
5. COUNTDOWN TIMER COMPONENT
========================================================================== */
.countdown-card {
background: linear-gradient(145deg, var(--surface-dark), rgba(205, 33, 42, 0.08));
border-left: 5px solid var(--red);
text-align: center;
}

.countdown-header h3 {
margin: 6px 0 16px;
font-size: 24px;
color: var(--text-main);
text-transform: uppercase;
}

/* In components.css (rond regel 492) */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 85px); /* Vaste breedte voor mooie strakke boxen */
  justify-content: center; /* Centreert de 4 boxen in het midden van de parent */
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.time-box {
background: var(--surface-card);
border: 1px solid var(--surface-border);
border-radius: 8px;
padding: 12px 8px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
transition: transform 0.2s ease, border-color 0.2s ease;
}

.time-box:hover {
transform: translateY(-2px);
border-color: var(--red-hover);
}

.time-value {
font-family: 'Oswald', sans-serif;
font-size: 32px;
font-weight: 700;
color: var(--red-hover);
line-height: 1;
}

.time-label {
font-family: 'Oswald', sans-serif;
font-size: 11px;
font-weight: 500;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.8px;
margin-top: 6px;
}

.countdown-finished {
font-family: 'Oswald', sans-serif;
font-size: 18px;
font-weight: 700;
color: var(--green-hover);
text-transform: uppercase;
margin-top: 10px;
}

/* ==========================================================================
6. SPONSORS, BADGES & SIDEBAR MINI-ITEMS
========================================================================== */
.sidebar-sponsor-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-bottom: 10px;
}

.sponsor-mini-item {
display: flex;
align-items: center;
justify-content: center;
background: var(--surface-card);
border: 1px solid var(--surface-border);
border-radius: 6px;
padding: 8px;
transition: border-color 0.2s ease;
}

.sponsor-mini-item:hover {
border-color: var(--text-muted);
}

.sponsor-mini-item img {
max-width: 100%;
height: auto;
max-height: 35px;
object-fit: contain;
filter: brightness(0.9);
}

.sponsor-link-sub {
font-family: 'Oswald', sans-serif;
display: block;
text-align: center;
font-size: 13px;
color: var(--text-muted);
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.sponsor-link-sub:hover {
color: var(--text-main);
}

.sponsor-badge-type {
display: block;
font-size: 9px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
padding: 2px 6px;
border-radius: 4px;
margin-top: 4px;
}

.sponsor-badge-main_sponsor {
background: rgba(230, 57, 70, 0.2);
color: #e63946;
border: 1px solid rgba(230, 57, 70, 0.4);
}

.sponsor-badge-sponsor {
background: rgba(255, 152, 0, 0.2);
color: #ff9800;
border: 1px solid rgba(255, 152, 0, 0.4);
}

.sponsor-badge-at_event {
background: rgba(76, 175, 80, 0.2);
color: #4caf50;
border: 1px solid rgba(76, 175, 80, 0.4);
}

.sponsor-badge-supporter {
background: rgba(33, 150, 243, 0.2);
color: #2196f3;
border: 1px solid rgba(33, 150, 243, 0.4);
}

/* ==========================================================================
7. CLUBS & TEAM SHOWCASE
========================================================================== */
.clubs-grid {
display: flex;
flex-direction: column;
gap: 16px;
}

.club-card {
display: flex;
flex-direction: column;
gap: 12px;
background: var(--surface-dark);
border-left: 5px solid var(--green);
}

.club-header {
display: flex;
align-items: center;
gap: 20px;
}

.club-logo {
width: 125px;
height: 95px;
object-fit: contain;
background: var(--surface-card);
padding: 6px 10px;
border-radius: 10px;
border: 1px solid var(--surface-border);
flex-shrink: 0;
box-sizing: border-box;
}

.club-header h3 {
margin: 4px 0 0;
font-size: 22px;
color: var(--text-main);
}

.club-meta {
display: flex;
gap: 16px;
font-size: 13px;
font-weight: 600;
color: var(--text-muted);
}

.club-details {
margin: 14px 0 10px 0;
border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.1));
border-radius: 8px;
background: rgba(0, 0, 0, 0.18);
overflow: hidden;
transition: border-color 0.2s ease;
}

.club-details:hover {
border-color: var(--surface-border, #444);
}

.club-details summary {
font-family: 'Oswald', sans-serif;
font-size: 0.95rem;
font-weight: 600;
letter-spacing: 0.5px;
text-transform: uppercase;
padding: 10px 14px;
cursor: pointer;
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
color: var(--text-main, #ffffff);
background: var(--surface-card, rgba(255, 255, 255, 0.03));
user-select: none;
}

.club-details summary::-webkit-details-marker {
display: none;
}

.club-details summary::after {
content: '+ Read Club Bio';
color: var(--red-hover, #e63946);
font-size: 0.85rem;
}

.club-details[open] summary::after {
content: '− Hide Bio';
color: var(--text-muted, #aaa);
}

.club-details .club-text-content {
padding: 12px 14px;
font-size: 0.88rem;
line-height: 1.6;
color: var(--text-muted, #ccc);
border-top: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
}

.team-card {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}

.team-avatar img {
width: 90px;
height: 90px;
border-radius: 50%;
object-fit: cover;
border: 2px solid var(--red);
margin-bottom: 10px;
}

.team-card h3 {
margin: 0;
font-size: 20px;
}

.team-role {
font-family: 'Oswald', sans-serif;
font-size: 13px;
color: var(--green-hover);
text-transform: uppercase;
letter-spacing: 0.5px;
margin: 4px 0 10px;
}

.btn-team-email {
font-family: 'Oswald', sans-serif;
font-size: 13px;
font-weight: 600;
letter-spacing: 0.5px;
text-transform: uppercase;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 6px 14px;
margin-top: 8px;
border-radius: 6px;
border: 1px solid rgba(244, 244, 246, 0.22);
background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), var(--surface-card));
box-shadow: 0 0 10px rgba(255, 255, 255, 0.04);
color: var(--text-main);
transition: all 0.2s ease;
cursor: pointer;
}

.btn-team-email:hover {
border-color: var(--red);
background: linear-gradient(145deg, rgba(205, 33, 42, 0.15), var(--surface-card));
box-shadow: 0 0 12px rgba(205, 33, 42, 0.3);
color: #ffffff;
transform: translateY(-1px);
}

body.light-theme .btn-team-email {
border-color: rgba(205, 33, 42, 0.35);
background: linear-gradient(145deg, #ffffff, #f0f0f4);
box-shadow: 0 0 8px rgba(205, 33, 42, 0.12);
color: #181818;
}

body.light-theme .btn-team-email:hover {
border-color: var(--red);
background: #ffffff;
box-shadow: 0 0 10px rgba(205, 33, 42, 0.25);
color: var(--red);
}

/* ==========================================================================
8. PARTICIPANTS HUB
========================================================================== */
.hub-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
margin-top: 20px;
}

.hub-card {
background: var(--surface-card);
border: 1px solid var(--surface-border);
border-radius: 8px;
padding: 20px;
display: flex;
flex-direction: column;
}

.hub-card h3 {
font-family: 'Oswald', sans-serif;
font-size: 1.3rem;
margin-bottom: 12px;
color: var(--red-hover);
display: flex;
align-items: center;
gap: 8px;
}

.hub-action-btn {
display: inline-block;
margin-top: 15px;
background: var(--red);
color: #ffffff;
padding: 10px 16px;
border-radius: 4px;
text-decoration: none;
font-weight: 600;
text-align: center;
transition: background 0.2s ease;
}

.hub-action-btn:hover {
background: var(--red-hover);
}

.status-bar {
background: #111;
border-left: 4px solid var(--red);
padding: 12px 16px;
margin: 15px 0 20px 0;
border-radius: 4px;
font-size: 0.95rem;
}

body.light-theme .hub-card {
background: var(--surface-card);
border-color: var(--surface-border);
}

body.light-theme .status-bar {
background: #f0f0f4;
}

/* ==========================================================================
9. PHOTO GALLERY & LIGHTBOX MODAL
========================================================================== */
.lightbox-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.92);
z-index: 9999;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.25s ease;
}

.lightbox-modal.active {
display: flex;
opacity: 1;
}

.lightbox-content {
max-width: 90vw;
max-height: 85vh;
object-fit: contain;
border-radius: 6px;
box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
position: absolute;
top: 20px;
right: 30px;
font-size: 40px;
color: #ffffff;
cursor: pointer;
user-select: none;
transition: opacity 0.2s;
}

.lightbox-close:hover {
opacity: 0.7;
}

.gallery-section {
margin-top: 28px;
}

.gallery-title {
font-family: 'Oswald', sans-serif;
font-size: 1.5rem;
margin-bottom: 12px;
color: var(--text-main);
border-bottom: 2px solid var(--red);
display: inline-block;
padding-bottom: 4px;
}

.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 12px;
}

.gallery-grid img {
cursor: pointer;
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
border-radius: 6px;
transition: transform 0.2s ease, filter 0.2s ease;
}

.gallery-grid img:hover {
transform: scale(1.03);
filter: brightness(1.1);
}

.photographer-credits {
margin-bottom: 1.2rem;
padding: 1rem;
background: rgba(255, 255, 255, 0.04);
border-left: 3px solid var(--red);
border-radius: 4px;
}

.photographer-branding {
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
margin-bottom: 0.5rem;
flex-wrap: wrap;
}

.apx-logo {
max-height: 38px;
width: auto;
display: block;
transition: opacity 0.2s ease;
}

.apx-logo:hover {
opacity: 0.8;
}

.credit-text {
font-size: 0.95rem;
line-height: 1.4;
margin: 0;
}

.watermark-note {
margin-top: 0.5rem;
font-size: 0.85rem;
opacity: 0.75;
font-style: italic;
}

/* ==========================================================================
10. SHOPIFY EMBED OVERRIDES
========================================================================== */
#collection-component-1786099183589 iframe {
color-scheme: dark;
}

body.light-theme #collection-component-1786099183589 iframe {
color-scheme: light;
}

body.light-theme .shopify-buy__product {
background-color: #ffffff !important;
border-color: #dcdce2 !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .shopify-buy__product-title {
color: #181818 !important;
}

body.light-theme .shopify-buy__product-description {
color: #555560 !important;
}

body.light-theme .shopify-buy__modal {
background-color: rgba(240, 240, 244, 0.95) !important;
}

body.light-theme .shopify-buy__modal-product {
background-color: #ffffff !important;
color: #181818 !important;
}

body.light-theme .shopify-buy__cart {
background-color: #ffffff !important;
color: #181818 !important;
border-left: 1px solid #dcdce2 !important;
}

body.light-theme .shopify-buy__cart-header,
body.light-theme .shopify-buy__cart-item-title,
body.light-theme .shopify-buy__cart-subtotal__price {
color: #181818 !important;
}

/* ==========================================================================
11. ACCORDION FAQ SYSTEM
========================================================================== */
.faq-category-title {
font-family: 'Oswald', sans-serif;
font-size: 1.05rem;
font-weight: 600;
color: var(--red-hover);
margin: 1.25rem 0 0.5rem 0;
padding-bottom: 4px;
border-bottom: 1px solid var(--surface-border);
}

.faq-category-title:first-of-type {
margin-top: 10px;
}

.faq-container {
display: flex;
flex-direction: column;
gap: 8px;
}

.faq-item {
background-color: var(--surface-card);
border: 1px solid var(--surface-border);
border-radius: 6px;
padding: 0;
overflow: hidden;
transition: border-color 0.2s ease;
}

.faq-item:hover {
border-color: var(--red);
}

.faq-item summary {
font-family: 'Oswald', sans-serif;
font-size: 0.92rem;
font-weight: 600;
letter-spacing: 0.4px;
cursor: pointer;
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
color: var(--text-main);
padding: 10px 14px;
line-height: 1.35;
transition: background 0.2s ease;
}

.faq-item summary:hover {
background: rgba(255, 255, 255, 0.03);
}

.faq-item summary::-webkit-details-marker {
display: none;
}

.faq-item summary::after {
content: '+';
font-size: 1.15rem;
color: var(--red);
font-weight: 700;
margin-left: 10px;
}

.faq-item[open] summary::after {
content: '−';
}

.faq-answer {
padding: 10px 14px 12px;
border-top: 1px solid var(--surface-border);
font-family: 'Open Sans', sans-serif;
color: var(--text-muted);
line-height: 1.5;
font-size: 0.85rem;
background: rgba(0, 0, 0, 0.15);
}

.faq-sticky-cta {
margin-top: 24px;
padding: 18px;
background: linear-gradient(135deg, rgba(205,33,42,0.15), rgba(18,12,20,0.8));
border: 1px solid var(--red-hover);
border-radius: 8px;
text-align: center;
}

.faq-sticky-cta h3 {
font-family: 'Oswald', sans-serif;
font-size: 1.15rem;
margin-bottom: 4px;
color: #fff;
}

.faq-sticky-cta p {
font-size: 0.85rem;
color: var(--text-muted);
margin-bottom: 12px;
}

.faq-sticky-cta .btn {
display: inline-flex;
margin-top: 0;
background: var(--red);
color: #ffffff;
padding: 8px 18px;
font-size: 13px;
border-radius: 6px;
text-decoration: none;
font-weight: 700;
}

body.light-theme .faq-item {
background-color: var(--surface-card);
border-color: var(--surface-border);
}

body.light-theme .faq-item summary {
color: var(--text-main);
}

body.light-theme .faq-answer {
border-top-color: var(--surface-border);
color: var(--text-muted);
background: rgba(0, 0, 0, 0.03);
}

body.light-theme .faq-category-title {
border-bottom-color: var(--surface-border);
}

body.light-theme .faq-sticky-cta {
background: #f4f4f4;
border-color: var(--red);
}

body.light-theme .faq-sticky-cta h3 {
color: #111;
}
.faq-search-box {
      margin: 16px 0 20px 0;
      position: relative;
    }
    .faq-search-input {
      width: 100%;
      padding: 12px 16px;
      font-size: 0.95rem;
      border-radius: 8px;
      border: 1px solid var(--surface-border, #33333d);
      background: var(--surface-card, #25252b);
      color: var(--text-main, #f4f4f6);
      font-family: 'Open Sans', sans-serif;
      box-sizing: border-box;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .faq-search-input:focus {
      border-color: var(--red, #cd212a);
      box-shadow: 0 0 10px rgba(205, 33, 42, 0.3);
    }
    .faq-no-results {
      display: none;
      text-align: center;
      padding: 24px;
      color: var(--text-muted, #a0a0ab);
      font-size: 0.95rem;
    }

/* ==========================================================================
12. COOKIE CONSENT BANNER & STATIC POI
========================================================================== */
.cookie-banner {
display: none;
position: fixed;
bottom: 24px;
left: 24px;
right: auto;
width: min(340px, calc(100vw - 32px));
background: var(--surface-dark);
border: 1px solid var(--surface-border);
border-left: 4px solid var(--red);
border-radius: var(--radius);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
z-index: 1000;
padding: 16px;
animation: slideInLeft 0.3s ease forwards;
}

@keyframes slideInLeft {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.cookie-banner-content {
width: 100%;
margin: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
}

.cookie-banner-content p {
margin: 0;
font-size: 13px;
color: var(--text-main);
line-height: 1.5;
}

.cookie-banner-actions {
width: 100%;
display: flex;
justify-content: flex-end;
}

.cookie-banner-actions .btn {
width: 100%;
padding: 8px 14px;
font-size: 13px;
}

.poi-img {
width: 100%;
border-radius: 8px;
border: 1px solid var(--surface-border);
}

/* ==========================================================================
13. COMPONENT MEDIA QUERIES & MOBILE TABLE REFACTOR
========================================================================== */
@media (max-width: 900px) {
.hero-top-banner {
height: 260px;
}

.dual-hero {
grid-template-columns: 1fr;
}

.stats-grid {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}

.team-grid {
grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
.hero-top-banner {
height: 200px;
}

.page-hero-banner {
height: 210px;
}

.page-hero-title {
font-size: 1.65rem;
}

.cookie-banner {
bottom: 16px;
left: 16px;
right: 16px;
width: auto;
}

/* Responsive Table: Transform rows into vertical mobile cards */
.sponsor-table-wrapper {
overflow-x: visible;
border: none;
background: transparent;
}

.sponsor-pricing-table,
.sponsor-pricing-table thead,
.sponsor-pricing-table tbody,
.sponsor-pricing-table th,
.sponsor-pricing-table td,
.sponsor-pricing-table tr {
display: block;
width: 100%;
min-width: 0 !important;
box-sizing: border-box;
}

.sponsor-pricing-table thead {
display: none;
}

.sponsor-pricing-table tbody tr {
background: var(--surface-card, #1a1a1e);
border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.1));
border-radius: 8px;
margin-bottom: 16px;
padding: 14px 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sponsor-pricing-table td:first-child {
font-size: 1.05rem;
font-weight: 700;
color: var(--text-main, #ffffff);
border-bottom: 2px solid var(--surface-border, rgba(255, 255, 255, 0.1));
padding: 0 0 10px 0;
margin-bottom: 10px;
text-align: left;
}

.sponsor-pricing-table td:not(:first-child) {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 0;
border: none;
border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
text-align: right;
font-size: 0.9rem;
}

.sponsor-pricing-table td:last-child {
border-bottom: none;
padding-bottom: 0;
}

.sponsor-pricing-table td:not(:first-child)::before {
content: attr(data-label);
font-weight: 700;
color: var(--text-muted, #aaa);
text-align: left;
margin-right: 12px;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.5px;
flex-shrink: 0;
}

body.light-theme .sponsor-pricing-table tbody tr {
background: #ffffff;
border-color: #dcdce2;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.light-theme .sponsor-pricing-table td:first-child {
border-bottom-color: #dcdce2;
color: #181818;
}

body.light-theme .sponsor-pricing-table td:not(:first-child) {
border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .sponsor-pricing-table td:not(:first-child)::before {
color: #666672;
}
}

@media (max-width: 500px) {
/* In components.css bij de media queries */
@media (max-width: 500px) {
  .countdown-grid {
    grid-template-columns: repeat(2, 85px); /* 2 boxen per rij */
    justify-content: center; /* Blijft strak in het midden op mobiel */
    gap: 10px;
  }
}

.stats-grid {
grid-template-columns: 1fr;
gap: 12px;
}
}

/* ==========================================================================
14. DYNAMIC BACKGROUND LINES
========================================================================== */
.dynamic-bg-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.75; /* Increased from 0.4 */
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.05) 0, /* Increased from 0.02 */
    rgba(255, 255, 255, 0.05) 65px,
    transparent 65px,
    transparent 75px,
    rgba(255, 255, 255, 0.05) 75px,
    rgba(255, 255, 255, 0.05) 100px,
    transparent 100px,
    transparent 110px,
    rgba(255, 255, 255, 0.05) 110px,
    rgba(255, 255, 255, 0.05) 120px,
    transparent 120px,
    transparent 320px
  );
  background-size: 200% 200%;
  animation: moveLines 140s linear infinite;
}

@keyframes moveLines {
0% {
background-position: 0 0;
}
100% {
background-position: 100% 100%;
}
}

body.light-theme .dynamic-bg-lines {
opacity: 0.4;
background: repeating-linear-gradient(
-45deg,
rgba(0, 0, 0, 0.006) 0,
rgba(0, 0, 0, 0.006) 65px,
transparent 65px,
transparent 75px,
rgba(0, 0, 0, 0.006) 75px,
rgba(0, 0, 0, 0.006) 100px,
transparent 100px,
transparent 110px,
rgba(0, 0, 0, 0.006) 110px,
rgba(0, 0, 0, 0.006) 120px,
transparent 120px,
transparent 320px
);
}

/* ==========================================================================
15. GLOBAL LIGHT THEME TEXT CONTRAST & ACCESSIBILITY FIXES
========================================================================== */
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme strong,
body.light-theme b {
color: #181818 !important;
}

body.light-theme p,
body.light-theme li,
body.light-theme .panel-desc,
body.light-theme .text,
body.light-theme .credit-text {
color: #383842 !important;
}

body.light-theme .panel-sub,
body.light-theme .stat-label,
body.light-theme .time-label,
body.light-theme .watermark-note,
body.light-theme .club-meta,
body.light-theme .gallery-caption,
body.light-theme .club-text-content,
body.light-theme .accounting-rule-item p,
body.light-theme .faq-answer {
color: #555562 !important;
}

body.light-theme .status-bar {
background: #e6e6ed !important;
color: #181818 !important;
border-left: 4px solid var(--red) !important;
}

body.light-theme .status-bar strong {
color: #111111 !important;
}

body.light-theme .hub-card {
background: #ffffff !important;
border-color: #dcdce2 !important;
}

body.light-theme [style*="background: rgba(255,255,255,0.03)"],
body.light-theme [style*="background: rgba(255,255,255,0.02)"] {
background: #ffffff !important;
border-color: #dcdce2 !important;
}

body.light-theme [style*="rgba(0,146,70,0.12)"] {
background: linear-gradient(135deg, rgba(0,146,70,0.08) 0%, rgba(255,255,255,0.9) 50%, rgba(206,43,55,0.08) 100%) !important;
border-color: #dcdce2 !important;
}

body.light-theme [style*="rgba(0,146,70,0.12)"] h2 {
color: #181818 !important;
}

body.light-theme [style*="rgba(0,146,70,0.12)"] p {
color: #33333d !important;
}

body.light-theme table tr {
border-bottom-color: #dcdce2 !important;
}

body.light-theme table th {
color: #181818 !important;
}

body.light-theme table td {
color: #33333d !important;
}

body.light-theme .photographer-credits {
background: #f0f0f4 !important;
border-left-color: var(--red) !important;
}

body.light-theme .club-details {
background: #ffffff !important;
border-color: #dcdce2 !important;
}

body.light-theme .club-details summary {
background: #f8f8fc !important;
color: #181818 !important;
}

body.light-theme .club-details .club-text-content {
border-top-color: #dcdce2 !important;
color: #44444e !important;
}

/* ==========================================================================
16. EDITIONS & TIMELINE SHOWCASE (ABOUT PAGE)
========================================================================== */
.timeline-track-wrap {
position: relative;
margin: 24px 0 20px;
}

.timeline-cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 14px;
position: relative;
z-index: 1;
}

.timeline-card-item {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.1));
border-radius: var(--radius, 12px);
padding: 16px 12px;
text-align: center;
cursor: pointer;
transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
position: relative;
overflow: hidden;
user-select: none;
}

.timeline-card-item::after {
content: '';
position: absolute;
bottom: 0;
left: 25%;
right: 25%;
height: 3px;
background: transparent;
transition: background 0.3s ease, left 0.3s ease, right 0.3s ease;
}

.timeline-card-item:hover,
.timeline-card-item.active {
transform: translateY(-5px);
border-color: rgba(205, 33, 42, 0.6);
box-shadow: 0 10px 24px -6px rgba(205, 33, 42, 0.3), 0 0 14px rgba(255, 255, 255, 0.04);
background: linear-gradient(180deg, rgba(205, 33, 42, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.timeline-card-item:hover::after,
.timeline-card-item.active::after {
background: var(--red, #cd212a);
left: 10%;
right: 10%;
}

.timeline-card-img-wrap {
width: 100%;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
margin: 8px 0 12px;
transition: transform 0.3s ease;
}

.timeline-card-item:hover .timeline-card-img-wrap,
.timeline-card-item.active .timeline-card-img-wrap {
transform: scale(1.06);
}

.timeline-card-img-wrap img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.timeline-badge-tag {
font-size: 0.68rem;
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 3px 8px;
border-radius: 20px;
background: rgba(255, 255, 255, 0.08);
color: var(--text-muted, #a0a0ab);
font-weight: 600;
margin-bottom: 4px;
}

.timeline-card-item.active .timeline-badge-tag,
.timeline-card-item:hover .timeline-badge-tag {
background: rgba(205, 33, 42, 0.2);
color: #ff5a57;
}

.timeline-badge-tag.tag-next {
background: rgba(205, 33, 42, 0.25);
color: #ff6663;
}

.timeline-year-text {
font-family: 'Oswald', sans-serif;
font-size: 1.35rem;
font-weight: 700;
color: var(--text-main, #ffffff);
line-height: 1.1;
margin-top: 2px;
}

.timeline-loc-text {
font-size: 0.8rem;
color: var(--text-muted, #a0a0ab);
margin-top: 4px;
}

/* Spotlight Drawer */
.edition-spotlight {
background: var(--surface-dark, #121214);
border: 1px solid rgba(205, 33, 42, 0.35);
border-left: 5px solid var(--red, #cd212a);
border-radius: var(--radius, 12px);
padding: 20px 24px;
margin-top: 20px;
display: flex;
gap: 24px;
align-items: center;
transition: opacity 0.25s ease, transform 0.25s ease;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.spotlight-thumb {
width: 120px;
height: 120px;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
}

.spotlight-thumb img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.spotlight-info h3 {
font-family: 'Oswald', sans-serif;
font-size: 1.35rem;
margin: 0 0 8px;
color: var(--text-main, #ffffff);
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}

.spotlight-info p {
margin: 0;
font-size: 0.95rem;
line-height: 1.55;
color: var(--text-muted, #c5c5c5);
}

.spotlight-pill {
font-size: 0.72rem;
padding: 2px 10px;
border-radius: 12px;
background: var(--red, #cd212a);
color: #ffffff;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}

/* Light Theme Adaptations */
body.light-theme .timeline-card-item {
background: #ffffff;
border-color: var(--surface-border, #b0b0bc);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.light-theme .timeline-card-item:hover,
body.light-theme .timeline-card-item.active {
background: linear-gradient(180deg, rgba(205, 33, 42, 0.06) 0%, #ffffff 100%);
border-color: var(--red, #cd212a);
box-shadow: 0 8px 20px rgba(205, 33, 42, 0.15);
}

body.light-theme .timeline-badge-tag {
background: #eef0f4;
color: #555562;
}

body.light-theme .timeline-card-item.active .timeline-badge-tag,
body.light-theme .timeline-card-item:hover .timeline-badge-tag {
background: rgba(205, 33, 42, 0.15);
color: var(--red, #cd212a);
}

body.light-theme .timeline-year-text {
color: #181818;
}

body.light-theme .timeline-loc-text {
color: #555562;
}

body.light-theme .edition-spotlight {
background: #ffffff;
border-color: var(--surface-border, #b0b0bc);
border-left-color: var(--red, #cd212a);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

body.light-theme .spotlight-info h3 {
color: #181818;
}

body.light-theme .spotlight-info p {
color: #383842;
}

@media (max-width: 640px) {
.timeline-cards-grid {
grid-template-columns: repeat(2, 1fr);
}
.edition-spotlight {
flex-direction: column;
text-align: center;
padding: 18px 16px;
}
.spotlight-info h3 {
justify-content: center;
}
}

/* ==========================================================================
17. JUDGING & TALLY PORTALS (SHOW & SHINE / BEST IN SHOW)
========================================================================== */
.tally-table {
width: 100%;
border-collapse: collapse;
margin-top: 14px;
}

.tally-table th,
.tally-table td {
padding: 12px 14px;
border-bottom: 1px solid var(--surface-border);
text-align: left;
}

.tally-table th {
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
font-size: 0.85rem;
letter-spacing: 0.5px;
color: var(--text-muted);
}

.bar-container {
width: 100%;
background: rgba(255, 255, 255, 0.06);
height: 10px;
border-radius: 5px;
overflow: hidden;
margin-top: 6px;
}

.bar-fill {
height: 100%;
background: var(--red);
transition: width 0.4s ease;
}

.podium-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
margin-bottom: 24px;
}

.podium-card {
background: var(--surface-card);
border: 1px solid var(--surface-border);
border-radius: 8px;
padding: 20px;
text-align: center;
position: relative;
}

.podium-1 { border-top: 4px solid #ffd700; }
.podium-2 { border-top: 4px solid #c0c0c0; }
.podium-3 { border-top: 4px solid #cd7f32; }

.podium-number {
font-family: 'Oswald', sans-serif;
font-size: 2.4rem;
font-weight: 700;
color: var(--text-main);
margin: 4px 0;
}

/* Official Judging Cards & Form Grids */
.judge-card {
background: var(--surface-card);
border: 1px solid var(--surface-border);
border-radius: 12px;
overflow: hidden;
margin-bottom: 24px;
display: grid;
grid-template-columns: 280px 1fr;
}

.judge-car-photo {
width: 100%;
height: 100%;
min-height: 220px;
object-fit: cover;
background: #111;
}

.judge-body {
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.score-criteria-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
gap: 12px;
margin: 16px 0;
}

.score-box {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--surface-border);
border-radius: 8px;
padding: 10px;
text-align: center;
}

.score-box label {
font-size: 0.78rem;
font-weight: 700;
text-transform: uppercase;
display: block;
color: var(--text-muted);
margin-bottom: 4px;
}

.score-box select {
font-family: 'Oswald', sans-serif;
font-size: 1.1rem;
font-weight: 700;
padding: 6px;
border-radius: 6px;
background: var(--surface-dark);
color: var(--text-main);
border: 1px solid var(--surface-border);
width: 100%;
text-align: center;
}

.score-total {
font-family: 'Oswald', sans-serif;
font-size: 1.4rem;
font-weight: 700;
color: var(--green-hover);
}

@media (max-width: 768px) {
.judge-card {
grid-template-columns: 1fr;
}
}

/* Light Theme Adaptations for Competition & Podiums */
body.light-theme .podium-card,
body.light-theme .judge-card {
background: #ffffff;
border-color: var(--surface-border, #dcdce2);
}

body.light-theme .podium-number {
color: #181818;
}

body.light-theme .score-box {
background: #f8f8fc;
border-color: #dcdce2;
}

body.light-theme .score-box select {
background: #ffffff;
color: #181818;
border-color: #dcdce2;
}

body.light-theme .bar-container {
background: rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
18. "I'LL ATTEND" MEMBER SHOWCASE & MODAL
========================================================================== */
.attendee-spotlight-card {
margin-top: 20px;
border-left: 5px solid var(--red);
background: var(--surface-card);
}

.attendee-card-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 16px;
flex-wrap: wrap;
margin-bottom: 20px;
border-bottom: 1px solid var(--surface-border);
padding-bottom: 16px;
}

.attendee-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
gap: 16px;
}

.attendee-item-card {
position: relative;
border-radius: 8px;
background: var(--surface-dark, #121214);
border: 1px solid var(--surface-border);
overflow: hidden;
display: flex;
flex-direction: column;
transition: transform 0.2s ease, border-color 0.2s ease;
}

.attendee-item-card:hover {
transform: translateY(-3px);
border-color: var(--red);
}

.attendee-thumb-wrap {
position: relative;
width: 100%;
height: 140px;
overflow: hidden;
background: #000;
}

.attendee-thumb-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.attendee-badge-number {
position: absolute;
top: 8px;
left: 8px;
background: var(--red);
color: #fff;
font-family: 'Oswald', sans-serif;
font-size: 0.8rem;
font-weight: 700;
padding: 2px 7px;
border-radius: 4px;
letter-spacing: 0.5px;
box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.attendee-details {
padding: 10px 12px;
display: flex;
flex-direction: column;
gap: 4px;
}

.attendee-model-title {
font-family: 'Oswald', sans-serif;
font-size: 0.95rem;
color: var(--text-main);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.attendee-ig-link {
font-size: 0.8rem;
color: #ff5a57;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 4px;
font-weight: 600;
transition: color 0.2s;
}

.attendee-ig-link:hover {
color: #ffffff;
text-decoration: underline;
}

.attendee-empty-state {
grid-column: 1 / -1;
text-align: center;
padding: 24px;
color: var(--text-muted);
font-size: 0.9rem;
}

/* Modal styles */
.attendee-modal-backdrop {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.78);
backdrop-filter: blur(4px);
z-index: 10000;
align-items: center;
justify-content: center;
padding: 16px;
}

.attendee-modal-backdrop.is-open {
display: flex;
}

.attendee-modal-box {
background: var(--surface-card, #1a1a1e);
border: 1px solid var(--surface-border);
border-radius: 10px;
max-width: 480px;
width: 100%;
padding: 24px;
box-shadow: 0 16px 36px rgba(0,0,0,0.6);
}

.modal-head {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
border-bottom: 1px solid var(--surface-border);
padding-bottom: 10px;
}

.modal-head h4 {
font-family: 'Oswald', sans-serif;
font-size: 1.3rem;
margin: 0;
color: var(--text-main);
text-transform: uppercase;
}

.modal-close {
background: none;
border: none;
font-size: 1.8rem;
color: var(--text-muted);
cursor: pointer;
line-height: 1;
}

.modal-close:hover { color: #fff; }

.form-row {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 12px;
}

.form-row label {
font-family: 'Oswald', sans-serif;
font-size: 0.85rem;
text-transform: uppercase;
color: var(--text-muted);
letter-spacing: 0.4px;
}

.form-row label .req { color: var(--red); }

.form-row input[type="text"],
.form-row input[type="number"],
.form-row input[type="file"] {
width: 100%;
padding: 8px 12px;
border-radius: 6px;
background: var(--surface-dark, #121214);
border: 1px solid var(--surface-border);
color: var(--text-main);
box-sizing: border-box;
font-size: 16px !important;
font-family: inherit;
}

.input-ig-wrap {
display: flex;
align-items: center;
}

.input-ig-prefix {
padding: 8px 12px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--surface-border);
border-right: none;
border-radius: 6px 0 0 6px;
color: var(--text-muted);
font-weight: 700;
}

.input-ig-wrap input {
border-radius: 0 6px 6px 0 !important;
}

.form-hint {
font-size: 0.75rem;
color: var(--text-muted);
}

.form-checkbox-row {
margin: 12px 0 16px 0;
font-size: 0.82rem;
color: var(--text-muted);
line-height: 1.4;
}

.form-checkbox-row input {
margin-right: 6px;
}

.form-status-msg {
padding: 10px;
border-radius: 6px;
font-size: 0.85rem;
margin-bottom: 14px;
}

.form-status-msg.success {
background: rgba(0, 140, 69, 0.2);
border: 1px solid var(--green);
color: #4caf50;
}

.form-status-msg.error {
background: rgba(205, 33, 42, 0.2);
border: 1px solid var(--red);
color: #ff6663;
}

.modal-actions {
display: flex;
gap: 10px;
justify-content: flex-end;
}

body.light-theme .attendee-item-card {
background: #ffffff;
border-color: #dcdce2;
}

body.light-theme .attendee-model-title {
color: #181818;
}

body.light-theme .attendee-modal-box {
background: #ffffff;
border-color: #dcdce2;
}

body.light-theme .form-row input {
background: #f8f8fc;
border-color: #dcdce2;
color: #181818;
}
.viral-badge-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      z-index: 10000;
      align-items: center;
      justify-content: center;
      padding: 16px;
      backdrop-filter: blur(8px);
    }
    .viral-badge-box {
      background: var(--surface-card);
      border: 1px solid var(--surface-border);
      border-radius: 12px;
      max-width: 440px;
      width: 100%;
      padding: 24px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    }
    #storyCanvas {
      width: 100%;
      max-height: 380px;
      object-fit: contain;
      border-radius: 8px;
      margin: 14px 0;
      box-shadow: 0 4px 16px rgba(0,0,0,0.4);
      background: #000;
    }

/* ==========================================================================
19. ADMIN PORTAL TABS, TABLES & THUMBNAILS
========================================================================== */
.admin-tab-nav {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 20px;
border-bottom: 1px solid var(--surface-border);
padding-bottom: 12px;
}

.admin-tab-btn {
padding: 10px 18px;
border-radius: 8px;
background: var(--surface-card);
border: 1px solid var(--surface-border);
color: var(--text-main);
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
font-size: 14px;
cursor: pointer;
transition: all 0.2s ease;
}

.admin-tab-btn.active,
.admin-tab-btn:hover {
background: var(--red);
border-color: var(--red);
color: #fff;
}

.data-table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}

.data-table th,
.data-table td {
padding: 10px 12px;
border-bottom: 1px solid var(--surface-border);
font-size: 0.88rem;
text-align: left;
}

.data-table th {
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--text-muted);
background: rgba(255, 255, 255, 0.02);
}

.candidate-thumb {
width: 60px;
height: 60px;
border-radius: 6px;
object-fit: cover;
display: block;
}

.admin-attendee-thumb {
width: 90px;
height: 65px;
object-fit: cover;
border-radius: 6px;
border: 1px solid var(--surface-border);
display: block;
transition: transform 0.2s ease;
}

.admin-attendee-thumb:hover {
transform: scale(1.15);
z-index: 5;
}

body.light-theme .admin-tab-btn {
background: #ffffff;
border-color: #dcdce2;
color: #181818;
}

body.light-theme .data-table th {
background: rgba(0, 0, 0, 0.03);
color: #181818;
}

/* ==========================================================================
20. SIDE-BY-SIDE GRID & ROTATING FEATURED CAR CARD
========================================================================== */
.side-by-side-cards {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--gap, 20px);
margin-top: 20px;
}

@media (max-width: 820px) {
.side-by-side-cards {
grid-template-columns: 1fr;
}
}

.featured-rotator-card {
display: flex;
flex-direction: column;
justify-content: space-between;
border-left: 5px solid var(--red);
background: var(--surface-card);
}

.rotator-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}

.rotator-header h3 {
margin: 0;
font-size: 1.25rem;
}

.featured-single-wrap {
position: relative;
border-radius: 8px;
overflow: hidden;
background: var(--surface-dark, #121214);
border: 1px solid var(--surface-border);
min-height: 230px;
display: flex;
flex-direction: column;
}

.rotator-slide-img {
width: 100%;
height: 180px;
object-fit: cover;
display: block;
transition: opacity 0.4s ease-in-out;
}

.rotator-details {
padding: 10px 14px;
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(0, 0, 0, 0.25);
border-top: 1px solid var(--surface-border);
}

.rotator-model {
font-family: 'Oswald', sans-serif;
font-size: 1.05rem;
color: var(--text-main);
}

.rotator-controls {
position: absolute;
top: 75px;
left: 0;
right: 0;
display: flex;
justify-content: space-between;
padding: 0 8px;
pointer-events: none;
}

.rotator-nav-btn {
pointer-events: auto;
background: rgba(0, 0, 0, 0.6);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #fff;
border-radius: 50%;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.2s, border-color 0.2s;
}

.rotator-nav-btn:hover {
background: var(--red);
border-color: var(--red);
}

.rotator-footer-actions {
display: flex;
gap: 10px;
margin-top: 14px;
}

.rotator-footer-actions .btn {
flex: 1;
text-align: center;
padding: 8px 12px;
font-size: 13px;
}

/* Full Attendee Gallery Page Grid */
.attendee-full-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 18px;
margin-top: 20px;
}

.attendee-full-card {
background: var(--surface-card);
border: 1px solid var(--surface-border);
border-radius: 8px;
overflow: hidden;
transition: transform 0.2s ease, border-color 0.2s ease;
cursor: pointer;
}

.attendee-full-card:hover {
transform: translateY(-4px);
border-color: var(--red);
}

.attendee-full-card img {
width: 100%;
height: 190px;
object-fit: cover;
display: block;
}

.attendee-full-body {
padding: 12px 14px;
}

.attendee-full-body h4 {
margin: 0 0 6px 0;
font-family: 'Oswald', sans-serif;
font-size: 1.1rem;
}

/* ==========================================================================
21. BEST IN SHOW VOTING GALLERY & CANDIDATE CARDS
========================================================================== */
.vote-gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
margin-top: 20px;
}

.candidate-card {
background: var(--surface-card);
border: 1px solid var(--surface-border);
border-radius: 12px;
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
transition: transform 0.25s ease, border-color 0.25s ease;
}

.candidate-card:hover {
transform: translateY(-4px);
border-color: rgba(205, 33, 42, 0.6);
}

.candidate-card.is-voted {
border: 2px solid var(--green);
box-shadow: 0 0 16px rgba(0, 140, 69, 0.4);
}

.candidate-photo {
width: 100%;
height: 200px;
object-fit: cover;
display: block;
background: #111;
}

.candidate-body {
padding: 16px;
display: flex;
flex-direction: column;
flex: 1;
justify-content: space-between;
}

.candidate-owner {
font-family: 'Oswald', sans-serif;
font-size: 1.25rem;
margin: 0;
color: var(--text-main);
}

.candidate-car {
font-size: 0.95rem;
color: var(--text-muted);
margin: 4px 0 8px;
}

.candidate-ig {
display: inline-flex;
align-items: center;
gap: 6px;
color: #e1306c;
font-weight: 600;
font-size: 0.88rem;
text-decoration: none;
margin-bottom: 14px;
transition: color 0.2s ease;
}

.candidate-ig:hover {
text-decoration: underline;
color: #ff5a57;
}

/* Light Theme Adaptations for Candidates */
body.light-theme .candidate-card {
background: #ffffff;
border-color: #dcdce2;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

body.light-theme .candidate-owner {
color: #181818;
}

body.light-theme .candidate-car {
color: #555562;
}

/* ==========================================================================
22. MOBILE FORM & SELECT OVERFLOW FIXES
========================================================================== */
*, *::before, *::after {
box-sizing: border-box;
}

input, select, textarea, button {
max-width: 100%;
}

select {
min-width: 0;
text-overflow: ellipsis;
white-space: nowrap;
}

@media (max-width: 768px) {
.two-col {
display: flex !important;
flex-direction: column !important;
gap: 16px !important;
width: 100% !important;
}

.field {
width: 100% !important;
min-width: 0 !important;
}

.field input,
.field select,
.field textarea {
width: 100% !important;
max-width: 100% !important;
display: block;
box-sizing: border-box;
}
}