/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: radial-gradient(circle at top left, #2c3e50, #4ca1af);
    color: #fff;
    text-align: center;
    min-height: 100vh;
}

/* Header */
h1 {
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #f1c40f;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Muscle group buttons container */
#muscle-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* Buttons */
#muscle-buttons button {
    padding: 20px 40px;
    font-size: 1.5rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#muscle-buttons button:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

/* Hidden sections */
.hidden {
    display: none;
}

/* Section styles */
section {
    background: rgba(255, 255, 255, 0.05);
    margin: 30px auto;
    max-width: 900px;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: #fff;
}

/* Section Headings */
section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #f39c12;
}

section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #f39c12;
}

/* Image */
.muscle-image {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.1);
}

table thead {
    background: rgba(0, 0, 0, 0.4);
}

table, th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

th, td {
    padding: 15px;
    text-align: left;
    font-size: 1rem;
}

/* Show Video button inside table */
.show-video-btn {
    padding: 8px 16px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-video-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5b86e5, #36d1dc);
}

/* Video container */
.video-container {
    margin-top: 10px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    #muscle-buttons button {
        width: 100%;
    }

    table, th, td {
        font-size: 0.9rem;
    }
}
/* Timer Section */
.timer-section {
    text-align: center;
    margin: 30px auto;
    max-width: 700px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* Timer title */
.timer-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00f0ff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

/* Each timer block */
.timer-block {
    margin: 30px 0;
}

/* Digital Clock Display */
#stopwatch-display,
#countdown-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: 4rem;
    margin: 15px 0;
    padding: 15px 30px;
    color: #00f0ff;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
    letter-spacing: 2px;
}

/* Timer buttons */
.timer-section button {
    padding: 12px 24px;
    margin: 5px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.timer-section button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5b86e5, #36d1dc);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* Countdown input */
.timer-section input[type="number"] {
    padding: 12px;
    width: 180px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    color: #00f0ff;
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.4);
    outline: none;
    transition: box-shadow 0.3s ease;
}

.timer-section input[type="number"]:focus {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

/* Mobile tweaks */
@media (max-width: 600px) {
    #stopwatch-display,
    #countdown-display {
        font-size: 3rem;
        padding: 10px 20px;
    }
    .timer-section input[type="number"] {
        width: 100%;
    }
}
.back-btn {
    display: block;
    margin: 30px auto 0 auto;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.back-btn:hover {
    background: linear-gradient(135deg, #feb47b, #ff7e5f);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.5);
}
