/**
 * Gamebet Download Styles
 */

/* ════════════════════════════════════════════════════════════════
   BOTÓN DE DESCARGA
   ════════════════════════════════════════════════════════════════ */

.gamebet-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #05a078 0%, #399140 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 160, 120, 0.3);
    text-decoration: none;
    line-height: 1.4;
}

.gamebet-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(5, 160, 120, 0.4);
    background: linear-gradient(135deg, #06b48a 0%, #42a34a 100%);
}

.gamebet-download-btn:active {
    transform: translateY(0);
}

.gamebet-download-btn:disabled {
    cursor: not-allowed;
    opacity: 0.9;
    transform: none;
}

.gamebet-download-btn.loading {
    pointer-events: none;
}

/* Tamaños */
.gamebet-btn-small {
    padding: 10px 18px;
    font-size: 14px;
    gap: 8px;
}

.gamebet-btn-large {
    padding: 18px 36px;
    font-size: 18px;
    gap: 12px;
}

/* Iconos y texto */
.gamebet-btn-icon {
    display: inline-flex;
    align-items: center;
}

.gamebet-btn-icon svg {
    width: 20px;
    height: 20px;
}

.gamebet-btn-large .gamebet-btn-icon svg {
    width: 24px;
    height: 24px;
}

.gamebet-btn-small .gamebet-btn-icon svg {
    width: 16px;
    height: 16px;
}

.gamebet-btn-loading,
.gamebet-btn-success,
.gamebet-btn-error {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gamebet-btn-success {
    color: #a8f0c6;
}

.gamebet-btn-error {
    color: #ffc9c9;
}

/* Spinner */
.gamebet-spinner {
    animation: gamebet-spin 0.8s linear infinite;
}

@keyframes gamebet-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ════════════════════════════════════════════════════════════════
   CONTENEDOR AUTO-DETECT
   ════════════════════════════════════════════════════════════════ */

.gamebet-download-container {
    text-align: center;
}

.gamebet-download-main {
    margin-bottom: 20px;
}

.gamebet-detecting {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.gamebet-detecting svg {
    color: #05a078;
}

/* Otras plataformas */
.gamebet-download-others {
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.gamebet-others-title {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.gamebet-others-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════════
   VERSIÓN
   ════════════════════════════════════════════════════════════════ */

.gamebet-version {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.9em;
    color: #666;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 600px) {
    .gamebet-download-btn {
        width: 100%;
        justify-content: center;
    }

    .gamebet-btn-large {
        padding: 16px 24px;
        font-size: 16px;
    }

    .gamebet-others-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .gamebet-others-buttons .gamebet-download-btn {
        width: 100%;
    }
}