     * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #e63946;
            --primary-dark: #d90429;
            --secondary-color: #1d3557;
            --light-color: #f1faee;
            --dark-color: #1d3557;
            --text-color: #333;
            --white: #ffffff;
            --light-gray: #f8f9fa;
            --gray: #6c757d;
            --accent: #00d4ff;
            --border-radius: 12px;
            --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-color);
            line-height: 1.6;
            background: linear-gradient(135deg, #f1faee 0%, #ffffff 100%);
            overflow-x: hidden;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* Header */
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid rgba(230, 57, 70, 0.1);
            animation: slideDown 0.6s ease-out;
        }

        header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo h1 {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        nav ul {
            display: flex;
            gap: 25px;
            list-style: none;
        }

        nav a {
            font-weight: 500;
            transition: var(--transition);
            position: relative;
            color: var(--text-color);
            text-decoration: none;
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s ease;
        }

        nav a:hover::after {
            width: 100%;
        }

        .btn-back {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
            padding: 10px 20px;
            border-radius: 30px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
@media (max-width: 768px) {
    header .container { position: relative; }
    /* Global style.css mobil panelini desteklemek için gerekirse ek güçlendirici kurallar */
    nav ul { /* globalde gizleniyor; burada panel konumunu netleştiriyoruz */
        position: absolute;
        top: 64px;
        right: 16px;
        left: 16px;
    }
}
        .btn-back:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
        }

        /* Page Header */
        .page-header {
            background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
            color: var(--white);
            padding: 60px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
            animation: slideInUp 0.8s ease-out;
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            animation: float 6s ease-in-out infinite;
        }

        .page-header h2 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 10px;
            position: relative;
            z-index: 1;
        }

        .page-header p {
            font-size: 1.1rem;
            opacity: 0.9;
            position: relative;
            z-index: 1;
        }

        /* Filter Section - her boyutta sabit (fixed) kalır */
        .filter-section {
            background: var(--white);
            padding: 30px;
            border-radius: var(--border-radius);
            margin-bottom: 40px;
            box-shadow: var(--box-shadow);
            animation: fadeInUp 0.8s ease-out 0.2s backwards;
            top: calc(env(safe-area-inset-top, 0px) + var(--header-height, 64px) + 12px);
            left: 16px;
            right: 16px;
            width: auto;
            max-width: calc(100% - 32px);
            z-index: 1000;
        }

        /* İçerik, sabit filtre yüksekliği kadar aşağıdan başlasın */
        main { padding-top: calc(var(--sticky-filter-height, 200px) + 32px); }

        /* Skeleton loading */
        .skeleton-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 25px;
        }
        .skeleton-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--box-shadow);
            animation: fadeInUp 0.6s ease-out;
        }
        .skeleton-video { height: 220px; background: linear-gradient(90deg, #f0f0f0, #eaeaea, #f0f0f0); background-size:200% 100%; animation: shimmerAnim 1.2s infinite; }
        .skeleton-content { padding: 20px; }
        .skeleton-line { height: 14px; background: #eee; border-radius: 6px; margin-bottom: 12px; }
        .skeleton-line.w50 { width: 50%; }
        .skeleton-line.w70 { width: 70%; }
        .skeleton-line.w90 { width: 90%; }
        .skeleton-tags { display:flex; gap:10px; margin:12px 0; }
        .skeleton-tag { width: 90px; height: 24px; background: #eee; border-radius: 20px; }
        @keyframes shimmerAnim { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

        .filter-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            align-items: center;
        }

        .filter-item {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .filter-item label {
            font-weight: 600;
            color: var(--secondary-color);
        }

        .filter-item select,
        .search-box {
            padding: 10px 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            font-family: 'Poppins', sans-serif;
            transition: var(--transition);
        }

        .filter-item select:focus,
        .search-box:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
        }

        .search-box {
            padding: 12px 15px;
        }

        /* Exercises Grid */
        .exercises-container {
            margin-bottom: 60px;
            animation: fadeInUp 0.8s ease-out 0.4s backwards;
        }

        .exercises-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 25px;
        }

        .exercise-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            animation: fadeInUp 0.8s ease-out backwards;
            cursor: pointer;
            position: relative;
        }

        .exercise-card:nth-child(1) { animation-delay: 0.1s; }
        .exercise-card:nth-child(2) { animation-delay: 0.2s; }
        .exercise-card:nth-child(3) { animation-delay: 0.3s; }
        .exercise-card:nth-child(4) { animation-delay: 0.4s; }
        .exercise-card:nth-child(5) { animation-delay: 0.5s; }
        .exercise-card:nth-child(6) { animation-delay: 0.6s; }

        .exercise-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(230, 57, 70, 0.2);
        }

        .exercise-video {
            width: 100%;
            height: 220px;
            background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(0, 212, 255, 0.15));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 60px;
            position: relative;
            overflow: hidden;
        }

        .exercise-video::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: shimmer 3s infinite;
        }

        .exercise-info {
            padding: 20px;
        }

        .exercise-info h3 {
            font-size: 1.4rem;
            margin-bottom: 12px;
            color: var(--secondary-color);
            font-weight: 700;
        }

        .exercise-details {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .detail-tag {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .muscle-tag {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
        }

        .difficulty-tag {
            color: var(--white);
        }

        .difficulty-tag.beginner {
            background: #27ae60;
        }

        .difficulty-tag.intermediate {
            background: #f39c12;
        }

        .difficulty-tag.advanced {
            background: #e74c3c;
        }

        .exercise-description {
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 15px;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .exercise-footer {
            display: flex;
            justify-content: center; /* tek butonu ortala */
        }

        .btn-view {
            flex: 1; /* sabit genişlik, ortalı */
            padding: 10px 24px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            font-family: 'Poppins', sans-serif;
        }

        .btn-view:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
        }

        .btn-add {
            padding: 10px 15px;
            background: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            font-family: 'Poppins', sans-serif;
        }

        .btn-add:hover {
            background: var(--primary-color);
            color: var(--white);
        }
.exercise-description-text {
    font-size: 1.25rem; /* Daha dengeli boyut */
    line-height: 1.8;
    color: #1a1a2e;
    font-weight: 500;
    text-align: justify;
    padding: 25px;
    background: linear-gradient(135deg, #f9faff 0%, #eef2ff 100%);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    margin: 0;
    font-family: 'Nunito', 'Poppins', 'Segoe UI', sans-serif; /* 🔥 Modern font kombinasyonu */
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    letter-spacing: 0.3px; /* Hafif aralık */
}

.exercise-description-text:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, #f8f9ff 0%, #e5eaff 100%);
}

.exercise-description-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: 1;
}



.exercise-description-text:hover::after {
    opacity: 0.8;
}

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            animation: fadeIn 0.3s ease-out;
            overflow: hidden;
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease-out;
}

        .modal-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

        .modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: white;
    line-height: 1.3;
}

        .close-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 20px;
}

        .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

        .modal-body {
    padding: 0 30px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
        .modal-body h3 {
            color: var(--primary-color);
            margin-top: 20px;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .modal-body p {
            line-height: 1.8;
            margin-bottom: 15px;
        }

        .modal-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

        .modal-footer {
            display: flex;
            gap: 10px;
            margin-top: 30px;
        }

        .modal-footer button {
            flex: 1;
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
        }

        .btn-add-to-program {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
        }

        .btn-add-to-program:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
        }

        .btn-close-modal {
            background: var(--light-gray);
            color: var(--text-color);
        }

        .btn-close-modal:hover {
            background: #ddd;
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            animation: fadeInUp 0.8s ease-out;
        }
        .emoji-container {
    text-align: center;
    margin: 25px 0;
    flex-shrink: 0;
}

.emoji-container div {
    font-size: 80px;
    margin-bottom: 10px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    animation: bounce 2s infinite;
}

.modal-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-section {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.modal-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.modal-section h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

.modal-section h3 i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.modal-section p {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #444;
    font-size: 1.05rem;
}

.steps-container {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-item:hover::before {
    opacity: 1;
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.step-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    flex: 1;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    padding: 5px 0;
}

/* Adımlar için responsive tasarım */
@media (max-width: 768px) {
    .steps-container {
        padding: 15px;
        margin: 15px 0;
    }
    
    .step-item {
        padding: 15px;
        gap: 12px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .step-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .steps-container {
        padding: 12px;
    }
    
    .step-item {
        padding: 12px;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .step-text {
        font-size: 0.9rem;
        padding-left: 0;
    }
}

/* Adım yoksa gösterilecek mesaj stili */
.no-steps-message {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    border: 2px dashed #e0e0e0;
}

.no-steps-message i {
    font-size: 48px;
    color: #ffc107;
    margin-bottom: 15px;
    display: block;
}

.no-steps-message p {
    color: #666;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}
.muscle-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.muscle-percentage {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}
.muscle-percentage::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.muscle-percentage:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}
.muscle-percentage:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.muscle-percentage .percentage {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.muscle-percentage .muscle-name {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.tips-container {
    background: linear-gradient(135deg, #fff9e6 0%, #fff0cc 100%);
    border-left: 4px solid #f39c12;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}
.tip-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(8px);
    border-left-color: #f39c12;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.2);
}
.tip-item:last-child {
    margin-bottom: 0;
}

.tip-item i {
    color: #f39c12;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.tip-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}
.equipment-section {
    background: linear-gradient(135deg, #e6f7ff 0%, #ccf0ff 100%);
    border-left: 4px solid #00d4ff;
}

.equipment-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.equipment-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--secondary-color);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.equipment-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.difficulty-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

.difficulty-dots {
    display: flex;
    gap: 8px;
}

.difficulty-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
}

.difficulty-dot.active {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

.modal-footer {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding: 25px 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(248, 249, 250, 0.8);
    border-radius: 0 0 15px 15px;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.btn-add-to-program {
    flex: 2;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.btn-add-to-program:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4);
}

.btn-close-modal {
    flex: 1;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}
/* Loading Animation */
.modal-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.modal-loading .spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.empty-state {
            text-align: center;
            padding: 40px;
            border-radius: 20px;
            background: var(--white);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.4s ease-out;
            max-height: 90vh;
            overflow-y: auto;
        }
        .empty-state-icon {
            font-size: 4rem;
            margin-bottom: 20px;
            opacity: 0.6;
        }

        .empty-state h3 {
            font-size: 1.5rem;
            color: var(--secondary-color);
            margin-bottom: 10px;
        }

        .empty-state p {
            color: var(--gray);
            font-size: 1.1rem;
        }

        /* Animations */
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes shimmer {
            0% {
                transform: translateX(-100%);
            }
            100% {
                transform: translateX(100%);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(30px);
            }
        }
         img, video, canvas, iframe { max-width: 100%; height: auto; }
        table { width: 100%; max-width: 100%; }
        .table-container { overflow-x: auto; }
        /* Uzun kelimeleri kırarak yatay kaymayı azalt */
        body, p, li, h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; word-break: break-word; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
        /* Responsive */
        @media (max-width: 768px) {
            nav ul {
                display: none;
            }

            .page-header h2 {
                font-size: 1.8rem;
            }

            .exercises-grid {
                grid-template-columns: 1fr;
            }

            .filter-group {
                grid-template-columns: 1fr;
            }

            .modal-content {
        width: 95%;
        padding: 20px;
        margin: 10px;
    }
    
    .modal-header {
        padding: 20px;
        margin: -20px -20px 20px -20px;
    }
    
    .modal-section {
        padding: 20px;
    }
    
    .muscle-info-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .emoji-container div {
        font-size: 60px;
    }
        }
    @media (max-width: 768px) {
    .modal.active {
        padding: 1px;
        align-items: flex-start;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 20px 0;
    }
    
    .modal-header {
        padding: 20px;
        position: relative;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
        padding-right: 50px;
    }
    
    .close-btn {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
    }
    
    .modal-body {
        padding: 0 20px;
    }
    
    .modal-section {
        padding: 20px;
    }
    
    .emoji-container div {
        font-size: 60px;
    }
    
    .muscle-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .muscle-percentage {
        padding: 15px 10px;
    }
    
    .muscle-percentage .percentage {
        font-size: 1.5rem;
    }
    
    .modal-footer {
        padding: 20px;
        flex-direction: column;
    }
    
    .step-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .no-steps-message {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    border: 1px dashed #ddd;
}
    .step-number {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        margin: 10px;
        border-radius: 15px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 0 15px;
    }
    
    .modal-section {
        padding: 15px;
    }
    
    .muscle-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
    
    .modal-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .equipment-list {
        justify-content: center;
    }
    
    .difficulty-indicator {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}