:root {
    --orange: #e07820;
    --orange-dark: #7a3800;
    --black: #1a1a1a;
    --black-deep: #0d0d0d;
    --cream: #fde8cc;
    --muted: #ccc;
    --subtle: #999;
    --dim: #bbb;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
.skip-link { position: absolute; top: -60px; left: 8px; background: var(--orange); color: #fff; padding: 12px 20px; z-index: 100000; text-decoration: none; font-family: Arial, sans-serif; font-size: 13px; border-radius: 0 0 6px 6px; transition: top 0.2s; }
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
html, body { height: 100%; }
body { font-family: Arial, Helvetica, sans-serif; background: var(--black-deep); display: flex; flex-direction: column; }

/* Layout proportions: 27.5% header, 45% mid, 27.5% footer */
#lang-bar { flex: 0 0 auto; }
#main-nav { flex: 0 0 auto; }
#streams-wrapper { flex: 1 1 0; min-height: 0; }
#main-footer { flex: 0 0 auto; }

/* Language Bar */
#lang-bar { background: #0a0a0a; border-bottom: 0.5px solid #222; padding: 6px 0; }
.lang-btn { background: transparent; border: none; cursor: pointer; font-size: 12px; letter-spacing: 1px; padding: 4px 10px; border-radius: 4px; transition: background 0.2s; font-family: Arial, Helvetica, sans-serif; color: #888; }
.lang-btn.active { background: var(--orange); color: #fff; }
.lang-btn:disabled { opacity: 0.5; cursor: wait; }
#translating-bar { background: var(--orange); color: #fff; text-align: center; font-size: 12px; padding: 6px; display: none; letter-spacing: 1px; }

/* Navbar */
#main-nav { background: #111; padding: 14px 6%; }
.brand-name { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 2px; text-transform: uppercase; line-height: 1.1; }
.brand-tagline { font-size: 11px; color: var(--orange); letter-spacing: 1.7px; text-transform: uppercase; margin-top: 6px; line-height: 1; display: block; }
.brand-tagline.lang-ja { font-size: 11px; letter-spacing: 6px; }
.nav-link-custom { font-size: 12px; color: #ddd !important; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s; background: none; border: none; font-family: Arial, Helvetica, sans-serif; cursor: pointer; padding: 0; }
.nav-link-custom:hover { color: var(--orange) !important; }
.nav-live { display: inline-flex; align-items: center; }
.nav-live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #555; margin-right: 7px; transition: background 0.3s; }
.nav-live-dot.on { background: #e74c3c; box-shadow: 0 0 6px #e74c3c, 0 0 12px rgba(231,76,60,0.7); animation: navLivePulse 1.4s infinite; }
.nav-live.is-live .nav-live-text { color: #ff6b5b !important; text-shadow: 0 0 8px rgba(231,76,60,0.55); }
.nav-live.is-live:hover .nav-live-text { color: var(--orange) !important; text-shadow: none; }
@keyframes navLivePulse { 0% { box-shadow: 0 0 6px #e74c3c, 0 0 12px rgba(231,76,60,0.7); opacity: 1; } 50% { box-shadow: 0 0 10px #e74c3c, 0 0 18px rgba(231,76,60,0.9); opacity: 0.75; } 100% { box-shadow: 0 0 6px #e74c3c, 0 0 12px rgba(231,76,60,0.7); opacity: 1; } }
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 54px; width: auto; display: block; flex-shrink: 0; }

/* Streams side by side — single continuous gradient across the whole
    wrapper so the colour flows naturally from orange to black with
    absolutely no seam or line at the panel boundary. */
#streams-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
    position: relative;
    background: linear-gradient(to right,
    var(--orange) 0%,
    var(--orange) 38%,
    var(--black) 62%,
    var(--black) 100%
    );
}
#stream-river { background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px 7% 56px; text-align: center; }
#stream-flow { background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px 7% 56px; text-align: center; }

.stream-label { font-family: "Cormorant SC", serif; font-size: clamp(12px, 1.6vw, 16px); font-weight: 600; letter-spacing: 3.5px; text-transform: uppercase; margin-bottom: 16px; position: relative; z-index: 2; }
.stream-title { font-family: "Gilda Display", serif; font-size: clamp(28px, 4.2vw, 42px); font-weight: 400; letter-spacing: 1px; color: #fff; margin-bottom: 20px; position: relative; z-index: 2; }
.stream-desc { font-family: "Lora", serif; font-size: clamp(13px, 1.6vw, 16px); font-style: italic; max-width: 460px; min-height: 64px; line-height: 1.8; margin-bottom: 32px; position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.stream-desc.lang-ja { font-family: "Lora", "Noto Sans JP", sans-serif; font-style: normal; font-size: clamp(12px, 1.3vw, 14px); letter-spacing: 0.3px; max-width: 560px; line-height: 1.7; }
.btn-stream-orange { border: 1.5px solid #fff; color: #fff; padding: 11px 30px; font-size: 12px; letter-spacing: 1.8px; text-decoration: none; text-transform: uppercase; border-radius: 4px; display: inline-block; transition: background 0.2s, color 0.2s; background: transparent; cursor: pointer; font-family: Arial, sans-serif; position: relative; z-index: 2; white-space: nowrap; }
.btn-stream-orange:hover { background: #fff; color: var(--orange); }
.btn-stream-dark { border: 1.5px solid var(--dim); color: #fff; padding: 11px 30px; font-size: 12px; letter-spacing: 1.8px; text-decoration: none; text-transform: uppercase; border-radius: 4px; display: inline-block; transition: background 0.2s, color 0.2s; background: transparent; cursor: pointer; font-family: Arial, sans-serif; position: relative; z-index: 2; white-space: nowrap; }
.btn-stream-dark:hover { background: #fff; color: var(--black); }

@media (max-width: 768px) {
    #streams-wrapper {
    grid-template-columns: 1fr;
    background: linear-gradient(to bottom,
        var(--orange) 0%,
        var(--orange) 38%,
        var(--black) 62%,
        var(--black) 100%
    );
    }
}

/* Footer — left aligned content, icons on right */
#main-footer { background: var(--black-deep); border-top: 0.5px solid #333; padding: 20px 6%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 104px; box-sizing: border-box; }
.footer-left { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer-left p { font-size: 11px; color: #999; margin: 0; line-height: 1.6; }
.footer-left .footer-legal-link { font-size: 11px; color: #666; text-decoration: none; letter-spacing: 0.5px; transition: color 0.2s; background: none; border: none; cursor: pointer; padding: 0; }
.footer-left .footer-legal-link:hover { color: #bbb; }
.footer-right { display: flex; gap: 20px; align-items: center; }
.footer-social-group { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.footer-social-label { font-family: "Cormorant SC", serif; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-social-icons { display: flex; gap: 12px; align-items: center; }
.footer-social-divider { width: 1px; height: 34px; background: #333; align-self: center; }
.footer-icon { transition: opacity 0.2s; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 8px; margin: -8px; }
.footer-icon:hover { opacity: 0.6; }

/* Bootstrap Modal overrides */
.modal-content { background: #1a1a1a; border: 0.5px solid #333; border-radius: 10px; color: #fff; }
.modal-label { font-family: "Cormorant SC", serif; font-size: 16px; font-weight: 600; letter-spacing: 2.5px; color: var(--orange); text-transform: uppercase; margin-bottom: 16px; }

/* ── Quiet audio welcome player ── */
.welcome-audio { display: flex; align-items: center; gap: 14px; background: #1a1a1a; border: 0.5px solid #2a2a2a; border-radius: 30px; padding: 10px 18px 10px 10px; margin: 6px auto 14px; max-width: 340px; }
.welcome-audio-btn { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity 0.2s; padding: 0; }
.welcome-audio-btn:hover { opacity: 0.85; }
.welcome-audio-btn svg { margin-left: 2px; }
.welcome-audio-btn #welcome-pause-icon { margin-left: 0; }
.welcome-audio-info { flex: 1; text-align: left; min-width: 0; }
.welcome-audio-label { display: block; font-family: "Lora", serif; font-style: italic; font-size: 12px; color: #ccc; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.welcome-audio-bar { position: relative; height: 3px; background: #333; border-radius: 2px; cursor: pointer; }
.welcome-audio-progress { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--orange); border-radius: 2px; transition: width 0.15s linear; }
.welcome-audio-time { flex-shrink: 0; font-family: Arial, sans-serif; font-size: 10px; color: #777; letter-spacing: 0.5px; }
.welcome-transcript-toggle { background: none; border: none; color: #888; font-size: 11px; letter-spacing: 0.5px; text-decoration: underline; cursor: pointer; padding: 0; margin-bottom: 14px; font-family: Arial, sans-serif; transition: color 0.2s; }
.welcome-transcript-toggle:hover { color: var(--orange); }
.welcome-transcript { font-family: "Lora", serif; font-style: italic; font-size: 12px; color: #aaa; line-height: 1.8; text-align: left; background: #1a1a1a; border-left: 2px solid var(--orange); padding: 12px 16px; margin: 0 0 16px; border-radius: 0 6px 6px 0; }
.modal-heading { font-family: "Gilda Display", serif; font-size: 22px; color: #fff; margin-bottom: 16px; }
.modal-body-text { font-family: "Lora", serif; font-size: 13px; color: #e0e0e0; line-height: 1.9; }
.btn-modal-close { background: var(--orange); color: #fff; border: none; padding: 10px 28px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; border-radius: 4px; cursor: pointer; }
.btn-modal-cancel { background: transparent; color: #888; border: 1px solid #444; padding: 10px 24px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; border-radius: 4px; cursor: pointer; }
.btn-modal-continue { background: var(--orange); color: #fff; border: none; padding: 10px 24px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; border-radius: 4px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-close { filter: invert(1); }

/* ════ COME AND SEE OVERLAY ════ */
#cas-overlay { display: none; position: fixed; inset: 0; background: #0d0d0d; z-index: 9999; overflow-y: auto; transform: translateX(100%); transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); }
#cas-overlay.open { display: block; transform: translateX(0); }
#cas-close { position: fixed; top: 10px; right: 14px; background: none; border: none; color: #aaa; font-size: 28px; cursor: pointer; z-index: 10000; transition: color 0.2s; line-height: 1; padding: 12px; }
#cas-close:hover { color: #fff; }
#cas-inner { max-width: 960px; margin: 0 auto; padding: 70px 5% 100px; }
.cas-label { font-family: "Cormorant SC", serif; font-size: 14px; font-weight: 600; letter-spacing: 3.5px; color: var(--orange); text-transform: uppercase; text-align: center; margin-bottom: 32px; }
.cas-section-gap { margin: 56px 0; }
.cas-accordion-item { border-bottom: 0.5px solid #2a2a2a; }
.cas-accordion-trigger { width: 100%; background: none; border: none; display: flex; align-items: center; justify-content: space-between; padding: 22px 0; cursor: pointer; font-family: "Gilda Display", serif; font-size: 20px; color: #fff; text-align: left; transition: color 0.2s; }
.cas-accordion-trigger:hover { color: var(--orange); }
.cas-arrow { font-size: 20px; color: #555; transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.cas-accordion-trigger.active .cas-arrow { transform: rotate(180deg); color: var(--orange); }
.cas-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.cas-accordion-body.open { max-height: 2000px; padding-bottom: 24px; }
.cas-accordion-body p { font-family: "Lora", serif; font-size: 15px; color: #e8e8e8; line-height: 2; margin-bottom: 14px; }
.creed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 8px; }
.creed-col-label { font-family: "Cormorant SC", serif; font-size: 11px; letter-spacing: 3px; color: var(--orange); text-transform: uppercase; margin-bottom: 16px; display: block; }
.creed-line { display: block; font-family: "Lora", serif; font-size: 13px; font-style: italic; color: #e8e8e8; line-height: 2.2; }
.photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
@media (max-width: 420px) { .photo-grid { grid-template-columns: repeat(2,1fr); } }
.photo-placeholder { aspect-ratio: 1; background: #1a1a1a; border: 0.5px solid #2a2a2a; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.photo-placeholder span { font-size: 10px; color: #777; letter-spacing: 1px; text-transform: uppercase; text-align: center; line-height: 1.8; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-nav { background: none; border: none; color: #ccc; font-size: 26px; cursor: pointer; padding: 10px 16px; transition: color 0.2s; line-height: 1; }
.cal-nav:hover { color: var(--orange); }
.cal-month-lbl { font-family: "Gilda Display", serif; font-size: 22px; color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.cal-day-name { font-size: 11px; color: #bbb; text-align: center; padding: 8px 0; letter-spacing: 1px; text-transform: uppercase; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #ddd; border-radius: 6px; transition: all 0.2s; }
.cal-day.has-event { background: #1a1a1a; color: #fff; cursor: pointer; border: 0.5px solid var(--orange); }
.cal-day.has-event:hover { background: var(--orange); color: #fff; }
.cal-day.today { color: var(--orange); font-weight: 700; }
#event-panel { display: none; position: relative; background: #1a1a1a; border: 0.5px solid #2a2a2a; border-radius: 10px; padding: 32px; margin-top: 20px; }
#event-panel.open { display: block; }
.event-panel-close { position: absolute; top: 8px; right: 8px; background: none; border: none; color: #888; font-size: 18px; cursor: pointer; padding: 10px; line-height: 1; transition: color 0.2s; }
.event-panel-close:hover { color: var(--orange); }
.event-title-cas { font-family: "Gilda Display", serif; font-size: 22px; color: #fff; margin-bottom: 8px; }
.event-meta-cas { font-size: 12px; color: #ccc; letter-spacing: 1px; margin-bottom: 16px; }
.event-desc-cas { font-family: "Lora", serif; font-size: 14px; color: #e8e8e8; line-height: 1.9; margin-bottom: 28px; }
.form-label-cas { display: block; font-size: 11px; color: #ccc; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.form-input-cas { width: 100%; background: #111; border: 0.5px solid #333; border-radius: 6px; padding: 12px 16px; font-size: 14px; color: #fff; font-family: Arial, sans-serif; outline: none; transition: border 0.2s; margin-bottom: 18px; }
.form-input-cas:focus { border-color: var(--orange); }
.first-time-group { display: flex; gap: 12px; margin-bottom: 18px; }
.first-time-btn { flex: 1; padding: 12px; border: 0.5px solid #333; background: #111; color: #ccc; border-radius: 6px; font-size: 14px; cursor: pointer; letter-spacing: 1px; transition: all 0.2s; font-family: Arial, sans-serif; }
.first-time-btn.selected { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-register { width: 100%; background: var(--orange); color: #fff; border: none; padding: 14px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; border-radius: 6px; cursor: pointer; font-family: Arial, sans-serif; transition: opacity 0.2s; }
.btn-register:hover { opacity: 0.85; }
#reg-confirm { display: none; text-align: center; padding: 24px 0; }
#reg-confirm.open { display: block; }
.confirm-title-cas { font-family: "Gilda Display", serif; font-size: 22px; color: #fff; margin-bottom: 12px; }
.confirm-msg-cas { font-family: "Lora", serif; font-size: 14px; font-style: italic; color: #e8e8e8; line-height: 2; max-width: 480px; margin: 0 auto; }
.confirm-code-box { margin: 22px auto 0; max-width: 280px; background: #1a1a1a; border: 1px solid #333; border-radius: 8px; padding: 16px; }
.confirm-code-label { display: block; font-family: "Cormorant SC", serif; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #999; margin-bottom: 6px; }
.confirm-code-value { display: block; font-family: "Gilda Display", serif; font-size: 24px; letter-spacing: 3px; color: var(--orange); margin-bottom: 6px; }
.confirm-code-note { display: block; font-size: 10px; color: #666; }
.confirm-verse { margin: 24px auto 0; max-width: 460px; font-family: "Lora", serif; font-style: italic; font-size: 13px; color: #ccc; line-height: 1.8; border-left: 2px solid var(--orange); padding-left: 16px; text-align: left; }
.confirm-verse cite { display: block; font-style: normal; font-size: 11px; letter-spacing: 1px; color: var(--orange); margin-top: 8px; }

/* ── Free Will Offering (River) ── */
.cas-offering-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; align-items: center; }
.cas-offering-left { text-align: center; width: 100%; }
.cas-qr-box { width: 160px; height: 160px; background: #fff; border-radius: 8px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.cas-scan-label { font-size: 11px; color: #ccc; letter-spacing: 2px; text-transform: uppercase; }
.cas-qr-note { font-size: 10px; color: #666; margin-top: 6px; letter-spacing: 1px; }
.cas-offering-right { background: #1a1a1a; border-radius: 8px; padding: 22px; border: 0.5px solid #2a2a2a; }
.cas-bank-row { margin-bottom: 16px; }
.cas-bank-label { font-size: 10px; color: #888; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.cas-bank-value { font-family: "Lora", serif; font-size: 14px; color: #e8e8e8; line-height: 1.5; }
.cas-swift-note { font-size: 11px; color: #888; margin-top: 14px; font-style: italic; line-height: 1.7; }
.cas-offering-intro { font-family: "Lora", serif; font-size: 14px; color: #e8e8e8; text-align: center; line-height: 1.9; margin-bottom: 28px; font-style: italic; }
@media (max-width: 576px) { .cas-offering-wrap { grid-template-columns: 1fr; } }

/* ════ CREATE TOGETHER OVERLAY ════ */
#ct-overlay { display: none; position: fixed; inset: 0; background: var(--orange); z-index: 9999; overflow-y: auto; transform: translateX(-100%); transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); }
#ct-overlay.open { display: block; transform: translateX(0); }
#ct-close { position: fixed; top: 10px; right: 14px; background: none; border: none; color: rgba(0,0,0,0.5); font-size: 28px; cursor: pointer; z-index: 10000; transition: color 0.2s; line-height: 1; padding: 12px; }
#ct-close:hover { color: #000; }
#ct-inner { max-width: 960px; margin: 0 auto; padding: 70px 5% 100px; }
.ct-label { font-family: "Cormorant SC", serif; font-size: 14px; font-weight: 600; letter-spacing: 3.5px; color: #000; text-transform: uppercase; text-align: center; margin-bottom: 32px; }
.ct-section-gap { margin: 56px 0; }
.ct-heading { font-family: "Gilda Display", serif; font-size: 32px; color: #fff; margin-bottom: 20px; line-height: 1.3; }
.ct-body { font-family: "Lora", serif; font-size: 15px; font-style: italic; color: rgba(255,255,255,0.97); line-height: 2; margin-bottom: 16px; }
.ct-how-title { font-family: "Cormorant SC", serif; font-size: 13px; font-weight: 600; letter-spacing: 3px; color: #000; text-transform: uppercase; margin: 32px 0 16px; }
.ct-step { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.ct-step-num { font-family: "Bodoni Moda", serif; font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.45); min-width: 28px; line-height: 1.4; }
.ct-step-text { font-family: "Lora", serif; font-size: 14px; color: rgba(255,255,255,0.97); line-height: 1.9; }

.ct-carousel-wrap { position: relative; overflow: hidden; padding: 0 20px; }
.ct-carousel { display: flex; gap: 16px; transition: transform 0.4s ease; }
.ct-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.2); border: none; color: #fff; font-size: 22px; padding: 8px 12px; cursor: pointer; border-radius: 4px; z-index: 10; transition: background 0.2s; line-height: 1; }
.ct-carousel-btn:hover { background: rgba(0,0,0,0.4); }
.ct-dm-invite { max-width: 480px; margin: 0 auto; text-align: center; background: rgba(0,0,0,0.12); border: 0.5px solid rgba(255,255,255,0.25); border-radius: 12px; padding: 28px 24px; }
.ct-dm-invite-text { font-family: "Lora", serif; font-style: italic; font-size: 14px; color: rgba(255,255,255,0.95); line-height: 1.8; margin: 12px 0 18px; }
.ct-dm-invite-btn { display: inline-block; background: #000; color: #fff; text-decoration: none; padding: 11px 26px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 6px; transition: opacity 0.2s; font-family: Arial, sans-serif; border: none; cursor: pointer; }
.ct-dm-invite-btn:hover { opacity: 0.8; }
.ct-prev { left: 0; }
.ct-next { right: 0; }

.ct-tabs { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 0.5px solid rgba(0,0,0,0.2); }
.ct-tab { background: none; border: none; padding: 12px 24px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(0,0,0,0.5); cursor: pointer; font-family: Arial, sans-serif; border-bottom: 2px solid transparent; transition: all 0.2s; margin-bottom: -1px; }
.ct-tab.active { color: #000; border-bottom-color: #000; }
.ct-tab:hover { color: #000; }
.ct-events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.ct-event-card { background: rgba(0,0,0,0.15); border: 0.5px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 18px; }
.ct-event-name { font-family: "Gilda Display", serif; font-size: 16px; color: #fff; margin-bottom: 6px; }
.ct-event-date { font-size: 11px; color: rgba(255,255,255,0.9); letter-spacing: 1px; margin-bottom: 4px; }
.ct-event-venue { font-size: 12px; color: rgba(255,255,255,0.95); margin-bottom: 10px; }
.ct-badge { display: inline-block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }
.ct-badge.current { background: rgba(255,255,255,0.25); color: #fff; }
.ct-badge.soon { background: rgba(0,0,0,0.2); color: rgba(255,255,255,0.9); }
.ct-badge.past { background: rgba(0,0,0,0.15); color: rgba(255,255,255,0.6); }


.ct-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ct-cal-nav { background: none; border: none; color: rgba(0,0,0,0.6); font-size: 26px; cursor: pointer; padding: 10px 16px; transition: color 0.2s; line-height: 1; }
.ct-cal-nav:hover { color: #000; }
.ct-cal-month { font-family: "Gilda Display", serif; font-size: 22px; color: #000; }
.ct-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.ct-cal-day-name { font-size: 11px; color: rgba(0,0,0,0.7); text-align: center; padding: 8px 0; letter-spacing: 1px; text-transform: uppercase; }
.ct-cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(0,0,0,0.8); border-radius: 6px; transition: all 0.2s; font-weight: 500; }
.ct-cal-day.has-event { background: rgba(0,0,0,0.2); color: #fff; cursor: pointer; border: 0.5px solid rgba(0,0,0,0.4); font-weight: 700; }
.ct-cal-day.has-event:hover { background: rgba(0,0,0,0.4); }
.ct-cal-day.today { color: #000; font-weight: 700; }
#ct-ticket-confirm { display: none; background: rgba(0,0,0,0.15); border: 0.5px solid rgba(0,0,0,0.2); border-radius: 10px; padding: 28px; margin-top: 20px; text-align: center; }
#ct-ticket-confirm.open { display: block; }
.ct-ticket-event { font-family: "Gilda Display", serif; font-size: 20px; color: #fff; margin-bottom: 8px; }
.ct-ticket-meta { font-size: 12px; color: rgba(255,255,255,0.9); letter-spacing: 1px; margin-bottom: 18px; }
.ct-ticket-msg { font-family: "Lora", serif; font-size: 13px; font-style: italic; color: rgba(255,255,255,0.97); line-height: 1.9; margin-bottom: 24px; }
.btn-ct-continue { background: #fff; color: var(--orange); border: none; padding: 11px 28px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; border-radius: 4px; cursor: pointer; font-family: Arial, sans-serif; text-decoration: none; font-weight: 700; display: inline-block; transition: opacity 0.2s; }
.btn-ct-continue:hover { opacity: 0.85; }
.btn-ct-cancel { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.3); padding: 11px 28px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; border-radius: 4px; cursor: pointer; font-family: Arial, sans-serif; transition: all 0.2s; }
.btn-ct-cancel:hover { color: #fff; border-color: #fff; }

/* ── Privacy & Copyright Combined Overlay (bottom sheet) ── */
#legal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 10001; justify-content: center; align-items: flex-end; padding: 20px; overflow-y: auto; }

/* Bootstrap modals (secureModal, aboutModal, igModal) must render above our
    custom full-screen overlays (cas/ct/live top out at 9999, legal at 10001),
    so a confirmation triggered from inside The Flow etc. stays layered on top
    of that same overlay instead of appearing to vanish behind it. */
.modal-backdrop { z-index: 10005 !important; }
#secureModal, #aboutModal, #igModal { z-index: 10010 !important; }
#legal-overlay.open { display: flex; }
.legal-card { background: #1a1a1a; border: 0.5px solid #333; border-radius: 20px 20px 0 0; max-width: 720px; width: 100%; max-height: 80vh; padding: 40px 36px 28px; margin: 0 auto; position: relative; box-shadow: 0 -10px 40px rgba(0,0,0,0.8); overflow-y: auto; animation: slideUp 0.35s ease; }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.legal-close { position: sticky; top: 0; float: right; background: none; border: none; color: #888; font-size: 24px; cursor: pointer; transition: color 0.2s; line-height: 1; z-index: 2; padding: 12px; margin: -12px -12px 0 0; }
.legal-close:hover { color: #fff; }
.legal-head { font-family: "Gilda Display", serif; font-size: 24px; color: #fff; margin-bottom: 20px; letter-spacing: 1px; }
.legal-sub { font-family: "Cormorant SC", serif; font-size: 15px; color: var(--orange); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.legal-body { font-family: "Lora", serif; font-size: 14px; color: #ddd; line-height: 1.9; margin-bottom: 20px; }
.legal-body strong { color: #fff; }
.legal-divider { border: 0; border-top: 0.5px solid #333; margin: 24px 0; }

/* ── LIVE NOW OVERLAY ── */
#live-overlay { display: none; position: fixed; inset: 0; background: #0d0d0d; z-index: 9998; overflow-y: auto; transform: translateY(-100%); transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); }
#live-overlay.open { display: block; transform: translateY(0); }
#live-close { position: fixed; top: 10px; right: 14px; background: none; border: none; color: #aaa; font-size: 28px; cursor: pointer; z-index: 10000; transition: color 0.2s; line-height: 1; padding: 12px; }
#live-close:hover { color: #fff; }
#live-inner { max-width: 960px; margin: 0 auto; padding: 70px 5% 100px; }
.live-label { font-family: "Cormorant SC", serif; font-size: 14px; font-weight: 600; letter-spacing: 3.5px; color: var(--orange); text-transform: uppercase; text-align: center; margin-bottom: 32px; }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.live-stream-card { background: #1a1a1a; border: 0.5px solid #2a2a2a; border-radius: 12px; padding: 28px 24px; display: flex; flex-direction: column; }
.live-stream-title { font-family: "Gilda Display", serif; font-size: 22px; color: #fff; margin-bottom: 4px; }
.live-stream-sub { font-size: 13px; color: var(--orange); letter-spacing: 1px; margin-bottom: 12px; }
.live-stream-desc { font-family: "Lora", serif; font-size: 13px; color: #e8e8e8; line-height: 1.7; margin-bottom: 16px; min-height: 68px; }
.live-input-group { display: flex; flex-direction: column; gap: 10px; align-items: stretch; margin-top: auto; }
.live-input { width: 100%; background: #111; border: 0.5px solid #333; border-radius: 6px; padding: 12px 14px; font-size: 13px; color: #fff; font-family: Arial, sans-serif; outline: none; transition: border 0.2s; text-align: center; box-sizing: border-box; }
.live-input:focus { border-color: var(--orange); }
.live-input::placeholder { text-align: center; }
.live-btn { width: 100%; background: var(--orange); color: #fff; border: none; padding: 12px 20px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 6px; cursor: pointer; font-family: Arial, sans-serif; transition: opacity 0.2s; text-align: center; box-sizing: border-box; }
.live-btn:hover { opacity: 0.85; }
.live-btn-outline { width: 100%; background: transparent; color: #fff; border: 1px solid #444; padding: 12px 20px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 6px; cursor: pointer; font-family: Arial, sans-serif; transition: all 0.2s; text-align: center; box-sizing: border-box; }
.live-btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.live-msg { font-family: "Lora", serif; font-size: 12px; font-style: italic; color: #aaa; margin-top: 10px; }
.river-choice { display: none; margin-top: 14px; padding-top: 14px; border-top: 0.5px solid #2a2a2a; text-align: center; }
.river-choice.open { display: block; }
.river-choice-label { font-family: "Lora", serif; font-size: 12px; font-style: italic; color: #ccc; margin: 0 0 10px; }
.river-choice-btns { display: flex; gap: 10px; }
.river-choice-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; }
.live-indicator { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #555; margin-right: 8px; vertical-align: middle; }
.live-indicator.live { background: #e74c3c; box-shadow: 0 0 8px #e74c3c; animation: pulse 1.2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
.live-indicator.replay { background: #f1c40f; box-shadow: 0 0 8px #f1c40f; }

@media (max-width: 768px) { .live-grid { grid-template-columns: 1fr; } }
@media (max-width: 576px) {
    .live-stream-card { padding: 20px; }
    #main-footer { flex-direction: column; align-items: center; text-align: center; }
    .footer-left { align-items: center; }
    
    .creed-grid {
        grid-template-columns:1fr;
    }
}

/* ── Background blur-and-scale when an overlay opens ── */
#page-blur-wrap { transition: filter 0.5s ease, transform 0.5s ease; filter: blur(0px); transform: scale(1); will-change: filter, transform; }
#page-blur-wrap.blurred { filter: blur(6px); transform: scale(0.98); }
@media (prefers-reduced-motion: reduce) {
    #page-blur-wrap { transition: none !important; }
    #page-blur-wrap.blurred { filter: none !important; transform: none !important; }
}