/* ==========================================================
   5 МИНУТ СПОРТА — Dark Athletic Design System
   ========================================================== */

:root {
    --lime: #CDFF00;
    --lime-dim: #a8d600;
    --lime-glow: rgba(205, 255, 0, 0.15);
    --lime-glow-strong: rgba(205, 255, 0, 0.3);

    --bg-deep: #0B0B0F;
    --bg: #111117;
    --bg-card: #1A1A23;
    --bg-card-hover: #222230;
    --bg-elevated: #24242F;
    --bg-glass: rgba(26, 26, 35, 0.7);

    --text: #E8E8ED;
    --text-dim: #9999A8;
    --text-muted: #66667A;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --red: #FF4757;
    --green: #2ED573;
    --blue: #54A0FF;
    --orange: #FF9F43;
    --purple: #A855F7;
    --teal: #00D2D3;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;

    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-lime: 0 0 30px rgba(205, 255, 0, 0.15);

    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.3s var(--ease);
    --transition-slow: 0.5s var(--ease);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg-deep);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-body); font-weight: 700; line-height: 1.15; color: var(--text); }

/* ===== AMBIENT GLOW ===== */
.ambient-glow {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(205, 255, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: rgba(11, 11, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--lime);
    color: var(--bg-deep);
    font-family: var(--font-display);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xs);
    letter-spacing: -1px;
    line-height: 1;
}
.logo-text-group { display: flex; flex-direction: column; line-height: 1; }
.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: 2px;
}
.logo-sub {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--lime);
    letter-spacing: 4px;
}

.nav-links { display: flex; gap: 2px; }
.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-xs);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dim);
    transition: var(--transition);
    letter-spacing: 0.3px;
    position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active {
    color: var(--lime);
    background: var(--lime-glow);
}

/* Lang switch */
.lang-switch {
    display: flex;
    gap: 2px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 2px;
    margin-left: 8px;
    flex-shrink: 0;
}
.lang-btn {
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
    background: var(--lime);
    color: var(--bg-deep);
}
/* Hide Google Translate bar & frame */
.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-te-banner-frame { display: none !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 9999; position: relative; }
.hamburger span {
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
    background: var(--lime);
    color: var(--bg-deep);
    font-weight: 700;
    box-shadow: var(--shadow-lime);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(205, 255, 0, 0.25);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--text-dim);
    transform: translateY(-2px);
}
.btn-accent {
    background: var(--teal);
    color: var(--bg-deep);
    font-weight: 700;
}
.btn-accent:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { opacity: 0.9; }

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: var(--bg-deep);
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(205, 255, 0, 0.07) 0%, transparent 100%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(168, 85, 247, 0.05) 0%, transparent 100%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lime-glow-strong), transparent);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--lime-glow);
    border: 1px solid rgba(205, 255, 0, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lime);
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 0.6s var(--ease) both;
}
.hero-label .pulse {
    width: 8px; height: 8px;
    background: var(--lime);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s var(--ease) 0.1s both;
}
.hero h1 .accent {
    color: var(--lime);
    display: block;
}
.hero-desc {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
    animation: fadeInUp 0.6s var(--ease) 0.2s both;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s var(--ease) 0.3s both;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.6s var(--ease) 0.4s both;
}
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--lime);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; position: relative; }
.section-alt { background: var(--bg); }
.section-header {
    margin-bottom: 48px;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.section-header p {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 480px;
}
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: block;
    text-decoration: none;
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, var(--lime-glow));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
    background: var(--bg-card-hover);
}
.card:hover::before { opacity: 1; }

.card-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}
.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--bg-card) 0%, transparent 50%);
}
.card-body { padding: 20px; }
.card-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: var(--transition);
}
.card:hover .card-body h3 { color: var(--lime); }
.card-body p {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-bottom: 14px;
    line-height: 1.5;
}
.card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
}
.badge-green { background: rgba(46, 213, 115, 0.12); color: var(--green); border-color: rgba(46, 213, 115, 0.2); }
.badge-orange { background: rgba(255, 159, 67, 0.12); color: var(--orange); border-color: rgba(255, 159, 67, 0.2); }
.badge-red { background: rgba(255, 71, 87, 0.12); color: var(--red); border-color: rgba(255, 71, 87, 0.2); }
.badge-blue { background: rgba(84, 160, 255, 0.12); color: var(--blue); border-color: rgba(84, 160, 255, 0.2); }
.badge-teal { background: rgba(0, 210, 211, 0.12); color: var(--teal); border-color: rgba(0, 210, 211, 0.2); }
.badge-purple { background: rgba(168, 85, 247, 0.12); color: var(--purple); border-color: rgba(168, 85, 247, 0.2); }
.badge-lime { background: var(--lime-glow); color: var(--lime); border-color: rgba(205, 255, 0, 0.2); }

/* ===== FILTER TABS ===== */
.filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.filter-tab {
    padding: 9px 20px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.88rem;
    background: var(--bg-card);
    color: var(--text-dim);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}
.filter-tab:hover {
    color: var(--text);
    background: var(--bg-elevated);
    border-color: var(--border-hover);
}
.filter-tab.active {
    background: var(--lime);
    color: var(--bg-deep);
    border-color: var(--lime);
    font-weight: 700;
}

/* ===== BENEFITS ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.benefit-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-card:hover { border-color: var(--border-hover); }
.benefit-icon {
    width: 48px; height: 48px;
    margin-bottom: 16px;
    background: var(--lime-glow);
    border: 1px solid rgba(205, 255, 0, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.benefit-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.benefit-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }

/* ===== STEPS ===== */
.steps { display: flex; gap: 16px; }
.step {
    flex: 1;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}
.step:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.step-number {
    width: 40px; height: 40px;
    background: var(--lime);
    color: var(--bg-deep);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 16px;
    line-height: 1;
}
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }

/* ===== WORKOUT OF THE DAY ===== */
.wod-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}
.wod-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: var(--lime);
}
.wod-card::after {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--lime-glow) 0%, transparent 70%);
    pointer-events: none;
}
.wod-card h2 { font-family: var(--font-display); font-size: 2rem; letter-spacing: 1px; }
.wod-card .wod-day {
    color: var(--lime);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.wod-card p { color: var(--text-dim); margin-bottom: 20px; max-width: 500px; }
.wod-exercises { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.wod-exercise-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 100px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lime-dim), var(--lime));
    border-radius: 100px;
    transition: width 0.5s var(--ease);
    box-shadow: 0 0 10px rgba(205, 255, 0, 0.3);
}

/* ===== CHALLENGE CARD ===== */
.challenge-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}
.challenge-card:hover { border-color: var(--border-hover); }
.challenge-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.challenge-tasks { margin-top: 16px; }
.challenge-task {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}
.challenge-task:last-child { border-bottom: none; }
.challenge-task input[type="checkbox"] {
    width: 20px; height: 20px;
    accent-color: var(--lime);
    cursor: pointer;
    flex-shrink: 0;
}
.challenge-task.completed span:last-child {
    text-decoration: line-through;
    color: var(--text-muted);
}
.challenge-complete-msg {
    display: none;
    text-align: center;
    padding: 20px;
    background: var(--lime-glow);
    border: 1px solid rgba(205, 255, 0, 0.2);
    color: var(--lime);
    border-radius: var(--radius-sm);
    margin-top: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    animation: celebrate 0.5s var(--ease);
}
@keyframes celebrate {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

/* ===== DETAIL HEADER ===== */
.detail-header {
    padding: 60px 0 40px;
    position: relative;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
}
.detail-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 0% 50%, var(--lime-glow) 0%, transparent 100%);
    pointer-events: none;
}
.detail-header .container { position: relative; z-index: 1; }
.detail-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 1px;
}
.detail-header a {
    color: var(--lime);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    transition: var(--transition);
}
.detail-header a:hover { opacity: 0.7; }
.detail-header p { color: var(--text-dim); margin-top: 8px; }

/* ===== DETAIL CONTENT ===== */
.detail-content { padding: 48px 0; }
.detail-section { margin-bottom: 36px; }
.detail-section h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: inline-block;
}
.detail-section p { color: var(--text-dim); line-height: 1.7; }
.detail-section ol { padding-left: 20px; }
.detail-section ol li {
    margin-bottom: 10px;
    color: var(--text-dim);
    line-height: 1.6;
}
.detail-section ol li::marker { color: var(--lime); font-weight: 700; }
.detail-section ul { padding-left: 20px; }
.detail-section ul li { margin-bottom: 8px; color: var(--text-dim); list-style: disc; }
.detail-section ul li::marker { color: var(--lime); }

.mistake-item {
    background: rgba(255, 71, 87, 0.08);
    border-left: 3px solid var(--red);
    padding: 12px 16px;
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: var(--text-dim);
}

/* ===== TIMELINE ===== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    padding-left: 32px;
    max-width: 600px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 8px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--lime), var(--border));
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.timeline-item:hover { border-color: var(--border-hover); }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px; top: 20px;
    width: 10px; height: 10px;
    background: var(--lime);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(205, 255, 0, 0.4);
}
.timeline-time {
    font-weight: 700;
    color: var(--lime);
    font-size: 0.8rem;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.timeline-item h3 { font-size: 1rem; }
.timeline-item p a { color: var(--lime) !important; }

/* ===== RECIPE META ===== */
.recipe-meta { display: flex; gap: 24px; margin: 20px 0; }
.recipe-meta-item { font-size: 0.9rem; color: var(--text-dim); }
.recipe-meta-item strong { color: var(--text); }

/* ===== TIMER ===== */
.timer-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    margin: 24px 0;
    position: relative;
    overflow: hidden;
}
.timer-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--lime-glow) 0%, transparent 60%);
    pointer-events: none;
}
.timer-display {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--lime);
    margin: 16px 0;
    position: relative;
    text-shadow: 0 0 40px rgba(205, 255, 0, 0.3);
}
.timer-exercise-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 2px;
    position: relative;
}
.timer-info { color: var(--text-muted); margin-bottom: 12px; position: relative; }
.timer-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    position: relative;
}

/* ===== WORKOUT EXERCISE LIST ===== */
.workout-exercise-list .card {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    flex-direction: row;
}
.workout-exercise-list .card h3 a {
    color: var(--text);
    transition: var(--transition);
}
.workout-exercise-list .card h3 a:hover { color: var(--lime); }
.workout-exercise-list .exercise-num {
    width: 44px; height: 44px;
    background: var(--lime);
    color: var(--bg-deep);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    flex-shrink: 0;
    line-height: 1;
}

/* ===== TIP CONTENT ===== */
.tip-content {
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 700px;
    color: var(--text-dim);
}
.tip-content strong { color: var(--lime); font-weight: 600; }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    margin-top: 0;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.footer-nav { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.footer-col a {
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.cards-grid .card:nth-child(1) { transition-delay: 0s; }
.cards-grid .card:nth-child(2) { transition-delay: 0.07s; }
.cards-grid .card:nth-child(3) { transition-delay: 0.14s; }
.cards-grid .card:nth-child(4) { transition-delay: 0.21s; }
.benefits-grid .benefit-card:nth-child(1) { transition-delay: 0s; }
.benefits-grid .benefit-card:nth-child(2) { transition-delay: 0.07s; }
.benefits-grid .benefit-card:nth-child(3) { transition-delay: 0.14s; }
.benefits-grid .benefit-card:nth-child(4) { transition-delay: 0.21s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 9998;
        padding: 8px 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s var(--ease), opacity 0.25s ease;
    }
    .nav-links.open {
        max-height: 500px;
        opacity: 1;
    }
    .nav-links li {
        display: block;
        width: 100%;
    }
    .nav-links a {
        font-size: 1rem;
        padding: 14px 24px;
        display: block;
        width: 100%;
        border-radius: 0;
        color: var(--text-dim);
        font-weight: 500;
        border-bottom: 1px solid var(--border);
    }
    .nav-links li:last-child a {
        border-bottom: none;
    }
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.04);
        color: var(--text);
    }
    .nav-links a.active {
        color: var(--lime);
        background: var(--lime-glow);
    }

    .menu-backdrop {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9997;
    }
    .menu-backdrop.active { display: block; }
    .hero { padding: 60px 0 50px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .benefits-grid { grid-template-columns: 1fr 1fr; }
    .steps { flex-direction: column; }
    .wod-card { flex-direction: column; padding: 28px; }
    .cards-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .footer-inner { flex-direction: column; }
    .footer-nav { gap: 40px; }
    .timer-display { font-size: 3.5rem; }
}

@media (max-width: 480px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .filter-tab { padding: 7px 14px; font-size: 0.82rem; }
    .detail-header h1 { font-size: 1.8rem; }
}
