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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 1200px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

select, button, .link-btn {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

select {
    background: white;
    color: #333;
    min-width: 200px;
}

button {
    background: #4CAF50;
    color: white;
    font-weight: bold;
}

.link-btn {
    background: #2196F3;
    color: white;
    font-weight: bold;
}

button:hover, .link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

button:active {
    transform: translateY(0);
}

.stats {
    text-align: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.card-container {
    perspective: 1000px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.card {
    flex: 1;
    min-height: 600px;
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding: 30px;
}

.card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    height: 100%;
}

.muscle-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.muscle-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.muscle-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.muscle-info h2 {
    color: #11998e;
    font-size: 2rem;
    border-bottom: 3px solid #38ef7d;
    padding-bottom: 10px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #11998e;
}

.info-label {
    display: block;
    font-weight: bold;
    color: #11998e;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.info-value {
    display: block;
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.nav-arrow:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.nav-arrow:active {
    transform: scale(0.95);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(1);
}

.nav-arrow svg {
    color: #11998e;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #38ef7d;
    transition: width 0.3s;
    border-radius: 5px;
}

@media (max-width: 900px) {
    .card-content {
        grid-template-columns: 1fr;
    }
    
    .muscle-image {
        max-height: 300px;
    }
    
    .muscle-image img {
        max-height: 250px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .card-container {
        gap: 10px;
    }
    
    .card {
        min-height: auto;
        padding: 20px;
    }
    
    .muscle-info h2 {
        font-size: 1.5rem;
    }
    
    .nav-arrow {
        width: 50px;
        height: 50px;
    }
    
    .nav-arrow svg {
        width: 30px;
        height: 30px;
    }
}
