/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #0f0f0f 100%);
    min-height: 100vh;
    color: #f4f4f4;
    line-height: 1.4;
}

/* ===== LAYOUT PRINCIPAL ===== */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
    padding: 1.5rem 0;
    box-shadow: 0 4px 30px rgba(255, 215, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.app-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.brand-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.brand-icon i {
    font-size: 1.8rem;
    color: #000;
    z-index: 1;
    position: relative;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.app-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.app-subtitle {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
    font-weight: 400;
    opacity: 0.9;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* ===== SECCIÓN EXPLICATIVA ===== */
.explanatory-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.explanatory-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.explanatory-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.explanatory-image {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 3px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.explanatory-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.5);
}

.explanatory-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.explanatory-image:hover .explanatory-img {
    transform: scale(1.05);
}

.explanatory-text {
    flex: 1;
}

.explanatory-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.explanatory-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin: 0;
    text-align: justify;
    font-weight: 400;
}

.explanatory-description::first-letter {
    font-size: 1.5em;
    font-weight: 700;
    color: #ffd700;
    float: left;
    line-height: 1;
    margin: 0.1em 0.1em 0 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===== POPUP MODAL ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-header {
    padding: 1.5rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-close {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff6b6b;
    transform: scale(1.1);
}

.popup-body {
    padding: 1.5rem 2rem;
}

.popup-image-container {
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.popup-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.popup-image:hover {
    transform: scale(1.02);
}

.popup-text {
    text-align: center;
}

.popup-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    font-weight: 400;
}

.popup-footer {
    padding: 1rem 2rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.popup-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    min-width: 150px;
    justify-content: center;
}

.popup-btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
    color: #000;
}

.popup-btn-secondary {
    background: transparent;
    color: #ccc;
    border: 2px solid #666;
}

.popup-btn-secondary:hover {
    background: #666;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive para el popup */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        max-width: none;
    }
    
    .popup-header {
        padding: 1rem 1.5rem 0.75rem 1.5rem;
    }
    
    .popup-title {
        font-size: 1.3rem;
    }
    
    .popup-body {
        padding: 1rem 1.5rem;
    }
    
    .popup-footer {
        padding: 0.75rem 1.5rem 1.5rem 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .popup-btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .popup-header {
        padding: 0.75rem 1rem 0.5rem 1rem;
    }
    
    .popup-title {
        font-size: 1.1rem;
    }
    
    .popup-body {
        padding: 0.75rem 1rem;
    }
    
    .popup-description {
        font-size: 1rem;
    }
    
    .popup-footer {
        padding: 0.5rem 1rem 1rem 1rem;
    }
    
    .popup-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* ===== MEJORAS ESPECÍFICAS PARA MÓVIL ===== */
@media (max-width: 576px) {
    /* Mejorar área táctil de botones */
    .social-btn {
        min-width: 48px;
        min-height: 48px;
    }
    
    .buy-kit-btn,
    .order-custom-btn {
        min-height: 48px;
    }
    
    .popup-btn {
        min-height: 48px;
    }
    
    /* Mejorar espaciado en header */
    .header-content {
        padding: 0 1rem;
    }
    
    /* Mejorar legibilidad del texto */
    .app-subtitle {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .explanatory-description {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: left;
    }
    
    /* Mejorar contenedores */
    .explanatory-content {
        padding: 0 1rem;
    }
    
    /* Asegurar que los botones no se salgan */
    .action-buttons {
        padding: 0 0.5rem;
    }
}

/* ===== PANTALLAS MUY PEQUEÑAS ===== */
@media (max-width: 360px) {
    .app-title {
        font-size: 1.1rem;
    }
    
    .app-subtitle {
        font-size: 0.75rem;
    }
    
    .explanatory-title {
        font-size: 1.1rem;
    }
    
    .explanatory-description {
        font-size: 0.9rem;
    }
    
    .btn-main-text {
        font-size: 0.85rem;
    }
    
    .btn-sub-text {
        font-size: 0.65rem;
    }
}

.social-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
}

/* ===== BOTONES DE REDES SOCIALES ===== */
.social-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    transition: all 0.3s ease;
    z-index: 1;
}

.social-btn i {
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    text-decoration: none;
}

.social-btn:hover i {
    transform: scale(1.2);
}

.instagram-btn {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%);
    color: white;
}

.instagram-btn::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.instagram-btn:hover {
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2 0%, #0A5FCC 100%);
    color: white;
}

.facebook-btn::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.facebook-btn:hover {
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

/* ===== BOTÓN DE ENCARGO PERSONALIZADO ===== */
.order-custom-btn {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(255, 107, 53, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: customPulse 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.order-custom-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.order-custom-btn:hover::before {
    left: 100%;
}

.order-custom-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 45px rgba(255, 107, 53, 0.5);
    color: #fff;
    text-decoration: none;
}

.order-custom-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.order-custom-btn i:first-child {
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.order-custom-btn:hover i:first-child {
    transform: scale(1.1) rotate(-5deg);
}

.order-custom-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}

.order-custom-btn .btn-main-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.order-custom-btn .btn-sub-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
}

.order-custom-btn .btn-arrow {
    font-size: 0.9rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.order-custom-btn:hover .btn-arrow {
    transform: translateX(3px);
}

.order-custom-btn .btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ff6b35);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: customGlowPulse 2s ease-in-out infinite;
}

.order-custom-btn:hover .btn-glow {
    opacity: 0.7;
}

@keyframes customPulse {
    0%, 100% {
        box-shadow: 0 10px 35px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 12px 40px rgba(255, 107, 53, 0.6);
    }
}

@keyframes customGlowPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* ===== BOTÓN DE COMPRA ===== */
.buy-kit-btn {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    color: #000;
    text-decoration: none;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: professionalPulse 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.buy-kit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.buy-kit-btn:hover::before {
    left: 100%;
}

.buy-kit-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 45px rgba(255, 215, 0, 0.5);
    color: #000;
    text-decoration: none;
}

.buy-kit-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    z-index: 2;
}

.buy-kit-btn i:first-child {
    font-size: 1.2rem;
    color: #000;
    transition: transform 0.3s ease;
}

.buy-kit-btn:hover i:first-child {
    transform: scale(1.1) rotate(5deg);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}

.btn-main-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.btn-sub-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1;
}

.btn-arrow {
    font-size: 0.9rem;
    color: #000;
    transition: transform 0.3s ease;
}

.buy-kit-btn:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: glowPulse 2s ease-in-out infinite;
}

.buy-kit-btn:hover .btn-glow {
    opacity: 0.7;
}

@keyframes professionalPulse {
    0%, 100% {
        box-shadow: 0 10px 35px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 12px 40px rgba(255, 215, 0, 0.6);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.github-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
}

.github-link:hover {
    color: #ffed4e;
    background: rgba(255, 215, 0, 0.1);
    text-decoration: none;
}

.app-main {
    flex: 1;
    padding: 1rem 0;
}

/* ===== SECCIONES ===== */
.status-section,
.controls-section,
.output-section {
    margin-bottom: 1rem;
}

.status-card,
.controls-card,
.output-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.status-card:hover,
.controls-card:hover,
.output-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.25);
}

/* ===== ESTADOS ===== */
.status-text {
    font-size: 1rem;
    font-weight: 600;
    color: #f4f4f4;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-text i {
    color: #ffd700;
    margin-right: 0.5rem;
}

/* ===== TÍTULOS DE SECCIÓN ===== */
.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.section-title i {
    color: #ffed4e;
    margin-right: 0.5rem;
}

/* ===== FORMULARIOS ===== */
.form-group {
    margin-bottom: 0.4rem;
}

.form-label {
    font-weight: 600;
    color: #f4f4f4;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.form-label i {
    color: #ffd700;
    margin-right: 0.5rem;
}

.form-control {
    border: 2px solid #ffd700;
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.8);
    color: #f4f4f4;
}

.form-control:focus {
    border-color: #ffed4e;
    box-shadow: 0 0 0 3px rgba(255, 237, 78, 0.2);
    outline: none;
}

.form-range {
    height: 8px;
    border-radius: 4px;
    background: #333;
    outline: none;
    -webkit-appearance: none;
    border: 2px solid #ffd700;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffd700;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(255, 215, 0, 0.4);
    border: 3px solid #000;
}

.form-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffd700;
    cursor: pointer;
    border: 3px solid #000;
    box-shadow: 0 3px 8px rgba(255, 215, 0, 0.4);
}

.value-display {
    font-weight: 700;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

/* ===== GRUPOS DE FORMULARIOS ===== */
.row.g-3 {
    margin-bottom: 0.5rem;
}

.row.g-3.mb-4 {
    margin-bottom: 0.75rem !important;
}

/* ===== BOTONES ===== */

.btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: #000;
}

.btn-success {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #ffd700;
    border: 2px solid #ffd700;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: #ffd700;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

.btn-outline-secondary {
    background: transparent;
    color: #ccc;
    border: 2px solid #666;
}

.btn-outline-secondary:hover {
    background: #666;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.btn-outline-primary:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-2px);
}

.btn-upload {
    position: relative;
    overflow: hidden;
}

.btn-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

/* ===== CANVAS ===== */
.canvas-container {
    display: flex;
    justify-content: center;
    margin: 0.6rem 0;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 0.6rem;
    border: 2px solid #ffd700;
}

.canvas-medium {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.canvas-large {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.canvas-instructions {
    text-align: center;
    color: #ccc;
    font-size: 0.8rem;
    margin-top: 0.6rem;
    padding: 0.6rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
}

/* ===== MEJORAS PARA TÁCTIL ===== */
.canvas-container {
    touch-action: none; /* Prevenir gestos del navegador */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ===== ÁREA DE PINES ===== */
.pins-container {
    margin: 1.25rem 0;
}

.pins-textarea {
    width: 100%;
    border: 2px solid #ffd700;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    resize: vertical;
    min-height: 200px;
    background: rgba(0, 0, 0, 0.8);
    color: #f4f4f4;
}

.pins-textarea:focus {
    border-color: #ffed4e;
    box-shadow: 0 0 0 3px rgba(255, 237, 78, 0.2);
    outline: none;
}

/* ===== EJEMPLOS ===== */
.examples-section {
    margin: 1.25rem 0;
    padding: 1.25rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.examples-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.examples-title i {
    color: #ffed4e;
    margin-right: 0.5rem;
}

.examples-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.examples-info {
    color: #ccc;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
}

.examples-info i {
    color: #ffd700;
    margin-right: 0.5rem;
}

/* ===== ACCIONES DE PINES ===== */
.pins-actions {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.pins-info {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.pins-info i {
    color: #ffd700;
    margin-right: 0.5rem;
}

/* ===== NAVEGACIÓN DE PASOS ===== */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 1.25rem;
    gap: 1rem;
}

.step-indicator {
    text-align: center;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
}

.draw-status {
    text-align: center;
    font-weight: 600;
    color: #ffd700;
    margin: 0.6rem 0;
    padding: 0.6rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
}

/* ===== ESTADOS OCULTOS ===== */
.hidden {
    display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .app-header {
        padding: 1rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .header-brand {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .brand-icon {
        width: 50px;
        height: 50px;
    }
    
    .brand-icon i {
        font-size: 1.5rem;
    }
    
    .app-title {
        font-size: 1.4rem;
    }
    
    .app-subtitle {
        font-size: 0.8rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .social-buttons {
        justify-content: center;
        order: 2;
    }
    
    .action-buttons {
        flex-direction: row;
        gap: 0.75rem;
        width: 100%;
        order: 1;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .buy-kit-btn,
    .order-custom-btn {
        flex: 1;
        min-width: 200px;
        max-width: 250px;
    }
    
    .btn-content {
        padding: 0.8rem 1.5rem;
        justify-content: center;
    }
    
    .btn-main-text {
        font-size: 1rem;
    }
    
    .btn-sub-text {
        font-size: 0.75rem;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
    
    .social-btn i {
        font-size: 1.1rem;
    }
    
    .explanatory-section {
        padding: 2rem 0;
    }
    
    .explanatory-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .explanatory-image {
        width: 250px;
        height: 160px;
    }
    
    .explanatory-title {
        font-size: 1.6rem;
    }
    
    .explanatory-description {
        font-size: 1rem;
        text-align: left;
    }
    
    .app-main {
        padding: 0.75rem 0;
    }
    
    .status-section,
    .controls-section,
    .output-section {
        margin-bottom: 0.75rem;
    }
    
    .status-card,
    .controls-card,
    .output-card {
        padding: 0.75rem;
        margin: 0 0.4rem;
        margin-bottom: 0.6rem;
    }
    
    .section-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .form-group {
        margin-bottom: 0.3rem;
    }
    
    .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .form-control {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .row.g-3 {
        margin-bottom: 0.3rem;
    }
    
    .row.g-3.mb-4 {
        margin-bottom: 0.5rem !important;
    }
    
    
    .btn {
        width: 100%;
        max-width: 260px;
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
        min-width: auto;
    }
    
    .voice-controls {
        margin-bottom: 0.6rem !important;
        padding: 0.6rem;
    }
    
    .voice-controls .row {
        margin-bottom: 0.3rem;
    }
    
    .voice-buttons {
        gap: 0.3rem;
        justify-content: center;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    
    .voice-buttons .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        flex: 0 1 auto;
        max-width: 120px;
        min-width: auto;
        margin: 0 auto;
    }
    
    .pin-carousel {
        margin-bottom: 0.6rem !important;
        padding: 0.51rem;
    }
    
    .pin-carousel .row {
        margin-bottom: 0.3rem;
    }
    
    .pin-carousel .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .pin-carousel-display {
        padding: 0.34rem;
    }
    
    .pin-carousel-container {
        gap: 0.17rem;
        margin-bottom: 0.17rem;
    }
    
    .pin-items-container {
        gap: 0.17rem;
    }
    
    .carousel-nav-btn {
        padding: 0;
        font-size: 0.85rem;
        width: 28px;
        height: 28px;
        border-radius: 50% !important;
    }
    
    .pin-item {
        padding: 0.21rem 0.43rem;
        min-width: 30px;
    }
    
    .pin-item.prev-pin,
    .pin-item.next-pin {
        font-size: 0.77rem;
    }
    
    .pin-item.current-pin {
        font-size: 1.19rem;
    }
    
    .pin-info {
        font-size: 0.64rem;
    }
    
    .pins-actions {
        margin-top: 0.75rem;
        padding: 0.75rem;
    }
    
    .pins-actions .row {
        margin-bottom: 0.3rem;
    }
    
    .pins-actions .action-buttons {
        margin-top: 0.3rem;
    }
    
    .examples-buttons {
        flex-direction: column;
    }
    
    .step-navigation {
        flex-direction: column;
    }
    
    .canvas-medium,
    .canvas-large {
        max-width: 100%;
    }
    
    .canvas-container {
        margin: 0.4rem 0;
        padding: 0.4rem;
    }
    
    .canvas-instructions {
        font-size: 0.7rem;
        padding: 0.3rem;
        margin-top: 0.3rem;
    }
    
    .canvas-instructions br {
        display: none;
    }
    
    .canvas-instructions i {
        display: inline-block;
        margin-right: 0.15rem;
    }
    
    .status-text {
        font-size: 0.9rem;
    }
    
    .draw-status {
        font-size: 0.8rem;
        margin: 0.4rem 0;
        padding: 0.4rem;
    }
    .output-card {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        margin-bottom: 0.4rem;
    }
    .section-title {
        margin-top: 0.2rem;
        margin-bottom: 0.3rem;
        padding-top: 0;
        padding-bottom: 0;
    }
    .voice-controls {
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
        margin-bottom: 0.3rem !important;
    }
    .voice-buttons {
        margin-top: 0.1rem;
        margin-bottom: 0.1rem;
    }
    .pin-carousel {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        margin-bottom: 0.3rem !important;
    }
    .pin-carousel-display {
        padding-top: 0.15rem;
        padding-bottom: 0.15rem;
    }
    .draw-status {
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
    }
    .canvas-container {
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
    }
    .btn, .voice-buttons .btn, .action-buttons .btn {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        margin-top: 0.1rem;
        margin-bottom: 0.1rem;
    }
    .voice-controls .form-group {
        margin-bottom: 0.1rem;
        padding-top: 0.05rem;
        padding-bottom: 0.05rem;
    }
    .voice-controls .form-label {
        margin-bottom: 0.08rem;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 0.78rem;
    }
    .voice-controls .form-control {
        padding-top: 0.18rem;
        padding-bottom: 0.18rem;
        font-size: 0.78rem;
        height: 1.7rem;
    }
}

@media (max-width: 576px) {
    .app-header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        gap: 1rem;
    }
    
    .brand-icon {
        width: 45px;
        height: 45px;
    }
    
    .brand-icon i {
        font-size: 1.3rem;
    }
    
    .app-title {
        font-size: 1.2rem;
    }
    
    .app-subtitle {
        font-size: 0.75rem;
    }
    
    .header-actions {
        gap: 0.75rem;
    }
    
    .action-buttons {
        gap: 0.75rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .buy-kit-btn,
    .order-custom-btn {
        width: 100%;
        max-width: 280px;
        flex: none;
    }
    
    .btn-content {
        padding: 0.7rem 1.2rem;
        gap: 0.5rem;
    }
    
    .btn-main-text {
        font-size: 0.9rem;
    }
    
    .btn-sub-text {
        font-size: 0.7rem;
    }
    
    .buy-kit-btn i:first-child,
    .order-custom-btn i:first-child {
        font-size: 1rem;
    }
    
    .btn-arrow {
        font-size: 0.8rem;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
    }
    
    .social-btn i {
        font-size: 1.2rem;
    }
    
    .explanatory-section {
        padding: 1.5rem 0;
    }
    
    .explanatory-content {
        gap: 1rem;
    }
    
    .explanatory-image {
        width: 100%;
        max-width: 250px;
        height: auto;
        aspect-ratio: 3/2;
    }
    
    .explanatory-title {
        font-size: 1.4rem;
    }
    
    .explanatory-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ===== PANTALLAS MUY PEQUEÑAS ===== */
@media (max-width: 480px) {
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .buy-kit-btn,
    .order-custom-btn {
        width: 100%;
        max-width: 280px;
        flex: none;
    }
    
    .explanatory-section {
        padding: 1rem 0;
    }
    
    .explanatory-image {
        width: 100%;
        max-width: 200px;
        height: auto;
        aspect-ratio: 3/2;
    }
    
    .explanatory-title {
        font-size: 1.2rem;
    }
    
    .explanatory-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .app-main {
        padding: 0.5rem 0;
    }
    
    .status-card,
    .controls-card,
    .output-card {
        padding: 0.6rem;
        margin: 0 0.25rem;
    }
    
    .section-title {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .form-control {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 0.25rem;
    }
    
    .form-label {
        font-size: 0.75rem;
        margin-bottom: 0.15rem;
    }
    
    .row.g-3 {
        margin-bottom: 0.25rem;
    }
    
    .row.g-3.mb-4 {
        margin-bottom: 0.4rem !important;
    }
    
    .canvas-container {
        padding: 0.3rem;
    }
    
    .voice-buttons {
        justify-content: center;
        gap: 0.25rem;
        display: flex;
        flex-wrap: wrap;
    }
    
    .voice-buttons .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
        max-width: 100px;
        min-width: auto;
        margin: 0 auto;
        flex: 0 1 auto;
    }
    
    .pin-carousel {
        padding: 0.34rem;
    }
    
    .pin-carousel-display {
        padding: 0.26rem;
    }
    
    .pin-carousel-container {
        gap: 0.13rem;
        margin-bottom: 0.13rem;
    }
    
    .pin-items-container {
        gap: 0.13rem;
    }
    
    .carousel-nav-btn {
        padding: 0;
        font-size: 0.75rem;
        width: 24px;
        height: 24px;
        border-radius: 50% !important;
    }
    
    .carousel-nav-btn:first-child {
        left: -12px;
    }
    
    .carousel-nav-btn:last-child {
        right: -12px;
    }
    
    .pin-item {
        padding: 0.17rem 0.34rem;
        min-width: 26px;
    }
    
    .pin-item.current-pin {
        font-size: 1.02rem;
    }
    
    .pin-item.prev-pin,
    .pin-item.next-pin {
        font-size: 0.68rem;
    }
    
    .pin-info {
        font-size: 0.6rem;
    }
    .output-card {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        margin-bottom: 0.2rem;
    }
    .section-title {
        margin-top: 0.1rem;
        margin-bottom: 0.15rem;
        padding-top: 0;
        padding-bottom: 0;
    }
    .voice-controls {
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
        margin-bottom: 0.15rem !important;
    }
    .voice-buttons {
        margin-top: 0.05rem;
        margin-bottom: 0.05rem;
    }
    .pin-carousel {
        padding-top: 0.15rem;
        padding-bottom: 0.15rem;
        margin-bottom: 0.15rem !important;
    }
    .pin-carousel-display {
        padding-top: 0.08rem;
        padding-bottom: 0.08rem;
    }
    .draw-status {
        margin-top: 0.1rem;
        margin-bottom: 0.1rem;
        padding-top: 0.1rem;
        padding-bottom: 0.1rem;
    }
    .canvas-container {
        margin-top: 0.1rem;
        margin-bottom: 0.1rem;
        padding-top: 0.1rem;
        padding-bottom: 0.1rem;
    }
    .btn, .voice-buttons .btn, .action-buttons .btn {
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
        margin-top: 0.05rem;
        margin-bottom: 0.05rem;
    }
    .voice-controls .form-group {
        margin-bottom: 0.05rem;
        padding-top: 0.02rem;
        padding-bottom: 0.02rem;
    }
    .voice-controls .form-label {
        margin-bottom: 0.04rem;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 0.7rem;
    }
    .voice-controls .form-control {
        padding-top: 0.12rem;
        padding-bottom: 0.12rem;
        font-size: 0.7rem;
        height: 1.3rem;
    }
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.output-card {
    animation: fadeIn 0.5s ease-out;
}

/* ===== ESTADOS DE CARGA ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffd700;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
.btn:focus,
.form-control:focus,
.form-range:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* ===== ESTADOS DESHABILITADOS ===== */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ===== CONTROLES DE VOZ ===== */
.voice-controls {
    background: rgba(255, 215, 0, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.voice-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ===== CARRUSEL DE PINES ===== */
.pin-carousel {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding: 0.85rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.pin-carousel-display {
    text-align: center;
    padding: 0.64rem;
}

.pin-carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.34rem;
    margin-bottom: 0.34rem;
    position: relative;
}

.pin-items-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.34rem;
}

.carousel-nav-btn {
    padding: 0;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 50% !important;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn:first-child {
    left: -16px;
}

.carousel-nav-btn:last-child {
    right: -16px;
}

.pin-item {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.34rem 0.68rem;
    min-width: 38px;
    text-align: center;
}

.pin-item.prev-pin {
    font-size: 1.02rem;
    color: #999;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

.pin-item.current-pin {
    font-size: 1.7rem;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.pin-item.next-pin {
    font-size: 1.02rem;
    color: #999;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

.pin-item.current-pin.active {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.pin-info {
    font-size: 0.77rem;
    color: #ccc;
    font-weight: 500;
}

/* Mejoras para el carrusel - hacer más claro qué representa cada número */
.pin-carousel-container {
    position: relative;
}

/* Tooltips para cada tipo de pin */
.pin-item.prev-pin::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: #999;
    white-space: nowrap;
}

.pin-item.current-pin::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: #999;
    white-space: nowrap;
}

.pin-item.next-pin::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: #999;
    white-space: nowrap;
}

/* Estilo especial para cuando mostramos "Inicio" */
.pin-item[data-text="Inicio"] {
    background: rgba(255, 215, 0, 0.2) !important;
    color: #ffd700 !important;
    border-color: #ffd700 !important;
    font-size: 0.9rem !important;
    font-weight: 600;
}

/* ===== ANIMACIONES PARA EL CARRUSEL ===== */
@keyframes pinHighlight {
    0% { transform: scale(1.1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.1); }
}

.pin-item.current-pin.highlight {
    animation: pinHighlight 0.5s ease-in-out;
}

/* ===== INDICADOR DE PROGRESO ===== */
.progress-info {
    margin-top: 0.5rem;
    text-align: center;
}

.progress-label {
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.progress-percentage {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

/* Animación de pulso para el progreso */
@keyframes progressPulse {
    0% { box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5); }
    100% { box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3); }
}

.progress-bar.animating {
    animation: progressPulse 1s ease-in-out infinite;
}

/* Responsive para el indicador de progreso */
@media (max-width: 768px) {
    .progress-label {
        font-size: 0.75rem;
    }
    
    .progress-percentage {
        font-size: 1rem;
    }
    
    .progress-bar-container {
        height: 6px;
    }
}

@media (max-width: 576px) {
    .progress-label {
        font-size: 0.7rem;
    }
    
    .progress-percentage {
        font-size: 0.9rem;
    }
    
    .progress-bar-container {
        height: 5px;
    }
}

/* ===== INDICADOR DE TIEMPO ===== */
.time-info {
    margin-top: 0.5rem;
    text-align: center;
}

.time-label {
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.time-remaining {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Courier New', monospace;
}

.time-details {
    font-size: 0.7rem;
    color: #999;
    font-style: italic;
}

/* Animación para el tiempo restante */
@keyframes timePulse {
    0% { color: #ff6b35; }
    50% { color: #ff8c42; }
    100% { color: #ff6b35; }
}

.time-remaining.updating {
    animation: timePulse 0.5s ease-in-out;
}

/* Responsive para el indicador de tiempo */
@media (max-width: 768px) {
    .time-label {
        font-size: 0.75rem;
    }
    
    .time-remaining {
        font-size: 1.2rem;
    }
    
    .time-details {
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .time-label {
        font-size: 0.7rem;
    }
    
    .time-remaining {
        font-size: 1rem;
    }
    
    .time-details {
        font-size: 0.6rem;
    }
}