/* ==================== */
/* CSS Reset & Base */
/* ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --accent: #f59e0b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.2s ease;
    /* Timer colors */
    --timer-work: #ef4444;
    --timer-work-bg: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    --timer-rest: #3b82f6;
    --timer-rest-bg: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    --timer-ready: #10b981;
    --timer-ready-bg: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    --timer-done: #8b5cf6;
    --timer-done-bg: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    /* Muscle map colors */
    --muscle-active: #f59e0b;
    --muscle-active2: #fb923c;
    --muscle-inactive: #cbd5e1;
    --figure-color: #1e3a5f;
    --figure-kb: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.timer-active {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

/* ==================== */
/* Typography */
/* ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.75rem; }
}

/* ==================== */
/* Layout */
/* ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--background-alt);
}

.section-intro {
    max-width: 700px;
    margin: 1rem auto 3rem;
    color: var(--text-light);
    text-align: center;
}

.section h2 {
    text-align: center;
}

/* ==================== */
/* Buttons */
/* ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #475569;
    color: white;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ==================== */
/* Header */
/* ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.logo svg {
    color: var(--primary);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ==================== */
/* Hero */
/* ==================== */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ==================== */
/* Ad Container */
/* ==================== */
.ad-container {
    max-width: 728px;
    margin: 2rem auto;
    padding: 1rem;
    background: var(--background-alt);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    text-align: center;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-container::after {
    content: 'AdSense Placeholder';
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ==================== */
/* Workout Generator Tool */
/* ==================== */
.tool-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.tool-container h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.tool-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.workout-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text);
}

.form-group select {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==================== */
/* Workout Result */
/* ==================== */
.workout-result {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.workout-result h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

#workoutSummary {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

#workoutSummary h4 {
    margin-bottom: 0.75rem;
}

#workoutSummary ul {
    display: grid;
    gap: 0.5rem;
}

#workoutSummary li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

#workoutSummary li:last-child {
    border-bottom: none;
}

#workoutSummary span {
    font-weight: 600;
    color: var(--primary);
}

#workoutExercises {
    margin-bottom: 1.5rem;
}

.exercise-item {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.exercise-item h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exercise-item h4 .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--primary);
    color: white;
    border-radius: 9999px;
    font-weight: 500;
}

.exercise-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.workout-result .btn {
    margin-top: 1rem;
    margin-right: 0.5rem;
}

.hidden {
    display: none;
}

/* ==================== */
/* Exercise Grid */
/* ==================== */
.exercise-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .exercise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .exercise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.exercise-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.exercise-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.exercise-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.25rem 0;
}

.exercise-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: var(--radius);
    color: var(--primary);
}

.exercise-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.exercise-card > p {
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 0 1.25rem;
    margin-top: 0.25rem;
}

/* Exercise visual: stick figure + muscle map */
.exercise-visual {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    align-items: center;
}

.exercise-stick-figure {
    flex-shrink: 0;
    width: 100px;
    height: 140px;
}

.exercise-muscle-map {
    flex: 1;
    height: 140px;
}

.exercise-card-body {
    padding: 0 1.25rem 1.25rem;
}

.exercise-steps {
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
}

.exercise-steps li {
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 0.35rem 0;
    position: relative;
}

.exercise-steps li::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ==================== */
/* STICK FIGURE ANIMATIONS */
/* ==================== */
.sf-figure { stroke: var(--figure-color); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.sf-head { fill: var(--figure-color); stroke: none; }
.sf-kb { fill: var(--figure-kb); stroke: none; }
.sf-kettlebell { fill: var(--figure-kb); stroke: none; }

/* Deadlift: hip hinge */
DISABLED-@keyframes sf-deadlift {
    0%, 100% { transform: rotate(0deg); transform-origin: 100px 70px; }
    50% { transform: rotate(70deg); transform-origin: 100px 70px; }
}
.sf-deadlift-torso { DISABLED-animation: sf-deadlift 2.4s ease-in-out infinite; transform-origin: 100px 70px; }

/* Goblet Squat: knee bend + elbow bend */
DISABLED-@keyframes sf-goblet-squat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(18px); }
}
.sf-goblet-group { DISABLED-animation: sf-goblet-squat 2s ease-in-out infinite; }
DISABLED-@keyframes sf-goblet-elbow {
    0%, 100% { transform: rotate(0deg); transform-origin: 95px 42px; }
    50% { transform: rotate(60deg); transform-origin: 95px 42px; }
}
.sf-goblet-arm { DISABLED-animation: sf-goblet-elbow 2s ease-in-out infinite; transform-origin: 95px 42px; }

/* Swing: arm swing from between legs to chest */
DISABLED-@keyframes sf-swing {
    0% { transform: rotate(-60deg); transform-origin: 100px 38px; }
    50% { transform: rotate(20deg); transform-origin: 100px 38px; }
    100% { transform: rotate(-60deg); transform-origin: 100px 38px; }
}
.sf-swing-arm { DISABLED-animation: sf-swing 1.6s ease-in-out infinite; transform-origin: 100px 38px; }

/* Press: overhead press */
DISABLED-@keyframes sf-press {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
.sf-press-group { DISABLED-animation: sf-press 2s ease-in-out infinite; }

/* Row: pull elbow back */
DISABLED-@keyframes sf-row {
    0%, 100% { transform: rotate(0deg); transform-origin: 100px 42px; }
    50% { transform: rotate(-70deg); transform-origin: 100px 42px; }
}
.sf-row-arm { DISABLED-animation: sf-row 2s ease-in-out infinite; transform-origin: 100px 42px; }

/* Turkish Get-Up: full body rotation */
DISABLED-@keyframes sf-getup {
    0% { transform: rotate(0deg) translateY(0); transform-origin: 100px 130px; }
    25% { transform: rotate(-20deg) translateY(-10px); transform-origin: 100px 130px; }
    50% { transform: rotate(-40deg) translateY(-25px); transform-origin: 100px 130px; }
    75% { transform: rotate(-20deg) translateY(-10px); transform-origin: 100px 130px; }
    100% { transform: rotate(0deg) translateY(0); transform-origin: 100px 130px; }
}
.sf-getup-group { DISABLED-animation: sf-getup 3s ease-in-out infinite; }

/* Halo: circle the bell around head */
DISABLED-@keyframes sf-halo {
    0% { transform: rotate(0deg); transform-origin: 100px 38px; }
    100% { transform: rotate(360deg); transform-origin: 100px 38px; }
}
.sf-halo-kb { DISABLED-animation: sf-halo 2s linear infinite; transform-origin: 100px 38px; }

/* Clean: arc from bottom to rack */
DISABLED-@keyframes sf-clean {
    0% { transform: rotate(-90deg); transform-origin: 100px 38px; }
    60% { transform: rotate(0deg); transform-origin: 100px 38px; }
    100% { transform: rotate(-90deg); transform-origin: 100px 38px; }
}
.sf-clean-arm { DISABLED-animation: sf-clean 2.4s ease-in-out infinite; transform-origin: 100px 38px; }

/* Thruster: squat + press combo */
DISABLED-@keyframes sf-thruster-squat {
    0%, 100% { transform: translateY(0); }
    30%, 70% { transform: translateY(18px); }
}
DISABLED-@keyframes sf-thruster-press {
    0%, 100% { transform: translateY(0); }
    30%, 70% { transform: translateY(-18px); }
}
.sf-thruster-body { DISABLED-animation: sf-thruster-squat 2.4s ease-in-out infinite; }
.sf-thruster-arms { DISABLED-animation: sf-thruster-press 2.4s ease-in-out infinite; }

/* High Pull: explosive pull to chin */
DISABLED-@keyframes sf-highpull {
    0%, 100% { transform: rotate(-30deg); transform-origin: 100px 38px; }
    50% { transform: rotate(-80deg); transform-origin: 100px 38px; }
}
.sf-highpull-arm { DISABLED-animation: sf-highpull 1.6s ease-in-out infinite; transform-origin: 100px 38px; }

/* Windmill: side bend */
DISABLED-@keyframes sf-windmill {
    0%, 100% { transform: rotate(0deg); transform-origin: 100px 130px; }
    50% { transform: rotate(-45deg); transform-origin: 100px 130px; }
}
.sf-windmill-torso { DISABLED-animation: sf-windmill 2.4s ease-in-out infinite; transform-origin: 100px 130px; }

/* Lunge: step forward/back */
DISABLED-@keyframes sf-lunge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}
.sf-lunge-group { DISABLED-animation: sf-lunge 2s ease-in-out infinite; }

/* Hip Hinge: similar to deadlift */
DISABLED-@keyframes sf-hiphinge {
    0%, 100% { transform: rotate(0deg); transform-origin: 100px 70px; }
    50% { transform: rotate(60deg); transform-origin: 100px 70px; }
}
.sf-hiphinge-torso { DISABLED-animation: sf-hiphinge 2.4s ease-in-out infinite; transform-origin: 100px 70px; }

/* Farmers Walk: static hold, slight bob */
DISABLED-@keyframes sf-farmers {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}
.sf-farmers-group { DISABLED-animation: sf-farmers 1s ease-in-out infinite; }

/* Tactical Lunge: lunge + overhead */
DISABLED-@keyframes sf-tactical {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(10px) translateY(-12px); }
}
.sf-tactical-group { DISABLED-animation: sf-tactical 2.4s ease-in-out infinite; }

/* ==================== */
/* TIMER OVERLAY STICK FIGURE */
/* ==================== */
#timerStickFigure {
    width: 100px;
    height: 140px;
    margin: 0 auto 0.5rem;
}

/* ==================== */
/* MUSCLE MAP */
/* ==================== */
.muscle-map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.muscle-map-svg {
    width: 100%;
    height: 100%;
}

.muscle-map-svg .muscle-group {
    fill: var(--muscle-inactive);
    transition: fill 0.4s ease, opacity 0.4s ease;
    cursor: default;
}

.muscle-map-svg .muscle-group.active {
    fill: var(--muscle-active);
}

.muscle-map-svg .muscle-group.secondary {
    fill: var(--muscle-active2);
}

.muscle-map-svg .body-outline {
    fill: none;
    stroke: #94a3b8;
    stroke-width: 1.5;
}

.muscle-map-svg .muscle-label {
    font-size: 7px;
    fill: #475569;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

.exercise-muscle-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.muscle-chip {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--muscle-active);
    background: rgba(245, 158, 11, 0.12);
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
    white-space: nowrap;
}

/* ==================== */
/* FAQ & Tips (keep existing) */
/* ==================== */
.faq-question {
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.faq-question:hover {
    border-color: var(--primary);
}

.faq-answer {
    padding: 0 0 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-question::after {
    content: '+';
    float: right;
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.2s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

@media (min-width: 768px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tips-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tip-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.tip-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tip-card h4 span {
    font-size: 1.5rem;
}

.tip-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==================== */
/* Footer */
/* ==================== */
.footer {
    background: var(--text);
    color: #94a3b8;
    padding: 3rem 0;
    text-align: center;
}

.footer a {
    color: #94a3b8;
}

.footer a:hover {
    color: white;
}

/* ==================== */
/* Timer Overlay (keep existing + timer figure) */
/* ==================== */
#workoutTimer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#workoutTimer.active {
    opacity: 1;
    pointer-events: all;
}

#workoutTimer.state-work { background: var(--timer-work-bg); }
#workoutTimer.state-rest { background: var(--timer-rest-bg); }
#workoutTimer.state-ready { background: var(--timer-ready-bg); }
#workoutTimer.state-done { background: var(--timer-done-bg); }

#workoutTimer .timer-header {
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

#workoutTimer .timer-progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    background: rgba(255,255,255,0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

#workoutTimer .timer-mute-btn {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#workoutTimer .timer-content {
    text-align: center;
    padding: 2rem;
}

#workoutTimer .timer-state-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

#workoutTimer.state-work .timer-state-label { color: var(--timer-work); }
#workoutTimer.state-rest .timer-state-label { color: var(--timer-rest); }
#workoutTimer.state-ready .timer-state-label { color: var(--timer-ready); }
#workoutTimer.state-done .timer-state-label { color: var(--timer-done); }

#workoutTimer .timer-exercise-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

#workoutTimer .timer-exercise-info {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

#workoutTimer .timer-countdown {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text);
    margin: 1rem 0;
}

#workoutTimer .timer-countdown.pulse {
    DISABLED-animation: pulse 0.5s ease-in-out infinite;
}

DISABLED-@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

#workoutTimer .timer-next {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

#workoutTimer .timer-next strong {
    color: var(--text);
}

#workoutTimer .timer-footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#workoutTimer .timer-skip-btn,
#workoutTimer .timer-stop-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

#workoutTimer .timer-stop-btn {
    background: var(--error);
    color: white;
    border-color: var(--error);
}

#workoutTimer .timer-stop-btn:hover {
    background: #dc2626;
}

#workoutTimer .timer-skip-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

#workoutTimer .timer-content.timer-complete h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#workoutTimer .timer-content.timer-complete p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

#workoutTimer .stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

#workoutTimer .stat {
    text-align: center;
}

#workoutTimer .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
}

#workoutTimer .stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==================== */
/* Responsive Timer */
/* ==================== */
@media (max-width: 480px) {
    #workoutTimer .timer-countdown {
        font-size: 5rem;
    }
    #workoutTimer .timer-exercise-name {
        font-size: 1.25rem;
    }
    #workoutTimer .timer-content {
        padding: 1rem;
    }
}

/* ==================== */
/* Fade in animation */
/* ==================== */
DISABLED-@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    DISABLED-animation: fadeIn 0.4s ease-out forwards;
}

/* Ad Slots */
.ad-container {
    min-height: 100px;
    margin: 2rem auto;
    text-align: center;
    background: var(--background-alt);
    border-radius: 8px;
    padding: 1rem;
    max-width: 728px;
}

.ad-container ins {
    display: block !important;
    margin: 0 auto;
}

/* Amazon Banner */
.amazon-banner {
    background: linear-gradient(135deg, #232f3e 0%, #37475a 100%);
    color: #fff;
    padding: 2rem 0;
    margin: 2rem 0;
    text-align: center;
}

.amazon-banner .amazon-content h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.amazon-banner .amazon-content p {
    color: #ddd;
    margin-bottom: 1rem;
}

.amazon-banner .btn-secondary {
    background: #ffd814;
    color: #0f1111;
    border: none;
}

.amazon-banner .btn-secondary:hover {
    background: #f7ca00;
}
.timer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    vertical-align: middle;
    margin-left: 0.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}
.timer-notice {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #6ee7b7;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #065f46;
    text-align: center;
}

/* Blog Styles */
.blog-post {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.post-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.post-meta {
    color: #6b7280;
    font-size: 0.875rem;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.post-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.post-content ul, .post-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content .lead {
    font-size: 1.125rem;
    color: #4b5563;
}

.post-content .cta-box {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.post-content .cta-box h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.post-content .cta-box p {
    margin-bottom: 1rem;
}

.post-content .cta-box .btn {
    background: white;
    color: #667eea;
}

.post-content .cta-box .btn:hover {
    background: #f3f4f6;
}

/* Blog Styles */
.blog-post {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.post-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.post-meta {
    color: #6b7280;
    font-size: 0.875rem;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.post-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.post-content ul, .post-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content .lead {
    font-size: 1.125rem;
    color: #4b5563;
}

.post-content .cta-box {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.post-content .cta-box h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.post-content .cta-box p {
    margin-bottom: 1rem;
}

.post-content .cta-box .btn {
    background: white;
    color: #667eea;
}

.post-content .cta-box .btn:hover {
    background: #f3f4f6;
}

/* SEO page typography */
.section h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.section p { margin-bottom: 1.25rem; line-height: 1.7; }
.section ul, .section ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.section li { margin-bottom: 0.5rem; }
.section table { margin: 1.5rem 0; width: 100%; border-collapse: collapse; }
.section th, .section td { padding: 12px; text-align: left; }
.section th { background: #FF6B35; color: white; }
