html, body { overflow-x: hidden !important; width: 100%; max-width: 100%; margin: 0; padding: 0; }
/* ===== RESET & VARIABLES ===== */
:root {
    --bg-main: #0f0f11;
    --bg-card: #18181b;
    --gold: #c5a059;
    --gold-hover: #d4af68;
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --border: #27272a;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

body.loading {
    overflow: hidden;
}

.overflow-hidden {
    overflow: hidden;
}

/* ===== LAYOUT & TYPOGRAPHY ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

/* ===== INTRO CINEMATIC OVERLAY ===== */
/* --- MODAL (Booking) --- */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center; justify-content: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 20px; right: 25px;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.3s;
}
.modal-close:hover {
    color: white;
}
.modal-content h3 {
    margin-bottom: 15px;
    font-size: 2rem;
}
.modal-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}
.time-slots {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 30px 0;
    text-align: center;
}
.time-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.time-col strong {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 10px;
    display: block;
}
.time-slot {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 5px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.time-slot:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.5);
    transform: translateY(-2px);
}
.time-slot.selected {
    background: var(--gold);
    border-color: var(--gold);
    color: black;
    font-weight: 600;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}
.time-slot.unavailable {
    opacity: 0.3;
    pointer-events: none;
    text-decoration: line-through;
}

.intro-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.7, 0, 0.3, 1), visibility 1s;
}
.intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}
.intro-logo {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    letter-spacing: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}
.intro-overlay.active .intro-logo {
    opacity: 1;
    transform: translateY(0);
}
.intro-line {
    width: 0;
    height: 1px;
    background: var(--gold);
    margin-top: 20px;
    transition: width 1.5s cubic-bezier(0.7, 0, 0.3, 1);
}
.intro-overlay.active .intro-line {
    width: 200px;
}

/* ===== TYPOGRAPHY ===== */
.title-serif, .section-title, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    color: #fff;
}

.text-center {
    text-align: center;
}

/* ===== NAVBAR ===== */
.gym-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
}
.gym-nav.scrolled {
    background: rgba(15, 15, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}
.nav-links a.active {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
}

.btn-gold {
    background: var(--gold);
    padding: 12px 24px;
    border: none;
    color: var(--bg-main) !important;
    font-weight: 600;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.btn-gold:hover {
    background: var(--gold-hover);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
    color: var(--bg-main) !important;
}

.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--gold);
    padding: 12px 24px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.full-width {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    transform: scale(1.1) translateY(0);
    transition: transform 3s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}
/* Ensure the image covers everything and is darkened for readability */
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* A dark gradient overlay to guarantee white text is ALWAYS readable */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15,15,17,0.8) 0%, rgba(15,15,17,0.3) 50%, rgba(15,15,17,0.9) 100%);
    z-index: 1;
}

/* When intro finishes, background slowly zooms to 1.0 */
body:not(.loading) .hero-bg {
    transform: scale(1) translateY(0);
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5); /* Extra safety for text readability */
}

/* Cinematic text reveal */
.cinematic-text {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.cinematic-text .word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.2s;
}
body:not(.loading) .cinematic-text .word {
    transform: translateY(0);
    opacity: 1;
}
body:not(.loading) .cinematic-text .word:nth-child(1) { transition-delay: 0.1s; }
body:not(.loading) .cinematic-text .word:nth-child(2) { transition-delay: 0.3s; }
body:not(.loading) .cinematic-text .word:nth-child(3) { transition-delay: 0.5s; }

.cinematic-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
body:not(.loading) .cinematic-fade {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger intro elements */
body:not(.loading) .hero-content h1.cinematic-fade { transition-delay: 0.3s; }
body:not(.loading) .hero-content p.cinematic-fade { transition-delay: 0.6s; }
body:not(.loading) .hero-content .btn-outline-gold { transition-delay: 0.9s; }
body:not(.loading) .hero-content .btn-gold { transition-delay: 0.9s; }

.hero-sub {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Hero Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 3px;
    animation: bounce 2s infinite;
    z-index: 2;
}
.scroll-indicator::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: var(--gold);
    margin: 10px auto 0;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* ===== SCROLL PROGRESS BAR (PREMIUM FEATURE) ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gold);
    width: 0%;
    z-index: 10001; /* Above navbar */
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.8);
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 5%;
    position: relative;
    z-index: 2;
    background: var(--bg-main);
}
.dark-bg {
    background-color: #050505;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.stat {
    background: var(--bg-card);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    /* 3D Transform Prep */
    transform-style: preserve-3d;
}
.stat.glow-hover:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.15);
}
.stat .num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 10px;
    transform: translateZ(20px);
}
.stat .label {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    transform: translateZ(10px);
}

/* ===== BENTO BOX GALLERY ===== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.bento-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-card);
    transition: box-shadow 0.4s ease;
    /* 3D Transform Prep */
    transform-style: preserve-3d;
}
.bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: brightness(0.6);
}
.bento-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}
.bento-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateZ(30px);
    pointer-events: none;
}
.bento-overlay h3 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}
.bento-overlay p {
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}
.bento-card:hover .bento-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* Perfect Bento spans (7 items total) */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}
.bento-tall {
    grid-column: span 1;
    grid-row: span 2;
}
.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* ===== FITNESS CALCULATOR ===== */
.calc-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}
.calc-content {
    flex: 1;
}
.calc-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.05rem;
}
.sliders-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.slider-group {
    background: var(--bg-main);
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
}
.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 500;
}
.slider-header span:last-child {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}
.styled-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 5px;
    outline: none;
}
.styled-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
    transition: transform 0.2s;
}
.styled-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-result {
    width: 300px;
    background: #000;
    border: 1px solid var(--gold);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(197,160,89,0.1);
    transform-style: preserve-3d;
}
.bmi-score {
    margin-bottom: 20px;
    transform: translateZ(20px);
}
#bmiNumber {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--gold);
    display: block;
    line-height: 1;
    transition: color 0.3s;
}
.bmi-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 10px;
}
.bmi-verdict {
    color: #fff;
    font-size: 0.95rem;
    min-height: 60px;
    transform: translateZ(10px);
}

/* ===== SCHEDULE DUAL LAYOUT ===== */
.schedule-split {
    display: grid;
    grid-template-columns: 35% 60%;
    gap: 5%;
    margin-top: 50px;
}

.glow-panel {
    background: linear-gradient(145deg, #18181b, #0f0f11);
    border: 1px solid var(--border);
    padding: 40px;
    position: relative;
    border-radius: 10px;
    transform-style: preserve-3d;
}
.glow-panel::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    background: linear-gradient(45deg, transparent, rgba(197,160,89,0.3), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
    border-radius: 10px;
}
.glow-panel:hover::before {
    opacity: 1;
}

.panel-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    transform: translateZ(15px);
}
.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #ddd;
    transform: translateZ(5px);
}
.hours-item span:last-child {
    color: var(--gold);
    font-weight: 500;
}
.panel-note {
    margin-top: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.tabs-header {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 15px;
    font-size: 1rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    color: var(--gold);
}
.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}
.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}











.class-info h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 2px;
}
.class-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}


/* ===== SCHEDULE ROW DESKTOP ===== */
.schedule-row {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, padding-left 0.3s;
}
.schedule-row:hover {
    background: rgba(255,255,255,0.02);
    padding-left: 10px;
}
.schedule-row .time {
    font-size: 1.5rem;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    width: 80px;
}
.schedule-row .class-info {
    flex: 1;
}
/* ================================ */

/* ===== PRICING (DECK OF CARDS & TOGGLE) ===== */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
}
.period-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 30px;
    transition: all 0.3s;
}
.period-btn:hover {
    border-color: var(--gold);
    color: #fff;
}
.period-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 0 15px rgba(197,160,89,0.3);
}

.pricing-deck {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 650px;
    perspective: 1500px;
}

.price-card {
    position: absolute;
    width: 350px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    
    opacity: 0;
    transform: scale(0.8) translateY(100px) rotateY(20deg);
    transition: opacity 1s ease, border-color 0.4s, box-shadow 0.4s, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
    transform-style: preserve-3d;
}

.pricing-deck.spread .price-card {
    opacity: 1;
    /* initial transform is handled by inline CSS --spread-x, but 3D tilt will override it smoothly */
    transform: translateX(var(--spread-x)) scale(1) translateY(0) rotate(var(--spread-rot));
}

.pricing-deck.spread .price-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 10 !important;
}

.price-card.premium {
    border-color: var(--gold);
}

.tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(40px);
    background: var(--gold);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(197,160,89,0.3);
    border-radius: 20px;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
    transform: translateZ(30px);
}

.card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    transition: opacity 0.3s;
}
.price span:not(.price-val) {
    font-size: 1rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

.features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
    transform: translateZ(20px);
}

.features li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
    color: #ddd;
}

.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
}

.features li.disabled {
    color: #555;
}
.features li.disabled::before {
    content: "✕";
    color: #555;
}

.price-card .btn-outline-gold,
.price-card .btn-gold {
    transform: translateZ(30px);
}

/* ===== FADE IN ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FOOTER ===== */
.gym-footer {
    background: #000;
    padding: 40px 5%;
    text-align: center;
    border-top: 1px solid var(--border);
}
.gym-footer .logo {
    margin-bottom: 10px;
}
.gym-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    html { cursor: auto; } /* Disable custom cursor on mobile */
    .cursor-dot, .cursor-outline { display: none; }
    
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    .bento-tall, .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .pricing-deck {
        flex-direction: column;
        min-height: auto;
    }
    .price-card {
        position: relative;
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
        transform: none !important;
        opacity: 1;
    }
    .pricing-deck.spread .price-card {
        transform: none !important;
    }
    
    .calc-wrapper {
        flex-direction: column;
    }
    .calc-result {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-tall, .bento-wide {
        grid-column: span 1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    .schedule-split {
        grid-template-columns: 1fr;
    }
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: rgba(15, 15, 17, 0.95);
    border-left: 4px solid var(--gold);
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}
.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* ===== DIGITAL CONCIERGE ===== */
.concierge-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.concierge-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.4);
    background: #000;
}
.concierge-icon {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--gold);
}
.concierge-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid rgba(197, 160, 89, 0.3);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 50px rgba(0,0,0,0.8);
}
.concierge-panel.active {
    right: 0;
}
.concierge-header {
    padding: 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.concierge-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
}
.concierge-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}
.concierge-body {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
}
.concierge-action {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.3s;
}
.concierge-action:hover {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.05);
}


/* Mobile Nav Fixes */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 10000;
}
.hamburger span {
    width: 30px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}
.nav-links.nav-active {
    display: flex !important;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0f0f11;
    flex-direction: column !important;
    align-items: center;
    padding: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--border);
}
@media (max-width: 1024px) {
    .pricing-toggle {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .period-btn {
        flex: 1 1 40%;
        min-width: 120px;
        margin: 0 !important;
        font-size: 0.9rem;
        padding: 10px;
    }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links { display: none !important; }
    
    .hero-content {
        width: 90%;
        padding: 0 5%;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-sub {
        font-size: 1rem;
    }
    
    .price-card {
        max-width: 90vw;
        margin: 0 auto 30px auto;
        transform: scale(1) !important;
    }
    
    .bento-card img {
        object-position: center;
    }
}

/* === NEW GYM ANIMATIONS & GRID OVERHAUL === */


@keyframes pulse-btn {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.btn-gold {
    animation: pulse-btn 2.5s infinite;
}

@media (max-width: 768px) {
    .pricing-grid, .bento-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 15px !important;
    }
    .price-card, .bento-item {
        width: 100% !important;
        margin: 0 !important;
        min-height: 250px !important;
        transform: none !important;
    }
    .price-card:hover {
        transform: translateY(-5px) !important;
    }
    .features li { font-size: 1.1rem !important; margin-bottom: 15px !important; }
    .hero-title { font-size: 2.8rem !important; }
    
    .period-toggle {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 30px;
        background: transparent !important;
    }
    .toggle-btn {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 8px !important;
        background: #111;
        border: 1px solid var(--border);
    }
    .toggle-btn.active {
        background: var(--gold);
        color: #000;
    }
}

/* gym-ui-fixes-v2 */
.gym-abstract-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    /* Hamburger and Nav */
    .gym-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 70px !important;
        padding: 0 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        background: rgba(15, 15, 17, 0.96) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
        z-index: 10000 !important;
        box-sizing: border-box !important;
    }
    .nav-left { flex-direction: row !important; justify-content: space-between; align-items: center; width: 100%; }
    .hamburger { display: flex !important; flex-direction: column; cursor: pointer; gap: 5px; position: absolute; right: 20px; top: 22px; z-index: 10001; }
    .hamburger span { width: 25px; height: 3px; background: #fff; transition: 0.3s; border-radius: 2px; }
    
    .nav-links {
        display: none !important;
        flex-direction: column !important;
        width: 100%;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        background: rgba(15, 15, 17, 0.98) !important;
        padding: 20px !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.8) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
        box-sizing: border-box !important;
        z-index: 9999 !important;
        gap: 8px !important;
    }
    .nav-links.nav-active { display: flex !important; }
    .nav-links a {
        padding: 12px 16px !important;
        font-size: 1.05rem !important;
        color: #e4e4e7 !important;
        text-decoration: none !important;
        border-radius: 8px !important;
        background: rgba(255,255,255,0.03) !important;
        border: 1px solid rgba(255,255,255,0.05) !important;
        transition: all 0.25s ease !important;
    }
    .nav-links a:hover, .nav-links a.active {
        color: var(--gold, #d4af37) !important;
        border-color: rgba(212, 175, 55, 0.4) !important;
        background: rgba(212, 175, 55, 0.1) !important;
    }
    
    .nav-right { display: none !important; }

    /* Concierge Mobile */
    .conciergePanel {
        width: 90% !important;
        left: 5% !important;
        right: auto !important;
        bottom: 10px !important;
        transform: translateY(150%);
        border-radius: 20px !important;
    }
    .conciergePanel.active {
        transform: translateY(0);
    }
    .concierge-action {
        padding: 15px !important;
        gap: 15px !important;
    }

    /* Pricing Overhaul */
    .pricing-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }
    .price-card {
        order: 2;
        width: 100% !important;
        margin: 0 !important;
        transform: none !important;
    }
    .price-card.premium, .price-card[style*="scale(1.05)"] {
        order: 1 !important; /* Forces Premium to the top */
    }
    .period-toggle {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        width: 100% !important;
    }
    .toggle-btn {
        flex: 1 !important;
        min-width: 30% !important;
        margin: 0 !important;
        font-size: 0.8rem !important;
        padding: 10px 5px !important;
    }

    /* Schedule Scalability */
    .schedule-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }
    .schedule-table {
        min-width: 600px; /* Forces horizontal scroll on phones */
        font-size: 0.85rem;
    }
}



    
    .filter-tag, .tab-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        margin-bottom: 0 !important;
    }
    
    /* Make schedule row touch-friendly */
    
    
}

/* === MOBILE SCHEDULE FIXES === */

@media (max-width: 900px) {
    /* FIX FOR HOURS PANEL ON MOBILE */
    .glow-panel {
        padding: 20px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .hours-item {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 5px !important;
        margin-bottom: 12px !important;
        width: 100% !important;
    }
    .hours-item span:first-child {
        font-weight: 600 !important;
        font-size: 0.95rem !important;
    }
    .hours-item span:last-child {
        font-size: 0.85rem !important;
        color: var(--gold) !important;
        text-align: left !important;
    }

    /* Horizontal scrolling for tabs */
    .filter-tags, .tabs-header {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important; /* Hide scrollbar */
        padding-bottom: 5px !important; 
        margin-bottom: 10px !important;
        width: 100% !important;
        border-bottom: none !important;
    }
    .tabs-header::-webkit-scrollbar {
        display: none !important;
    }
    
    .filter-tag, .tab-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        border-bottom: none !important;
        padding: 8px 15px !important;
        border-radius: 20px !important;
        margin-right: 5px !important;
    }
    .tab-btn::after {
        display: none !important;
    }
    .tab-btn.active {
        background: rgba(197, 160, 89, 0.15) !important;
        color: var(--gold) !important;
    }

    /* COMPACT SCHEDULE ROW CARDS */
    .full-schedule-grid {
        padding: 10px 5px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .schedule-row {
        /* display: flex is set by JS, but we use wrap to let button fall below */
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        padding: 12px !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        border-radius: 8px !important;
        margin-bottom: 12px !important;
        background: rgba(255,255,255,0.05) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .schedule-row:hover {
        padding-left: 12px !important; /* reset hover on mobile */
    }
    .schedule-row .time {
        font-size: 1.1rem !important;
        color: var(--gold) !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin-right: 12px !important;
        font-family: 'Playfair Display', serif !important;
        font-weight: 600 !important;
    }
    .schedule-row .class-info {
        flex: 1 1 0% !important;
        min-width: 0 !important; /* Prevents overflow */
    }
    .class-info h4 {
        font-size: 0.95rem !important;
        margin-bottom: 2px !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }
    .class-info p {
        font-size: 0.75rem !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
    }
    .schedule-row .btn-outline-gold {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-top: 12px !important;
        text-align: center !important;
        padding: 10px 0 !important;
        box-sizing: border-box !important;
        border-radius: 6px !important;
        font-size: 0.9rem !important;
        line-height: 1 !important;
        display: block !important;
    }
}
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-tall, .bento-wide {
        grid-column: span 1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    .schedule-split {
        grid-template-columns: 1fr;
    }
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: rgba(15, 15, 17, 0.95);
    border-left: 4px solid var(--gold);
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}
.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* ===== DIGITAL CONCIERGE ===== */
.concierge-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.concierge-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.4);
    background: #000;
}
.concierge-icon {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--gold);
}
.concierge-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid rgba(197, 160, 89, 0.3);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 50px rgba(0,0,0,0.8);
}
.concierge-panel.active {
    right: 0;
}
.concierge-header {
    padding: 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.concierge-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
}
.concierge-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}
.concierge-body {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
}
.concierge-action {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.3s;
}
.concierge-action:hover {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.05);
}


/* Mobile Nav Fixes */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 10000;
}
.hamburger span {
    width: 30px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}
.nav-links.nav-active {
    display: flex !important;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0f0f11;
    flex-direction: column !important;
    align-items: center;
    padding: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--border);
}
@media (max-width: 1024px) {
    .pricing-toggle {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .period-btn {
        flex: 1 1 40%;
        min-width: 120px;
        margin: 0 !important;
        font-size: 0.9rem;
        padding: 10px;
    }
}
