 :root {
     /* Colors */
     --gold: #F1C40F;
     --gold-dim: rgba(241, 196, 15, 0.15);
     --gold-glow: rgba(241, 196, 15, 0.35);

     --ink: #08090d;
     --ink2: #0f1117;
     --ink3: #161920;

     --surface: #1a1d24;
     --surface2: #21252e;

     --muted: #6b7280;
     --muted2: #9ca3af;

     --cream: #f5f0e8;
     --white: #ffffff;

     --green: #34d399;
     --green-dim: rgba(52, 211, 153, 0.1);

     /* Radius scale */
     --radius-xs: 8px;
     --radius-sm: 12px;
     --radius-md: 20px;
     --radius-lg: 28px;
     --radius-xl: 40px;
     --radius-pill: 999px;
 }

 /* ============================================================
       RESET & BASE
    ============================================================ */
 *,
 *::before,
 *::after {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     background: var(--ink);
     font-family: 'Poppins', sans-serif;
     color: var(--cream);
     overflow-x: hidden;
     min-height: 100vh;
 }

 /* Custom scrollbar */
 body::-webkit-scrollbar {
     width: 4px;
 }

 body::-webkit-scrollbar-track {
     background: var(--ink);
 }

 body::-webkit-scrollbar-thumb {
     background: var(--gold);
     border-radius: 2px;
 }

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

 a {
     color: inherit;
 }

 /* ============================================================
       LAYOUT HELPERS
    ============================================================ */
 .container {
     max-width: 1140px;
     margin: 0 auto;
     padding: 0 24px;
 }

 .container-lg {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 28px;
 }

 /* ============================================================
       NAVIGATION
    ============================================================ */
 .site-nav {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     z-index: 1000;
     padding: 0 32px;
     height: 64px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     background: rgba(8, 9, 13, 0.85);
     backdrop-filter: blur(20px) saturate(180%);
     border-bottom: 1px solid rgba(241, 196, 15, 0.12);
 }

 .nav-logo img {
     height: 30px;
     filter: brightness(1.1);
 }

 /* Nav links (main nav) */
 .nav-links {
     display: flex;
     gap: 6px;
     list-style: none;
 }

 .nav-links li a {
     font-size: 13px;
     font-weight: 500;
     color: var(--muted2);
     text-decoration: none;
     padding: 6px 14px;
     border-radius: var(--radius-pill);
     transition: all 0.2s;
 }

 .nav-links li a:hover {
     color: var(--gold);
     background: var(--gold-dim);
 }

 .nav-cta {
     background: var(--gold) !important;
     color: var(--ink) !important;
     font-weight: 700 !important;
 }

 /* Nav back link (profile / inner pages) */
 .nav-back {
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 13px;
     font-weight: 500;
     color: var(--muted2);
     text-decoration: none;
     padding: 6px 14px;
     border-radius: var(--radius-pill);
     border: 1px solid rgba(255, 255, 255, 0.08);
     transition: all 0.2s;
 }

 .nav-back:hover {
     color: var(--gold);
     border-color: rgba(241, 196, 15, 0.3);
     background: var(--gold-dim);
 }

 /* Hamburger (mobile) */
 .hamburger-btn {
     display: none;
     background: transparent;
     border: 1px solid rgba(255, 255, 255, 0.15);
     color: var(--cream);
     width: 40px;
     height: 40px;
     border-radius: 12px;
     cursor: pointer;
     align-items: center;
     justify-content: center;
 }

 /* ============================================================
       PROFILE HERO BANNER
    ============================================================ */
 .profile-hero {
     margin-top: 64px;
     position: relative;
     height: 220px;
     overflow: hidden;
     background: linear-gradient(135deg, #0d1520 0%, #101820 40%, #0a1228 100%);
 }

 .profile-hero-bg {
     position: absolute;
     inset: 0;
     background:
         radial-gradient(ellipse 80% 60% at 60% 50%, rgba(241, 196, 15, 0.07) 0%, transparent 70%),
         radial-gradient(ellipse 40% 80% at 10% 80%, rgba(241, 196, 15, 0.05) 0%, transparent 60%);
 }

 .profile-hero-grid {
     position: absolute;
     inset: 0;
     background-image:
         linear-gradient(rgba(241, 196, 15, 0.04) 1px, transparent 1px),
         linear-gradient(90deg, rgba(241, 196, 15, 0.04) 1px, transparent 1px);
     background-size: 40px 40px;
     mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
 }

 .profile-hero-noise {
     position: absolute;
     inset: 0;
     opacity: 0.03;
     background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
 }

 .profile-hero::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     height: 80px;
     background: linear-gradient(to bottom, transparent, var(--ink));
 }

 /* ============================================================
       PROFILE IDENTITY
    ============================================================ */
 .profile-identity {
     position: relative;
     z-index: 10;
     margin-top: -80px;
 }

 .identity-inner {
     display: flex;
     align-items: flex-end;
     gap: 24px;
     padding-bottom: 28px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.06);
 }

 /* Avatar */
 .avatar-wrap {
     position: relative;
     flex-shrink: 0;
 }

 .avatar-ring {
     width: 104px;
     height: 104px;
     border-radius: 50%;
     padding: 3px;
     background: linear-gradient(135deg, var(--gold), rgba(241, 196, 15, 0.3));
     box-shadow: 0 0 0 4px var(--ink), 0 0 40px rgba(241, 196, 15, 0.25);
 }

 .avatar-img {
     width: 100%;
     height: 100%;
     border-radius: 50%;
     object-fit: cover;
     background: var(--surface);
 }

 .avatar-online {
     position: absolute;
     bottom: 4px;
     right: 4px;
     width: 18px;
     height: 18px;
     background: var(--green);
     border-radius: 50%;
     border: 3px solid var(--ink);
     box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
 }

 /* Identity text */
 .identity-info {
     flex: 1;
     padding-bottom: 6px;
 }

 .identity-eyebrow {
     font-size: 10px;
     font-weight: 600;
     letter-spacing: 3px;
     text-transform: uppercase;
     color: var(--gold);
     margin-bottom: 4px;
 }

 .identity-name {
     font-size: clamp(2.2rem, 5vw, 3.4rem);
     line-height: 1;
     color: var(--cream);
     letter-spacing: 1px;
     margin-bottom: 8px;
 }

 .identity-badges {
     display: flex;
     flex-wrap: wrap;
     gap: 6px;
     margin-bottom: 10px;
 }

 .ibadge {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     padding: 4px 12px;
     border-radius: var(--radius-pill);
     font-size: 11px;
     font-weight: 600;
     letter-spacing: 0.3px;
 }

 .ibadge-admin {
     background: rgba(241, 196, 15, 0.12);
     color: var(--gold);
     border: 1px solid rgba(241, 196, 15, 0.3);
 }

 .ibadge-coach {
     background: rgba(99, 102, 241, 0.1);
     color: #a5b4fc;
     border: 1px solid rgba(165, 180, 252, 0.2);
 }

 .ibadge-beta {
     background: rgba(244, 63, 94, 0.1);
     color: #fb7185;
     border: 1px solid rgba(251, 113, 133, 0.2);
 }

 .identity-meta {
     display: flex;
     flex-wrap: wrap;
     gap: 14px;
     font-size: 12px;
     color: var(--muted);
 }

 .identity-meta span {
     display: flex;
     align-items: center;
     gap: 5px;
 }

 .identity-meta i {
     color: var(--gold);
     font-size: 10px;
 }

 .identity-actions {
     display: flex;
     gap: 10px;
     align-items: flex-end;
     padding-bottom: 6px;
     flex-shrink: 0;
 }

 /* ============================================================
       BUTTONS
    ============================================================ */
 .btn-primary {
     background: var(--gold);
     color: var(--ink);
     border: none;
     border-radius: var(--radius-pill);
     padding: 10px 22px;
     font-size: 13px;
     font-weight: 700;
     cursor: pointer;
     transition: all 0.2s;
     white-space: nowrap;
 }

 .btn-primary:hover {
     background: #e2b80c;
     transform: translateY(-1px);
     box-shadow: 0 8px 20px rgba(241, 196, 15, 0.35);
 }

 .btn-ghost {
     background: transparent;
     color: var(--cream);
     border: 1px solid rgba(255, 255, 255, 0.12);
     border-radius: var(--radius-pill);
     padding: 10px 20px;
     font-size: 13px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.2s;
     white-space: nowrap;
 }

 .btn-ghost:hover {
     border-color: rgba(241, 196, 15, 0.3);
     color: var(--gold);
     background: var(--gold-dim);
 }

 /* Join / CTA button (full-width gold) */
 .btn-cta {
     display: inline-block;
     background: var(--gold);
     color: #000000 !important;
     font-weight: 700;
     font-size: 14px;
     padding: 12px 28px;
     border-radius: var(--radius-pill);
     text-decoration: none;
     text-align: center;
     transition: all 0.2s ease;
     width: 100%;
     border: none;
     cursor: pointer;
     letter-spacing: 0.3px;
 }

 .btn-cta:hover {
     background: #e0b800;
     transform: translateY(-2px);
     box-shadow: 0 6px 14px rgba(241, 196, 15, 0.25);
 }

 .btn-cta:active {
     transform: translateY(1px);
 }

 /* Event join button */
 .btn-join-event {
     background: var(--gold);
     color: #000000 !important;
     border: none;
     padding: 12px 20px;
     border-radius: var(--radius-pill);
     font-weight: 700;
     font-size: 0.85rem;
     transition: all 0.2s;
     width: 100%;
     cursor: pointer;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 .btn-join-event:hover {
     background: #e2b80c;
     transform: scale(1.02);
 }

 /* ============================================================
       BADGES / CHIPS / PILLS
    ============================================================ */
 .badge-pill {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     padding: 5px 14px;
     border-radius: var(--radius-pill);
     font-size: 11px;
     font-weight: 600;
     background: var(--gold-dim);
     border: 1px solid rgba(241, 196, 15, 0.2);
     color: var(--gold);
 }

 .since-chip {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     background: var(--gold-dim);
     border: 1px solid rgba(241, 196, 15, 0.25);
     border-radius: var(--radius-pill);
     padding: 5px 14px;
     font-size: 11px;
     font-weight: 600;
     color: var(--gold);
 }

 /* Event badge (hero) */
 .event-badge {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: rgba(241, 196, 15, 0.1);
     padding: 6px 18px;
     border-radius: var(--radius-pill);
     font-size: 0.7rem;
     font-weight: 600;
     color: var(--gold);
     margin-bottom: 20px;
 }

 /* Workout chip */
 .workout-chip {
     background: var(--surface);
     border: 1px solid rgba(241, 196, 15, 0.4);
     border-radius: 40px;
     padding: 8px 22px;
     font-size: 13px;
     font-weight: 600;
     letter-spacing: 0.3px;
     color: var(--cream);
     cursor: pointer;
     transition: all 0.2s;
     display: inline-flex;
     align-items: center;
     gap: 8px;
 }

 .workout-chip i {
     color: var(--gold);
     font-size: 13px;
 }

 .workout-chip:hover {
     background: var(--gold-dim);
     border-color: var(--gold);
     transform: translateY(-2px);
     color: var(--gold);
 }

 .chip-group {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 14px;
     margin: 0 auto;
 }

 .chip-info-text {
     text-align: center;
     font-size: 11px;
     color: var(--muted);
     margin-top: 14px;
 }

 /* Club row badge */
 .club-row-badge {
     padding: 3px 10px;
     border-radius: var(--radius-pill);
     font-size: 10px;
     font-weight: 600;
     background: rgba(52, 211, 153, 0.1);
     color: var(--green);
     border: 1px solid rgba(52, 211, 153, 0.2);
     white-space: nowrap;
     flex-shrink: 0;
 }

 /* No-schedule helper */
 .no-schedule-message {
     background: var(--gold-dim);
     border-radius: var(--radius-sm);
     padding: 8px 12px;
     font-size: 0.8rem;
     color: var(--gold);
     text-align: center;
     margin-top: 8px;
 }

 /* ============================================================
       STAT CARDS
    ============================================================ */
 .stats-row {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 12px;
     margin: 28px 0;
 }

 .stat-card {
     background: var(--ink2);
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: var(--radius-md);
     padding: 18px 20px;
     text-align: center;
     transition: all 0.25s;
     cursor: default;
 }

 .stat-card:hover {
     border-color: rgba(241, 196, 15, 0.2);
     background: var(--ink3);
     transform: translateY(-2px);
 }

 .stat-val {
     font-size: 2.2rem;
     line-height: 1;
     color: var(--gold);
     margin-bottom: 4px;
 }

 .stat-label {
     font-size: 10px;
     font-weight: 600;
     letter-spacing: 1.5px;
     text-transform: uppercase;
     color: var(--muted);
 }

 /* ============================================================
       SECTION / GENERIC CARDS
    ============================================================ */
 .section-card {
     background: var(--ink2);
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: var(--radius-lg);
     padding: 24px 26px;
     margin-bottom: 20px;
 }

 .card-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 20px;
 }

 .card-title {
     font-size: 11px;
     font-weight: 700;
     letter-spacing: 2.5px;
     text-transform: uppercase;
     color: var(--gold);
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .card-title::before {
     content: '';
     width: 18px;
     height: 2px;
     background: var(--gold);
     border-radius: 1px;
     display: block;
 }

 .card-action {
     font-size: 11px;
     font-weight: 600;
     color: var(--muted);
     text-decoration: none;
     cursor: pointer;
     transition: color 0.2s;
 }

 .card-action:hover {
     color: var(--gold);
 }

 /* Compact card (darker) */
 .compact-card {
     background: var(--ink3);
     border-radius: var(--radius-md);
     border: 1px solid rgba(255, 255, 255, 0.05);
     padding: 14px 16px;
     transition: all 0.2s;
 }

 .compact-card:hover {
     border-color: rgba(241, 196, 15, 0.3);
 }

 /* About / description block */
 .about-section {
     background: var(--ink2);
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: var(--radius-lg);
     padding: 22px 26px;
     margin: 28px 0 32px;
     font-size: 14px;
     color: var(--muted2);
     line-height: 1.7;
 }

 /* Info block (icon + label + value) */
 .info-block {
     background: var(--ink2);
     border-radius: var(--radius-md);
     padding: 16px 20px;
     border: 1px solid rgba(255, 255, 255, 0.06);
     display: flex;
     align-items: center;
     gap: 16px;
     transition: all 0.2s;
 }

 .info-block:hover {
     border-color: rgba(241, 196, 15, 0.3);
 }

 .block-icon {
     width: 48px;
     height: 48px;
     background: var(--gold-dim);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--gold);
     font-size: 1.3rem;
     flex-shrink: 0;
 }

 .block-label {
     font-size: 0.7rem;
     font-weight: 600;
     letter-spacing: 1px;
     color: var(--gold);
     text-transform: uppercase;
     margin-bottom: 4px;
 }

 .block-value {
     font-size: 1.1rem;
     font-weight: 700;
     line-height: 1.3;
 }

 .block-sub {
     font-size: 0.7rem;
     color: var(--muted);
     margin-top: 2px;
 }

 /* Map card */
 .map-card {
     background: var(--ink2);
     border: 1px solid rgba(241, 196, 15, 0.2);
     border-radius: var(--radius-lg);
     overflow: hidden;
 }

 /* map placeholder (replace with actual map lib) */
 .map-placeholder {
     height: 280px;
     width: 100%;
     background: #1e2330;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--muted);
     font-size: 13px;
 }

 .address-box {
     padding: 12px 16px;
     background: rgba(0, 0, 0, 0.3);
     font-size: 0.75rem;
     display: flex;
     align-items: center;
     gap: 8px;
     border-top: 1px solid rgba(255, 255, 255, 0.05);
     color: var(--muted2);
 }

 .address-box i {
     color: var(--gold);
 }

 /* RSVP card */
 .rsvp-card {
     background: var(--ink3);
     border-radius: var(--radius-md);
     border: 1px solid rgba(241, 196, 15, 0.2);
     padding: 20px;
     transition: all 0.2s;
     display: flex;
     flex-direction: column;
     gap: 16px;
 }

 .rsvp-card:hover {
     border-color: rgba(241, 196, 15, 0.4);
 }

 .attendee-avatars {
     display: flex;
     gap: 10px;
     align-items: center;
     flex-wrap: wrap;
 }

 .attendee-avatar {
     width: 44px;
     height: 44px;
     border-radius: 50%;
     background: var(--surface2);
     border: 1px solid var(--gold);
     object-fit: cover;
 }

 /* ============================================================
       INFO ROWS (sidebar profile info)
    ============================================================ */
 .info-row {
     display: flex;
     align-items: center;
     gap: 14px;
     padding: 12px 0;
     border-bottom: 1px solid rgba(255, 255, 255, 0.04);
 }

 .info-row:last-child {
     border-bottom: none;
 }

 .info-icon {
     width: 36px;
     height: 36px;
     background: var(--gold-dim);
     border-radius: var(--radius-sm);
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--gold);
     font-size: 14px;
     flex-shrink: 0;
 }

 .info-label {
     font-size: 10px;
     font-weight: 600;
     letter-spacing: 1px;
     text-transform: uppercase;
     color: var(--muted);
     margin-bottom: 2px;
 }

 .info-val {
     font-size: 13px;
     font-weight: 500;
     color: var(--cream);
 }

 /* ============================================================
       CLUB LIST ROW
    ============================================================ */
 .club-row {
     display: flex;
     align-items: center;
     gap: 14px;
     padding: 12px 0;
     border-bottom: 1px solid rgba(255, 255, 255, 0.04);
     transition: all 0.2s;
     cursor: pointer;
 }

 .club-row:last-child {
     border-bottom: none;
     padding-bottom: 0;
 }

 .club-row:hover .club-row-name {
     color: var(--gold);
 }

 .club-row-logo {
     width: 44px;
     height: 44px;
     border-radius: var(--radius-sm);
     object-fit: cover;
     background: var(--surface);
     flex-shrink: 0;
     border: 1px solid rgba(255, 255, 255, 0.06);
 }

 .club-row-info {
     flex: 1;
     min-width: 0;
 }

 .club-row-name {
     font-size: 14px;
     font-weight: 600;
     color: var(--cream);
     transition: color 0.2s;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .club-row-loc {
     font-size: 11px;
     color: var(--muted);
     display: flex;
     align-items: center;
     gap: 4px;
     margin-top: 2px;
 }

 .club-row-loc i {
     color: var(--gold);
     font-size: 9px;
 }

 /* ============================================================
       PEOPLE LIST (members)
    ============================================================ */
 .people-list {
     background: var(--ink2);
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: 24px;
     padding: 16px 20px;
 }

 .members-scroll {
     max-height: 720px;
     overflow-y: auto;
     scrollbar-width: thin;
     scrollbar-color: var(--gold) var(--surface);
     padding-right: 4px;
 }

 .members-scroll::-webkit-scrollbar {
     width: 5px;
 }

 .members-scroll::-webkit-scrollbar-track {
     background: var(--surface);
     border-radius: 10px;
 }

 .members-scroll::-webkit-scrollbar-thumb {
     background: var(--gold);
     border-radius: 10px;
 }

 .person-row {
     display: flex;
     align-items: center;
     gap: 14px;
     padding: 10px 0;
     border-bottom: 1px solid rgba(255, 255, 255, 0.04);
     cursor: pointer;
     transition: all 0.2s;
 }

 .person-row:hover {
     background: rgba(241, 196, 15, 0.03);
     border-radius: 8px;
     padding-left: 8px;
 }

 .person-avatar {
     width: 36px;
     height: 36px;
     border-radius: 50%;
     object-fit: cover;
     border: 2px solid rgba(241, 196, 15, 0.2);
     flex-shrink: 0;
 }

 .person-name {
     font-size: 13px;
     font-weight: 600;
     color: var(--cream);
 }

 .person-role {
     font-size: 10px;
    color: #f5ae01;
     display: flex;
     gap: 4px;
 }

 .person-arrow {
     color: var(--muted);
     font-size: 13px;
     transition: 0.2s;
     margin-left: auto;
 }

 .person-row:hover .person-arrow {
     color: var(--gold);
     transform: translateX(3px);
 }

 /* ============================================================
       WORKOUT CARDS
    ============================================================ */
 .workout-card {
     background: var(--ink2);
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: 24px;
     padding: 16px 18px;
     margin-bottom: 16px;
     transition: 0.2s;
 }

 .workout-card:hover {
     border-color: rgba(241, 196, 15, 0.2);
 }

 .workout-card-inner {
     display: flex;
     align-items: center;
     gap: 16px;
 }

 .workout-day-badge {
     width: 64px;
     min-width: 64px;
     height: 64px;
     border-radius: 16px;
     background: var(--gold);
     color: #111;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     font-weight: 800;
 }

 .day-short {
     font-size: 18px;
     text-transform: uppercase;
 }

 .day-full {
     font-size: 10px;
     opacity: 0.7;
     text-transform: uppercase;
     margin-top: 4px;
 }

 .workout-name {
     font-size: 16px;
     font-weight: 700;
     color: var(--cream);
     margin-bottom: 8px;
 }

 .workout-meta {
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 10px;
 }

 .workout-time,
 .workout-location {
     display: flex;
     align-items: center;
     gap: 7px;
     font-size: 13px;
     color: rgba(255, 255, 255, 0.68);
 }

 .workout-time i,
 .workout-location i {
     color: var(--gold);
     font-size: 12px;
 }

 /* ============================================================
       CLUB HERO (club detail page)
    ============================================================ */
 .club-hero {
     margin-top: 64px;
     padding: 44px 0 32px;
     background: linear-gradient(to bottom, rgba(241, 196, 15, 0.06), transparent);
     border-bottom: 1px solid rgba(255, 255, 255, 0.04);
 }

 .club-header {
     display: flex;
     align-items: center;
     gap: 24px;
     flex-wrap: wrap;
 }

 .club-logo-large {
     width: 88px;
     height: 88px;
     border-radius: 20px;
     object-fit: cover;
     border: 2px solid rgba(241, 196, 15, 0.35);
     background: var(--surface);
 }

 .club-title {
     font-size: clamp(2.2rem, 4vw, 3.2rem);
     letter-spacing: 1px;
 }

 /* Club circle cards grid (discover / other clubs) */
 .clubs-circle-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
     gap: 28px;
       grid-auto-flow: column;
 }

 .club-circle-card {
     text-align: center;
     cursor: pointer;
     transition: transform 0.2s;
     background: var(--ink2);
     border-radius: 32px;
     padding: 20px 12px 18px;
     border: 1px solid rgba(255, 255, 255, 0.04);
 }

 .club-circle-card:hover {
     transform: translateY(-5px);
     background: #171b24;
     border-color: rgba(241, 196, 15, 0.3);
 }

 .club-avatar-circle {
     width: 90px;
     height: 90px;
     margin: 0 auto 12px;
     border-radius: 50%;
     background: #11141c;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     border: 2px solid rgba(241, 196, 15, 0.4);
 }

 .club-avatar-circle img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .club-circle-name {
     font-weight: 700;
     font-size: 16px;
     margin-top: 6px;
     color: var(--cream);
 }

 .club-circle-location {
     font-size: 11px;
     color: var(--muted);
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 4px;
     margin-top: 6px;
 }

 /* Club avatar small (inside cards) */
 .club-avatar-sm {
     width: 44px;
     height: 44px;
     border-radius: var(--radius-sm);
     object-fit: cover;
 }

 /* ============================================================
       COACH CARD
    ============================================================ */
 .coach-card {
     background: var(--ink3);
     border-radius: var(--radius-md);
     border: 1px solid rgba(255, 255, 255, 0.05);
     padding: 14px 16px;
     transition: all 0.2s;
     display: flex;
     align-items: center;
     gap: 14px;
 }

 .coach-card:hover {
     border-color: rgba(241, 196, 15, 0.3);
 }

 .coach-avatar {
     width: 52px;
     height: 52px;
     border-radius: 50%;
     object-fit: cover;
     border: 2px solid var(--gold);
 }

 .coach-name {
     font-size: 1.1rem;
     font-weight: 700;
     color: var(--cream);
     margin-bottom: 4px;
 }

 .coach-role {
     font-size: 0.7rem;
     color: var(--gold);
     font-weight: 500;
     letter-spacing: 0.5px;
 }

 /* ============================================================
       EVENT HERO
    ============================================================ */
 .event-hero {
     margin-top: 64px;
     background: radial-gradient(circle at 30% 20%, rgba(241, 196, 15, 0.07), transparent 80%);
     padding: 32px 0 24px;
 }

 .event-name {
     font-size: clamp(2rem, 6vw, 3.4rem);
     margin: 0 0 24px 0;
 }

 /* ============================================================
       SECTION TITLES
    ============================================================ */
 .section-header {
     display: flex;
     align-items: center;
     gap: 10px;
     margin-bottom: 20px;
 }

 .section-header h2 {
     font-size: 2rem;
     letter-spacing: 1px;
     margin: 0;
 }

 .section-header h2 span {
     color: var(--gold);
 }

 .section-title {
     font-size: 1.8rem;
     letter-spacing: 1px;
     margin-bottom: 12px;
 }

 .section-title-white {
     color: var(--cream);
 }

 .section-title-gold {
     color: var(--gold);
 }

 /* ============================================================
       ACTIVITY STRIP (heatmap)
    ============================================================ */
 .activity-strip {
     display: grid;
     grid-template-columns: repeat(7, 1fr);
     gap: 4px;
     margin-top: 4px;
 }

 .act-day {
     aspect-ratio: 1/1;
     border-radius: 4px;
     background: var(--surface);
 }

 .act-day.a1 {
     background: rgba(241, 196, 15, 0.15);
 }

 .act-day.a2 {
     background: rgba(241, 196, 15, 0.35);
 }

 .act-day.a3 {
     background: rgba(241, 196, 15, 0.60);
 }

 .act-day.a4 {
     background: rgba(241, 196, 15, 0.85);
 }

 .act-day.a5 {
     background: var(--gold);
 }

 /* ============================================================
       PROFILE / EVENT GRIDS
    ============================================================ */
 /* Profile: main (left) + sidebar (right) */
 .profile-grid {
     display: grid;
     grid-template-columns: 1fr 360px;
     gap: 20px;
     padding-bottom: 80px;
 }

 /* Event / generic: equal two columns */
 .two-columns {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 32px;
 }

 .left-col {
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .right-col {
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 /* ============================================================
       FOOTER
    ============================================================ */
 .site-footer {
     background: var(--ink2);
     border-top: 1px solid rgba(241, 196, 15, 0.15);
     padding: 64px 0 32px;
     margin-top: 60px;
 }

 .footer-brand img {
     height: 28px;
 }

 .footer-tagline {
     font-size: 13px;
     color: var(--muted);
     max-width: 220px;
 }

 .footer-col-title {
     font-size: 11px;
     font-weight: 700;
     letter-spacing: 2px;
     color: var(--gold);
     text-transform: uppercase;
     margin-bottom: 16px;
 }

 .footer-links {
     list-style: none;
     padding: 0;
 }

 .footer-links li a {
     font-size: 13px;
     color: var(--muted);
     text-decoration: none;
     display: flex;
     align-items: center;
     gap: 7px;
     transition: color 0.15s;
     padding: 4px 0;
 }

 .footer-links li a:hover {
     color: var(--cream);
 }

 .footer-divider {
     border: none;
     border-top: 1px solid rgba(255, 255, 255, 0.06);
     margin: 40px 0 24px;
 }

 .footer-copy {
     font-size: 12px;
     color: var(--muted);
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 8px;
 }

 .footer-copy span {
     color: var(--gold);
     font-weight: 700;
 }

 /* ============================================================
       ANIMATIONS
    ============================================================ */
 .fade-in {
     opacity: 0;
     transform: translateY(20px);
     animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
 }

 @keyframes fadeUp {
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Stagger delays (up to 10 children) */
 .fade-in:nth-child(1) {
     animation-delay: 0.05s;
 }

 .fade-in:nth-child(2) {
     animation-delay: 0.10s;
 }

 .fade-in:nth-child(3) {
     animation-delay: 0.15s;
 }

 .fade-in:nth-child(4) {
     animation-delay: 0.20s;
 }

 .fade-in:nth-child(5) {
     animation-delay: 0.25s;
 }

 .fade-in:nth-child(6) {
     animation-delay: 0.30s;
 }

 .fade-in:nth-child(7) {
     animation-delay: 0.35s;
 }

 .fade-in:nth-child(8) {
     animation-delay: 0.40s;
 }

 .fade-in:nth-child(9) {
     animation-delay: 0.45s;
 }

 .fade-in:nth-child(10) {
     animation-delay: 0.50s;
 }

 /* ============================================================
       RESPONSIVE
    ============================================================ */
 @media (max-width: 992px) {
     .two-columns {
         grid-template-columns: 1fr;
         gap: 24px;
     }
 }

 @media (max-width: 900px) {
     .profile-grid {
         grid-template-columns: 1fr;
     }

     .stats-row {
         grid-template-columns: repeat(2, 1fr);
     }

     .identity-actions {
         display: none;
     }
 }

 @media (max-width: 768px) {
     .site-nav {
         padding: 0 16px;
     }

     .nav-links {
         display: none;
     }

     .hamburger-btn {
         display: flex;
     }

     .clubs-circle-grid {
         gap: 16px;
     }

     .club-avatar-circle {
         width: 75px;
         height: 75px;
     }

     .members-scroll {
         max-height: 320px;
     }

     .section-title {
         font-size: 1.5rem;
     }

     /* Mobile nav overlay */
     .nav-links.active {
         display: flex;
         position: absolute;
         top: 64px;
         left: 0;
         right: 0;
         background: rgba(8, 9, 13, 0.95);
         backdrop-filter: blur(30px);
         flex-direction: column;
         padding: 16px 20px;
         gap: 8px;
         z-index: 999;
     }

     .nav-links.active li a {
         display: block;
         width: 100%;
         padding: 12px 16px;
     }
 }

 @media (max-width: 600px) {
     .identity-inner {
         flex-direction: column;
         align-items: flex-start;
         gap: 14px;
     }

     .avatar-ring {
         width: 80px;
         height: 80px;
     }

     .profile-hero {
         height: 160px;
     }

     .stats-row {
         grid-template-columns: repeat(2, 1fr);
         gap: 8px;
     }

     .section-card {
         padding: 18px 16px;
     }
 }

 /* ---- PRELOADER ---- */
 #preloader {
     position: fixed;
     inset: 0;
     z-index: 99999;
     background: var(--ink);
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .preload-ring {
     width: 52px;
     height: 52px;
     border: 3px solid var(--gold-dim);
     border-top-color: var(--gold);
     border-radius: 50%;
     animation: spin 0.8s linear infinite;
 }

 @keyframes spin {
     to {
         transform: rotate(360deg);
     }
 }


 /* ---- MAP HERO ---- */
  #map-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f1117;
}
@media (max-width:768px){
  #map-canvas{
    height:220px;
  }
}
#static-map-img {
  cursor: pointer;
  transition: opacity 0.3s ease;
  width: 100%;
  height: auto;
  display: block;
}
#static-map-img:hover {
  opacity: 0.95;
}
 .hero-map {
     position: relative;
    height: 520px;
     overflow: hidden;
     margin-top: 64px;
 }

 #map-canvas {
     width: 100%;
     height: 100%;
     filter: brightness(0.88) saturate(0.9);
 }

 .hero-map::after {
     content: '';
     position: absolute;
     inset: 0;
     pointer-events: none;
 }

 /* ---- SEARCH CARD ---- */
 .search-card-wrap {
     position: relative;
     z-index: 10;
     margin-top: 20px;
     padding: 0 20px;
 }

 .search-card {
     background: rgba(15, 17, 23, 0.92);
     backdrop-filter: blur(24px) saturate(200%);
     border: 1px solid rgba(241, 196, 15, 0.2);
     border-radius: var(--radius-xl);
     padding: 28px 28px 32px;
     max-width: 420px;
     box-shadow: 0 0 0 1px rgba(241, 196, 15, 0.06), 0 32px 64px -12px rgba(0, 0, 0, 0.6), 0 0 60px rgba(241, 196, 15, 0.08);
 }

 .search-card-label {
     font-size: 1.5rem;
     letter-spacing: 2px;
     text-transform: uppercase;
     color: var(--gold);
     margin-bottom: 18px;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .search-card-label::before {
     content: '';
     width: 28px;
     height: 2px;
     background: var(--gold);
     border-radius: 1px;
 }

 .search-field {
     width: 100%;
     background: rgba(255, 255, 255, 0.04);
     border: 1px solid rgba(255, 255, 255, 0.08);
     border-radius: var(--radius-md);
     padding: 12px 18px;
     font-size: 14px;
     color: var(--cream);
     outline: none;
     transition: all 0.2s;
     margin-bottom: 10px;
 }

 .search-field::placeholder {
     color: var(--muted);
 }

 .search-field:focus {
     border-color: rgba(241, 196, 15, 0.4);
     background: rgba(241, 196, 15, 0.04);
     box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.1);
 }

 .search-field option {
     background: var(--ink2);
 }

 .search-btn {
     width: 100%;
     background: var(--gold);
     color: var(--ink);
     border: none;
     border-radius: var(--radius-md);
     padding: 13px;
     font-size: 15px;
     font-weight: 700;
     letter-spacing: 0.3px;
     cursor: pointer;
     transition: all 0.2s;
     margin-top: 6px;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
 }

 .search-btn:hover {
     background: #e2b80c;
     transform: translateY(-1px);
     box-shadow: 0 12px 24px -8px rgba(241, 196, 15, 0.45);
 }

 .search-btn:active {
     transform: translateY(0);
 }

 /* ---- SECTION HEADERS ---- */
 .section-eyebrow {
     font-size: 11px;
     font-weight: 600;
     letter-spacing: 3px;
     color: var(--gold);
     text-transform: uppercase;
     margin-bottom: 8px;
 }

 .section-title {
     font-size: clamp(2.2rem, 4vw, 3.2rem);
     letter-spacing: 1px;
     line-height: 1;
     color: var(--cream);
     margin-bottom: 0;
     text-transform: uppercase;
 }

 .section-title span {
     color: var(--gold);
 }

 /* ---- CLUBS LIST ---- */
 .clubs-section {
     background: var(--ink);
     padding: 20px 0 80px;
 }

 .clubs-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 14px;
 }

 .club-card {
     background: var(--ink2);
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: var(--radius-lg);
     padding: 18px 20px;
     display: grid;
     grid-template-columns: 56px 1fr auto auto auto;
     align-items: center;
     gap: 14px;
     transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
     cursor: pointer;
 }

 .club-card:hover {
     background: var(--ink3);
     border-color: rgba(241, 196, 15, 0.25);
     transform: translateX(4px);
     box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
 }

 .club-card:hover .club-join-btn {
     background: var(--gold);
     color: var(--ink);
     border-color: var(--gold);
 }

 .club-avatar {
     width: 56px;
     height: 56px;
     border-radius: var(--radius-sm);
     object-fit: cover;
     background: var(--surface);
 }

 .club-info-name {
     font-size: 15px;
     font-weight: 600;
     color: var(--cream);
     margin-bottom: 3px;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .club-info-loc {
     font-size: 12px;
     color: var(--muted);
     display: flex;
     align-items: center;
     gap: 4px;
 }

 .club-info-loc i {
     color: var(--gold);
     font-size: 10px;
 }

 .club-badge {
     display: inline-flex;
     align-items: center;
     padding: 4px 12px;
     border-radius: var(--radius-pill);
     font-size: 11px;
     font-weight: 600;
     letter-spacing: 0.3px;
     white-space: nowrap;
 }

 .badge-premium {
     background: rgba(241, 196, 15, 0.12);
     color: var(--gold);
     border: 1px solid rgba(241, 196, 15, 0.3);
 }

 .badge-free {
     background: rgba(16, 185, 129, 0.1);
     color: #34d399;
     border: 1px solid rgba(52, 211, 153, 0.2);
 }

 .badge-school {
     background: rgba(99, 102, 241, 0.1);
     color: #a5b4fc;
     border: 1px solid rgba(165, 180, 252, 0.2);
 }

 .club-price {
     text-align: right;
     font-size: 16px;
     font-weight: 700;
     color: var(--cream);
     white-space: nowrap;
 }

 .club-price-sub {
     font-size: 10px;
     font-weight: 400;
     color: var(--muted);
 }

 .club-join-btn {
     padding: 9px 20px;
     border-radius: var(--radius-pill);
     border: 1px solid rgba(255, 255, 255, 0.12);
     background: transparent;
     color: var(--cream);
     font-size: 13px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.2s;
     white-space: nowrap;
 }

 .empty-state {
     text-align: center;
     padding: 60px 20px;
     background: var(--ink2);
     border-radius: var(--radius-lg);
     border: 1px dashed rgba(255, 255, 255, 0.08);
 }

 .empty-state i {
     font-size: 2.5rem;
     color: var(--muted);
     margin-bottom: 12px;
 }

 .empty-state h5 {
     color: var(--muted2);
     font-weight: 500;
     margin: 0;
 }

 /* ---- DESTINATIONS ---- */
 .destinations-section {
     background: linear-gradient(to bottom, #06070b, #090b12);
     padding: 70px 0 80px;
 }

 .dest-grid-static {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 20px;
     margin-top: 36px;
 }

 .dest-item {
     text-align: center;
     cursor: pointer;
     transition: transform 0.3s ease;
 }

 .dest-item:hover {
     transform: translateY(-4px);
 }

 .dest-circle {
     width: 100%;
     aspect-ratio: 1/1;
     border-radius: 50%;
     overflow: hidden;
     position: relative;
     background: #2c2c2c;
     border: 1px solid rgba(255, 255, 255, 0.06);
     transition: all .35s ease;
     margin-bottom: 12px;
 }

 .dest-item:hover .dest-circle {
     border-color: rgba(241, 196, 15, .5);
     box-shadow: 0 0 0 1px rgba(241, 196, 15, .15), 0 20px 40px rgba(0, 0, 0, .4);
 }

 .dest-circle img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform .45s ease;
 }

 .dest-item:hover .dest-circle img {
     transform: scale(1.06);
 }

 .dest-circle::after {
     content: '';
     position: absolute;
     inset: 0;
     background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05));
 }

 .dest-name {
     font-size: 0.95rem;
     font-weight: 600;
     color: #f8f8f8;
     line-height: 1.2;
     margin-bottom: 4px;
 }

 .dest-type {
     font-size: 0.7rem;
     font-weight: 700;
     letter-spacing: .8px;
     text-transform: uppercase;
 }

 .dest-type.premium {
     color: #F1C40F;
 }

 .dest-type.free {
     color: #34d399;
 }

 .dest-type.school {
     color: #a5b4fc;
 }

 /* ---- CITY CHIPS ---- */
 .cities-section {
     background: var(--ink);
     padding: 70px 0;
 }

 .cities-scroll {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     margin-top: 32px;
 }

 .city-chip {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 16px 28px;
     background: var(--ink2);
     border: 1px solid rgba(255, 255, 255, 0.08);
     border-radius: var(--radius-pill);
     font-size: 1rem;
     font-weight: 600;
     color: var(--muted2);
     cursor: pointer;
     transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
     user-select: none;
     white-space: nowrap;
     flex: 0 0 auto;
 }

 .city-chip:hover {
     background: rgba(241, 196, 15, 0.1);
     border-color: rgba(241, 196, 15, 0.3);
     color: var(--cream);
     transform: translateY(-2px);
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
 }

 .city-chip.active {
     background: rgba(241, 196, 15, 0.15);
     border-color: var(--gold);
     color: var(--gold);
     font-weight: 700;
     box-shadow: 0 0 20px rgba(241, 196, 15, 0.15);
 }

 .city-chip-name {
     font-size: 1.5rem;
     font-weight: 600;
     letter-spacing: 0.3px;
 }

 /* ---- ANIMATIONS ---- */
 .fade-in {
     opacity: 0;
     transform: translateY(24px);
     animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
 }

 .fade-in:nth-child(1) {
     animation-delay: 0.05s;
 }

 .fade-in:nth-child(2) {
     animation-delay: 0.1s;
 }

 .fade-in:nth-child(3) {
     animation-delay: 0.15s;
 }

 .fade-in:nth-child(4) {
     animation-delay: 0.2s;
 }

 .fade-in:nth-child(5) {
     animation-delay: 0.25s;
 }

 @keyframes fadeUp {
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .results-count {
     font-size: 13px;
     color: var(--muted);
     margin-bottom: 16px;
 }

 .results-count strong {
     color: var(--gold);
 }

 /* ============================================================
   MEDIA QUERIES – Todo lo responsive en un solo lugar
   ============================================================ */

 /* Tablet y móvil (≤992px) */
 @media (max-width: 992px) {
     .dest-grid-static {
         grid-template-columns: repeat(3, 1fr);
         gap: 16px;
     }
 }

 /* Móvil grande (≤768px) */
 @media (max-width: 768px) {
     .site-nav {
         padding: 0 16px;
     }

     .hamburger-btn {
         display: flex;
     }

     /* Esconde el menú de escritorio y lo reemplaza con panel desplegable */
     .nav-links {
         display: none;
         position: absolute;
         top: 64px;
         left: 0;
         right: 0;
         background: rgba(8, 9, 13, 0.95);
         backdrop-filter: blur(30px) saturate(200%);
         border-bottom: 1px solid rgba(241, 196, 15, 0.2);
         padding: 16px 20px;
         flex-direction: column;
         gap: 8px;
         z-index: 999;
         box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
     }

     .nav-links.active {
         display: flex;
     }

     .nav-links li a {
         display: block;
         width: 100%;
         padding: 12px 16px;
         font-size: 1rem;
         border-radius: var(--radius-md);
     }

     .nav-cta {
         text-align: center;
         margin-top: 4px;
     }

     /* Mapa */
     .hero-map {
         height: 380px;
     }


     /* Clubs */
     .clubs-section {
         padding: 0 0 0px;
     }

     .clubs-grid {
         grid-template-columns: 1fr;
         gap: 12px;
     }

     .club-card {
         grid-template-columns: 44px 1fr auto auto auto;
         gap: 8px;
         padding: 12px 14px;
     }

     .club-avatar {
         width: 44px;
         height: 44px;
     }

     .club-info-name {
         font-size: 0.95rem;
     }

     .club-info-loc {
         font-size: 0.7rem;
     }

     .club-badge {
         display: none;
     }

     .club-price {
         display: none;
     }

     .club-price-sub {
         display: none;
     }

     .club-join-btn {
         font-size: 0.75rem;
         padding: 6px 14px;
     }

     .destinations-section {
         padding: 20px 0 20px;
     }

     /* Destinos */
     .dest-grid-static {
         grid-template-columns: repeat(2, 1fr);
         gap: 12px;
     }

     /* Cities */
     .cities-section {
         padding: 10px 0 20px;
     }

     .cities-scroll {
         gap: 8px;
     }

     .city-chip {
         padding: 12px 20px;
         font-size: 0.9rem;
     }

     .city-chip-name {
         font-size: 1rem;
     }

     /* Footer */
     .site-footer {
         padding: 48px 0 24px;
     }

     .footer-brand {
         margin-bottom: 8px;
     }

     .footer-tagline {
         font-size: 1rem;
         max-width: 100%;
         margin-bottom: 16px;
     }

     .footer-col-title {
         font-size: 0.75rem;
         letter-spacing: 1.5px;
         margin-bottom: 12px;
     }

     .footer-links li {
         margin-bottom: 8px;
     }

     .footer-links li a {
         font-size: 1rem;
         gap: 4px;
     }

     .footer-divider {
         margin: 32px 0 20px;
     }

     .footer-copy {
         flex-direction: column;
         align-items: flex-start;
         gap: 8px;
         font-size: 0.75rem;
     }

     .footer-copy>div {
         gap: 12px;
     }

     .section-title {
         display: none;
     }

     .section-eyebrow {
         font-size: 1rem;
     }
 }

 /* Móvil pequeño (≤480px) */
 @media (max-width: 480px) {
     .hero-map {
         height: 300px;
     }

     .search-card-wrap {
         margin-top: 20px !important;
     }

     .dest-grid-static {
         grid-template-columns: repeat(2, 1fr);
     }

     .cities-scroll {
         gap: 6px;
     }

     .city-chip {
         padding: 10px 18px;
         font-size: 0.85rem;
     }

     .city-chip-name {
         font-size: 1rem;
     }

     .site-footer {
         padding: 40px 0 20px;
     }

     .footer-brand img {
         height: 28px;
     }

     .footer-col-title {
         font-size: 0.7rem;
     }
 }

 /* Hero */
 .event-hero {
     margin-top: 64px;
     background: radial-gradient(circle at 30% 20%, rgba(241, 196, 15, 0.07), transparent 80%);
     padding: 32px 0 24px;
 }

 .event-badge {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: rgba(241, 196, 15, 0.1);
     padding: 6px 18px;
     border-radius: var(--radius-pill);
     font-size: 0.7rem;
     font-weight: 600;
     color: var(--gold);
     margin-bottom: 20px;
 }

 .event-name {
     font-size: clamp(2rem, 6vw, 3.4rem);
     margin: 0 0 24px 0;
 }

 /* GRID PRINCIPAL: 2 COLUMNAS */
 .two-columns {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 32px;
 }

 /* COLUMNA IZQUIERDA */
 .left-col {
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 /* Mapa */
 .map-card {
     background: var(--ink2);
     border-radius: var(--radius-lg);
     border: 1px solid rgba(241, 196, 15, 0.2);
     overflow: hidden;
 }



 .address-box {
     padding: 12px 16px;
     background: rgba(0, 0, 0, 0.3);
     font-size: 0.75rem;
     display: flex;
     align-items: center;
     gap: 8px;
     border-top: 1px solid rgba(255, 255, 255, 0.05);
 }

 /* Bloques de información */
 .info-block {
     background: var(--ink2);
     border-radius: var(--radius-md);
     padding: 16px 20px;
     border: 1px solid rgba(255, 255, 255, 0.06);
     display: flex;
     align-items: center;
     gap: 16px;
     transition: all 0.2s;
 }

 .info-block:hover {
     border-color: rgba(241, 196, 15, 0.3);
 }

 .block-icon {
     width: 48px;
     height: 48px;
     background: var(--gold-dim);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--gold);
     font-size: 1.3rem;
     flex-shrink: 0;
 }

 .block-label {
     font-size: 0.7rem;
     font-weight: 600;
     letter-spacing: 1px;
     color: var(--gold);
     text-transform: uppercase;
     margin-bottom: 4px;
 }

 .block-value {
     font-size: 1.1rem;
     font-weight: 700;
     line-height: 1.3;
 }

 .block-sub {
     font-size: 0.7rem;
     color: var(--muted);
     margin-top: 2px;
 }

 /* COLUMNA DERECHA */
 .right-col {
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 /* Tarjeta de club */
 .compact-card {
     background: var(--ink3);
     border-radius: var(--radius-md);
     border: 1px solid rgba(255, 255, 255, 0.05);
     padding: 14px 16px;
     transition: all 0.2s;
 }

 .compact-card:hover {
     border-color: rgba(241, 196, 15, 0.3);
 }

 .club-avatar-sm {
     width: 44px;
     height: 44px;
     border-radius: var(--radius-sm);
     object-fit: cover;
 }

 /* Estilos para títulos de sección */
 .section-title {
     font-size: 1.8rem;
     letter-spacing: 1px;
     margin-bottom: 12px;
 }

 .section-title-white {
     color: var(--cream) !important;
 }

 .section-title-gold {
     color: var(--gold);
 }

 /* Tarjeta de coach */
 .coach-card {
     background: var(--ink3);
     border-radius: var(--radius-md);
     border: 1px solid rgba(255, 255, 255, 0.05);
     padding: 14px 16px;
     transition: all 0.2s;
     display: flex;
     align-items: center;
     gap: 14px;
 }

 .coach-card:hover {
     border-color: rgba(241, 196, 15, 0.3);
 }

 .coach-avatar {
     width: 52px;
     height: 52px;
     border-radius: 50%;
     object-fit: cover;
     border: 2px solid var(--gold);
 }

 .coach-name {
     font-size: 1.1rem;
     font-weight: 700;
     color: var(--cream);
     margin-bottom: 4px;
 }

 .coach-role {
     font-size: 0.7rem;
     color: var(--gold);
     font-weight: 500;
     letter-spacing: 0.5px;
 }

 /* RSVP card */
 .rsvp-card {
     background: var(--ink3);
     border-radius: var(--radius-md);
     border: 1px solid rgba(241, 196, 15, 0.2);
     padding: 20px;
     transition: all 0.2s;
     display: flex;
     flex-direction: column;
     gap: 16px;
 }

 .rsvp-card:hover {
     border-color: rgba(241, 196, 15, 0.4);
 }

 .attendee-avatars {
     display: flex;
     gap: 10px;
     align-items: center;
     flex-wrap: wrap;
 }

 .attendee-avatar {
     width: 44px;
     height: 44px;
     border-radius: 50%;
     background: var(--surface2);
     border: 1px solid var(--gold);
     object-fit: cover;
 }

 .btn-join-event {
     background: var(--gold);
     color: #000000 !important;
     border: none;
     padding: 12px 20px;
     border-radius: var(--radius-pill);
     font-weight: 700;
     font-size: 0.85rem;
     transition: all 0.2s;
     width: 100%;
     cursor: pointer;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 .btn-join-event:hover {
     background: #e2b80c;
     transform: scale(1.02);
 }



 @media (max-width: 992px) {
     .two-columns {
         grid-template-columns: 1fr;
         gap: 24px;
     }
 }

 @media (max-width: 768px) {
     .site-nav {
         padding: 0 16px;
     }

     .nav-links {
         display: none;
     }

     .hamburger-btn {
         display: flex;
         align-items: center;
         justify-content: center;
     }

     .section-title {
         font-size: 1.5rem;
     }
 }

 .fade-in {
     animation: fadeUp 0.5s ease forwards;
     opacity: 0;
     transform: translateY(15px);
 }

 @keyframes fadeUp {
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .no-schedule-message {
     background: var(--gold-dim);
     border-radius: var(--radius-sm);
     padding: 8px 12px;
     font-size: 0.8rem;
     color: var(--gold);
     text-align: center;
     margin-top: 8px;
 }

 .badge-pill {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     padding: 5px 14px;
     border-radius: var(--radius-pill);
     font-size: 11px;
     font-weight: 600;
     background: var(--gold-dim);
     border: 1px solid rgba(241, 196, 15, 0.2);
     color: var(--gold);
 }

 .about-section {
     background: var(--ink2);
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: var(--radius-lg);
     padding: 22px 26px;
     margin: 28px 0 32px;
     font-size: 14px;
     color: #9ca3af;
     line-height: 1.7;
 }

 /* Botón amarillo redondeado dentro de about-section */
 .join-club-btn {
     display: inline-block;
     background: var(--gold);
     color: #000000 !important;
     font-weight: 700;
     font-size: 14px;
     padding: 12px 28px;
     border-radius: 100px;
     text-decoration: none;
     text-align: center;
     transition: all 0.2s ease;
     margin-top: 18px;
     width: 100%;
     border: none;
     cursor: pointer;
     letter-spacing: 0.3px;
 }

 .join-club-btn:hover {
     background: #e0b800;
     transform: translateY(-2px);
     box-shadow: 0 6px 14px rgba(241, 196, 15, 0.25);
     color: #000000;
 }

 .join-club-btn:active {
     transform: translateY(1px);
 }

 .section-header {
     display: flex;
     align-items: center;
     gap: 10px;
     margin-bottom: 20px;
 }

 .section-header h2 {
     font-size: 2rem;
     letter-spacing: 1px;
     margin: 0;
 }

 .section-header h2 span {
     color: var(--gold);
 }

 .workout-card {
     background: var(--ink2);
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: 24px;
     padding: 16px 18px;
     margin-bottom: 16px;
     transition: 0.2s;
 }

 .workout-card-inner {
     display: flex;
     align-items: center;
     gap: 16px;
 }

 .workout-day-badge {
     width: 64px;
     min-width: 64px;
     height: 64px;
     border-radius: 16px;
     background: #ffcc00;
     color: #111;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     font-weight: 800;
 }

 .day-short {
     font-size: 18px;
     text-transform: uppercase;
 }

 .day-full {
     font-size: 10px;
     opacity: 0.7;
     text-transform: uppercase;
     margin-top: 4px;
 }

 .workout-name {
     font-size: 16px;
     font-weight: 700;
     color: #fff;
     margin-bottom: 8px;
 }

 .workout-meta {
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 10px;
 }

 .workout-time,
 .workout-location {
     display: flex;
     align-items: center;
     gap: 7px;
     font-size: 13px;
     color: rgba(255, 255, 255, 0.68);
 }

 .workout-time i,
 .workout-location i {
     color: #ffcc00;
     font-size: 12px;
 }

 .map-card {
     background: var(--ink2);
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: 28px;
     padding: 20px;
     margin: 24px 0 24px;
 }

#workoutMap {
    min-height: 280px; /* O la altura exacta que tendrá */
    background: #1a1d24;
}

 .chip-group {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 14px;
     margin: 0 auto;
 }

 .workout-chip {
     background: var(--surface);
     border: 1px solid rgba(241, 196, 15, 0.4);
     border-radius: 40px;
     padding: 8px 22px;
     font-size: 13px;
     font-weight: 600;
     letter-spacing: 0.3px;
     color: #f5f0e8;
     cursor: pointer;
     transition: all 0.2s;
     display: inline-flex;
     align-items: center;
     gap: 8px;
 }

 .workout-chip i {
     color: var(--gold);
     font-size: 13px;
 }

 .workout-chip:hover {
     background: var(--gold-dim);
     border-color: var(--gold);
     transform: translateY(-2px);
     color: var(--gold);
 }

 .chip-info-text {
     text-align: center;
     font-size: 11px;
     color: var(--muted);
     margin-top: 14px;
 }

 .people-list {
     background: var(--ink2);
     border: 1px solid rgba(255, 255, 255, 0.06);
     border-radius: 24px;
     padding: 16px 20px;
 }

 /* scrollable members list */
 #membersList {
     max-height: 720px;
     overflow-y: auto;
     scrollbar-width: thin;
     scrollbar-color: var(--gold) var(--surface);
     padding-right: 4px;
 }

 #membersList::-webkit-scrollbar {
     width: 5px;
 }

 #membersList::-webkit-scrollbar-track {
     background: var(--surface);
     border-radius: 10px;
 }

 #membersList::-webkit-scrollbar-thumb {
     background: var(--gold);
     border-radius: 10px;
 }

 .person-row {
     display: flex;
     align-items: center;
     gap: 14px;
     padding: 10px 0;
     border-bottom: 1px solid rgba(255, 255, 255, 0.04);
     cursor: pointer;
     transition: all 0.2s;
 }

 .person-row:hover {
     background: rgba(241, 196, 15, 0.03);
     border-radius: 8px;
     padding-left: 8px;
 }

 .person-avatar {
     width: 36px;
     height: 36px;
     border-radius: 50%;
     object-fit: cover;
     border: 2px solid rgba(241, 196, 15, 0.2);
     flex-shrink: 0;
 }

 .person-name {
     font-size: 13px;
     font-weight: 600;
 }

 .person-role {
     font-size: 10px;
     color: var(--muted);
     display: flex;
     gap: 4px;
 }

 .person-arrow {
     color: var(--muted);
     font-size: 13px;
     transition: 0.2s;
     margin-left: auto;
 }

 .person-row:hover .person-arrow {
     color: var(--gold);
     transform: translateX(3px);
 }

 .other-clubs-section {
     margin-top: 48px;
     margin-bottom: 20px;
 }

 .clubs-circle-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
     gap: 28px;
 }

 .club-circle-card {
     text-align: center;
     cursor: pointer;
     transition: transform 0.2s;
     background: var(--ink2);
     border-radius: 32px;
     padding: 20px 12px 18px;
     border: 1px solid rgba(255, 255, 255, 0.04);
 }

 .club-circle-card:hover {
     transform: translateY(-5px);
     background: #171b24;
     border-color: rgba(241, 196, 15, 0.3);
 }

 .club-avatar-circle {
     width: 90px;
     height: 90px;
     margin: 0 auto 12px;
     border-radius: 50%;
     background: #11141c;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     border: 2px solid rgba(241, 196, 15, 0.4);
 }

 .club-avatar-circle img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .club-circle-name {
     font-weight: 700;
     font-size: 16px;
     margin-top: 6px;
     color: var(--cream);
 }

 .club-circle-location {
     font-size: 11px;
     color: var(--muted);
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 4px;
     margin-top: 6px;
 }

 @media (max-width: 768px) {
     .clubs-circle-grid {
         gap: 16px;
             grid-auto-flow: row;
     }

     .club-avatar-circle {
         width: 75px;
         height: 75px;
     }

     #membersList {
         max-height: 320px;
     }

     .join-club-btn {
         padding: 10px 20px;
         font-size: 13px;
     }
 }


/* Contenedor izquierdo: logo + flecha */
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;  /* espacio entre flecha y logo */
}

/* Estilo del enlace de la flecha (back arrow) */
.back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #414141a3;
  color: #e8f4ff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.back-arrow:hover {
  background-color: #e2e6ea;
  color: #0a58ca;
  transform: scale(1.02);
}

.back-arrow i {
  font-size: 1rem;
}
/* Mejora el contraste del texto de los chips */
.chip-info-text {
  color: #e0e0e0 !important;  /* gris claro sobre fondo oscuro */
}

/* Rol de coach/runner: amarillo más brillante */
.person-role {
  color: #f5ae01 !important;
  opacity: 1 !important;
  font-weight: 500;
}

/* Texto del footer (si es necesario) */
.site-footer, .footer-tagline {
  color: #cccccc !important;
}
/* Inyecte esto en el <head> de su página o en su CSS global */
.nav-logo img,
img[alt="RunAdic"],
img[src*="logo-dark.png"] {
  width: auto;
  height: auto;
  max-width: 120px;
  max-height: 38px;
}
/* Forzar dimensiones a TODAS las imágenes del navbar */
.nav-logo img,
img[alt="RunAdic"],
img[src*="logo-dark.png"] {
  width: auto !important;
  height: auto !important;
  max-width: 120px;
  max-height: 38px;
  /* Añadir aspect ratio para que el navegador reserve el espacio exacto */
  aspect-ratio: 120 / 38;
}
/* Custom Map Markers */
.custom-marker {
  position: relative;
  cursor: pointer;
}

.marker-pulse {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  animation: pulse 1.5s ease-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.marker-pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  overflow: hidden;
}

.marker-pin img {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

.marker-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  white-space: nowrap;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* Cluster Marker */
.cluster-marker {
  cursor: pointer;
}

.cluster-circle {
  width: 48px;
  height: 48px;
  background: #F1C40F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  animation: bounce 0.3s ease;
}

.cluster-count {
  font-size: 18px;
  font-weight: bold;
  color: #1a1d24;
}

/* User Location Marker */
.user-location-marker {
  position: relative;
}

.user-pulse {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #34d399;
  opacity: 0.6;
  animation: pulse-ring 1.5s ease-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.user-dot {
  width: 12px;
  height: 12px;
  background: #34d399;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #34d399;
}

/* Custom Map Controls */
.custom-map-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(15, 17, 23, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 8px;
  border: 1px solid rgba(241, 196, 15, 0.2);
}

.map-control-btn {
  width: 40px;
  height: 40px;
  background: #1a1d24;
  border: 1px solid rgba(241, 196, 15, 0.3);
  border-radius: 8px;
  color: #F1C40F;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-control-btn:hover {
  background: rgba(241, 196, 15, 0.1);
  transform: scale(1.05);
}

.map-stats {
  padding: 8px 12px;
  background: #1a1d24;
  border-radius: 8px;
  font-size: 12px;
  color: #F1C40F;
  text-align: center;
  border-top: 1px solid rgba(241, 196, 15, 0.2);
  margin-top: 8px;
}

/* Map Filter Controls */
.map-filter-controls {
  display: flex;
  gap: 8px;
  background: rgba(15, 17, 23, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  padding: 6px;
  border: 1px solid rgba(241, 196, 15, 0.2);
  margin-left: 20px;
}

.filter-btn {
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 32px;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 500;
}

.filter-btn.active {
  background: #F1C40F;
  color: #1a1d24;
}

.filter-btn:hover:not(.active) {
  background: rgba(241, 196, 15, 0.1);
  color: #F1C40F;
}

/* Custom Info Window */
.custom-info-window {
  background: #0f1117;
  border-radius: 16px;
  overflow: hidden;
  min-width: 260px;
}

.info-header {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(135deg, #1a1d24, #0f1117);
  border-bottom: 1px solid rgba(241, 196, 15, 0.2);
}

.info-header img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.info-header h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: #fff;
}

.info-header p {
  margin: 0;
  font-size: 11px;
  color: #9ca3af;
}

.info-stats {
  display: flex;
  gap: 16px;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-stats .stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #d1d5db;
}

.info-stats .stat i {
  color: #F1C40F;
}

.info-actions {
  display: flex;
  gap: 8px;
  padding: 12px;
}

.info-join-btn {
  flex: 1;
  background: #F1C40F;
  border: none;
  padding: 8px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.info-join-btn:hover {
  background: #e2b80c;
  transform: translateY(-1px);
}

.info-directions-btn {
  background: rgba(241, 196, 15, 0.1);
  border: 1px solid rgba(241, 196, 15, 0.3);
  padding: 8px;
  border-radius: 8px;
  color: #F1C40F;
  cursor: pointer;
  transition: all 0.2s;
}

/* Map Toast Notifications */
.map-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1a1d24;
  color: #F1C40F;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 14px;
  z-index: 1000;
  transition: transform 0.3s ease;
  border: 1px solid rgba(241, 196, 15, 0.3);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.map-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Animations */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

@keyframes bounce {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}