/* ==========================================================================
   HYBRID CLUB MX — MOBILE-FIRST ATHLETIC DESIGN SYSTEM
   Typography: Plus Jakarta Sans (Display) + Poppins (Body)
   Palette: Original Hybrid Green (#5bb56a from logo) + Performance Obsidian Black
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Original Signature Hybrid Club Green (#5bb56a - Matched to official Logo) */
    --emerald-500: #5bb56a;
    --emerald-400: #5bb56a;
    --emerald-300: #72c57f;
    --emerald-600: #4a9e58;
    --emerald-700: #3b8247;
    --emerald-900: #1b3d22;
    --emerald-subtle: rgba(91, 181, 106, 0.12);
    --emerald-border: rgba(91, 181, 106, 0.28);
    --emerald-glow: none;

    /* Performance Carbon & Obsidian */
    --carbon-950: #07080a;
    --carbon-900: #0d1015;
    --carbon-850: #13171f;
    --carbon-800: #1a202b;
    --carbon-700: #242c3b;

    /* Neutrals */
    --chalk-white: #ffffff;
    --bone-white: #f0f2f5;
    --text-primary: #ffffff;
    --text-secondary: #c5cbd5;
    --text-muted: #7c8494;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.16);
    --border-bold: rgba(255, 255, 255, 0.28);

    --bg-base: var(--carbon-950);
    --text-main: var(--text-primary);

    /* Original Typography Restored */
    --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Poppins', -apple-system, sans-serif;
    --font-mono: 'Plus Jakarta Sans', monospace;

    /* Crisp Precision Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;

    /* Transitions */
    --ease-snappy: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= RESET & MOBILE-FIRST BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    background-color: var(--carbon-950);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--carbon-950);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

::selection {
    background: var(--emerald-500);
    color: #000;
}

/* ================= BACKGROUND CANVAS (CLEAN ATHLETIC GRID) ================= */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: var(--carbon-950);
    background-image: 
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(91, 181, 106, 0.04) 0%, transparent 65%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 64px 64px, 64px 64px;
    pointer-events: none;
}

.orb, .noise-overlay {
    display: none !important;
}

/* Universal Utilities */
.hidden { display: none !important; }
.w-full { width: 100%; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.center { text-align: center; }

.text-gradient {
    color: var(--emerald-500);
    display: inline-block;
    background: none;
    -webkit-text-fill-color: initial;
}

/* ================= TOP NAVIGATION (STICKY & TOUCH OPTIMIZED) ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(13, 16, 21, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    height: 62px;
    background: rgba(7, 8, 10, 0.97);
    border-bottom: 1px solid var(--border-medium);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.logo-link:hover .nav-logo {
    opacity: 0.95;
    transform: scale(1.02);
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.4rem 0;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--chalk-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-500);
    transition: width 0.25s var(--ease-snappy);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Touch-Friendly Athletic Buttons */
.modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    border: none;
    line-height: 1;
}

.modern-btn.primary {
    background: var(--emerald-500);
    color: #000000;
    font-weight: 800;
}

.modern-btn.primary:hover,
.modern-btn.primary:active {
    background: var(--emerald-300);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.modern-btn.outline {
    background: transparent;
    color: var(--chalk-white);
    border: 1px solid var(--border-medium);
}

.modern-btn.outline:hover,
.modern-btn.outline:active {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--chalk-white);
    transform: translateY(-2px);
}

.nav-btn {
    min-height: 42px;
    padding: 0.55rem 1.3rem;
    font-size: 0.85rem;
}

/* Hamburger Touch Target (Min 44x44px for Apple/Google mobile standards) */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
    z-index: 1002;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--chalk-white);
    border-radius: 2px;
    transition: var(--transition-fast);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================= EDITORIAL HERO (MOBILE-OPTIMIZED) ================= */
.hero {
    min-height: auto;
    padding: 100px 1.25rem 40px 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.35rem 0.85rem;
    background: var(--carbon-850);
    border: 1px solid var(--emerald-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--emerald-400);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    max-width: 100%;
    line-height: 1.3;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald-500);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 8.5vw, 4.8rem);
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--chalk-white);
    margin-bottom: 1.4rem;
}

.hero-title .solid-text {
    display: block;
}

.hero-title .outline-text {
    display: inline;
    color: var(--emerald-500);
    -webkit-text-stroke: initial;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 1.8rem;
    line-height: 1.65;
}

.hero-subtitle p {
    margin-bottom: 0.65rem;
}

.hero-subtitle p:last-child {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-actions .modern-btn {
    width: 100%;
}

/* Athletic Telemetry Strip */
.hero-telemetry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    width: 100%;
    max-width: 600px;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.telemetry-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.telemetry-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--chalk-white);
    line-height: 1.1;
}

.telemetry-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Hero Photography Stage */
.hero-visual {
    width: 100%;
    position: relative;
}

.image-wrapper {
    width: 100%;
    height: 320px;
    border-radius: var(--radius-md);
    background: url('hero-image.webp') center/cover, url('hero-image-opt.jpg') center/cover;
    position: relative;
    border: 1px solid var(--border-medium);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,7,8,0.02) 0%, rgba(6,7,8,0.12) 100%);
    pointer-events: none;
}

.floating-stat {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(13, 16, 21, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--emerald-500);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
}

.floating-stat.stat-2 {
    display: none;
}

/* ================= REACT BITS CURVED LOOP ================= */
.curved-loop-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 2rem 0 0 0;
    padding: 1rem 0;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(91, 181, 106, 0.04) 0%, transparent 70%);
}

.curved-loop-wrap:active {
    cursor: grabbing;
}

.curved-loop-svg {
    width: 100%;
    height: 140px;
    display: block;
    overflow: visible;
}

.curved-loop-text {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    fill: #ffffff !important;
    dominant-baseline: central;
    filter: none;
}

@media (max-width: 768px) {
    .curved-loop-svg {
        height: 100px;
    }
    .curved-loop-text {
        font-size: 1.4rem !important;
        letter-spacing: 2px !important;
    }
}

/* ================= SECTIONS & HEADERS ================= */
.bento-section,
.events-section {
    padding: 50px 1.25rem;
    max-width: 1440px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 2.2rem;
}

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

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 6.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--chalk-white);
    line-height: 1.1;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.6rem;
    line-height: 1.5;
}

/* Cards System */
.glass-card {
    background: var(--carbon-900);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
}

.glass-card:hover {
    border-color: var(--border-bold);
    transform: translateY(-2px);
}

.glass-card::after { display: none !important; }

/* ================= MEMBERSHIP CARDS ================= */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.bento-card {
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card .card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: var(--chalk-white);
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

.icon-circle {
    width: 44px;
    height: 44px;
    background: var(--carbon-850);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    color: var(--emerald-500);
}

.black-card {
    background: var(--carbon-850);
    border: 1px solid var(--emerald-border);
    text-align: center;
    align-items: center;
    justify-content: center;
}

.black-card h2 {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--emerald-500);
    margin-bottom: 0.4rem;
}

.black-card p {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 700;
    color: var(--chalk-white);
}

/* ================= BRAND COLLABORATION ================= */
.collab-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.collab-card {
    background: var(--carbon-900);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 3rem 2.2rem;
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.collab-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.collab-title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    color: var(--chalk-white);
    letter-spacing: 0.5px;
}

.collab-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.collab-highlight {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--emerald-400);
}

.collab-btn {
    width: auto !important;
    min-width: 260px;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.collab-icon-btn,
.collab-wa-icon-btn {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(14, 20, 16, 0.85);
    border: 1px solid rgba(91, 181, 106, 0.35);
    color: var(--emerald-400);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
}

.collab-icon-btn svg,
.collab-wa-icon-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.25s ease;
}

.collab-icon-btn.wa-btn svg,
.collab-wa-icon-btn svg {
    fill: currentColor;
}

.collab-icon-btn:hover,
.collab-wa-icon-btn:hover {
    transform: translateY(-2px) scale(1.08);
}

.collab-icon-btn:hover svg,
.collab-wa-icon-btn:hover svg {
    transform: scale(1.1);
}

/* Email Button Hover State */
.collab-icon-btn.email-btn:hover {
    background: var(--emerald-500) !important;
    border-color: var(--emerald-500) !important;
    color: #060807 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* WhatsApp Button Hover State */
.collab-icon-btn.wa-btn:hover,
.collab-wa-icon-btn:hover {
    background: var(--emerald-500) !important;
    border-color: var(--emerald-500) !important;
    color: #060807 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* ================= MERCH PRODUCT DROP ("NEVER RUNNING LATE") ================= */
.tshirt-promo-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.6rem 1.25rem;
    background: var(--carbon-900);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}

.tshirt-visual {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--carbon-950);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tshirt-img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.75rem;
    background: var(--carbon-850);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.badge-pill.green {
    background: var(--emerald-900);
    border-color: var(--emerald-border);
    color: var(--emerald-400);
}

.badge-pill.outline {
    background: transparent;
    border-color: var(--border-bold);
    color: var(--chalk-white);
}

.floating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.tshirt-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tshirt-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5vw, 2.3rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--chalk-white);
}

.tshirt-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.tshirt-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0.4rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: var(--carbon-850);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.feature-icon {
    width: 34px;
    height: 34px;
    background: var(--carbon-800);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--emerald-400);
}

.feature-item strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--chalk-white);
    display: block;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 1px;
}

/* Quick Size Buttons (Touch-Optimized) */
.tshirt-details .mini-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    background: var(--carbon-850);
    border: 1px solid var(--border-medium);
    color: var(--chalk-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tshirt-details .mini-btn:hover,
.tshirt-details .mini-btn:active {
    background: var(--emerald-500);
    color: #000;
    border-color: var(--emerald-500);
}

.tshirt-price-action {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-subtle);
}

.price-tag {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-currency {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--emerald-400);
    font-weight: 800;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--chalk-white);
    line-height: 1;
}

.price-mxn {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-display);
}

.tshirt-price-action .modern-btn {
    width: 100%;
}

/* ================= EVENT CAROUSEL (REACT BITS) ================= */
.events-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.events-carousel-viewport {
    width: 100%;
    overflow: hidden;
    padding: 1.25rem 0.5rem;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 2.5%, rgba(0, 0, 0, 1) 97.5%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 2.5%, rgba(0, 0, 0, 1) 97.5%, transparent 100%);
}

.events-carousel-viewport:active,
.events-carousel-viewport[data-dragging="true"] {
    cursor: grabbing;
}

.events-carousel-track,
#events-container.events-carousel-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem !important;
    width: max-content !important;
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: stretch;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(14, 18, 16, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--chalk-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.carousel-arrow:hover {
    background: var(--emerald-500);
    color: #000;
    border-color: var(--emerald-500);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow.prev {
    left: -22px;
}

.carousel-arrow.next {
    right: -22px;
}

.carousel-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.events-carousel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
    width: 28px;
    border-radius: 999px;
    background: var(--emerald-500);
    box-shadow: none;
}

.event-card,
#events-container .event-card {
    flex: 0 0 360px !important;
    width: 360px !important;
    max-width: 360px !important;
    min-width: 360px !important;
    box-sizing: border-box !important;
    background: var(--carbon-900);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 1.65rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.event-card:hover {
    border-color: var(--emerald-border);
    transform: translateY(-2px);
}

.event-card.event-registered {
    border-color: var(--emerald-500);
    background: linear-gradient(180deg, var(--carbon-850) 0%, var(--carbon-900) 100%);
}

.event-meta-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.event-discipline {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--emerald-400);
}

.event-status-pill {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-sm);
    background: var(--carbon-850);
    border: 1px solid var(--border-medium);
    color: var(--chalk-white);
}

.event-status-pill.registered {
    background: var(--emerald-500);
    color: #000;
    border-color: var(--emerald-500);
}

.event-status-pill.staff {
    background: rgba(255, 170, 0, 0.15);
    border-color: rgba(255, 170, 0, 0.4);
    color: #ffb300;
}

.event-status-pill.closed {
    background: rgba(244, 67, 54, 0.18);
    border-color: rgba(244, 67, 54, 0.5);
    color: #ff5252;
}

.event-status-pill.alert {
    background: rgba(255, 170, 0, 0.2);
    border-color: rgba(255, 170, 0, 0.5);
    color: #ffd54f;
}

.admin-slots-input {
    width: 90px;
    padding: 6px 8px;
    background: var(--carbon-950);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--emerald-400);
    font-weight: 700;
    font-family: var(--font-mono);
    text-align: center;
    transition: var(--transition-fast);
}

.admin-slots-input:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 2px rgba(91, 181, 106, 0.25);
    outline: none;
}

.event-date {
    font-family: var(--font-display);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.event-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--chalk-white);
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.event-telemetry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.9rem;
    background: var(--carbon-950);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
}

.event-telemetry-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-telemetry-item .telemetry-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.event-telemetry-item .telemetry-val {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--chalk-white);
}

.event-telemetry-item .accent-val {
    color: var(--emerald-400);
}

.event-capacity-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.capacity-bar-track {
    flex: 1;
    height: 4px;
    background: var(--carbon-800);
    border-radius: 2px;
    overflow: hidden;
}

.capacity-bar-fill {
    height: 100%;
    background: var(--emerald-500);
    border-radius: 2px;
}

.capacity-text {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-weight: 600;
    white-space: nowrap;
}

.event-action-btn {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--chalk-white);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.event-action-btn:hover,
.event-action-btn:active {
    background: var(--emerald-500);
    color: #000;
    border-color: var(--emerald-500);
}

/* ================= EVENT DETAILS MODAL CONTENT ================= */
.event-details-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.edm-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.edm-meta-box {
    background: var(--carbon-950);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.edm-meta-label {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.edm-meta-val {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--chalk-white);
}

.edm-pricing-card {
    background: var(--carbon-850);
    border: 1px solid var(--emerald-border);
    border-radius: var(--radius-sm);
    padding: 1.1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

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

.edm-price-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.edm-price-amount {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--chalk-white);
}

.edm-price-amount.highlight {
    color: var(--emerald-400);
}

.edm-description-box {
    background: var(--carbon-950);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.edm-attendees-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 0.2rem 0;
}

.edm-attendees-bar strong {
    color: var(--emerald-400);
}

/* ================= MODALS & FORMS (MOBILE BOTTOM SHEET & DIALOG) ================= */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(4, 5, 7, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    overflow-y: auto;
}

.modal-glass {
    background: var(--carbon-900);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 2rem 1.25rem;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
    position: relative;
    animation: scaleIn 0.3s var(--ease-snappy);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--emerald-400);
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--chalk-white);
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
    line-height: 1.15;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Forms: Font-size 16px to prevent unwanted iOS auto-zoom */
.modern-form .input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group select {
    width: 100%;
    background: var(--carbon-950);
    border: 1px solid var(--border-medium);
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--chalk-white);
    font-family: var(--font-body);
    font-size: 16px; /* Critical iOS Safari standard to prevent auto-zoom */
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--emerald-500);
    background: var(--carbon-900);
}

.form-group select option {
    background: var(--carbon-900);
    color: var(--chalk-white);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.2rem 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-subtle);
}

.auth-divider span {
    padding: 0 0.8rem;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--chalk-white);
    color: #111;
    border: none;
    border-radius: var(--radius-sm);
    min-height: 48px;
    padding: 0.8rem 1.4rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    width: 100%;
    transition: var(--transition-fast);
}

.user-auth-indicator {
    background: var(--carbon-850);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.user-auth-indicator strong {
    color: var(--emerald-400);
}

/* ================= PROFILE TABS & PASSPORT ================= */
.profile-tabs {
    display: flex;
    gap: 0.4rem;
    background: var(--carbon-950);
    padding: 0.3rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    margin-bottom: 1.2rem;
}

.profile-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.6rem 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    text-align: center;
}

.profile-tab-btn.active {
    background: var(--emerald-500);
    color: #000;
}

.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
}

.loyalty-passport-card {
    background: var(--carbon-950);
    border: 1px solid var(--emerald-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1rem;
    margin-bottom: 1rem;
}

.passport-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.passport-brand-tag strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--chalk-white);
}

.passport-tier-pill {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-sm);
    background: var(--carbon-800);
    border: 1px solid var(--border-medium);
    color: var(--emerald-400);
}

.passport-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.passport-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--carbon-800);
    border-radius: 3px;
    overflow: hidden;
}

.passport-progress-fill {
    height: 100%;
    background: var(--emerald-500);
}

.stamps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-top: 1rem;
}

.stamp-card {
    background: var(--carbon-850);
    border: 1px solid var(--emerald-border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
}

.stamp-number-badge {
    position: absolute;
    top: 4px;
    left: 6px;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--emerald-400);
}

.stamp-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--carbon-800);
    border: 1px solid var(--emerald-500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    color: var(--emerald-500);
}

.stamp-event-title {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--chalk-white);
    line-height: 1.1;
    text-transform: uppercase;
}

.stamp-card.empty-slot {
    border: 1px dashed var(--border-medium);
    background: transparent;
    opacity: 0.4;
}

.passport-perk-banner {
    margin-top: 1rem;
    background: var(--carbon-850);
    border: 1px solid var(--emerald-border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.passport-perk-title {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--emerald-400);
}

.passport-perk-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.passport-code-pill {
    background: var(--carbon-950);
    border: 1px solid var(--emerald-500);
    color: var(--emerald-400);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
}

/* ================= GALLERY ================= */
.albums-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.album-card {
    cursor: pointer;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--carbon-900);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.album-cover {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: var(--carbon-950);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(7, 8, 10, 0.9);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--emerald-400);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-medium);
}

.album-info {
    padding: 1rem;
}

.album-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--chalk-white);
    margin-bottom: 0.2rem;
}

.album-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.gallery-photo {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: var(--carbon-950);
    border: 1px solid var(--border-subtle);
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */
.lightbox-content {
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 16, 21, 0.85);
    color: var(--chalk-white);
    border: 1px solid var(--border-medium);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn.prev { left: 8px; }
.slider-btn.next { right: 8px; }

.photo-indicator {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.78rem;
    color: var(--emerald-400);
}

/* ================= ADMIN VIEW ================= */
#admin-view {
    padding: 90px 1.25rem 40px 1.25rem;
    max-width: 1440px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.4rem;
    background: var(--carbon-900);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.admin-header h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-dashboard {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.admin-panel-card {
    padding: 1.4rem;
    background: var(--carbon-900);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
}

.admin-panel-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--chalk-white);
    margin-bottom: 1.2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-500);
}

.table-wrapper {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 500px;
}

.modern-table th {
    padding: 0.75rem 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-medium);
}

.modern-table td {
    padding: 0.9rem 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.88rem;
}

.mini-btn {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    border: none;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-excel {
    background: var(--emerald-900);
    color: var(--emerald-400);
    border: 1px solid var(--emerald-border);
}

/* ================= TOAST NOTIFICATION ================= */
.toast-glass {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--carbon-900);
    border: 1px solid var(--emerald-500);
    color: var(--chalk-white);
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    max-width: 90vw;
}

.toast-glass.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    background: var(--emerald-500);
    color: #000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
}

.toast-msg {
    font-size: 0.82rem;
    font-weight: 600;
}

/* ================= FOOTER ================= */
.glass-footer {
    padding: 2.5rem 1.25rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--carbon-950);
    margin-top: 4rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    max-width: 1440px;
    margin: 0 auto;
}

.footer-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.partner-logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
}

.glass-footer p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ================= DESKTOP & TABLET ENHANCEMENTS (>= 768px & >= 1024px) ================= */
@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
        width: auto;
    }

    .hero-actions .modern-btn {
        width: auto;
    }

    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .events-grid,
    .events-carousel-track {
        display: flex;
        gap: 1.5rem;
    }

    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .stamps-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .modern-form .input-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .edm-meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .collab-btn {
        width: auto;
    }

    .tshirt-price-action {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .tshirt-price-action .modern-btn {
        width: auto;
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .navbar {
        padding: 0 4%;
        height: 74px;
    }

    .nav-logo {
        height: 52px;
    }

    .bento-section,
    .events-section {
        padding: 80px 4%;
    }

    .hero {
        padding: 130px 4% 50px 4%;
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 4rem;
        align-items: center;
    }

    .image-wrapper {
        height: 580px;
    }

    .tshirt-promo-wrapper {
        grid-template-columns: 1fr 1.15fr;
        padding: 3rem;
        gap: 3.5rem;
    }

    .admin-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 2rem;
    }
}

/* Mobile Drawer (<= 1023px) */
@media (max-width: 1023px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(7, 8, 10, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.35s var(--ease-snappy);
        z-index: 1001;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.35rem;
        letter-spacing: 1px;
    }

    .nav-links .nav-btn {
        min-height: 48px;
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
}

/* ================= MEMBERSHIP BACKGROUND VIDEO (FULL VIEWPORT & FULL WIDTH) ================= */
.membership-fullwidth-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 0;
    margin: 0;
    overflow: hidden;
    background: #060807;
}

.membership-inner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.membership-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.membership-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.68) contrast(1.15) saturate(1.1);
    transform: scale(1.02);
}

.membership-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(6, 8, 7, 0.42) 0%, rgba(6, 8, 7, 0.8) 100%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 1;
}

.membership-fullwidth-section .glass-card {
    background: rgba(12, 17, 14, 0.72) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    transition: var(--transition-medium);
}

.membership-fullwidth-section .glass-card:hover {
    border-color: rgba(91, 181, 106, 0.45) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
    transform: translateY(-4px);
}

.benefits-grid-two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 980px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .benefits-grid-two {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .membership-fullwidth-section {
        min-height: auto;
        padding: 4.5rem 0;
    }
}