/* ═══════════════════════════════════════════════════════════════════
   Ixime Gym Sport — Website & Portal Styles
   Brand-aligned: Yellow (#FBB034) + Black + White
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --yellow: #FBB034;
    --yellow-dark: #E59A1F;
    --yellow-light: #FFC857;
    --yellow-glow: rgba(251, 176, 52, 0.25);
    --black: #111111;
    --black-soft: #1a1a1a;
    --black-card: #222222;
    --black-card-hover: #2a2a2a;
    --white: #ffffff;
    --white-soft: #f5f5f5;
    --gray-100: #e8e8e8;
    --gray-200: #d0d0d0;
    --gray-300: #b0b0b0;
    --gray-400: #888888;
    --gray-500: #666666;
    --accent-success: #22c55e;
    --accent-danger: #ef4444;
    --accent-warning: #f59e0b;
    --accent-info: #3b82f6;
    --accent-gold: #FBB034;
    --accent-silver: #c0c0c0;
    --accent-bronze: #cd7f32;
    --border-color: rgba(251, 176, 52, 0.15);
    --border-light: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px var(--yellow-glow);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

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

html {
    background: var(--black);
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    outline: none;
    border: none;
    overscroll-behavior: none;
}

*:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
}

a {
    color: var(--yellow);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--yellow-light);
}

/* ─── Navbar ─────────────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    background: transparent;
}

.site-nav.scrolled {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--white);
}

.nav-logo .logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-300);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(251, 176, 52, 0.12);
}

.nav-cta {
    background: var(--yellow) !important;
    color: var(--black) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: var(--yellow-light) !important;
    box-shadow: 0 0 20px var(--yellow-glow) !important;
    transform: translateY(-1px);
    color: var(--black) !important;
}

/* ─── Hero ────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(251, 176, 52, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(251, 176, 52, 0.06) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-3deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(251, 176, 52, 0.35);
}

.hero-badge {
    display: inline-block;
    background: rgba(251, 176, 52, 0.15);
    color: var(--yellow);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(251, 176, 52, 0.3);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.hero h1 .text-yellow {
    color: var(--yellow);
}

.hero p {
    font-size: 1.15rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--yellow);
    color: var(--black);
    box-shadow: 0 4px 20px var(--yellow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 176, 52, 0.45);
    background: var(--yellow-light);
    color: var(--black);
}

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

.btn-outline:hover {
    background: rgba(251, 176, 52, 0.1);
    border-color: var(--yellow);
    color: var(--white);
}

/* ─── Section ────────────────────────────────────────────────── */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--yellow);
}

.section-header p {
    color: var(--gray-400);
    font-size: 1rem;
}

/* ─── Service Cards ──────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--black-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--yellow);
}

.service-card .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.service-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ─── Plan Cards ─────────────────────────────────────────────── */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.plan-card {
    background: var(--black-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.plan-card.featured {
    border-color: var(--yellow);
    background: linear-gradient(180deg, rgba(251, 176, 52, 0.08), var(--black-card));
}

.plan-card.featured::before {
    content: '⭐ Popular';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--yellow);
    color: var(--black);
    padding: 0.3rem 2.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
    color: var(--yellow);
}

.plan-price span {
    font-size: 1.25rem;
    font-weight: 400;
}

.plan-duration {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--gray-300);
}

.plan-features li::before {
    content: '✓';
    color: var(--yellow);
    margin-right: 0.75rem;
    font-weight: 700;
}

/* ─── Schedule ───────────────────────────────────────────────── */
.schedule-card {
    background: var(--black-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.schedule-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-day:last-child {
    border-bottom: none;
}

.schedule-day .day-name {
    font-weight: 600;
    min-width: 120px;
    text-align: left;
}

.schedule-day .day-hours {
    color: var(--yellow);
    font-weight: 500;
}

.schedule-day .day-closed {
    color: var(--gray-500);
    font-style: italic;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
    background: var(--black-soft);
    border-top: 1px solid var(--border-light);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
    opacity: 0.85;
    border-radius: 10px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.875rem;
}

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

.footer-copy {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════════
   PORTAL DEL CLIENTE
   ═══════════════════════════════════════════════════════════════ */

.portal-layout {
    display: flex;
    min-height: 100vh;
}

/* ─── Sidebar (desktop) ──────────────────────────────────────── */
.portal-sidebar {
    width: 260px;
    background: var(--black-soft);
    border-right: 1px solid var(--border-light);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sidebar-user-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.sidebar-user-info p {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--yellow);
    background: rgba(251, 176, 52, 0.08);
    border-right: 3px solid var(--yellow);
}

.sidebar-nav a .nav-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-light);
}

.sidebar-footer a {
    color: var(--gray-500);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.sidebar-footer a:hover {
    color: var(--yellow);
}

/* ─── Portal Content ─────────────────────────────────────────── */
.portal-content {
    flex: 1;
    margin-left: 260px;
    padding: 2rem;
    max-width: 1200px;
}

.portal-header {
    margin-bottom: 2rem;
}

.portal-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--yellow);
}

.portal-header .subtitle {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* ─── Stats Grid (portal) ────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--black-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: var(--yellow);
}

.stat-card .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
    color: var(--yellow);
}

.stat-card .stat-label {
    color: var(--gray-400);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── Membership Card ────────────────────────────────────────── */
.membership-card {
    background: linear-gradient(135deg, rgba(251, 176, 52, 0.1), rgba(251, 176, 52, 0.02));
    border: 1px solid var(--yellow);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--yellow-glow), transparent);
    border-radius: 50%;
}

.membership-card .mc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
}

.membership-card .mc-plan {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--yellow);
}

.membership-card .mc-status {
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mc-status.active {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-success);
}

.mc-status.expired {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-danger);
}

.membership-card .mc-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
}

.mc-detail-item .mc-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mc-detail-item .mc-value {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* ─── Data Cards / Tables ────────────────────────────────────── */
.data-card {
    background: var(--black-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.data-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    border-bottom: 1px solid var(--border-light);
}

.data-table td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(251, 176, 52, 0.05);
}

/* ─── Badges ─────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-active {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-success);
}

.badge-expired {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-danger);
}

.badge-cash {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-success);
}

.badge-card {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-info);
}

.badge-fri {
    background: rgba(251, 176, 52, 0.15);
    color: var(--yellow);
}

.text-money {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--yellow);
}

/* ─── Achievement Grid ───────────────────────────────────────── */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.achievement-card {
    background: var(--black-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.achievement-card.earned {
    border-color: var(--yellow);
    background: linear-gradient(180deg, rgba(251, 176, 52, 0.08), var(--black-card));
}

.achievement-card.locked {
    opacity: 0.4;
}

.achievement-card .ach-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.achievement-card .ach-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.achievement-card .ach-desc {
    color: var(--gray-500);
    font-size: 0.75rem;
    line-height: 1.4;
}

/* ─── Ranking Table ──────────────────────────────────────────── */
.ranking-list {
    list-style: none;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.ranking-item:hover {
    background: rgba(251, 176, 52, 0.05);
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-item.current-user {
    background: rgba(251, 176, 52, 0.1);
    border-radius: var(--radius-sm);
}

.ranking-position {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ranking-position.gold {
    background: rgba(251, 176, 52, 0.2);
    color: var(--yellow);
}

.ranking-position.silver {
    background: rgba(192, 192, 192, 0.2);
    color: var(--accent-silver);
}

.ranking-position.bronze {
    background: rgba(205, 127, 50, 0.2);
    color: var(--accent-bronze);
}

.ranking-position.default {
    background: rgba(100, 100, 100, 0.15);
    color: var(--gray-500);
}

.ranking-name {
    flex: 1;
    font-weight: 600;
}

.ranking-count {
    color: var(--yellow);
    font-weight: 700;
}

/* ─── Access Timeline ────────────────────────────────────────── */
.timeline {
    list-style: none;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-success);
    flex-shrink: 0;
}

.timeline-dot.denied {
    background: var(--accent-danger);
}

.timeline-time {
    color: var(--gray-500);
    font-size: 0.8rem;
    min-width: 140px;
}

.timeline-label {
    font-size: 0.9rem;
}

/* ─── Auth Page ──────────────────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--black);
}

.auth-card {
    background: var(--black-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.auth-card .auth-logo {
    margin-bottom: 1rem;
}

.auth-card .auth-logo img {
    width: 120px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(251, 176, 52, 0.3);
}

.auth-card h2 {
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.auth-card .auth-subtitle {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-group {
    text-align: left;
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: var(--black-soft);
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px var(--yellow-glow);
}

/* Override browser autofill styles */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--black-soft) inset !important;
    -webkit-text-fill-color: var(--white) !important;
    border-color: var(--border-light) !important;
    caret-color: var(--white);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.auth-error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-danger);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* ─── No-membership banner ───────────────────────────────────── */
.no-membership {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.no-membership .nm-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.no-membership h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.no-membership p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ─── Mobile Bottom Nav ──────────────────────────────────────── */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black-soft);
    border-top: 1px solid var(--border-light);
    padding: 0.5rem 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--gray-500);
    font-size: 0.65rem;
    font-weight: 500;
    padding: 0.25rem;
}

.mobile-nav a .mobile-icon {
    font-size: 1.25rem;
}

.mobile-nav a.active {
    color: var(--yellow);
}

/* ─── Empty State ────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 0.9rem;
}

/* ─── Contact Section ────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--black-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.contact-card:hover {
    border-color: var(--yellow);
}

.contact-card .contact-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-card h3 {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--yellow);
}

.contact-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ─── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

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

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

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

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

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

.animate-in:nth-child(6) {
    animation-delay: 0.3s;
}

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

.animate-in:nth-child(8) {
    animation-delay: 0.4s;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .site-nav {
        padding: 0.75rem 1rem;
    }

    .nav-links {
        display: none;
    }

    .section {
        padding: 3rem 1rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .schedule-card {
        padding: 1.5rem;
    }

    /* Portal mobile */
    .portal-sidebar {
        display: none;
    }

    .portal-content {
        margin-left: 0;
        padding: 1rem;
        padding-bottom: 5rem;
    }

    .mobile-nav {
        display: block;
    }

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

    .membership-card .mc-details {
        grid-template-columns: 1fr;
    }

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

    .auth-card {
        padding: 2rem 1.5rem;
    }

    .hero-logo {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        width: 140px;
    }
}