/* Explain: Styles for UI components and animated effects, including CTA button glow. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.86), rgba(250, 249, 246, 0.52));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 129, 87, 0.38);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(74vh, 720px);
    min-height: 500px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 620px;
    max-width: 450px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.floating-note {
    position: absolute;
    right: -1.5rem;
    bottom: 4rem;
    display: flex;
    max-width: 250px;
    align-items: center;
    gap: 0.85rem;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
}

.story-card {
    position: absolute;
    right: 0;
    bottom: 2.5rem;
    max-width: 290px;
    border-radius: 2rem;
    padding: 1.5rem;
}

.quiet-detail,
.amenity-row,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.58);
    padding: 1.25rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.class-card {
    min-height: 360px;
    border-radius: 2.2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.class-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-6px);
}

.amenity-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.amenity-dot {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 0.45rem var(--terracotta-soft);
}

.amenity-image-wrap {
    height: 660px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 3rem 999px 999px 3rem;
    box-shadow: var(--shadow-soft);
}

.booking-form,
.booking-overlay-panel {
    border-radius: 2.4rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: #4A6B53;
}

.form-status.error {
    color: #9B4A3D;
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(250, 249, 246, 0.86);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(31, 46, 35, 0.32);
    padding: 1rem;
}

.booking-overlay.is-open {
    display: block;
}

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(31, 46, 35, 0.22);
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large,
    .arch-frame-medium,
    .amenity-image-wrap {
        height: 510px;
        min-height: 0;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 450px);
    }

    .floating-note,
    .story-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2.5rem auto 0;
    }

    .amenity-image-wrap {
        border-radius: 999px 999px 2rem 2rem;
    }
}

.sports-graphics {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.sports-graphic-icon {
    position: absolute;
    color: var(--accent-color);
    opacity: 0.2;
    animation: sportsFloat 16s ease-in-out infinite;
    will-change: transform;
}

.sports-graphic-icon.sports-graphic-icon--primary {
    color: var(--primary-color);
    opacity: 0.08;
}

@keyframes sportsFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(9deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
    .sports-graphic-icon {
        animation: none;
    }
}

.cta-deep-thoughts {
    position: relative;
    overflow: hidden;
    animation: ctaGlow 3s ease-in-out infinite;
    will-change: transform, box-shadow;
}

.cta-deep-thoughts::after {
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    content: "";
    transform: skewX(-18deg);
    animation: ctaSheen 4.5s ease-in-out infinite;
    pointer-events: none;
}

.cta-deep-thoughts:hover {
    transform: translateY(-3px) scale(1.02);
}

@keyframes ctaGlow {
    0%, 100% {
        box-shadow: 0 12px 34px rgba(255, 199, 44, 0.45), 0 0 0 0 rgba(255, 199, 44, 0.5);
    }
    50% {
        box-shadow: 0 18px 52px rgba(255, 199, 44, 0.75), 0 0 0 12px rgba(255, 199, 44, 0);
    }
}

@keyframes ctaSheen {
    0% { left: -60%; }
    55%, 100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
    .cta-deep-thoughts,
    .cta-deep-thoughts::after {
        animation: none;
    }
}

.hero-shine {
    display: inline-block;
    color: var(--accent-bright);
    text-shadow: 0 0 24px rgba(255, 235, 0, 0.55), 0 0 60px rgba(255, 235, 0, 0.28);
    animation: heroShine 3.5s ease-in-out infinite;
    will-change: transform, text-shadow;
}

@keyframes heroShine {
    0%, 100% {
        text-shadow: 0 0 24px rgba(255, 235, 0, 0.55), 0 0 60px rgba(255, 235, 0, 0.28);
        transform: translateY(0) scale(1);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 235, 0, 0.95), 0 0 96px rgba(255, 235, 0, 0.55);
        transform: translateY(-3px) scale(1.015);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-shine {
        animation: none;
        text-shadow: 0 0 28px rgba(255, 235, 0, 0.65);
    }
}

nav[aria-label="Sport categories"] i,
nav[aria-label="Mobile navigation"] i {
    color: var(--accent-bright);
    text-shadow: 0 0 14px rgba(255, 235, 0, 0.55), 0 0 34px rgba(255, 235, 0, 0.28);
    animation: navIconShine 3.5s ease-in-out infinite;
    will-change: transform, text-shadow;
}

@keyframes navIconShine {
    0%, 100% {
        text-shadow: 0 0 14px rgba(255, 235, 0, 0.55), 0 0 34px rgba(255, 235, 0, 0.28);
        transform: translateY(0) scale(1);
    }
    50% {
        text-shadow: 0 0 28px rgba(255, 235, 0, 0.95), 0 0 68px rgba(255, 235, 0, 0.6);
        transform: translateY(-2px) scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    nav[aria-label="Sport categories"] i,
    nav[aria-label="Mobile navigation"] i {
        animation: none;
        text-shadow: 0 0 18px rgba(255, 235, 0, 0.65);
    }
}

.animate-hero-bg {
    animation: heroBgPan 25s ease-in-out infinite alternate;
    transform-origin: center bottom;
    will-change: transform;
}

@keyframes heroBgPan {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

.spotlight-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 45vw at 50% 70%, rgba(255, 235, 0, 0.12), transparent 60%);
    animation: shiftSpotlight 8s ease-in-out infinite alternate;
    pointer-events: none;
    mix-blend-mode: overlay;
    will-change: transform, opacity;
}

@keyframes shiftSpotlight {
    0% { transform: translateX(-12%) scale(0.95); opacity: 0.6; }
    100% { transform: translateX(12%) scale(1.1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .animate-hero-bg,
    .spotlight-overlay {
        animation: none;
    }
}
