/**
 * DIGITAL WAVE - Estilos Principales
 * Sistema de tienda de música digital
 */

/* ============================================
   VARIABLES Y RESET
   ============================================ */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark: #1f2937;
    --dark-light: #374151;
    --gray: #6b7280;
    --gray-light: #d1d5db;
    --gray-lighter: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   BANNER DE IA
   ============================================ */
.ai-banner {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    box-shadow: var(--shadow);
}

.ai-banner p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ai-icon {
    font-size: 18px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--white);
    padding: 30px 0;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.header-content {
    text-align: center;
}

.logo {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.tagline {
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 20px;
}

.header-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-cart {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cart-count {
    background: var(--danger-color);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

/* ============================================
   BÚSQUEDA Y FILTROS
   ============================================ */
.search-section {
    background: var(--white);
    padding: 30px 0;
    margin-bottom: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.search-box {
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.genres-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.genre-btn {
    background: var(--gray-lighter);
    color: var(--dark);
    border: 2px solid transparent;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.genre-btn:hover {
    background: var(--gray-light);
}

.genre-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-dark);
}

/* ============================================
   CATÁLOGO
   ============================================ */
.main-content {
    background: var(--white);
    padding: 40px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.catalog-header {
    text-align: center;
    margin-bottom: 40px;
}

.catalog-header h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 10px;
}

.results-count {
    color: var(--gray);
    font-size: 14px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* ============================================
   TARJETAS DE CANCIONES
   ============================================ */
.song-card {
    background: var(--white);
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.song-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.song-cover {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: var(--gray-lighter);
}

.song-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder cuando no hay imagen */
.song-cover::before {
    content: "🎵";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    opacity: 0.3;
    z-index: 0;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.song-card:hover .play-overlay {
    opacity: 1;
}

.btn-play {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-play:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    color: var(--white);
}

.song-info {
    padding: 20px;
}

.song-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.song-artist {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 5px;
}

.song-genre {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 15px;
}

.song-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--gray-lighter);
    border-bottom: 1px solid var(--gray-lighter);
    margin-bottom: 10px;
}

.downloads, .price {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.formats-info {
    font-size: 12px;
    color: var(--success-color);
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    padding: 8px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
}

.song-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-add-cart, .btn-buy-now {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart {
    background: var(--primary-color);
    color: var(--white);
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

.btn-buy-now {
    background: var(--success-color);
    color: var(--white);
}

.btn-buy-now:hover {
    background: #059669;
}

.btn-share-song {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-share-song:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Highlight de canción compartida */
.song-card.highlighted {
    animation: highlightPulse 2s ease-in-out;
    border: 2px solid #667eea;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.5);
}

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(102, 126, 234, 0.5);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 50px rgba(102, 126, 234, 0.7);
    }
}

/* ============================================
   NO RESULTADOS
   ============================================ */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
}

.btn-reset-search {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reset-search:hover {
    background: var(--primary-dark);
}

/* ============================================
   PLAYER DE PREVIEW
   ============================================ */
.preview-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.preview-player.active {
    transform: translateY(0);
}

.player-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.btn-close-player {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--danger-color);
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.btn-close-player:hover {
    transform: scale(1.1);
}

.player-info {
    flex: 1;
}

.now-playing {
    font-size: 12px;
    color: var(--gray-light);
    margin-bottom: 5px;
}

#playerTitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

#playerArtist {
    font-size: 14px;
    color: var(--gray-light);
}

.player-controls {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-player {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-player:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--dark-light);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
}

.time-display {
    font-size: 12px;
    color: var(--gray-light);
    white-space: nowrap;
}

/* ============================================
   CARRITO SIDEBAR
   ============================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
}

.btn-close-cart {
    background: transparent;
    color: var(--white);
    border: none;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: var(--transition);
}

.btn-close-cart:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    background: var(--gray-lighter);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-info h4 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 5px;
}

.cart-item-info p {
    font-size: 14px;
    color: var(--gray);
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-remove-item {
    background: var(--danger-color);
    color: var(--white);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    margin-top: 10px;
    transition: var(--transition);
}

.btn-remove-item:hover {
    background: #dc2626;
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.cart-empty p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 10px;
}

.cart-empty-hint {
    font-size: 14px;
    color: var(--gray-light);
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid var(--gray-lighter);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.total-amount {
    color: var(--primary-color);
    font-size: 24px;
}

.cart-note {
    font-size: 12px;
    color: var(--gray);
    text-align: center;
    margin-bottom: 15px;
}

.btn-checkout {
    width: 100%;
    background: var(--success-color);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    transition: var(--transition);
}

.btn-checkout:hover {
    background: #059669;
}

.btn-clear-cart {
    width: 100%;
    background: transparent;
    color: var(--danger-color);
    border: 2px solid var(--danger-color);
    padding: 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-clear-cart:hover {
    background: var(--danger-color);
    color: var(--white);
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gray-lighter);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-modal:hover {
    background: var(--gray-light);
}

.modal-content h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 20px;
}

.terms-content {
    margin-bottom: 30px;
}

.terms-content h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.terms-content ul {
    list-style: none;
    padding-left: 0;
}

.terms-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.terms-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.terms-accept {
    border-top: 2px solid var(--gray-lighter);
    padding-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-continue {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-continue:disabled {
    background: var(--gray-light);
    cursor: not-allowed;
}

.btn-continue:not(:disabled):hover {
    background: var(--primary-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-content p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: var(--gray-light);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
}

.btn-contact {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-contact:hover {
    background: var(--primary-dark);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--dark-light);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .logo {
        font-size: 28px;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .genres-filter {
        gap: 8px;
    }
    
    .genre-btn {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .player-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .player-info {
        text-align: center;
    }
    
    .footer .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ai-banner p {
        font-size: 12px;
    }
    
    .catalog-header h2 {
        font-size: 24px;
    }
    
    .song-title {
        font-size: 18px;
    }
}




/* ============================================
   BOTÓN COMPARTIR EN HEADER
   ============================================ */

.btn-share {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ============================================
   MODAL DE COMPARTIR
   ============================================ */

.modal-share {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-share.active {
    display: flex;
}

.modal-share-content {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.98), rgba(20, 20, 20, 0.98));
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 25px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.btn-close-share {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.5);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-share:hover {
    background: rgba(255, 0, 0, 0.5);
    transform: rotate(90deg);
}

.modal-share h2 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.share-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

/* ============================================
   OPCIONES DE COMPARTIR
   ============================================ */

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.share-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.share-icon {
    font-size: 2rem;
}

.share-text {
    font-size: 14px;
    font-weight: 500;
}

/* Colores específicos por red */
.share-btn.facebook:hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: #1877f2;
}

.share-btn.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    border-color: #1da1f2;
}

.share-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25d366;
}

.share-btn.telegram:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: #0088cc;
}

.share-btn.email:hover {
    background: rgba(234, 67, 53, 0.2);
    border-color: #ea4335;
}

.share-btn.copy:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

/* ============================================
   SECCIÓN QR CODE
   ============================================ */

.qr-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.qr-section h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.qr-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 15px;
}

.qr-container img {
    display: block;
    width: 200px;
    height: 200px;
}

.btn-download-qr {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download-qr:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ============================================
   SECCIÓN LINK DIRECTO
   ============================================ */

.link-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
}

.link-section label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-weight: 600;
}

.link-copy-box {
    display: flex;
    gap: 10px;
}

#shareLinkInput {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 15px;
    border-radius: 10px;
    color: white;
    font-size: 14px;
}

.btn-copy-link {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-copy-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .modal-share-content {
        padding: 25px;
        width: 95%;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-share h2 {
        font-size: 1.4rem;
    }
    
    .qr-container img {
        width: 180px;
        height: 180px;
    }
    
    .link-copy-box {
        flex-direction: column;
    }
    
    .btn-copy-link {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn-share {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
}