:root {
    --black-500: #05122b;
    --text-primary: #eff0f2;
    --text-secondary: #b6b9c2;
    --text-placeholder: #818595;
    --text-disabled: #444d60;
    --bg-brand-dark: #e6007d;
    --bg-secondary: #121e36;
    --bg-tertiary: #1e2940;
    --neon-500: #16dffd;
    --badge-class: #fff159;
    --badge-drop-in: #7ee8b0;
    /* Calendar .event-schedule-event-blue (course blocks) */
    --schedule-event-course-border: rgba(60, 150, 255, 0.8);
    --schedule-event-course-bg: rgba(42, 54, 75, 0.8);
    --alfa-grey-1: rgba(97, 102, 122, 0.3);
    --alfa-grey-2: rgba(97, 102, 122, 0.5);
    --border-primary: #2a364b;
    --white-100: #f5f5f5;
}

.event-badge.event-badge-class {
    border-color: var(--badge-class);
    color: var(--badge-class);
    text-shadow: 0 0 12px rgba(255, 241, 89, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black-500);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    cursor: default;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.selectable-text {
    user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
}

/* Copy location button - shared across party, social, course, course-packages, contact modal, location sections */
.party-copy-location,
.social-copy-location,
.course-copy-location,
.course-packages-copy-location,
.contact-modal-copy-location,
.location-copy-location,
.party-location-copy-location,
.cta-copy-location {
    background: transparent;
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
}

/* Copy icon - consistent layout, stick to right of text */
/* Margin and white-space are set dynamically by JS based on wrap detection */
.party-info-item:has(.party-copy-location) .selectable-text,
.social-hero-item:has(.social-copy-location) .selectable-text,
.class-hero-item:has(.course-copy-location) .selectable-text,
.class-packages-feature-list li:has(.course-packages-copy-location) .selectable-text {
    flex: 0 1 auto;
    min-width: 0;
}

.class-packages-feature-list li:has(.course-packages-copy-location) {
    align-items: center;
}

.class-packages-feature-list li:has(.course-packages-copy-location) .selectable-text {
    margin-right: 0;
}

.party-copy-location:hover,
.social-copy-location:hover,
.course-copy-location:hover,
.course-packages-copy-location:hover,
.contact-modal-copy-location:hover,
.location-copy-location:hover,
.party-location-copy-location:hover,
.cta-copy-location:hover {
    color: var(--white-100);
}

.party-info-item .party-copy-location .icon-btn-icon,
.social-hero-item .social-copy-location .icon-btn-icon,
.class-hero-item .course-copy-location .icon-btn-icon,
.class-packages-feature-list .course-packages-copy-location .icon-btn-icon,
.contact-modal-copy-location .icon-btn-icon,
.location-copy-location .icon-btn-icon,
.party-location-copy-location .icon-btn-icon,
.cta-copy-location .icon-btn-icon {
    width: 20px;
    height: 20px;
}

/* Copy address tooltip - hover: "Copy address", click: "Address copied" */
.copy-location-tooltip {
    position: fixed;
    z-index: 1000;
    padding: 4px 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-primary);
    background: var(--bg-secondary, #121e36);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    animation: copy-location-tooltip-appear 0.15s ease-out forwards;
}

@keyframes copy-location-tooltip-appear {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Clickable icon with -pressed state and animated transition */
.icon-btn-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-btn-icon .icon-default,
.icon-btn-icon .icon-pressed {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.15s ease;
}

.icon-btn-icon .icon-pressed {
    position: absolute;
    inset: 0;
    opacity: 0;
}

button:hover .icon-btn-icon .icon-default,
button:active .icon-btn-icon .icon-default,
a:hover .icon-btn-icon .icon-default,
a:active .icon-btn-icon .icon-default {
    opacity: 0;
}

button:hover .icon-btn-icon .icon-pressed,
button:active .icon-btn-icon .icon-pressed,
a:hover .icon-btn-icon .icon-pressed,
a:active .icon-btn-icon .icon-pressed {
    opacity: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
}

/* Background decorations */
.bg-blue-lights {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    max-width: 1440px;
    height: 100%;
    z-index: 0;
    background-image: url('../images/bg-blue-lights.jpg');
    background-size: cover;
    background-position: center;
}

/* Decorative Elements */
.decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Location heading — glow arrows inline with title (home, party, social, course, course-packages) */
.locations-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    position: relative;
}

.locations-title-row .decoration {
    position: relative;
    left: auto;
    top: 2px;
    flex-shrink: 0;
}

.locations-title-row .section-title {
    margin-bottom: 0;
}

.locations-title-row .decoration-glow-arrows-1,
.locations-title-row .decoration-glow-arrows-2 {
    width: 220px;
    height: 160px;
    background-image: url('../images/decorations/decoration-glow-arrows.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.locations-title-row .decoration-glow-arrows-1 {
    margin-right: -44px;
}

.locations-title-row .decoration-glow-arrows-2 {
    transform: rotate(180deg) scaleY(-1);
    margin-left: -44px;
}

@media (max-width: 768px) {
    .locations-title-row .decoration-glow-arrows-1,
    .locations-title-row .decoration-glow-arrows-2 {
        width: 132px;
        height: 96px;
    }

    .locations-title-row .decoration-glow-arrows-1 {
        margin-right: -24px;
    }

    .locations-title-row .decoration-glow-arrows-2 {
        margin-left: -24px;
    }
}

/* Arrow decorations – scroll-triggered animation (once) */
.section .decoration-glow-arrows-1,
.section .decoration-glow-arrows-2,
.party-location .decoration-glow-arrows-1,
.party-location .decoration-glow-arrows-2,
.class-contact .decoration-glow-arrows-1,
.class-contact .decoration-glow-arrows-2 {
    opacity: 0;
}

@keyframes arrows-enter {
    0% {
        opacity: 0;
        transform: translateX(-24px);
    }
    50% {
        opacity: 1;
        transform: translateX(0);
    }
    65% {
        transform: translateX(4px);
    }
    78% {
        transform: translateX(-2px);
    }
    88% {
        transform: translateX(1px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.arrows-animated .decoration-glow-arrows-1 {
    animation: arrows-enter 0.4s ease-out forwards;
}

/* arrows-2 has rotate(180deg) scaleY(-1) – include in keyframes */
@keyframes arrows-enter-2 {
    0% {
        opacity: 0;
        transform: rotate(180deg) scaleY(-1) translateX(-24px);
    }
    50% {
        opacity: 1;
        transform: rotate(180deg) scaleY(-1) translateX(0);
    }
    65% {
        transform: rotate(180deg) scaleY(-1) translateX(-4px);
    }
    78% {
        transform: rotate(180deg) scaleY(-1) translateX(2px);
    }
    88% {
        transform: rotate(180deg) scaleY(-1) translateX(-1px);
    }
    100% {
        opacity: 1;
        transform: rotate(180deg) scaleY(-1) translateX(0);
    }
}

.arrows-animated .decoration-glow-arrows-2 {
    animation: arrows-enter-2 0.4s ease-out 0.03s forwards;
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 144px;
    position: relative;
    z-index: 1;
}


/* Buttons */
.btn-primary {
    background-color: var(--bg-brand-dark);
    color: white;
    padding: 16px 28px;
    border-radius: 8px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    box-shadow: inset 6px 8px 9px 0px #ff1597, inset -6px -8px 9px 0px #ff1597;
}

.btn-primary-small {
    padding: 12px 24px;
    min-height: 48px;
    font-size: 16px;
    line-height: 20px;
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px 16px 24px;
    border-radius: 8px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.btn-secondary:hover,
.btn-secondary:active {
    color: var(--white-100);
    text-shadow: 0 0 10px rgba(22, 223, 253, 0.85), 0 0 22px rgba(22, 223, 253, 0.6), 0 0 36px rgba(22, 223, 253, 0.4);
}

.nav-item,
.footer-link {
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-item:hover,
.nav-item:active,
.footer-link:hover,
.footer-link:active {
    background-color: transparent;
    color: var(--white-100);
    text-shadow: 0 0 10px rgba(22, 223, 253, 0.85), 0 0 22px rgba(22, 223, 253, 0.6), 0 0 36px rgba(22, 223, 253, 0.4);
}

.social-icon {
    transition: filter 0.3s;
}

.social-icon:hover,
.social-icon:active {
    filter: drop-shadow(0 0 6px rgba(22, 223, 253, 0.7)) drop-shadow(0 0 14px rgba(22, 223, 253, 0.45));
}

.btn-icon {
    width: 28.496px;
    height: 29.912px;
    object-fit: contain;
    display: block;
    transition: filter 0.3s;
}

.btn-secondary:hover .btn-icon,
.btn-secondary:active .btn-icon {
    filter: drop-shadow(0 0 6px rgba(22, 223, 253, 0.7)) drop-shadow(0 0 14px rgba(22, 223, 253, 0.45));
}

.btn-primary-large {
    padding: 16px 28px;
    height: 60px;
    font-size: 20px;
    line-height: 32px;
}

.btn-glow,
.btn-primary,
.header-btn,
.course-btn-primary,
.party-btn-primary,
.social-btn-primary,
.event-card-button,
.carousel-btn,
.class-instructor-arrow {
    transition: box-shadow 0.3s ease;
}

.event-card-all,
.course-card,
.event-card {
    transition: box-shadow 0.3s, border-color 0.3s;
}

.event-card-all:hover,
.event-card-all:active,
.event-card-all:focus-within,
.event-card-all.is-active,
.course-card:hover,
.course-card:active,
.course-card:focus-within,
.event-card:hover,
.event-card:active,
.event-card:focus-within {
    border-color: var(--neon-500);
    box-shadow: 0 0 12px rgba(22, 223, 253, 0.55), 0 0 28px rgba(22, 223, 253, 0.35);
}

.btn-glow:hover,
.btn-primary:hover,
.header-btn:hover,
.course-btn-primary:hover,
.party-btn-primary:hover,
.social-btn-primary:hover,
.event-card-button:hover,
.btn-glow:active,
.btn-primary:active,
.header-btn:active,
.course-btn-primary:active,
.party-btn-primary:active,
.social-btn-primary:active,
.event-card-button:active {
    box-shadow: inset 6px 8px 9px 0px #ff1597, inset -6px -8px 9px 0px #ff1597, 0 0 16px rgba(255, 21, 151, 0.75), 0 0 36px rgba(255, 21, 151, 0.45);
}

.carousel-btn,
.class-instructor-arrow,
.event-schedule-month-nav {
    transition: color 0.3s, text-shadow 0.3s;
}

.carousel-btn:not(:disabled):hover,
.carousel-btn:not(:disabled):active,
.class-instructor-arrow:not(:disabled):hover,
.class-instructor-arrow:not(:disabled):active,
.event-schedule-month-nav:not(:disabled):hover,
.event-schedule-month-nav:not(:disabled):active {
    color: var(--white-100);
    text-shadow: 0 0 10px rgba(22, 223, 253, 0.85), 0 0 22px rgba(22, 223, 253, 0.6), 0 0 36px rgba(22, 223, 253, 0.4);
}

/* Section Styles */
.section {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    position: relative;
}

.section-title-decorations {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: -18px;
    left: 0;
    pointer-events: none;
}

.section-title-decoration {
    width: 143px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--neon-500);
    text-shadow: 0 0 10px rgba(22, 223, 253, 0.5), 0 0 20px rgba(22, 223, 253, 0.3);
    position: relative;
}

.section-title-decoration::before {
    content: '';
    display: block;
}

.section-title-decoration-right::before {
    content: '';
}

.section-title-decoration-right {
    transform: rotate(180deg) scaleY(-1);
}

.section-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-secondary);
}

.page-section-intro-text {
    white-space: pre-line;
}

/* See all photos button – same press animation as header nav items */
.social-gallery-open,
.party-gallery-open {
    transition: color 0.3s, text-shadow 0.3s;
}

.social-gallery-open:active,
.party-gallery-open:active {
    color: var(--white-100);
    text-shadow: 0 0 10px rgba(22, 223, 253, 0.85), 0 0 22px rgba(22, 223, 253, 0.6), 0 0 36px rgba(22, 223, 253, 0.4);
}

/* Responsive */
@media (max-width: 1440px) {
    .container {
        padding: 0 80px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: 36px;
        line-height: 44px;
    }

    h2 {
        font-size: 32px;
        line-height: 40px;
    }

    h3 {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 32px;
        line-height: 38px;
    }

    h2 {
        font-size: 28px;
        line-height: 34px;
    }

    h3 {
        font-size: 20px;
        line-height: 28px;
    }
}
