/* ========================================
   TRAINER CARD
======================================== */

.aim-img {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
    height: 180px;
    padding: 15px;
    border-radius: 15px;
    background-size: cover;
    font-weight: bold;
    line-height: 19px;
}

.flex_aim {
    display: flex;
    flex-direction: column;
    height: fit-content;
    margin-top: 15%;
    text-align: end;
    line-height: 13px;
}

span.description_aim {
    color: #bba7aa;
    font-size: 11px;
    line-height: 14px;
    text-transform: uppercase;
}

/* ========================================
   TRAINER CONTAINER
======================================== */

#trainer-container {
    position: relative;
    width: 100%;
    height: 780px;
    margin: 0;
    overflow: hidden;
    user-select: none;
    color: #ff6b6b;
    background-color: #1e1e24;
    border-radius: 12px;
    background-image:
        linear-gradient(rgba(255, 107, 107, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 107, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ========================================
   MAIN MENU
======================================== */

#mainMenu {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
    pointer-events: none;
}

#gameTitle {
    margin: 0 0 6px;
    color: #ff6b6b;
    font-size: 28px;
    letter-spacing: 2px;
    text-align: center;
}

#gameDesc {
    font-weight: 100;
  	color: #ff6b6b;
}

#startSection {
    text-align: center;
    pointer-events: all;
}

/* ========================================
   BUTTONS
======================================== */

.modeBtn,
#resetBtn,
#colorBtn,
#crosshairBtn,
#muteBtn {
    background: none;
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    color: #ff6b6b;
    cursor: pointer;
    transition: 0.3s;
}

.modeBtn:hover,
#resetBtn:hover,
#colorBtn:hover,
#crosshairBtn:hover,
#muteBtn:hover {
    background: #ff6b6b;
    color: #1e1e24;
}

.modeBtn {
    margin: 8px;
    padding: 10px 25px;
    font-size: 16px;
}

#resetBtn {
    position: absolute;
    top: 15px;
    right: 15px;
    display: none;
    z-index: 25;
    padding: 6px 14px;
    font-size: 14px;
}

#colorBtn {
    position: absolute;
    right: 15px;
    bottom: 20px;
    display: block;
    z-index: 25;
    padding: 6px 12px;
    font-size: 14px;
}

#crosshairBtn {
    position: absolute;
    right: 140px;
    bottom: 20px;
    display: block;
    z-index: 25;
    padding: 6px 12px;
    font-size: 14px;
}

#muteBtn {
    position: absolute;
    right: 250px;
    bottom: 20px;
    display: block;
    z-index: 25;
    padding: 6px 12px;
    font-size: 14px;
}

#muteBtn.muted {
    opacity: 0.45;
    border-style: dashed;
}

/* ========================================
   HUD
======================================== */

#hud {
    position: absolute;
    top: 20px;
    left: 20px;
    display: none;
    z-index: 10;
    color: #ff6b6b;
    font-size: 15px;
    pointer-events: none;
}

#hud div {
    margin: 4px 0;
}

/* ========================================
   COLOR PICKER
======================================== */

#colorPicker {
    position: absolute;
    right: 15px;
    bottom: 68px;
    display: none;
    z-index: 25;
    width: 50px;
    height: 68px;
    padding: 8px;
    cursor: pointer;
    border: 2px solid #ff6b6b;
    border-radius: 10px;
    background: rgba(30, 30, 36, 0.95);
}

/* ========================================
   CROSSHAIR PANEL
======================================== */

#crosshairPanel {
    position: absolute;
    right: 72px;
    bottom: 68px;
    display: none;
    z-index: 26;
    padding: 8px;
    background: rgba(30, 30, 36, 0.95);
    border: 2px solid #ff6b6b;
    border-radius: 10px;
}

.crosshairItem {
    width: 40px;
    height: 40px;
    margin: 4px;
    background: #1e1e24;
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    font-size: 18px;
    cursor: pointer;
}

.crosshairItem:hover {
    background: #ff6b6b;
    color: #1e1e24;
}

/* ========================================
   RESULTS
======================================== */

#results {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: none;
    z-index: 10;
    max-height: 40%;
    overflow-y: auto;
    padding-top: 8px;
    border-top: 1px solid #ff6b6b;
    color: #ff6b6b;
    font-size: 13px;
    pointer-events: none;
}

/* ========================================
   TARGET
======================================== */

.target {
    position: absolute;
    z-index: 15;
    width: 90px;
    height: 90px;
    border: 2px solid var(--ballColor, #ff6b6b);
    border-radius: 50%;
    background: radial-gradient(circle,
            var(--ballColor, #ff6b6b) 0%,
            #2a0c0c 90%);
    cursor: inherit;
    transition: box-shadow 0.2s ease;
}

/* ========================================
   MESSAGE
======================================== */

#message {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    color: #ff6b6b;
    font-size: 22px;
    text-align: center;
    transform: translate(-50%, -50%);
    transition: 0.5s;
}

/* ========================================
   TRAINING INFO
======================================== */

#training-info-container {
    margin-top: 20px;
    font-family: inherit;
}

#training-info-container .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

#training-info-container .info-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: #1e1e24;
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 10px;
}

#training-info-container .info-card i {
    margin-bottom: 2px;
    color: #ff6b6b;
    font-size: 20px;
}

#training-info-container .info-card-title {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

#training-info-container .info-card-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.5;
}

#training-info-container .info-section-title {
    margin: 0 0 12px;
    color: rgba(255, 107, 107, 0.7);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

#training-info-container .info-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

#training-info-container .info-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    background: #1e1e24;
    border: 1px solid rgba(255, 107, 107, 0.15);
    border-radius: 8px;
}

#training-info-container .info-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 22px;
    height: 22px;
    margin-top: 1px;
    background: #ff6b6b;
    border-radius: 50%;
    color: #1e1e24;
    font-size: 12px;
    font-weight: 600;
}

#training-info-container .info-step-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

#training-info-container .info-step-text b {
    color: #fff;
    font-weight: 500;
}

#training-info-container hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid rgba(255, 107, 107, 0.15);
}