:root {
    --bg: #070707;
    --bg-elevated: #111111;
    --red: #d21f2d;
    --red-deep: #8f0b1f;
    --yellow: #ffb800;
    --yellow-soft: #ffe27a;
    --white: #ffffff;
    --muted: #c9c9c9;
    --line: rgba(210, 31, 45, 0.65);
    --font-display: "Oswald", "Bebas Neue", sans-serif;
    --font-body: "Barlow", "Oswald", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body.landing-page {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.section-inner {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 7, 7, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(245, 197, 24, 0.18);
}

.header-inner {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-text small {
    color: var(--yellow);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.header-nav a {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s ease;
}

.header-nav a:hover {
    color: var(--yellow);
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 1.15rem;
    background: #292d5b;
    color: var(--white) !important;
    border: 1px solid transparent;
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-login:hover {
    background: var(--yellow);
    color: #111 !important;
    transform: translateY(-1px);
}

.btn-user {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 40px;
    max-width: 220px;
    padding: 0 1rem 0 0.7rem;
    background: var(--red);
    color: var(--white) !important;
    border: 1px solid transparent;
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-user:hover {
    background: var(--yellow);
    color: #111 !important;
    transform: translateY(-1px);
}

.btn-user-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.btn-user-icon svg {
    width: 14px;
    height: 14px;
}

.btn-user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--white);
}

.hero {
    position: relative;
    min-height: min(100vh, 920px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background: #050303;
}

.hero-media,
.milestones-bg,
.footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img,
.milestones-bg img,
.footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media img {
    object-position: 12% center;
    transform: scale(1.04);
    filter: contrast(1.08) saturate(1.05);
    animation: hero- ken 18s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 70% at 18% 55%, rgba(210, 31, 45, 0.18), transparent 60%),
        radial-gradient(ellipse 40% 50% at 70% 40%, rgba(255, 184, 0, 0.08), transparent 55%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 38%, rgba(0, 0, 0, 0.72) 72%, rgba(0, 0, 0, 0.88) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 35%, rgba(0, 0, 0, 0.55) 78%, rgba(0, 0, 0, 0.92) 100%);
}

.hero-embers {
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background:
        radial-gradient(ellipse 90% 70% at 50% 100%, rgba(255, 100, 20, 0.35), transparent 70%),
        radial-gradient(ellipse 50% 40% at 25% 100%, rgba(210, 31, 45, 0.28), transparent 65%);
    pointer-events: none;
    animation: ember-pulse 4.5s ease-in-out infinite;
}

.hero-fireline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #ff6a00 20%, var(--yellow) 50%, #ff6a00 80%, transparent 100%);
    box-shadow:
        0 0 18px 4px rgba(255, 140, 0, 0.55),
        0 -8px 28px 2px rgba(210, 31, 45, 0.35);
    pointer-events: none;
}

.hero-sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-sparks span {
    position: absolute;
    bottom: -10%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 8px 2px rgba(255, 184, 0, 0.75);
    opacity: 0;
    animation: spark-rise 7s linear infinite;
}

.hero-sparks span:nth-child(1) { left: 12%; animation-delay: 0s; animation-duration: 6.5s; }
.hero-sparks span:nth-child(2) { left: 24%; width: 2px; height: 2px; animation-delay: 1.2s; animation-duration: 8s; }
.hero-sparks span:nth-child(3) { left: 38%; animation-delay: 2.1s; animation-duration: 7.2s; }
.hero-sparks span:nth-child(4) { left: 52%; width: 4px; height: 4px; animation-delay: 0.6s; animation-duration: 9s; }
.hero-sparks span:nth-child(5) { left: 66%; animation-delay: 3s; animation-duration: 6.8s; }
.hero-sparks span:nth-child(6) { left: 74%; width: 2px; height: 2px; animation-delay: 1.8s; animation-duration: 7.8s; }
.hero-sparks span:nth-child(7) { left: 84%; animation-delay: 4.2s; animation-duration: 8.4s; }
.hero-sparks span:nth-child(8) { left: 92%; width: 3px; height: 3px; animation-delay: 2.6s; animation-duration: 6.2s; }

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 6.5rem 0 5.5rem;
    max-width: 760px;
    text-align: left;
    margin-left: max(1.25rem, calc((100% - 1120px) / 2 + 36%));
    animation: rise-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-eyebrow {
    margin: 0 0 1.1rem;
    color: var(--yellow);
    font-family: var(--font-body);
    font-size: clamp(0.72rem, 1.4vw, 0.88rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
    animation: rise-in 0.9s ease 0.1s both;
}

.hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 9vw, 6.8rem);
    font-weight: 700;
    line-height: 0.88;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-style: italic;
    text-shadow:
        0 4px 28px rgba(0, 0, 0, 0.75),
        0 1px 0 rgba(0, 0, 0, 0.4);
}

.hero-title span {
    display: block;
    animation: rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title span:nth-child(1) { animation-delay: 0.15s; }
.hero-title span:nth-child(2) { animation-delay: 0.25s; }
.hero-title span:nth-child(3) { animation-delay: 0.35s; }
.hero-title span:nth-child(4) { animation-delay: 0.45s; }

.hero-title .accent {
    color: var(--yellow);
    text-shadow:
        0 0 24px rgba(255, 184, 0, 0.25),
        0 4px 28px rgba(0, 0, 0, 0.75);
}

.hero-tagline {
    margin: 1.35rem 0 2rem;
    font-size: clamp(0.78rem, 1.5vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
    animation: rise-in 0.9s ease 0.55s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.95rem;
    animation: rise-in 0.9s ease 0.65s both;
}

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 1.55rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
    background: #292d5b;
    color: var(--white);
    transform: skewX(-14deg);
    box-shadow: 0 10px 28px rgba(41, 45, 91, 0.35);
}

.btn-primary span {
    display: inline-block;
    transform: skewX(14deg);
}

.btn-primary:hover {
    background: var(--yellow);
    color: #111;
    transform: skewX(-14deg) translateY(-3px);
    box-shadow: 0 14px 32px rgba(255, 184, 0, 0.35);
}

.btn-ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.milestones {
    position: relative;
    padding: 4.5rem 0;
    isolation: isolate;
}

.milestones-bg {
    opacity: 0.55;
}

.milestones::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.88));
}

.milestones-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.milestone {
    padding: 0.5rem 1.5rem;
    animation: fade-up 0.8s ease both;
}

.milestone:nth-child(2) {
    animation-delay: 0.12s;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.milestone:nth-child(3) {
    animation-delay: 0.22s;
}

.milestone-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--yellow);
    color: #111;
    margin-bottom: 1rem;
}

.milestone-icon svg {
    width: 24px;
    height: 24px;
}

.milestone h2 {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: 1.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.milestone p {
    margin: 0.15rem 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.membership {
    padding: 5rem 0 4.5rem;
    background:
        radial-gradient(circle at top right, rgba(200, 16, 46, 0.18), transparent 35%),
        #0b0b0b;
}

.timetable-section {
    padding: 0 0 4.5rem;
    background: #0b0b0b;
}

.membership,
.timetable-section,
.apply-section,
#membership,
#timetable,
#apply {
    scroll-margin-top: 90px;
}

.section-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.eyebrow {
    margin: 0 0 0.5rem;
    color: var(--yellow);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-copy {
    margin: 0.7rem auto 0;
    max-width: 520px;
    color: var(--muted);
}

.admin-fee-banner {
    margin: 0 auto 2rem;
    width: min(760px, 100%);
    padding: 0.85rem 1rem;
    background: var(--yellow);
    color: #111;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: skewX(-8deg);
    animation: pulse-soft 3.5s ease-in-out infinite;
}

.admin-fee-banner > * {
    transform: skewX(8deg);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.package-card {
    background: linear-gradient(180deg, #161616, #0d0d0d);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 197, 24, 0.45);
}

.package-card.featured {
    border-color: rgba(41, 45, 91, 0.7);
    box-shadow: 0 18px 40px rgba(41, 45, 91, 0.12);
}

.package-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: #292d5b;
    cursor: pointer;
    border: 0;
    width: 100%;
    text-align: left;
    color: inherit;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.package-card-head:hover,
.package-card-head:focus {
    filter: brightness(1.08);
    outline: none;
}

.package-card-head:focus-visible {
    box-shadow: inset 0 0 0 2px var(--yellow);
}

.package-head-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 0;
}

.package-head-hint {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.package-thumb {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.package-card-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.package-items {
    padding: 0.35rem 0;
    max-height: 315px;
    overflow-y: auto;
}

.package-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

a.package-item-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

a.package-item-link:hover {
    background: rgba(255, 184, 0, 0.08);
}

a.package-item-link:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: -2px;
}

.package-item:last-child {
    border-bottom: 0;
}

.item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.item-name {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.item-meta small {
    color: var(--yellow-soft);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.item-price {
    flex-shrink: 0;
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.03em;
}

.empty-packages {
    text-align: center;
    color: var(--muted);
}

body.modal-open {
    overflow: hidden;
}

.package-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.package-modal[hidden] {
    display: none;
}

.package-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(4px);
}

.package-modal-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(640px, 100%);
    max-height: min(88vh, 760px);
    overflow: hidden;
    background: linear-gradient(180deg, #181818, #0d0d0d);
    border: 1px solid rgba(255, 184, 0, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    animation: modal-in 0.25s ease both;
}

.package-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 5;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.package-modal-close:hover,
.package-modal-close:focus {
    background: var(--red);
    outline: none;
}

.package-modal-close:focus-visible {
    box-shadow: 0 0 0 2px var(--yellow);
}

.package-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0 1.25rem 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.package-modal-head {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 -1.25rem 0;
    padding: 1.15rem 3.25rem 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #1a1a1a 0%, #181818 85%, rgba(24, 24, 24, 0.96) 100%);
}

.package-modal-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.package-modal-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.package-modal-benefits,
.package-modal-items {
    padding-top: 1rem;
}

.package-modal-benefits h4,
.package-modal-items h4 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--yellow);
}

.package-modal-benefits-content {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.package-modal-benefits-content ul,
.package-modal-benefits-content ol {
    margin: 0.25rem 0 0.75rem;
    padding-left: 1.1rem;
}

.package-modal-benefits-content p {
    margin: 0 0 0.55rem;
}

.package-modal-items .package-item {
    padding-inline: 0;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.site-footer {
    position: relative;
    padding: 3.5rem 0 3rem;
    isolation: isolate;
    background: #000;
}

.footer-bg {
    opacity: 0.35;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.92));
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.footer-line {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    color: var(--white);
    font-size: 0.98rem;
}

.footer-icon,
.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
}

.footer-icon {
    background: var(--yellow);
    color: #111;
}

.footer-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.wa-badge {
    margin-left: 0.35rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #25d366;
    color: #053b1a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.social-icon {
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.social-icon.web {
    background: #333;
}

.cta-banner {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 52px;
    padding: 0.85rem 1.4rem;
    background: #292d5b;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-style: italic;
    clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.cta-banner:hover {
    background: var(--yellow);
    color: #111;
    transform: translateX(4px);
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-soft {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.35);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 184, 0, 0);
    }
}

@keyframes hero-ken {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.1) translate3d(-1.5%, 1%, 0);
    }
}

@keyframes ember-pulse {
    0%,
    100% {
        opacity: 0.75;
    }
    50% {
        opacity: 1;
    }
}

@keyframes spark-rise {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.6);
    }
    12% {
        opacity: 1;
    }
    70% {
        opacity: 0.85;
    }
    100% {
        opacity: 0;
        transform: translate3d(18px, -110vh, 0) scale(1.2);
    }
}

@media (max-width: 900px) {
    .packages-grid,
    .footer-grid,
    .milestones-grid {
        grid-template-columns: 1fr;
    }

    .milestone:nth-child(2) {
        border-left: 0;
        border-right: 0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        padding-block: 1.5rem;
    }

    .milestone {
        padding-inline: 0;
        text-align: center;
    }

    .milestone-icon {
        margin-inline: auto;
    }

    .hero-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 640px;
        padding: 5.5rem 0 4.5rem;
    }

    .hero-media img {
        object-position: 22% center;
    }

    .hero-overlay {
        background:
            radial-gradient(ellipse 70% 55% at 20% 60%, rgba(210, 31, 45, 0.2), transparent 60%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.78) 100%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55));
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-block;
    }

    .header-nav {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(8, 8, 8, 0.98);
        border-bottom: 1px solid rgba(255, 184, 0, 0.18);
        padding: 0.5rem 1rem 1rem;
    }

    .header-nav.is-open {
        display: flex;
    }

    .header-nav a {
        padding: 0.85rem 0.4rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .btn-login,
    .btn-user {
        clip-path: none;
        text-align: center;
        max-width: none;
        justify-content: flex-start;
    }

    .brand-text small {
        display: none;
    }

    .hero {
        min-height: 88vh;
        align-items: end;
    }

    .hero-content {
        width: calc(100% - 2rem);
        margin: 0 auto 2.75rem;
        padding: 0;
    }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 4.2rem);
    }

    .hero-tagline {
        letter-spacing: 0.16em;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-ghost {
        min-height: 46px;
        padding: 0 1.2rem;
        font-size: 0.8rem;
    }

    .hero-media img {
        object-position: 28% center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media img,
    .hero-embers,
    .hero-sparks span,
    .hero-content,
    .hero-eyebrow,
    .hero-title span,
    .hero-tagline,
    .hero-actions {
        animation: none !important;
    }

    .hero-media img {
        transform: none;
    }
}

/* Terms & Conditions public page */
.terms-section {
    padding: 4rem 0 4rem;
    min-height: 70vh;
    background: linear-gradient(180deg, #140f0c 0%, #1d1612 45%, #120e0b 100%);
}

.terms-inner {
    max-width: 900px;
}

.terms-content {
    color: rgba(255, 245, 230, 0.88);
    font-family: "Barlow", sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 214, 160, 0.12);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
}

.terms-content h1,
.terms-content h2,
.terms-content h3,
.terms-content h4 {
    font-family: "Oswald", sans-serif;
    color: #fff4df;
    margin-top: 1.25rem;
}

.terms-content p {
    margin-bottom: 0.85rem;
}

.terms-content ul,
.terms-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.terms-content a {
    color: #f0b56a;
}

/* Group Classes Time Table */
.timetable-board {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.timetable-brand {
    text-align: center;
    margin-bottom: 1.25rem;
}

.timetable-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.timetable-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
}

.timetable-grid {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 8px;
    table-layout: fixed;
}

.timetable-grid th,
.timetable-grid td {
    padding: 0.75rem 0.45rem;
    text-align: center;
    vertical-align: middle;
    border-radius: 10px;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.timetable-grid thead th,
.timetable-grid tbody th {
    background: #292d5b;
    color: #fff;
    font-size: clamp(0.72rem, 1.4vw, 0.92rem);
}

.timetable-grid tbody th {
    width: 15%;
}

.timetable-grid td {
    background: #fff200;
    color: #1a237e;
    font-size: clamp(0.68rem, 1.3vw, 0.86rem);
    min-height: 58px;
}

.timetable-grid td.cell-kids {
    background: #292d5b;
    color: #fff;
}

.timetable-grid td.cell-empty {
    background: #fff200;
    color: transparent;
}

@media (max-width: 767.98px) {
    .timetable-grid {
        border-spacing: 5px;
        min-width: 680px;
    }

    .timetable-grid th,
    .timetable-grid td {
        padding: 0.58rem 0.28rem;
        border-radius: 8px;
    }
}

/* Membership application CTA (after timetable) */
.apply-section {
    padding: 4.5rem 0 5rem;
    background: #0b0b0b;
    text-align: center;
}

.apply-inner {
    width: min(720px, 100%);
    margin: 0 auto;
}

.apply-points {
    list-style: none;
    margin: 0 auto 2rem;
    padding: 0;
    max-width: 520px;
    text-align: left;
    display: grid;
    gap: 0.85rem;
}

.apply-points li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--muted);
    font-family: "Barlow", sans-serif;
    font-size: 1.02rem;
    line-height: 1.45;
}

.apply-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 210, 60, 0.18);
}

.apply-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.apply-next {
    min-width: min(420px, 100%);
}

.apply-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.apply-note a {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.apply-note a:hover {
    color: #fff;
}

@media (max-width: 767.98px) {
    .apply-section {
        padding: 3.5rem 0 4rem;
    }

    .apply-points {
        padding: 0 0.25rem;
    }
}
