/* ==========================================================================
   MU ONLINE DOWNLOADER - DARK RED ULTIMATE THEME
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Visitor One';
    font-style: normal;
    font-weight: normal;
    src: local('Visitor Two'), url('../fonts/visitor1.ttf') format('truetype');
}

@font-face {
    font-family: 'Visitor Two';
    font-style: normal;
    font-weight: normal;
    src: local('Visitor Two'), url('../fonts/visitor2.ttf') format('truetype');
}

body {
    background-color: transparent;
    overflow: hidden;
    user-select: none;
    font-family: 'Rajdhani', 'Open Sans', sans-serif;
    color: #e5d0d2;
}

/* Base Launcher Container */
.launcher {
    width: 448px;
    height: 186px;
    background: linear-gradient(180deg, #160406 0%, #0c0203 70%, #050102 100%);
    border: 1px solid #5a1017;
    border-radius: 6px;
    position: relative;
    -webkit-app-region: drag;
    box-shadow: 
        0 0 25px rgba(220, 20, 40, 0.2),
        inset 0 1px 0 rgba(255, 90, 100, 0.25),
        inset 0 0 25px rgba(0, 0, 0, 0.9),
        0 12px 30px rgba(0, 0, 0, 0.95);
    overflow: hidden;
}

/* Header Decorativo */
.launcher-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 14px;
    background: linear-gradient(180deg, rgba(74, 13, 19, 0.4) 0%, transparent 100%);
}

.header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #851c24);
}

.header-line.right {
    background: linear-gradient(90deg, #851c24, transparent);
}

.launcher .title {
    color: #ff3344;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 0 10px;
    text-shadow: 
        0 0 8px rgba(255, 30, 50, 0.8),
        0 0 16px rgba(255, 0, 0, 0.4);
}

/* Layout dos Componentes */
.launcher .info {
    margin: 4px 10px 0 10px;
    display: flex;
    gap: 8px;
}

/* Estilo Base dos Cards Translúcidos */
.launcher .card {
    background: rgba(18, 3, 5, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(130, 25, 35, 0.55);
    border-radius: 4px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 100, 100, 0.1);
}

/* Área das Barras de Progresso */
.launcher .info .progress-w {
    width: 295px;
    padding: 7px 9px;
}

.status-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    padding-left: 2px;
}

.status-dot {
    width: 5px;
    height: 5px;
    background-color: #ff3344;
    border-radius: 50%;
    box-shadow: 0 0 5px #ff3344;
    animation: flicker 1.8s infinite ease-in-out;
}

@keyframes flicker {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.launcher .info .progress-w p {
    color: #f1cfd2;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px #000;
}

.launcher .info .progress-w .progress {
    width: 100%;
    background: #080102;
    border: 1px solid #4a1017;
    border-radius: 2px;
    height: 12px;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9);
}

.launcher .info .progress-w .progress:last-child {
    margin-bottom: 0;
}

.launcher .info .progress-w .progress .progress-s {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Barra de Download (Download Bar) com Efeito Shimmer */
.launcher .info .progress-w .progress .progress-white {
    background: linear-gradient(90deg, #700a12 0%, #c41c2a 50%, #ff384c 100%);
    box-shadow: 0 0 10px rgba(255, 56, 76, 0.6);
    height: 100%;
    width: 0%;
    position: absolute;
    transition: width 0.2s ease-out;
}

.launcher .info .progress-w .progress .progress-white::after,
.launcher .info .progress-w .progress .progress-red::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: barShimmer 1.8s infinite;
}

/* Barra de Extração (Extract Bar) */
.launcher .info .progress-w .progress .progress-red {
    background: linear-gradient(90deg, #45080c 0%, #85121b 50%, #d32030 100%);
    box-shadow: 0 0 8px rgba(211, 32, 48, 0.5);
    height: 100%;
    width: 0%;
    position: absolute;
    transition: width 0.2s ease-out;
}

@keyframes barShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Área de Opções de Som */
.launcher .info .checks {
    flex: 1;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    -webkit-app-region: no-drag;
}

.card-tag {
    font-size: 8px;
    font-weight: 700;
    color: #ff6b77;
    background: #38070b;
    border: 1px solid #63141b;
    padding: 1px 4px;
    border-radius: 2px;
    text-align: center;
    letter-spacing: 0.8px;
    margin-bottom: 5px;
}

.launcher .info .checks .container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 18px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    color: #e5b3b7;
    user-select: none;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.launcher .info .checks .container:last-child {
    margin-bottom: 0;
}

.launcher .info .checks .container:hover {
    color: #ffffff;
}

.launcher .info .checks input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.launcher .info .checks .checkradio {
    position: absolute;
    top: 2px;
    left: 0;
    height: 12px;
    width: 12px;
    background-color: #080102;
    border: 1px solid #6b151d;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.launcher .info .checks .container:hover .checkradio {
    border-color: #ff3344;
    box-shadow: 0 0 6px rgba(255, 51, 68, 0.4);
}

.launcher .info .checks .checkradio:after {
    content: "";
    position: absolute;
    display: none;
    top: 2px;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff384c;
    box-shadow: 0 0 6px #ff384c;
}

.launcher .info .checks .container input[type="radio"]:checked ~ .checkradio {
    border-color: #ff384c;
    background: #40070c;
}

.launcher .info .checks .container input[type="radio"]:checked ~ .checkradio:after {
    display: block;
}

/* Ícones de Som */
.launcher .info .checks .container .sound,
.launcher .info .checks .container .no-sound {
    width: 13px;
    height: 12px;
    display: inline-block;
    margin-left: 4px;
    filter: drop-shadow(0 0 2px rgba(255, 60, 75, 0.8));
}

.launcher .info .checks .container .sound {
    background: url('../images/sound.png') no-repeat center;
}

.launcher .info .checks .container .no-sound {
    background: url('../images/no-sound.png') no-repeat center;
}

/* Botões Inferiores */
.launcher .buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.launcher .buttons button {
    width: 95px;
    height: 28px;
    background: linear-gradient(180deg, #2a070b 0%, #140204 100%);
    border: 1px solid #6b151d;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-app-region: no-drag;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 120, 120, 0.15);
}

.launcher .buttons button span {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #f1cfd2;
    text-transform: uppercase;
    text-shadow: 0 1px 2px #000;
    transition: all 0.2s ease;
}

.launcher .buttons button:hover {
    background: linear-gradient(180deg, #4d0d14 0%, #290408 100%);
    border-color: #b91c2b;
    box-shadow: 
        0 0 12px rgba(185, 28, 43, 0.5),
        inset 0 1px 0 rgba(255, 150, 150, 0.3);
    transform: translateY(-1px);
}

.launcher .buttons button:hover span {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 100, 100, 0.8);
}

.launcher .buttons button:active {
    transform: translateY(1px);
    background: #0f0103;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.8);
}

/* Destaque no Botão Principal (Install) */
.launcher .buttons button#download-button {
    background: linear-gradient(180deg, #99121f 0%, #45040a 100%);
    border-color: #e02438;
    box-shadow: 
        0 0 12px rgba(224, 36, 56, 0.35),
        inset 0 1px 0 rgba(255, 180, 180, 0.35);
}

.launcher .buttons button#download-button span {
    color: #ffffff;
    font-weight: 900;
}

.launcher .buttons button#download-button:hover {
    background: linear-gradient(180deg, #c41829 0%, #610710 100%);
    border-color: #ff384c;
    box-shadow: 0 0 16px rgba(255, 56, 76, 0.7);
}

/* Botão Cancel */
.launcher .buttons button#closed {
    border-color: #4a1518;
}

.launcher .buttons button#closed span {
    color: #bfa3a6;
}

.launcher .buttons button#closed:hover {
    border-color: #851c24;
}

.launcher .buttons button#closed:hover span {
    color: #ffffff;
}