/* =============================================
   Quick Sport App — style.css
   ============================================= */

/* --- LANG SWITCHER --- */
#lang-switcher {
    position: fixed;
    top: 14px;
    right: 14px;
    display: flex;
    gap: 6px;
    z-index: 100;
}

.lang-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid #444;
    border-radius: 20px;
    color: #aaa;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 6px 14px;
    transition: all 0.2s;
}

.lang-btn.active {
    background: rgba(255,255,255,0.18);
    border-color: #888;
    color: #fff;
}

/* --- GENERAL --- */
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: #121212;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 10px;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
}

/* --- SELECTION SCREEN --- */
#selection-screen {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.mode-btn {
    padding: 30px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.1s;
}

.mode-btn:active { transform: scale(0.98); }

.btn-intense {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    border: 1px solid #4da6ff;
}

.btn-senior {
    background: linear-gradient(135deg, #134e5e, #71b280);
    color: white;
    border: 1px solid #81c784;
}

.mode-title {
    font-size: 1.4rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mode-desc { font-size: 0.9rem; opacity: 0.9; }

.mode-icon {
    font-size: 3rem;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
}

/* --- WORKOUT SCREEN --- */
#workout-screen { display: none; }

.settings-btn {
    position: absolute;
    top: -60px;
    left: 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid #444;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #bbb;
    cursor: pointer;
    padding: 8px 16px;
}

/* Main Card */
#card {
    background-color: #1e1e1e;
    padding: 40px 20px;
    border-radius: 25px;
    margin-bottom: 30px;
    border: 1px solid #333;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.emoji-display {
    font-size: 5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
}

.exercise-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: bold;
}

.exercise-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.1;
}

.exercise-reps {
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 10px;
    color: #eee;
}

.note-box {
    font-size: 1rem;
    font-style: italic;
    background-color: #2a2a2a;
    padding: 12px 20px;
    border-radius: 12px;
    margin-top: 20px;
    color: #aaa;
    display: none;
    border-left: 3px solid #666;
    width: 80%;
}

/* YouTube Button */
.yt-link {
    display: inline-block;
    margin-top: 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 50px;
    background-color: #2b1515;
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
    visibility: hidden;
    transition: all 0.2s;
}

.yt-link:active { transform: scale(0.95); }

/* Main Button */
button.main-btn {
    border: none;
    padding: 22px 0;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    color: #1a1a1a;
    transition: transform 0.1s;
}

button.main-btn:active { transform: scale(0.97); }

/* --- DYNAMIC THEMES --- */
.theme-intense .exercise-name  { color: #4da6ff; }
.theme-intense .main-btn       { background-color: #4da6ff; }
.theme-intense .exercise-type  { color: #4da6ff; }
.theme-intense .settings-btn:hover { background-color: #4da6ff; color: #000; }

.theme-senior .exercise-name   { color: #81c784; }
.theme-senior .main-btn        { background-color: #81c784; }
.theme-senior .exercise-type   { color: #81c784; }
.theme-senior .settings-btn:hover { background-color: #81c784; color: #000; }
