/* css/theme-electric.css - TEMA VIBRANTE ELÉCTRICO PARA JÓVENES */
:root {
    /* PALETA ELÉCTRICA VIVA - VIBE/SLAY/JAM */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-glass: rgba(26, 26, 46, 0.95);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --accent-primary: #00ffea; /* CYAN NEÓN */
    --accent-secondary: #ff00ff; /* MAGENTA NEÓN */
    --accent-tertiary: #ff6b00; /* NARANJA ELÉCTRICO */
    --accent-quaternary: #9d00ff; /* PÚRPURA VIBRANTE */
    --accent-light: #ffff00; /* AMARILLO NEÓN */
    --emerald-green: linear-gradient(135deg, #00ffea 0%, #ff00ff 100%);
    --border-radius: 16px;
    --spacing-sm: 1.2rem;
    --spacing-md: 2rem;
    --shadow-light: 0 2px 30px rgba(0, 255, 234, 0.4);
    --shadow-medium: 0 10px 50px rgba(255, 0, 255, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 255, 234, 0.8);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-pulse: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Montserrat', 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    color: var(--text-primary);
    line-height: 1.6;
    padding-bottom: env(safe-area-inset-bottom);
    overflow-x: hidden;
}

/* Efecto de partículas en el fondo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 234, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(255, 0, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.1) 2px, transparent 2px);
    background-size: 200px 200px;
    z-index: -1;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(20px); }
    100% { transform: translateY(0) translateX(0); }
}

.container {
    max-width: 500px;
    margin: 50px auto;
    padding: 0;
    padding-bottom: 0;
    background: rgba(10, 10, 15, 0.85);
    border-radius: 25px;
    border: 2px solid var(--accent-primary);
    box-shadow: 
        0 20px 60px rgba(0, 255, 234, 0.3),
        inset 0 0 30px rgba(0, 255, 234, 0.1);
    overflow: hidden;
    backdrop-filter: blur(15px);
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-primary), 
        var(--accent-secondary),
        var(--accent-tertiary),
        transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== FILTROS VIBRANTES ===== */
.filters-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
    flex-wrap: nowrap;
    padding: 15px;
    background: rgba(10, 10, 15, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--accent-primary);
    overflow-x: auto;
    scrollbar-width: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 30px rgba(0, 255, 234, 0.2);
}

.filters-container::-webkit-scrollbar {
    display: none;
}

.filter-group {
    flex: 1;
    min-width: 150px;
    position: relative;
}

.filter-select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--accent-primary);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2300ffea' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    box-shadow: var(--shadow-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.6);
    background: rgba(0, 0, 0, 0.9);
}

/* ===== GALERÍA ELÉCTRICA ===== */
.gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 auto;
    width: 100%;
}

.post-card {
    background: rgba(10, 10, 15, 0.85);
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    border-bottom: 2px solid rgba(0, 255, 234, 0.3);
    width: 100%;
    backdrop-filter: blur(15px);
    transition: var(--transition-smooth);
}

.post-card:hover {
    box-shadow: 0 10px 40px rgba(0, 255, 234, 0.3);
}

/* HEADER ELÉCTRICO */
.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 2px solid rgba(0, 255, 234, 0.3);
    position: relative;
}

.post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-primary), 
        var(--accent-secondary),
        transparent);
}

.post-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
    position: relative;
}

.post-author-avatar::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.post-author-avatar:hover {
    transform: scale(1.1);
    border-color: transparent;
}

.post-author-avatar:hover::after {
    opacity: 1;
    animation: rotate 1s linear infinite;
}

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

.author-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow);
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 50%, var(--accent-tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: gradientShift 3s infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.author-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* BOTÓN ELÉCTRICO */
.header-action-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 234, 0.3);
}

.header-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 234, 0.4), transparent);
    transition: left 0.5s;
}

.header-action-btn:hover::before {
    left: 100%;
}

.header-action-btn:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    transform: scale(1.1);
    box-shadow: 0 5px 25px rgba(0, 255, 234, 0.6);
    border-color: transparent;
}

/* CONTENEDOR PRINCIPAL ELÉCTRICO */
.main-media-container {
    position: relative;
    width: 100%;
    height: 70vh;
    background: #000000;
    overflow: hidden;
}

/* CONTADOR ELÉCTRICO */
.contador-archivos {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--accent-primary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    z-index: 40;
    border: 2px solid var(--accent-primary);
    box-shadow: var(--shadow-light);
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.8);
}

/* MEDIA PRINCIPAL */
.main-image, .video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 0;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 25;
    border-radius: 0;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 255, 234, 0.5);
}

.play-button:hover {
    background: var(--accent-primary);
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(0, 255, 234, 0.8);
}

.play-button i {
    color: var(--accent-primary);
    font-size: 1.8rem;
    margin-left: 5px;
    transition: var(--transition-smooth);
}

.play-button:hover i {
    color: #000000;
}

.video-duration {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--accent-primary);
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 25;
    border: 2px solid var(--accent-primary);
    backdrop-filter: blur(10px);
    text-shadow: 0 0 8px rgba(0, 255, 234, 0.8);
}

/* MINIATURAS ELÉCTRICAS */
.miniaturas-container {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 2px solid rgba(0, 255, 234, 0.3);
    overflow-x: auto;
    scrollbar-width: none;
    backdrop-filter: blur(15px);
}

.miniaturas-container::-webkit-scrollbar {
    display: none;
}

.miniatura {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    flex-shrink: 0;
    filter: brightness(0.8);
}

.miniatura:hover, .miniatura.active {
    border-color: var(--accent-primary);
    transform: scale(1.1);
    box-shadow: 0 5px 25px rgba(0, 255, 234, 0.5);
    filter: brightness(1.2);
}

.miniatura-video {
    position: relative;
    border: 2px solid transparent;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.miniatura-video.active {
    border-color: var(--accent-primary);
    transform: scale(1.1);
    box-shadow: 0 5px 25px rgba(0, 255, 234, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 5px 25px rgba(0, 255, 234, 0.6); }
    50% { box-shadow: 0 5px 35px rgba(0, 255, 234, 0.9); }
}

.miniatura-duracion {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--accent-primary);
    padding: 3px 6px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    border: 1px solid var(--accent-primary);
    text-shadow: 0 0 5px rgba(0, 255, 234, 0.8);
}

/* CONTENEDOR DE INFORMACIÓN ELÉCTRICO */
.info-actions-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 2px solid rgba(0, 255, 234, 0.3);
    gap: 20px;
    backdrop-filter: blur(15px);
}

.product-info-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.status-category {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.conditions-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* BADGE DE PRECIO ELÉCTRICO */
.price-badge {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: var(--shadow-medium);
    border: 2px solid rgba(255, 255, 255, 0.9);
    min-width: 100px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation: priceGlow 2s infinite alternate;
}

@keyframes priceGlow {
    0% { box-shadow: 0 8px 40px rgba(0, 255, 234, 0.6); }
    100% { box-shadow: 0 8px 50px rgba(255, 0, 255, 0.7); }
}

.status-badge, .category-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    border: 2px solid var(--accent-primary);
    background: rgba(0, 0, 0, 0.8);
    color: var(--accent-primary);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 8px rgba(0, 255, 234, 0.8);
}

.status-badge:hover, .category-badge:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 234, 0.5);
    border-color: transparent;
}

.condition-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 800;
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 5px rgba(0, 255, 234, 0.8);
}

.condition-tag:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 234, 0.4);
}

.condition-tag i {
    font-size: 0.7rem;
}

/* SECCIÓN SOCIAL ELÉCTRICA */
.social-actions-right {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.user-follow-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

/* BOTÓN FOLLOW ELÉCTRICO */
.follow-btn {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 234, 0.3);
}

.follow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 234, 0.4), transparent);
    transition: left 0.5s;
}

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

.follow-btn.following {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    animation: pulseFollow 1.5s infinite;
}

@keyframes pulseFollow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 234, 0.5); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 234, 0.9); }
}

.follow-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 30px rgba(0, 255, 234, 0.6);
    border-color: transparent;
}

.followers-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 8px rgba(0, 255, 234, 0.5);
}

.social-actions-column {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

/* ACCIÓN SOCIAL ELÉCTRICA */
.social-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 10px;
    border-radius: var(--border-radius);
    min-width: 60px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 234, 0.4);
}

.social-action:hover {
    background: rgba(0, 255, 234, 0.1);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 255, 234, 0.3);
    border-color: var(--accent-primary);
}

.action-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-primary);
    transition: var(--transition-smooth);
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.8);
}

.action-count {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    text-shadow: 0 0 8px rgba(0, 255, 234, 0.8);
}

.social-action.active .action-icon {
    color: var(--accent-secondary);
    transform: scale(1.2);
    animation: iconPulse 1s infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1.2); }
    50% { transform: scale(1.3); }
}

/* BOTÓN CONTACT ELÉCTRICO */
.contact-action {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 900;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    margin-left: -3px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 255, 234, 0.4);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.contact-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-action:hover::before {
    left: 100%;
}

.contact-action:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 35px rgba(255, 0, 255, 0.6);
    animation: contactGlow 1.5s infinite;
}

@keyframes contactGlow {
    0%, 100% { box-shadow: 0 10px 35px rgba(255, 0, 255, 0.6); }
    50% { box-shadow: 0 10px 45px rgba(0, 255, 234, 0.7); }
}

/* DESCRIPCIÓN ELÉCTRICA */
.product-description-container {
    padding: 20px;
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 2px solid rgba(0, 255, 234, 0.3);
    backdrop-filter: blur(15px);
}

.product-description {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.product-description.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(0, 255, 234, 0.8);
}

.read-more-btn:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 234, 0.4);
}

/* INFORMACIÓN INFERIOR ELÉCTRICA */
.product-bottom-info {
    padding: 20px;
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 2px solid rgba(0, 255, 234, 0.3);
    backdrop-filter: blur(15px);
}

.bottom-info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.unified-tags-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

/* ETIQUETAS UNIFICADAS ELÉCTRICAS */
.unified-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 800;
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 8px rgba(0, 255, 234, 0.8);
}

.unified-tag:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 234, 0.5);
    border-color: transparent;
}

.unified-tag.status-available {
    border-color: #00ff88;
    color: #00ff88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
}

.unified-tag.status-available:hover {
    background: linear-gradient(135deg, #00ff88 0%, #00ffea 100%);
    color: #000000;
}

.unified-tag.status-reserved {
    border-color: #ffff00;
    color: #ffff00;
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.8);
}

.unified-tag.status-reserved:hover {
    background: linear-gradient(135deg, #ffff00 0%, #ff6b00 100%);
    color: #000000;
}

.unified-tag.status-sold {
    border-color: #ff0066;
    color: #ff0066;
    text-shadow: 0 0 8px rgba(255, 0, 102, 0.8);
}

.unified-tag.status-sold:hover {
    background: linear-gradient(135deg, #ff0066 0%, #ff00ff 100%);
    color: #000000;
}

.unified-tag.condition-new {
    border-color: #00ffea;
    color: #00ffea;
}

.unified-tag.condition-new:hover {
    background: linear-gradient(135deg, #00ffea 0%, #0099ff 100%);
    color: #000000;
}

/* BOTONES DE CONTROL DE VIDEO ELÉCTRICOS */
.sound-toggle, .expand-btn {
    position: absolute;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    transition: var(--transition-smooth);
    text-decoration: none;
    box-shadow: 0 0 20px rgba(0, 255, 234, 0.4);
}

.sound-toggle:hover, .expand-btn:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.7);
    border-color: transparent;
}

.sound-toggle {
    right: 20px;
}

.expand-btn {
    right: 70px;
}

/* BADGE DE PRECIO EN IMAGEN ELÉCTRICO */
.image-price-badge {
    position: absolute;
    bottom: 20px;
    right: 130px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: var(--shadow-medium);
    border: 3px solid rgba(255, 255, 255, 0.9);
    min-width: 100px;
    text-align: center;
    white-space: nowrap;
    z-index: 30;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation: priceFloat 3s infinite ease-in-out;
}

@keyframes priceFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.image-price-badge:hover {
    transform: scale(1.1) translateY(-5px);
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.7);
}

/* ===== MODALES ELÉCTRICOS ===== */
.fullview-modal, .tracking-modal, .comments-modal, .likes-modal, .contact-modal, .message-modal, .login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.98);
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.fullview-content, .tracking-content, .comments-content, .likes-content, .contact-content, .message-content, .login-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    background: rgba(10, 10, 15, 0.95);
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--accent-primary);
    box-shadow: 
        0 25px 70px rgba(0, 255, 234, 0.4),
        inset 0 0 40px rgba(0, 255, 234, 0.1);
    backdrop-filter: blur(25px);
}

.tracking-header, .comments-header, .likes-header, .contact-header, .message-header, .login-header {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    padding: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.tracking-header h3, .comments-header h3, .likes-header h3, .contact-header h3, .message-header h3, .login-header h3 {
    color: #000000;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.close-tracking, .close-comments, .close-likes, .close-contact, .close-message, .close-login {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #000000;
    color: #000000;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.close-tracking:hover, .close-comments:hover, .close-likes:hover, .close-contact:hover, .close-message:hover, .close-login:hover {
    background: #000000;
    color: var(--accent-primary);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 25px rgba(0, 255, 234, 0.7);
}

.tracking-body, .comments-body, .likes-body, .contact-body, .message-body, .login-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(10, 10, 15, 0.9);
}

.no-comments, .no-likes, .no-tracking {
    text-align: center;
    color: var(--text-secondary);
    padding: 30px;
    font-style: italic;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.5);
}

.no-photos {
    text-align: center;
    padding: var(--spacing-md);
    color: var(--text-secondary);
    background: rgba(10, 10, 15, 0.9);
    border-radius: var(--border-radius);
    margin: 25px;
    border: 2px solid rgba(0, 255, 234, 0.3);
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.5);
}

/* FORMULARIOS ELÉCTRICOS */
.comment-input, .message-textarea {
    width: 100%;
    padding: 18px;
    border: 2px solid var(--accent-primary);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 16px !important;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    resize: vertical;
    min-height: 140px;
    line-height: 1.5;
    transition: var(--transition-smooth);
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    letter-spacing: 0.5px;
    box-shadow: inset 0 0 15px rgba(0, 255, 234, 0.1);
}

.comment-input:focus, .message-textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 
        0 0 30px rgba(255, 0, 255, 0.5),
        inset 0 0 20px rgba(0, 255, 234, 0.2);
    background: rgba(0, 0, 0, 0.9);
}

.send-comment-btn, .send-message-btn, .login-btn {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) !important;
    color: #000000 !important;
    border: none;
    padding: 18px 25px !important;
    border-radius: var(--border-radius);
    margin-top: 20px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    font-size: 16px !important;
    min-height: 55px;
    transition: var(--transition-smooth);
    box-sizing: border-box;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 234, 0.5);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.send-comment-btn::before, .send-message-btn::before, .login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.send-comment-btn:hover::before, .send-message-btn:hover::before, .login-btn:hover::before {
    left: 100%;
}

.send-comment-btn:hover, .send-message-btn:hover, .login-btn:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%) !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.7);
    animation: buttonGlow 1.5s infinite;
}

@keyframes buttonGlow {
    0%, 100% { box-shadow: 0 15px 40px rgba(255, 0, 255, 0.7); }
    50% { box-shadow: 0 15px 50px rgba(0, 255, 234, 0.8); }
}

.comments-form, .message-form, .login-form {
    padding: 25px;
    border-top: 2px solid rgba(0, 255, 234, 0.3);
    background: rgba(10, 10, 15, 0.95);
    flex-shrink: 0;
}

/* ===== PAGINACIÓN ELÉCTRICA ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 25px;
    padding: 20px;
    background: rgba(10, 10, 15, 0.9);
    border-radius: var(--border-radius);
    border: 2px solid rgba(0, 255, 234, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 255, 234, 0.2);
}

.pagination a {
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-primary);
    transition: var(--transition-smooth);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(0, 255, 234, 0.8);
}

.pagination a:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 234, 0.5);
    border-color: transparent;
}

/* ===== NOTIFICACIONES ELÉCTRICAS ===== */
.notification {
    position: fixed;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    padding: 15px 25px;
    border-radius: 15px;
    z-index: 10000;
    font-weight: 900;
    box-shadow: var(--shadow-medium);
    transform: translateX(100%);
    transition: var(--transition-bounce);
    max-width: 350px;
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.notification.error {
    background: linear-gradient(135deg, #ff0066 0%, #ff00ff 100%);
    color: white;
}

/* ===== BOTONES DE TEMA ELÉCTRICOS ===== */
.theme-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    background: rgba(0, 0, 0, 0.8);
    color: var(--accent-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 234, 0.4);
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 234, 0.4), transparent);
    transition: left 0.5s;
}

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

.theme-btn.active {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    box-shadow: 0 0 30px rgba(0, 255, 234, 0.9);
    animation: themePulse 2s infinite;
}

@keyframes themePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.theme-btn:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #000000;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
    border-color: transparent;
}

/* ===== MEDIA QUERIES RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        margin: 30px auto;
        border-radius: 20px;
    }

    .main-media-container {
        height: 60vh;
    }

    .filters-container {
        padding: 12px;
        gap: 8px;
    }

    .filter-group {
        min-width: 140px;
    }

    .filter-select {
        padding: 10px 12px 10px 35px;
        font-size: 0.85rem;
    }

    .post-header {
        padding: 12px;
        gap: 10px;
    }

    .post-author-avatar, .author-placeholder {
        width: 45px;
        height: 45px;
    }

    .author-name {
        font-size: 0.95rem;
    }

    .author-location {
        font-size: 0.75rem;
    }

    .header-action-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .contador-archivos {
        top: 12px;
        right: 12px;
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .miniaturas-container {
        padding: 12px;
        gap: 8px;
    }

    .miniatura, .miniatura-video {
        width: 60px;
        height: 60px;
    }

    .info-actions-container {
        padding: 15px;
        gap: 15px;
        flex-direction: column;
    }

    .product-info-left {
        width: 100%;
        gap: 12px;
    }
    
    .price-section {
        gap: 12px;
    }
    
    .status-category {
        gap: 8px;
    }
    
    .conditions-row {
        gap: 6px;
    }

    .price-badge {
        padding: 10px 16px;
        font-size: 1.1rem;
        min-width: 90px;
    }

    .status-badge, .category-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .condition-tag {
        padding: 6px 10px;
        font-size: 0.7rem;
    }

    .social-actions-right {
        width: 100%;
        min-width: auto;
    }

    .user-follow-section {
        align-items: center;
    }

    .follow-btn {
        width: 42px;
        height: 42px;
    }

    .social-actions-column {
        gap: 15px;
    }

    .social-action {
        min-width: 55px;
        padding: 8px;
    }

    .action-icon {
        width: 24px;
        height: 24px;
        font-size: 1.1rem;
    }

    .action-count {
        font-size: 0.75rem;
    }

    .contact-action {
        padding: 10px 16px;
        font-size: 0.8rem;
        margin-left: -3px;
    }

    .product-description-container {
        padding: 15px;
    }

    .product-bottom-info {
        padding: 15px;
    }

    .bottom-info-row {
        gap: 8px;
    }

    .unified-tags-container {
        gap: 8px;
    }

    .unified-tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 1.5rem;
    }

    .sound-toggle, .expand-btn {
        width: 36px;
        height: 36px;
        bottom: 15px;
        font-size: 0.9rem;
    }

    .sound-toggle {
        right: 15px;
    }

    .expand-btn {
        right: 60px;
    }

    .image-price-badge {
        bottom: 15px;
        right: 110px;
        padding: 10px 16px;
        font-size: 1.1rem;
        min-width: 90px;
    }
}

@media (max-width: 480px) {
    .main-media-container {
        height: 55vh;
    }

    .miniatura, .miniatura-video {
        width: 55px;
        height: 55px;
    }

    .info-actions-container {
        gap: 12px;
    }

    .price-section {
        justify-content: flex-start;
    }
    
    .status-category {
        justify-content: flex-start;
    }
    
    .conditions-row {
        justify-content: flex-start;
    }

    .price-badge {
        font-size: 1rem;
        padding: 8px 14px;
        min-width: 80px;
    }

    .social-actions-column {
        gap: 12px;
    }

    .social-action {
        min-width: 50px;
    }

    .post-header {
        padding: 10px;
    }

    .bottom-info-row {
        gap: 6px;
    }

    .unified-tags-container {
        gap: 6px;
    }

    .unified-tag {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .contact-action {
        margin-left: -3px;
    }

    .image-price-badge {
        right: 100px;
        font-size: 1rem;
        min-width: 85px;
        padding: 8px 14px;
    }
}

@media (max-width: 360px) {
    .main-media-container {
        height: 50vh;
    }

    .miniatura, .miniatura-video {
        width: 50px;
        height: 50px;
    }

    .post-header {
        padding: 8px;
    }

    .post-author-avatar, .author-placeholder {
        width: 40px;
        height: 40px;
    }

    .header-action-btn {
        width: 35px;
        height: 35px;
    }

    .social-actions-column {
        gap: 10px;
    }

    .social-action {
        min-width: 45px;
        padding: 6px;
    }

    .action-icon {
        font-size: 1rem;
    }

    .unified-tags-container {
        gap: 5px;
    }

    .unified-tag {
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .image-price-badge {
        right: 90px;
        font-size: 0.9rem;
        min-width: 80px;
        padding: 7px 12px;
    }
}

/* Soporte para dispositivos con notch */
@supports(padding: max(0px)) {
    .container {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== ESTILOS RESPONSIVE PARA MODALES ===== */
.tracking-modal,
.comments-modal,
.contact-modal,
.message-modal,
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.98);
    display: none;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(25px);
}

.tracking-content,
.comments-content,
.contact-content,
.message-content,
.login-content {
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 25px;
    box-shadow: 
        0 30px 70px rgba(0, 255, 234, 0.5),
        inset 0 0 40px rgba(0, 255, 234, 0.1);
    overflow: hidden;
    border: 2px solid var(--accent-primary);
}

/* Estilos responsive para móviles */
@media (max-width: 768px) {
    .tracking-item {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .tracking-item-image {
        width: 100% !important;
        height: 160px !important;
        margin-bottom: 12px;
    }
    
    .tracking-actions {
        flex-direction: row !important;
        justify-content: space-between !important;
        margin-top: 12px;
    }
    
    .tracking-action-btn {
        flex: 1 !important;
        margin: 0 6px !important;
    }
    
    /* Ajustes para todos los modales en móviles */
    .comments-content,
    .tracking-content,
    .contact-content,
    .message-content,
    .login-content {
        width: 95% !important;
        margin: 12px !important;
        max-height: 85vh !important;
    }
    
    /* Mejor scroll en móviles */
    .tracking-body,
    .comments-body {
        max-height: 50vh !important;
    }
}

@media (max-width: 480px) {
    .tracking-content,
    .comments-content,
    .contact-content,
    .message-content,
    .login-content {
        width: 100% !important;
        margin: 8px !important;
        border-radius: 20px !important;
    }
    
    .tracking-modal,
    .comments-modal,
    .contact-modal,
    .message-modal,
    .login-modal {
        padding: 12px !important;
    }
}

/* Efectos de brillo adicionales para elementos interactivos */
button:hover, 
a:hover, 
.social-action:hover, 
.unified-tag:hover,
.header-action-btn:hover {
    filter: brightness(1.2);
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 15, 0.8);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    box-shadow: 0 0 10px rgba(0, 255, 234, 0.8);
}