/* ---------- WHITE / GOLD / BLACK THEME – ENHANCED ---------- */
:root {
    --gold: #D4AF37;
    --gold-dark: #B49429;
    --gold-light: #F3E5AB;
    --black: #111111;
    --black-soft: #1E1E1E;
    --white: #FFFFFF;
    --white-off: #FAFAFA;
    --gray-bg: #F5F5F5;
    --border-radius-card: 16px;
    --border-radius-btn: 40px;
    --transition-smooth: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    --shadow-gold-glow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.event-detail-main {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--black);
}

.events-banner {
    padding: 15px 20px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 5px;
    border-bottom: none;
    box-shadow: none;
}

.event-detail-container {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.event-detail-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important;
    grid-template-areas:
        "image    info"
        "sponsors info"
        "vendors  info" !important;
    column-gap: 2rem !important;
    row-gap: 11px !important;
    align-items: start !important;
    padding: 2rem;
}
.event-detail-col-image    { grid-area: image;    min-width: 0; }
.event-detail-col-info     { grid-area: info;     min-width: 0; }
.event-detail-col-sponsors { grid-area: sponsors; min-width: 0; }
.event-detail-col-vendors  { grid-area: vendors;  min-width: 0; }

/* ==========================================================
   THE NEW COUNTDOWN TIMER
   ========================================================== */
.event-countdown-wrapper {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.85rem;
    padding: 0;
    box-sizing: border-box;
}
.countdown-block {
    flex: 1;
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15), transparent 70%), linear-gradient(180deg, #131313 0%, #0a0a0a 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: 10px;
    padding: 0.6rem 0.2rem 0.5rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.countdown-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1.5px;
    background: linear-gradient(90deg, transparent, #D4AF37, #F5E6A3, #D4AF37, transparent);
    opacity: 0.9;
}
.countdown-block::after {
    content: '';
    position: absolute;
    top: 0; left: -75%; width: 40%; height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(245, 230, 163, 0.22) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: countdownShine 5.5s ease-in-out infinite;
}
.countdown-block:nth-child(2)::after { animation-delay: 0.4s; }
.countdown-block:nth-child(3)::after { animation-delay: 0.8s; }
.countdown-block:nth-child(4)::after { animation-delay: 1.2s; }

@keyframes countdownShine {
    0%, 60%  { left: -75%; }
    100%     { left: 175%; }
}

.cd-val {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    line-height: 1;
    color: #ffffff;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6), 0 0 20px rgba(212, 175, 55, 0.25);
}
.cd-label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-top: 0.35rem;
    opacity: 0.95;
}
.countdown-live {
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #0a0a0a, #1c1c1c);
    border: 1.5px solid #D4AF37;
    border-radius: 10px;
    padding: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: #F5E6A3;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* ==========================================================
   EVENT IMAGE & META
   ========================================================== */

.event-detail-image {
    position: relative;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    margin-bottom: 0.5rem;
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.2);
}

.event-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    transition: transform 0.4s ease;
}

.event-detail-image:hover img {
    transform: scale(1.02);
}

.sponsored-badge-detail {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.event-meta-under-image {
    background: var(--white-off);
    border-radius: var(--border-radius-card);
    padding: 1.2rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.55;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
    margin-top: 1.1rem;
}

.event-meta-item { margin-bottom: 0.8rem; }
.event-meta-item:last-child { margin-bottom: 0; }

.event-meta-label {
    display: block;
    font-weight: 700;
    color: #222;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    margin-bottom: 0.15rem;
}

.event-meta-value {
    display: block;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
}

.event-meta-value a {
    color: #D4AF37;
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.5);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
    font-weight: 500;
}

.event-meta-value a:hover {
    color: #b8960c;
    text-decoration-color: #b8960c;
}

.event-detail-title {
    font-size: 2.2rem;
    margin: 0 0 1rem 0;
    color: var(--black);
    line-height: 1.25;
    letter-spacing: -0.3px;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}

.event-detail-col-info .event-detail-title { margin-top: 0; margin-bottom: 0.75rem; }

/* ==========================================================
   POC VENDING MESSAGE (Now under title, aligned left)
   ========================================================== */
.poc-vending-message {
    display: block;
    color: var(--gold);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: -0.7rem 0 1.25rem 0;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.event-detail-col-info .event-actions { margin-bottom: 0.85rem; }

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0 1.2rem;
}

.action-btn {
    padding: 0.85rem 1.8rem;
    border: 2px solid transparent;
    border-radius: var(--border-radius-btn);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.primary-btn, .secondary-btn {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.primary-btn:hover, .secondary-btn:hover {
    background-color: #D4AF37;
    color: #000000;
    border-color: #D4AF37;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -8px rgba(212, 175, 55, 0.5);
}

.save-btn {
    background: linear-gradient(135deg, #0a0a0a 0%, #1c1c1c 100%);
    border: 2px solid rgba(212, 175, 55, 0.6);
    color: var(--gold);
    font-weight: 700;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: pulseSave 2.5s infinite;
    transition: all 0.3s ease;
}

.save-btn .heart-icon svg {
    width: 18px;
    height: 18px;
    fill: transparent;
    stroke: var(--gold);
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

.save-btn:hover {
    background: var(--gold);
    color: #0a0a0a;
    border-color: #F5E6A3;
    transform: translateY(-2px) scale(1.02);
    animation: none;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.save-btn:hover .heart-icon svg {
    stroke: #0a0a0a;
}

.save-btn.saved {
    background: linear-gradient(135deg, #F5E6A3 0%, #D4AF37 25%, #B8960C 50%, #D4AF37 75%, #F5E6A3 100%);
    background-size: 200% auto;
    border-color: #F5E6A3;
    color: #0a0a0a;
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255,255,255,0.6);
    animation: none;
}

.save-btn.saved .heart-icon svg {
    fill: #0a0a0a;
    stroke: #0a0a0a;
}

.save-btn.saved:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.7), inset 0 1px 0 rgba(255,255,255,0.6);
    animation: none;
}

@keyframes pulseSave {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.free-entry-btn { cursor: default; pointer-events: none; }
.free-entry-btn:hover { background-color: #D4AF37; color: #000000; }

.sponsors-section,
.vendor-list-section {
    padding: 0.85rem 0.85rem;
    background: #f9f9f9;
    border-radius: 12px;
}

.sponsors-section h2,
.vendor-list-section h2 {
    font-size: 1.1rem !important;
    margin: 0 0 0.6rem !important;
    padding: 0 !important;
    color: #333 !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    border: none !important;
    border-bottom: none !important;
    background: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    position: static !important;
    line-height: 1.3 !important;
}
.sponsors-section h2::before,
.sponsors-section h2::after,
.vendor-list-section h2::before,
.vendor-list-section h2::after,
.sponsors-section > h2 ~ *::before,
.vendor-list-section > h2 ~ *::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
}
.sponsors-section hr,
.vendor-list-section hr {
    display: none !important;
}
.sponsors-grid,
.vendor-list-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.6rem !important;
    justify-items: center !important;
    align-items: center !important;
}
.sponsor-item, .vendor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 100%;
    min-width: 0;
}
.sponsor-avatar, .vendor-avatar {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #e0e0e0;
    margin-bottom: 0.35rem;
    border: 2px solid #D4AF37;
    object-fit: cover;
}
.sponsor-name, .vendor-name {
    font-size: 0.78rem;
    color: #555;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.placeholder-add { cursor: pointer; transition: background 0.2s; }
.placeholder-add .sponsor-avatar,
.placeholder-add .vendor-avatar {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: #D4AF37;
    font-weight: bold;
}
.placeholder-add:hover .sponsor-avatar,
.placeholder-add:hover .vendor-avatar {
    background: #e0e0e0;
    color: #b8960c;
}
.remove-participant-btn {
    position: absolute;
    top: 0; right: 0;
    background: #c0392b;
    color: #fff;
    border: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; z-index: 2;
}
.remove-participant-btn:hover { background: #a93226; }

.expand-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.4rem;
    padding: 0.25rem;
    color: #b3b3b3;
    cursor: not-allowed;
    user-select: none;
    transition: color 0.2s;
}
.expand-placeholder svg {
    display: block;
    transition: transform 0.2s;
}
.expand-placeholder:hover svg {
    transform: translateY(2px);
}

.section-cta {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(212, 175, 55, 0.5);
    text-align: center;
}
.section-cta-inline {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}
.section-cta-gold {
    color: #b8960c;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.15s ease;
}
.section-cta-gold:hover {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #000;
}
.section-cta-black {
    color: #222;
    font-weight: 700;
}
.section-cta-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    border: 2px solid #D4AF37;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}
.section-cta-btn:hover {
    background: #D4AF37;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}
.section-cta-btn-outline {
    background: transparent;
    color: #b8960c;
    border: 2px solid #D4AF37;
}
.section-cta-btn-outline:hover {
    background: #D4AF37;
    color: #000;
}

.show-owner-cta {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: #0a0a0a;
    border: 1.5px solid var(--gold);
    border-radius: 10px;
    text-align: center;
}
.show-owner-cta p {
    margin: 0;
    font-size: 0.9rem;
    color: #e5e5e5;
    line-height: 1.45;
}
.show-owner-cta a,
.show-owner-cta button.claim-link {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    border-bottom: 1.5px solid var(--gold);
    transition: color 0.15s ease;
}
.show-owner-cta a:hover,
.show-owner-cta button.claim-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}
.show-owner-cta-desktop { display: block; }
.show-owner-cta-mobile  { display: none; }

.save-count-item { margin-top: 0.35rem !important; }
.save-count-line {
    display: inline-flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.1px;
}
.save-count-num {
    color: #b8960c !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
}
.save-count-text {
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
}
.save-count-guest-link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #b8960c;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.5);
    text-underline-offset: 3px;
    transition: color 0.15s ease;
    line-height: 1.2;
}
.save-count-guest-link:hover {
    color: #000;
    text-decoration-color: #000;
}

.event-map-embed {
    margin-top: 1.1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.event-map-embed iframe {
    display: block;
    width: 100%;
    height: 210px;
    border: 0;
}

/* --- SHARE RAIL CSS --- */
.tcg-share-rail {
    position: fixed;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    z-index: 500;
}
.tcg-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
    border: 1.5px solid transparent;
}
.tcg-share-btn svg { width: 18px; height: 18px; }
.tcg-share-btn.facebook  { background: #1877F2; border-color: #1877F2; color: #ffffff; }
.tcg-share-btn.twitter   { background: #0a0a0a; border-color: #0a0a0a; color: #ffffff; }
.tcg-share-btn.pinterest { background: #E60023; border-color: #E60023; color: #ffffff; }
.tcg-share-btn.whatsapp  { background: #25D366; border-color: #25D366; color: #ffffff; }
.tcg-share-btn.email     { background: linear-gradient(135deg, #F5E6A3, #D4AF37); border-color: #D4AF37; color: #0a0a0a; }
.tcg-share-btn.copy      { background: linear-gradient(135deg, #D4AF37, #C9A96E); border-color: #D4AF37; color: #0a0a0a; }
.tcg-share-btn:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
    filter: brightness(1.08);
}
.tcg-share-btn.facebook:hover  { box-shadow: 0 8px 22px rgba(24, 119, 242, 0.5); }
.tcg-share-btn.twitter:hover   { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5); }
.tcg-share-btn.pinterest:hover { box-shadow: 0 8px 22px rgba(230, 0, 35, 0.5); }
.tcg-share-btn.whatsapp:hover  { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5); }
.tcg-share-btn.copied {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    border-color: #15803d !important;
    color: #ffffff !important;
    animation: tcgSharePop 0.4s ease-out;
}
@keyframes tcgSharePop {
    0%   { transform: translateY(-2px) scale(1.08); }
    40%  { transform: translateY(-2px) scale(1.22); }
    100% { transform: translateY(-2px) scale(1.08); }
}
.tcg-share-tooltip {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.tcg-share-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #0a0a0a;
}
.tcg-share-btn:hover .tcg-share-tooltip { opacity: 1; }
.tcg-mobile-share { display: none; }

.event-faq {
    margin-top: 1.8rem;
    background: #fafafa;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 1.1rem 1.35rem;
}
.event-faq h2 {
    font-size: 1.25rem;
    margin: 0 0 0.9rem;
    color: #222;
}
.event-faq details {
    border-bottom: 1px solid #e5e5e5;
    padding: 0.65rem 0;
}
.event-faq details:last-of-type { border-bottom: none; }
.event-faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #111;
    list-style: none;
    position: relative;
    padding-right: 24px;
    transition: color 0.15s ease;
}
.event-faq summary:hover { color: #D4AF37; }
.event-faq summary::-webkit-details-marker { display: none; }
.event-faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 400;
    color: #D4AF37;
    transition: transform 0.2s ease;
}
.event-faq details[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}
.event-faq details p {
    margin: 0.55rem 0 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.55;
}

.related-events {
    padding: 2rem 2rem 3rem;
    background: var(--white);
    border-top: 1px solid #efefef;
}
.related-events h2 { font-size: 1.35rem; margin-bottom: 0.9rem; }
.related-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.8rem;
}
.related-event-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 12px rgba(0,0,0,0.04);
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: block;
}
.related-event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 28px -12px rgba(0, 0, 0, 0.2);
    border-color: var(--gold-light);
}
.related-events .related-event-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    border-radius: 10px 10px 0 0;
}
.related-events .related-event-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: auto !important;
    display: block !important;
    border-radius: 0 !important;
}
.related-event-details { padding: 1rem; }
.related-event-date {
    font-size: 0.8rem;
    color: #8c8c8c;
    margin-bottom: 0.3rem;
}
.related-event-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related-event-location {
    display: block;
    font-size: 0.78rem;
    color: #8c8c8c;
    margin-top: 0.35rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 28px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    border-top: 4px solid var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-btn {
    padding: 0.7rem 1.8rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    margin: 0.5rem 0.3rem;
    transition: 0.2s;
}

.modal-btn.primary {
    background: var(--black);
    color: var(--gold);
    border: 1px solid var(--gold);
}

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

.modal-btn.secondary {
    background: #eee;
    color: #333;
}

.modal-btn.secondary:hover {
    background: #ddd;
}

.toast-message {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e1e1e;
    color: #ffd966;
    padding: 0.8rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.25s;
    z-index: 2000;
    border-left: 4px solid var(--gold);
    box-shadow: 0 5px 18px rgba(0,0,0,0.2);
}

.toast-message.show { opacity: 1; }

#participantSearch {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-top: 10px;
}
.user-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.user-result-item button {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
}

/* ==========================================================
   THEME TOGGLE (FLOATING RIGHT)
   ========================================================== */
.vault-side-actions {
    position: fixed;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.vault-mode-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 62px;
    height: 92px;
    padding: 0.5rem 0.35rem;
    background: #0a0a0a;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    border-radius: 16px;
    color: var(--gold);
    font-family: 'Exo 2', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
}
.vault-mode-toggle svg { color: var(--gold); transition: transform 0.4s ease; }
.vault-mode-toggle:hover {
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.35);
    color: #F5E6A3;
}
.vault-mode-toggle:hover svg { transform: scale(1.15) rotate(-6deg); }
.vault-mode-toggle.is-active {
    background: linear-gradient(135deg, #D4AF37, #b8960c);
    color: #0a0a0a;
    border-color: var(--gold);
}
.vault-mode-toggle.is-active svg { color: #0a0a0a; }

/* ==========================================================
   ORGANIZER LINK STYLES
   ========================================================== */
.organizer-modal-link {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold-dark);
    text-decoration: underline;
    text-decoration-color: rgba(212, 175, 55, 0.5);
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.organizer-modal-link:hover {
    color: var(--black);
    text-decoration-color: var(--black);
}
.organizer-modal-name {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
}

.follow-organizer-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
    color: var(--gold-dark) !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(212, 175, 55, 0.5) !important;
    text-underline-offset: 3px;
    transition: all 0.15s ease;
    cursor: pointer;
}
.follow-organizer-link:hover {
    color: var(--black) !important;
    text-decoration-color: var(--black) !important;
}

/* ==========================================================
   DARK MODE (VAULT)
   ========================================================== */
body.is-vault { background: #050505 !important; }
body.is-vault .event-detail-main { color: #e5e5e5; }
body.is-vault .event-detail-container { background: #0a0a0a; border-color: #222; }
body.is-vault .event-detail-title { color: #ffffff; }
body.is-vault .event-meta-under-image { background: #0f0f0f; border-color: rgba(212, 175, 55, 0.2); }
body.is-vault .event-meta-label { color: #d4d4d4; }
body.is-vault .event-meta-value { color: #a1a1a1; }
body.is-vault .event-meta-value a { color: var(--gold); }
body.is-vault .save-count-line, 
body.is-vault .save-count-text { color: #a1a1a1 !important; }
body.is-vault .save-count-num { color: var(--gold) !important; }
body.is-vault .sponsors-section,
body.is-vault .vendor-list-section { background: #0f0f0f; }
body.is-vault .sponsors-section h2,
body.is-vault .vendor-list-section h2 { color: #e5e5e5 !important; }
body.is-vault .sponsor-avatar,
body.is-vault .vendor-avatar { background: #1a1a1a; }
body.is-vault .sponsor-name,
body.is-vault .vendor-name { color: #a1a1a1; }
body.is-vault .section-cta-black { color: #a1a1a1; }
body.is-vault .event-faq { background: #0f0f0f; border-color: #222; }
body.is-vault .event-faq h2 { color: #ffffff; }
body.is-vault .event-faq details { border-bottom-color: #222; }
body.is-vault .event-faq summary { color: #d4d4d4; }
body.is-vault .event-faq details p { color: #a1a1a1; }
body.is-vault .related-events { background: #0a0a0a; border-top-color: #222; }
body.is-vault .related-events h2 { color: #ffffff; }
body.is-vault .related-event-card { background: #0f0f0f; border-color: #222; }
body.is-vault .related-event-card:hover { border-color: var(--gold); }
body.is-vault .related-event-title { color: #ffffff; }
body.is-vault .related-event-date,
body.is-vault .related-event-location { color: #a1a1a1; }
body.is-vault .modal-content { background: #0f0f0f; border-top-color: var(--gold); }
body.is-vault .modal-content h3 { color: #ffffff; }
body.is-vault .modal-content p { color: #a1a1a1; }
body.is-vault .organizer-modal-name { color: #ffffff; }
body.is-vault .organizer-modal-link { color: var(--gold); }
body.is-vault .organizer-modal-link:hover { color: #ffffff; text-decoration-color: #ffffff; }
body.is-vault .follow-organizer-link { color: var(--gold) !important; }
body.is-vault .follow-organizer-link:hover { color: #ffffff !important; text-decoration-color: #ffffff !important; }
body.is-vault .event-map-embed { border-color: #222; }
body.is-vault .save-btn:not(.saved) { background: #0f0f0f; border-color: rgba(212, 175, 55, 0.4); color: var(--gold); }
body.is-vault .save-btn:not(.saved):hover { background: rgba(212, 175, 55, 0.15); border-color: var(--gold); color: #fff; }
body.is-vault .event-actions .secondary-btn { background: #0f0f0f; border-color: #333; color: #e5e5e5; }
body.is-vault .event-actions .secondary-btn:hover { background: var(--gold); border-color: var(--gold); color: #000; }
body.is-vault .show-owner-cta { border-color: #333; }
body.is-vault .events-banner { background: #0a0a0a; border-color: #222; }
body.is-vault .poc-vending-message { background: #0f0f0f; }

@media (max-width: 900px) {
    .event-detail-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        column-gap: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .event-detail-grid {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "image"
            "info"
            "sponsors"
            "vendors" !important;
        row-gap: 10px !important;
        column-gap: 0 !important;
        padding: 1.5rem !important;
    }
    .event-detail-col-info { order: 2; }
    .event-detail-title {
        text-align: center !important;
        margin-bottom: 0.6rem !important;
    }
    .poc-vending-message {
        margin: 0 auto 1rem auto;
    }
    .event-actions {
        justify-content: center !important;
        margin-bottom: 0.75rem !important;
    }
    .event-meta-under-image { margin-top: 0.9rem !important; }
    .event-meta-item { margin-bottom: 0.7rem !important; }

    .sponsor-avatar, .vendor-avatar { width: 56px; height: 56px; }
    .sponsor-name, .vendor-name { font-size: 0.72rem; }
    .sponsor-item .remove-participant-btn,
    .vendor-item .remove-participant-btn { width: 18px; height: 18px; font-size: 0.6rem; }
    .event-faq { padding: 1rem; }
    .event-faq h2 { font-size: 1.1rem; }
    .event-map-embed iframe { height: 170px; }
    .vendor-list-grid { grid-template-columns: repeat(3, 1fr) !important; }

    .show-owner-cta-desktop { display: none !important; }
    .show-owner-cta-mobile  { display: block !important; }
    .section-cta-inline { font-size: 0.72rem; }

    .save-count-line, .save-count-num, .save-count-text, .save-count-guest-link { font-size: 0.88rem !important; }

    .tcg-share-rail { display: none; }
    .tcg-mobile-share {
        display: flex !important;
        gap: 0.5rem;
        flex-wrap: wrap;
        padding: 0.75rem 0;
        margin-top: 0.5rem;
        border-top: 1px dashed rgba(212, 175, 55, 0.35);
        align-items: center;
    }
    .tcg-mobile-share-label {
        font-family: 'Exo 2', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: #b8960c;
        margin-right: 0.25rem;
    }
    .action-btn { width: 100%; padding: 0.8rem; }
    .event-actions { flex-direction: column; }
    .related-events-grid { grid-template-columns: 1fr 1fr; }

    .vault-side-actions { top: auto; bottom: 20px; right: 20px; transform: none; }
}

@media (max-width: 480px) {
    .sponsors-grid, .vendor-list-grid { gap: 0.5rem !important; }
    .sponsor-avatar, .vendor-avatar { width: 50px; height: 50px; margin-bottom: 0.3rem; }
    .placeholder-add .sponsor-avatar, .placeholder-add .vendor-avatar { font-size: 1.3rem; }
    .sponsor-name, .vendor-name { font-size: 0.68rem; }
    .event-meta-label { font-size: 0.85rem; }
    .event-meta-value { font-size: 0.9rem; }
    .share-btn { width: 34px; height: 34px; }
    .section-cta-inline { font-size: 0.62rem; }
    .save-count-line, .save-count-num, .save-count-text, .save-count-guest-link { font-size: 0.82rem !important; }
    .event-detail-title { font-size: 1.7rem; }
}