[hidden] {
    display: none !important;
}

:root {
    --bg-base: #000;
    --text: #f8f9fa;
    --muted: #e5e7eb;
    --primary: #fff;
    --font-heading: "Cormorant Garamond", serif;
    --font-body: "Outfit", sans-serif;
    --radius: 20px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    height: 100%;
    overflow-x: hidden;
    background: var(--bg-base);
    color: var(--text);
    font-family: var(--font-body);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 0.2rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

a {
    color: inherit;
    transition: opacity .2s;
}

a:hover {
    opacity: .8;
}

#app {
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    max-width: none;
    padding: 0;
    margin: 0;
}

section, footer {
    height: 100vh;
    min-height: 600px;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section::before, footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
    z-index: 1;
}

section > *, footer > * {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
}

.hero {
    justify-content: space-between !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.countdown {
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
    white-space: nowrap;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 1rem;
    text-align: center;
}

.countdown-unit strong {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
}

.countdown-unit span {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-left: 2px;
}

.hero-content-wrapper {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.subtitle {
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.primary-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.primary-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

#schedule-section {
    padding: 0;
}

.schedule-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.schedule-item-card {
    height: 100vh;
    min-height: 600px;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    section, footer, .schedule-item-card {
        background-attachment: scroll;
        background-position: center center;
    }
    .countdown {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        max-width: 320px;
    }
}

.schedule-item-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
    z-index: 1;
}

.schedule-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
}

.schedule-date-badge {
    display: inline-block;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.schedule-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.schedule-time {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.overlay-container {
    position: fixed;
    inset: 0;
    background: url('https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse1.mm.bing.net%2Fth%2Fid%2FOIP.AJ4QXz4aYK1convZqcVuFwHaKX%3Fpid%3DApi&f=1&ipt=8bd8b715830a1f43966736d02b194cd6b92ca0cb19aecd6a3b545f5d8eefa94d&ipo=images') center/cover no-repeat;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: opacity 0.5s ease;
}

.overlay-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.overlay-card {
    position: relative;
    z-index: 2;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.overlay-card h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.overlay-card p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.overlay-card .primary-btn {
    width: 100%;
    display: block;
    text-align: center;
}

.audio-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) brightness(0.8);
    -webkit-backdrop-filter: blur(12px) brightness(0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

@media(max-width: 768px) {
    .audio-fab {
        width: 44px;
        height: 44px;
        bottom: max(1.25rem, env(safe-area-inset-bottom));
        right: 1.25rem;
    }
}

.event-datetime {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin-bottom: 1rem;
}

#maps-link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.location address {
    font-style: normal;
    margin-top: 1rem;
}

#venue-name::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: middle;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}
