@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --scrollbar-width: 0px;
    --neon-red: #ff004c;
    --neon-pink: #f000ff;
    --dark-bg: #120106;
    --card-bg: #1a030c;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
}

body {
    --scrollbar-width: calc(100vw - 100%);
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg) !important;
    color: var(--text-light);
}

body.modal-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width);
}

.navbar {
    background-color: rgba(10, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-red);
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 45px;
    filter: drop-shadow(0 0 5px var(--neon-pink)) drop-shadow(0 0 15px var(--neon-pink));
    animation: neon-flicker 3s infinite alternate;
}

.logo-text {
    height: 35px;
    margin-left: 5px; /* Un valor positivo separará el texto de los labios */
    filter: drop-shadow(0 0 5px var(--neon-red)) drop-shadow(0 0 15px var(--neon-red));
    animation: neon-flicker 3.5s infinite alternate;
}

@keyframes neon-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 5px var(--neon-red)) drop-shadow(0 0 10px var(--neon-red));
  }
  20%, 24%, 55% {
    opacity: 0.8;
    filter: none;
  }
}

.hero-section {
    position: relative;
    background: url('../images/fondo.png') no-repeat center center;
    background-size: cover;
    padding: 6rem 0;
    text-align: center;
    /* CAMBIO: Esto eleva el buscador por encima de los anuncios */
    z-index: 100; 
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--dark-bg) 5%, rgba(18, 1, 6, 0.7) 50%, rgba(18, 1, 6, 0.3) 95%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 0 15px var(--neon-red);
}

.hero-content .lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

body.home-page .navbar {
    background-color: transparent !important;
    backdrop-filter: none;
    position: absolute;
    width: 100%;
    top: 0;
    /* CAMBIO: Valor muy alto para estar siempre al frente */
    z-index: 2000; 
    border-bottom: 1px solid rgba(255, 0, 76, 0.5);
}

body.home-page .hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.profile-card {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--neon-red);
    border-color: var(--neon-red);
}

.profile-card-img-container {
    position: relative;
    width: 100%;
    padding-top: 125%;
}

.profile-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card-body {
    padding: 1rem;
}

.profile-card-title {
    font-weight: 600;
    color: var(--text-light);
}

.profile-card-location {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.profile-online-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #00ff00;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--dark-bg);
    box-shadow: 0 0 10px #00ff00;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.main-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step-active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.neon-text {
    color: var(--text-light);
    text-shadow: 0 0 5px var(--neon-red), 0 0 10px var(--neon-red);
}

#progress-bar-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-bottom: 10px;
}
.progress-bar-step {
    color: var(--text-muted);
    font-weight: bold;
    text-align: center;
    flex-grow: 1;
    transition: color 0.4s ease-in-out;
    padding: 0 5px;
}
.progress-bar-step.active {
    color: var(--neon-red);
}

.progress {
    background-color: #333;
    border-radius: 5px;
    padding: 0;
}
.progress-bar {
    background: linear-gradient(90deg, var(--neon-red), var(--neon-pink));
    transition: width 0.4s ease-in-out;
}

.media-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.preview-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 125%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    background-color: #000;
}

.preview-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-image-tag {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: rgba(255, 0, 76, 0.8);
    color: white;
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 5px;
    font-weight: bold;
}

.distritos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.2);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 1rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.custom-file-upload label {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.custom-file-upload label:hover {
    background-color: var(--neon-red);
    border-color: var(--neon-red);
    color: var(--text-light);
}

@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
}

.map-responsive {
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 60%;
    border-radius: 8px;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.sub-card {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
}

.preview-image-wrapper {
    position: relative;
}

.btn-remove-preview {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
}

.dashboard-welcome-banner {
    background: var(--card-bg);
    border-radius: 15px;
    color: var(--text-light);
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #333;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
}

.welcome-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.welcome-avatar-container {
    flex-shrink: 0;
}

.welcome-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--neon-red);
    box-shadow: 0 4px 15px rgba(255, 0, 76, 0.25);
}

.welcome-text {
    min-width: 0;
    flex: 1;
}

.welcome-name {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.welcome-user {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.1;
}

.info-card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-top: 1.5rem;
}

.info-card-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-card-icon {
    font-size: 1.5rem;
    color: var(--neon-red);
    flex-shrink: 0;
    margin-top: 5px;
}

.info-card-content {
    display: flex;
    flex-direction: column;
}

.info-card-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.info-card-value {
    font-weight: 600;
    font-size: 1rem;
    word-break: break-all;
}

.info-card-actions .info-card-btn-group {
    display: flex;
    gap: 0.75rem;
}

.info-card-actions .btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 1px;
    color: var(--neon-red);
    border-color: var(--neon-red);
}

.info-card-actions .btn:hover {
    background-color: var(--neon-red);
    color: white;
    box-shadow: 0 0 15px var(--neon-red);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.dashboard-action-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    display: flex;
    flex-direction: column;
}

.dashboard-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 76, 0.2), transparent);
    transition: left 0.6s ease-in-out;
}

.dashboard-action-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 30px rgba(255, 0, 76, 0.7);
    border-color: var(--neon-red);
    text-decoration: none;
    color: inherit;
}

.dashboard-action-card:hover::before {
    left: 100%;
}

.dashboard-action-card .card-header {
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--neon-red) 0%, #a10034 100%);
}

.dashboard-action-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: rgba(255,255,255,0.9);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.dashboard-action-card:hover .card-icon {
    transform: scale(1.1);
}

.dashboard-action-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dashboard-action-card .card-body {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-action-card .card-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.dashboard-action-card.card-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.dashboard-action-card.card-disabled::after {
    content: "Próximamente";
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 2;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dashboard-action-card.card-disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #333;
}

.dashboard-action-card.card-disabled:hover::before {
    left: -100%;
}

@media (max-width: 992px) {
    .dashboard-welcome-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
    .info-card-actions {
        align-self: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .welcome-title {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .info-card-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.welcome-avatar-container a {
    display: inline-block;
    position: relative;
}

.welcome-avatar-container a::after {
    content: '✏️';
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--neon-red);
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid var(--dark-bg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.welcome-avatar-container a:hover::after {
    opacity: 1;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.predefined-avatar {
    width: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.predefined-avatar:hover {
    transform: scale(1.05);
    border-color: rgba(255, 0, 76, 0.5);
}

.predefined-avatar.selected {
    border-color: var(--neon-red);
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--neon-red);
}

html.swal2-shown,
body.swal2-shown {
    height: 100% !important;
}

.login-main-container {
    flex: 1 0 auto;
    display: flex;
    min-height: calc(100vh - 142px);
}

.login-promo-panel {
    background-color: var(--card-bg);
    padding: 3rem;
    background-image: linear-gradient(rgba(18, 1, 6, 0.8), rgba(18, 1, 6, 0.8)), url('https://images.unsplash.com/photo-1519313959293-b0cfa9a93c5d?q=80&w=1887&auto-format=fit=crop');
    background-size: cover;
    background-position: center;
    border-right: 1px solid var(--neon-red);
}

.login-promo-panel .logo-icon {
    animation: none;
    filter: drop-shadow(0 0 8px var(--neon-pink));
}

.login-promo-panel .logo-text {
    animation: none;
    filter: drop-shadow(0 0 8px var(--neon-red));
}

.login-form-panel {
    background-color: var(--dark-bg);
    padding: 2rem;
}

.login-card {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 420px;
    border: 1px solid #333;
}

.btn-primary {
    background-color: var(--neon-red);
    border-color: var(--neon-red);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d1003f;
    border-color: #d1003f;
    box-shadow: 0 0 15px var(--neon-red);
}

.form-control {
    background-color: rgba(0,0,0,0.3);
    border: 1px solid #444;
    color: var(--text-light);
}

.form-control:focus {
    background-color: rgba(0,0,0,0.3);
    border-color: var(--neon-red);
    color: var(--text-light);
    box-shadow: 0 0 10px rgba(255, 0, 76, 0.5);
}

.site-footer {
    background-color: var(--dark-bg);
    border-top: 1px solid #333;
}

.advanced-search-container {
    width: 95%;
    max-width: 900px;
    margin: 2rem auto 0;
    background-color: rgba(26, 3, 12, 0.7);
    border: 1px solid var(--neon-red);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(255, 0, 76, 0.3);
    transition: max-width 0.3s ease-in-out;
}

@media (min-width: 1200px) {
    .advanced-search-container {
        max-width: 1200px;
    }
}

@media (min-width: 1600px) {
    .advanced-search-container {
        max-width: 90%;
    }
}

.filter-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-label {
    font-weight: 600;
    color: var(--text-light);
}

.filter-btn {
    background-color: rgba(0,0,0,0.3);
    border: 1px solid #555;
    color: var(--text-muted);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--text-light);
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(240, 0, 255, 0.5);
}

.filter-btn.active {
    background-color: var(--neon-red);
    color: var(--text-light);
    border-color: var(--neon-red);
    box-shadow: 0 0 15px var(--neon-red);
}

.main-search-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50px;
    padding: 0.5rem;
    border: 1px solid #444;
}

.main-search-inputs .input-wrapper {
    display: flex;
    align-items: center;
    padding-left: 1rem;
    flex-basis: 250px;
}

.main-search-inputs .input-wrapper i {
    color: var(--text-muted);
    margin-right: 0.75rem;
}

.main-search-inputs .form-control {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding-left: 0;
}

.main-search-inputs .form-control:focus {
    box-shadow: none;
}

.main-search-inputs .form-control::placeholder {
    color: var(--text-muted);
}

.btn-search {
    background-color: var(--neon-red);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background-color: #d1003f;
    box-shadow: 0 0 15px var(--neon-red);
}

.btn-icon-search {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid #555;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon-search:hover {
    color: white;
    border-color: var(--neon-red);
}

.lower-search-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.filter-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.filter-link:hover {
    color: var(--neon-red);
}

.filter-link i {
    margin-right: 0.5rem;
}

.nav-icon-btn {
    position: relative;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.nav-icon-btn:hover {
    color: var(--neon-pink);
}

.notification-badge {
    position: absolute;
    top: 0px;
    right: -5px;
    font-size: 0.6rem;
    padding: 0.2em 0.5em;
}

body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
    overflow-y: hidden !important;
    padding-right: 0 !important;
}

body.swal2-shown > [class*='container'],
body.swal2-shown .navbar {
    padding-right: 0 !important;
}

body.swal2-height-auto {
    height: 100% !important;
}

.swal2-container {
    overflow-y: auto !important;
}

body.swal2-shown {
    overflow: hidden !important;
}

body.swal2-shown .main-centered,
body.swal2-shown .login-main-container,
body.swal2-shown .container-fluid,
body.swal2-shown .container {
    transition: none !important;
}

.swal2-popup {
    margin: auto !important;
}

html {
    overflow-y: scroll !important;
}

html.swal2-shown {
    overflow-y: hidden !important;
    height: 100% !important;
}

.swal2-popup.swal2-modal {
    background: #1a030c !important;
    color: #f8f9fa !important;
}

.gender-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.gender-card {
    position: relative;
    width: 280px;
    height: 400px;
    background-color: var(--card-bg);
    border-radius: 15px;
    border: 2px solid #444;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.gender-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gender-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, transparent 50%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gender-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 2;
}

.gender-card-info i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.gender-card:hover {
    transform: translateY(-12px) scale(1.03);
}

.gender-card:hover .gender-card-img {
    transform: scale(1.1);
}

.gender-card:hover .gender-card-overlay {
    opacity: 1;
}

.gender-card--mujer:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 25px var(--neon-pink), 0 0 40px rgba(240, 0, 255, 0.5);
}

.gender-card--hombre {
    --neon-blue: #00e5ff;
}
.gender-card--hombre:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 25px var(--neon-blue), 0 0 40px rgba(0, 229, 255, 0.5);

}

.gender-card--travesti:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 25px var(--neon-red), 0 0 40px rgba(255, 0, 76, 0.5);
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 80px 1fr 340px;
    gap: 2rem;
    height: calc(100vh - 120px);
}

.dashboard-layout.layout-wide {
    grid-template-columns: 80px 1fr;
}

.dashboard-sidebar-nav {
    background-color: var(--card-bg);
    border-right: 1px solid #333;
    padding: 1.5rem 0;
}

.dashboard-sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.dashboard-sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.dashboard-sidebar-nav a:hover {
    color: var(--text-light);
    background-color: rgba(255, 0, 76, 0.2);
}

.dashboard-sidebar-nav a.active {
    background-color: var(--neon-red);
    color: white;
    box-shadow: 0 0 15px var(--neon-red);
}

.dashboard-main-content {
    overflow-y: auto;
    padding-right: 1rem;
}

.section-title {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.management-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.management-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 10px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.management-link:hover {
    border-color: var(--neon-red);
    transform: translateX(5px);
    background-color: #2a0814;
}

.management-link i {
    font-size: 1.2rem;
    color: var(--neon-red);
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tool-card {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.tool-card.disabled {
    opacity: 0.6;
}

.soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--neon-pink);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.tool-icon {
    font-size: 2rem;
    color: var(--neon-red);
}

.tool-info strong {
    display: block;
    color: var(--text-light);
}
.tool-info small {
    color: var(--text-muted);
}

.dashboard-right-sidebar {
    background-color: var(--card-bg);
    border-left: 1px solid #333;
    padding: 1.5rem;
    overflow-y: auto;
}

.user-info-card {
    background-color: transparent;
}

.user-avatar-section {
    text-align: center;
}

.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--neon-red);
    box-shadow: 0 0 20px rgba(255, 0, 76, 0.5);
}

.user-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--neon-red);
    margin-top: 5px;
}

.detail-item small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.detail-item span {
    color: var(--text-light);
    font-weight: 600;
    word-break: break-all;
}

.user-actions {
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .dashboard-layout {
        grid-template-columns: 80px 1fr;
    }
    .dashboard-right-sidebar {
        display: none;
    }
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

.btn-attention {
  animation: pulse-glow 1.5s infinite;
  box-shadow: 0 0 0 rgba(255, 0, 76, 0.4);
  border-color: var(--neon-red);
}

/* ========== ESTILOS PARA VISTA DE ANUNCIO ========== */
.profile-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 2px solid var(--neon-red);
}

.profile-main-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 15px var(--neon-red);
}

.btn-volver {
    transition: all 0.3s ease;
}

.btn-volver:hover {
    transform: translateX(-5px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.profile-main-photo {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.profile-main-photo:hover {
    transform: scale(1.02);
}

.contact-info-box {
    background: linear-gradient(135deg, rgba(255, 0, 76, 0.1) 0%, rgba(240, 0, 255, 0.1) 100%);
    border: 1px solid var(--neon-red);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.contact-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 76, 0.2), transparent);
    transition: left 0.6s ease-in-out;
}

.contact-info-box:hover::before {
    left: 100%;
}

.contact-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-phone i {
    font-size: 2rem;
    color: var(--neon-red);
}

.contact-phone small {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-phone span {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 1.5rem;
}

/* Mapa más pequeño y elegante */
.map-responsive {
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 40%; /* Reducido de 60% a 40% */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin-top: 1rem;
}

/* Galería multimedia mejorada */
.profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Aspecto 1:1 */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 0, 76, 0.5);
}

.gallery-item img,
.gallery-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 76, 0.7);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 10px 15px rgba(255, 0, 76, 0);
  }
  
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 76, 0);
  }
}

/* ============================================== */
/* ===== AJUSTES PARA TABLAS RESPONSIVAS ====== */
/* ============================================== */
/* Responsive para móviles */
@media (max-width: 768px) {
    .profile-header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .profile-main-title {
        font-size: 1.5rem;
    }
    
    .contact-info-content {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
    
    .profile-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    /* CORRECCIÓN: Dashboard layout para móviles */
    .dashboard-layout {
        grid-template-columns: 1fr; /* Solo una columna para el contenido */
        height: auto;
        gap: 0; /* Eliminar el gap innecesario */
    }
    
    .dashboard-sidebar-nav {
        display: none;
    }

    /* SOLUCIÓN PARA TABLA MIS_ANUNCIOS - MANTENER ESTRUCTURA CON SCROLL */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    /* Mantener la estructura de la tabla intacta */
    .table-responsive .table {
        min-width: 700px; /* Ancho mínimo para activar scroll */
    }
    
    /* Asegurar que los elementos de la tabla NO se conviertan en bloques */
    .table-responsive .table thead {
        display: table-header-group !important;
    }
    
    .table-responsive .table tbody {
        display: table-row-group !important;
    }
    
    .table-responsive .table tr {
        display: table-row !important;
    }
    
    .table-responsive .table th,
    .table-responsive .table td {
        display: table-cell !important;
        white-space: nowrap; /* Evita que el texto se rompa */
    }
    
    /* Ajustes visuales para mejor legibilidad en móvil */
    .table-responsive .table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .table-responsive .table .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* Tags más elegantes */
.tags-container .badge {
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    font-weight: 500;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.tags-container .badge:hover {
    transform: scale(1.1);
}

/* FORZAR ESTILOS DE TABLA RESPONSIVA EN MÓVILES */
@media (max-width: 768px) {
    /* Asegurar que el contenedor principal ocupe todo el ancho */
    .dashboard-main-content {
        padding-right: 0 !important;
        padding-left: 0 !important;
        width: 100% !important;
    }
    
    /* Forzar que la tabla mantenga su estructura */
    .table-responsive {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 8px !important;
        margin-bottom: 1rem !important;
    }
    
    /* Mantener estructura de tabla */
    .table-responsive .table {
        min-width: 700px !important;
        margin-bottom: 0 !important;
    }
    
    /* Forzar elementos de tabla */
    .table-responsive .table thead {
        display: table-header-group !important;
    }
    
    .table-responsive .table tbody {
        display: table-row-group !important;
    }
    
    .table-responsive .table tr {
        display: table-row !important;
    }
    
    .table-responsive .table th,
    .table-responsive .table td {
        display: table-cell !important;
        white-space: nowrap !important;
        padding: 0.75rem 0.5rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Ajustar botones de acciones */
    .table-responsive .table .btn-sm {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.875rem !important;
        margin: 0 2px !important;
    }
    
    /* Asegurar que los íconos se vean bien */
    .table-responsive .table .btn-sm i {
        font-size: 0.875rem !important;
    }
}
/* SOLUCIÓN DEFINITIVA PARA MÓVILES - FORZAR GRID LAYOUT */
@media (max-width: 768px) {
    /* Forzar que el dashboard-layout sea de una sola columna */
    .dashboard-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        height: auto !important;
        gap: 0 !important;
        width: 100% !important;
    }
    
    /* Ocultar completamente la sidebar en móviles */
    .dashboard-sidebar-nav {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        overflow: hidden !important;
    }
    
    /* Asegurar que el contenido principal ocupe todo el espacio */
    .dashboard-main-content {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Forzar que el container-fluid y contenedores padre también se adapten */
    .container-fluid {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Asegurar que la tabla responsiva funcione correctamente */
    .table-responsive {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 8px !important;
        margin-bottom: 1rem !important;
        border: 1px solid #444 !important;
    }
    
    /* Mantener estructura de tabla intacta */
    .table-responsive .table {
        min-width: 700px !important;
        margin-bottom: 0 !important;
        width: 700px !important;
    }
    
    /* Forzar elementos de tabla */
    .table-responsive .table thead {
        display: table-header-group !important;
    }
    
    .table-responsive .table tbody {
        display: table-row-group !important;
    }
    
    .table-responsive .table tr {
        display: table-row !important;
        border-bottom: 1px solid #444 !important;
    }
    
    .table-responsive .table th,
    .table-responsive .table td {
        display: table-cell !important;
        white-space: nowrap !important;
        padding: 0.75rem 0.5rem !important;
        font-size: 0.9rem !important;
        border-bottom: 1px solid #444 !important;
        vertical-align: middle !important;
    }
    
    /* Ajustar botones de acciones para que se vean bien en móvil */
    .table-responsive .table .btn-sm {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.8rem !important;
        margin: 0 1px !important;
        min-width: 32px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Asegurar que los íconos se vean bien */
    .table-responsive .table .btn-sm i {
        font-size: 0.8rem !important;
    }
    
    /* Título de la página */
    .dashboard-main-content h1 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Card que contiene la tabla */
    .dashboard-main-content .card {
        border-radius: 8px !important;
        margin: 0 !important;
    }
    
    .dashboard-main-content .card-body {
        padding: 1rem !important;
    }
}

/* CLASE ESPECÍFICA PARA LAYOUT WIDE EN MÓVILES */
@media (max-width: 768px) {
    .dashboard-layout.layout-wide {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        height: auto !important;
        gap: 0 !important;
        width: 100% !important;
    }
    
    .dashboard-layout.layout-wide .dashboard-sidebar-nav {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
    }
    
    .dashboard-layout.layout-wide .dashboard-main-content {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem !important;
    }
}

/* ==========================================
   PLANES Y PROMOCIONES - ESTILOS
   ========================================== */

/* Tarjetas de planes */
.plan-card {
    background: linear-gradient(135deg, rgba(26, 3, 12, 0.95) 0%, rgba(13, 13, 13, 0.95) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff004c, #ff6b9d);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.plan-card:hover::before {
    transform: scaleX(1);
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: #ff004c;
    box-shadow: 0 20px 60px rgba(255, 0, 76, 0.3);
}

.plan-premium {
    border-color: #ff004c !important;
    box-shadow: 0 10px 40px rgba(255, 0, 76, 0.2);
}

.plan-premium:hover {
    box-shadow: 0 20px 60px rgba(255, 0, 76, 0.4);
}

.plan-vip {
    border-color: #ffc107 !important;
    box-shadow: 0 10px 40px rgba(255, 193, 7, 0.2);
}

.plan-vip:hover {
    box-shadow: 0 20px 60px rgba(255, 193, 7, 0.4);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #ff004c 0%, #c0003a 100%);
    color: white;
    padding: 8px 50px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff004c, #ff6b9d);
    box-shadow: 0 10px 30px rgba(255, 0, 76, 0.3);
    animation: pulse 2s infinite;
}

.plan-vip .plan-icon {
    background: linear-gradient(135deg, #ffc107, #ff6f00);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
}

.plan-free .plan-icon {
    background: linear-gradient(135deg, #6c757d, #495057);
    box-shadow: 0 10px 30px rgba(108, 117, 125, 0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.plan-icon i {
    font-size: 2.5rem;
    color: white;
}

.plan-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--neon-red);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.plan-price {
    margin: 1rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(255, 0, 76, 0.5);
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    padding-left: 10px;
    background: rgba(255, 0, 76, 0.05);
}

.feature-item i {
    font-size: 1.2rem;
}

.feature-item span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.btn-plan {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-plan-current {
    background: #6c757d;
    border: none;
    color: white;
    cursor: not-allowed;
}

.btn-plan-premium {
    background: linear-gradient(135deg, #ff004c 0%, #c0003a 100%);
    border: none;
    color: white;
}

.btn-plan-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 76, 0.4);
}

.btn-plan-vip {
    background: linear-gradient(135deg, #ffc107 0%, #ff6f00 100%);
    border: none;
    color: #1a030c;
}

.btn-plan-vip:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
}

/* Tabla comparativa */
.comparison-table {
    margin-bottom: 0;
}

.comparison-table thead th {
    background: rgba(255, 0, 76, 0.1);
    border-bottom: 2px solid #ff004c;
    font-weight: bold;
    padding: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table tbody td {
    padding: 1rem 1.2rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table tbody tr:hover {
    background: rgba(255, 0, 76, 0.05);
}

.bg-premium-subtle {
    background-color: rgba(255, 0, 76, 0.08) !important;
}

.bg-vip-subtle {
    background-color: rgba(255, 193, 7, 0.08) !important;
}

/* ==========================================
   SERVICIOS COMPLEMENTARIOS - ALINEACIÓN MEJORADA
   ========================================== */

/* Pay-per-Boost Items */
.boost-service-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.boost-service-item:hover {
    background: rgba(255, 0, 76, 0.08);
    border-left-color: #ff004c;
    transform: translateX(5px);
}

.boost-content {
    min-width: 0;
}

.boost-title {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.boost-description {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.boost-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    min-width: 100px;
}

.boost-price-tag {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--neon-red);
    text-shadow: 0 0 15px rgba(255, 0, 76, 0.5);
    white-space: nowrap;
}

.boost-action .btn {
    min-width: 100px;
}

/* Verification Items */
.verification-service-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.verification-service-item:hover {
    background: rgba(13, 202, 240, 0.08);
    border-left-color: #0dcaf0;
    transform: translateX(5px);
}

.verification-icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 202, 240, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.verification-icon-container i {
    font-size: 2rem;
    color: #0dcaf0;
}

.verification-content {
    min-width: 0;
}

.verification-title {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.verification-description {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.verification-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    min-width: 100px;
}

.verification-price-tag {
    font-size: 1.75rem;
    font-weight: bold;
    color: #0dcaf0;
    text-shadow: 0 0 15px rgba(13, 202, 240, 0.5);
    white-space: nowrap;
}

.verification-action .btn {
    min-width: 100px;
}

/* Animaciones de entrada */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-card {
    animation: slideInUp 0.6s ease backwards;
}

.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.2s; }
.plan-card:nth-child(3) { animation-delay: 0.3s; }

/* Efectos hover en botones de servicios */
.btn-outline-danger:hover,
.btn-outline-info:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 0, 76, 0.3);
}

/* Estilos para alertas mejoradas */
.alert {
    border-radius: 12px;
    animation: slideInUp 0.6s ease;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
    color: var(--text-light);
}

.alert-info {
    background: rgba(13, 202, 240, 0.1);
    border-color: #0dcaf0;
    color: var(--text-light);
}

/* ==========================================
   RESPONSIVE - SERVICIOS COMPLEMENTARIOS
   ========================================== */

@media (max-width: 768px) {
    .plan-card {
        margin-bottom: 2rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .plan-icon {
        width: 60px;
        height: 60px;
    }
    
    .plan-icon i {
        font-size: 2rem;
    }
    
    /* Pay-per-Boost Responsive */
    .boost-service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .boost-action {
        align-items: center;
        width: 100%;
    }
    
    .boost-action .btn {
        width: 100%;
    }
    
    /* Verification Responsive */
    .verification-service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .verification-icon-container {
        margin: 0 auto;
    }
    
    .verification-action {
        align-items: center;
        width: 100%;
    }
    
    .verification-action .btn {
        width: 100%;
    }
    
    .boost-price-tag,
    .verification-price-tag {
        font-size: 1.5rem;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.75rem 0.5rem;
    }
}
/* ===================================================================
   SISTEMA DE PLANES Y PROMOCIONES - ESTILOS
   ================================================================== */

/* Bordes con glow para anuncios con planes activos */
.border-vip {
    border: 2px solid #ffc107 !important;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5), 0 0 30px rgba(255, 193, 7, 0.3);
    animation: glow-vip 2s ease-in-out infinite alternate;
}

.border-premium {
    border: 2px solid #ff004c !important;
    box-shadow: 0 0 15px rgba(255, 0, 76, 0.5), 0 0 30px rgba(255, 0, 76, 0.3);
    animation: glow-premium 2s ease-in-out infinite alternate;
}

.border-boost {
    border: 2px solid #0dcaf0 !important;
    box-shadow: 0 0 15px rgba(13, 202, 240, 0.5), 0 0 30px rgba(13, 202, 240, 0.3);
    animation: glow-boost 2s ease-in-out infinite alternate;
}

@keyframes glow-vip {
    0% {
        box-shadow: 0 0 10px rgba(255, 193, 7, 0.4), 0 0 20px rgba(255, 193, 7, 0.2);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.6), 0 0 40px rgba(255, 193, 7, 0.4);
    }
}

@keyframes glow-premium {
    0% {
        box-shadow: 0 0 10px rgba(255, 0, 76, 0.4), 0 0 20px rgba(255, 0, 76, 0.2);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 0, 76, 0.6), 0 0 40px rgba(255, 0, 76, 0.4);
    }
}

@keyframes glow-boost {
    0% {
        box-shadow: 0 0 10px rgba(13, 202, 240, 0.4), 0 0 20px rgba(13, 202, 240, 0.2);
    }
    100% {
        box-shadow: 0 0 20px rgba(13, 202, 240, 0.6), 0 0 40px rgba(13, 202, 240, 0.4);
    }
}

/* Badges de planes en las tarjetas */
.badge-plan-vip {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #000;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.badge-plan-premium {
    background: linear-gradient(135deg, #ff004c 0%, #c70039 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.badge-plan-boost {
    background: linear-gradient(135deg, #0dcaf0 0%, #0891b2 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Badge de verificación */
.badge-verificado {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-verificado i {
    font-size: 0.85rem;
}

/* Estilos para los botones de planes en el panel de control */
.btn-plan {
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid transparent;
}

.btn-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn-plan-premium {
    background: linear-gradient(135deg, #ff004c 0%, #c70039 100%);
    border-color: #ff004c;
    color: #fff;
}

.btn-plan-premium:hover {
    background: linear-gradient(135deg, #c70039 0%, #900028 100%);
    border-color: #c70039;
    box-shadow: 0 4px 12px rgba(255, 0, 76, 0.4);
}

.btn-plan-vip {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    border-color: #ffc107;
    color: #000;
}

.btn-plan-vip:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ff9800 100%);
    border-color: #ffb300;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-plan-boost {
    background: linear-gradient(135deg, #0dcaf0 0%, #0891b2 100%);
    border-color: #0dcaf0;
    color: #fff;
}

.btn-plan-boost:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    border-color: #0891b2;
    box-shadow: 0 4px 12px rgba(13, 202, 240, 0.4);
}

/* Card de planes en el panel de control */
.card-plan {
    background: linear-gradient(135deg, #1a030c 0%, #2a0515 100%);
    border: 1px solid rgba(255, 0, 76, 0.3);
    transition: all 0.3s ease;
}

.card-plan:hover {
    border-color: rgba(255, 0, 76, 0.6);
    box-shadow: 0 4px 20px rgba(255, 0, 76, 0.2);
    transform: translateY(-5px);
}

.card-plan.plan-activo {
    border-color: #28a745;
    background: linear-gradient(135deg, #1a030c 0%, #0a2616 100%);
}

.card-plan.plan-activo .card-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
}

/* Tabla de comparación de planes */
.table-planes {
    background: rgba(26, 3, 12, 0.5);
    color: #f8f9fa;
}

.table-planes th {
    background: rgba(255, 0, 76, 0.1);
    border-color: rgba(255, 0, 76, 0.3);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table-planes td {
    border-color: rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.table-planes .plan-destacado {
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    border-right: 3px solid #ffc107;
}

/* Iconos de características de planes */
.plan-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #f8f9fa;
}

.plan-feature i {
    font-size: 1.25rem;
    color: #28a745;
    flex-shrink: 0;
}

.plan-feature.disabled {
    opacity: 0.4;
}

.plan-feature.disabled i {
    color: #6c757d;
}

/* Estado de planes en el panel */
.plan-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.plan-status-badge.activo {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.plan-status-badge.expirado {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.plan-status-badge.proximo-vencer {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid #ffc107;
    color: #ffc107;
}

/* Timeline de transacciones */
.transaccion-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1.5rem;
    border-left: 2px solid rgba(255, 0, 76, 0.3);
}

.transaccion-item:last-child {
    border-left-color: transparent;
}

.transaccion-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff004c;
    border: 2px solid #1a030c;
}

.transaccion-item.exitosa::before {
    background: #28a745;
}

.transaccion-item.fallida::before {
    background: #dc3545;
}

.transaccion-item.pendiente::before {
    background: #ffc107;
}

/* Responsividad */
@media (max-width: 768px) {
    .btn-plan {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    .plan-feature {
        font-size: 0.85rem;
    }
    
    .badge-plan-vip,
    .badge-plan-premium,
    .badge-plan-boost {
        font-size: 0.65rem;
        padding: 0.35rem 0.5rem;
    }
}

/* Animación de pulso para botones de compra */
@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 76, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 76, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 76, 0);
    }
}

.btn-comprar-plan {
    animation: pulse-btn 2s infinite;
}

.btn-comprar-plan:hover {
    animation: none;
}


/* ==========================================
   SEPARADORES DE SECCIÓN EN INDEX
   ========================================== */

.section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.section-line {
    flex-grow: 1;
    height: 1px;
    border-radius: 1px;
}

/* Estilo VIP */
.section-header-vip {
    color: #ffc107; /* Dorado */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
}

.vip-line {
    background: linear-gradient(90deg, #ffc107 0%, rgba(255, 193, 7, 0) 100%);
    height: 2px;
}

/* Estilo Premium */
.section-header-premium {
    color: #ff004c; /* Neon Red */
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    text-shadow: 0 0 10px rgba(255, 0, 76, 0.4);
}

.premium-line {
    background: linear-gradient(90deg, #ff004c 0%, rgba(255, 0, 76, 0) 100%);
}

/* Estilo Estándar */
.section-header-standard {
    color: #f8f9fa; /* Blanco/Gris */
    font-weight: 500;
    margin-bottom: 0;
}

.standard-line {
    background: linear-gradient(90deg, #6c757d 0%, rgba(108, 117, 125, 0) 100%);
}

/* Agrega esto a tu style.css */
.bg-vip-gradient {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(245, 87, 108, 0.4);
}

/* =========================================
   Animaciones para el Registro
   ========================================= */

/* Clase base para la animación */
.fade-in-up {
    animation: fadeInUp 0.4s ease-out forwards;
}

/* Definición de los keyframes de la animación */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0); /* Empieza 20px más abajo y transparente */
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0); /* Termina en su posición original y visible */
    }
}

/* Ajuste visual para las alertas de rol */
.role-info-box {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left-width: 5px !important; /* Borde izquierdo más grueso para destacar */
}

/* ==========================================
   ESTILOS DE TARJETAS DE ANUNCIOS (VIP/PREMIUM/BOOST)
   ========================================== */

/* --- 1. CONFIGURACIÓN VIP (Latido Dorado) --- */
.vip-glow {
    border: 2px solid #FFD700 !important;
    animation: heartbeat-vip 1.5s ease-in-out infinite; 
    transform-origin: center;
    z-index: 1;
}

@keyframes heartbeat-vip {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
        border-color: #FFD700;
    }
    15% { /* Sístole */
        transform: scale(1.02); 
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
        border-color: #ffe033;
    }
    30% { /* Pausa */
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
        border-color: #FFD700;
    }
    45% { /* Diástole (golpe fuerte) */
        transform: scale(1.04);
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 10px rgba(255, 215, 0, 0.4) inset;
        border-color: #fff700;
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
        border-color: #FFD700;
    }
}

/* --- 2. CONFIGURACIÓN PREMIUM (Latido Azul) --- */
.border-primary {
    border: 2px solid #0d6efd !important;
    /* Misma animación heartbeat pero ajustada al color azul */
    animation: heartbeat-premium 1.5s ease-in-out infinite;
    transform-origin: center;
    z-index: 1;
}

@keyframes heartbeat-premium {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
        border-color: #0d6efd;
    }
    15% { /* Sístole */
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(13, 110, 253, 0.6);
        border-color: #3d8bfd; /* Azul un poco más claro */
    }
    30% { /* Pausa */
        transform: scale(1);
        box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
        border-color: #0d6efd;
    }
    45% { /* Diástole (golpe fuerte) */
        transform: scale(1.04);
        box-shadow: 0 0 35px rgba(13, 110, 253, 0.8), 0 0 10px rgba(13, 110, 253, 0.4) inset;
        border-color: #6ea8fe; /* Azul muy brillante */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
        border-color: #0d6efd;
    }
}

/* --- 3. CONFIGURACIÓN BOOST (Pulso Rojo Simple) --- */
/* (Mantenemos el pulso simple para diferenciarlo, o podemos cambiarlo también si deseas) */
.border-danger {
    border: 2px solid #dc3545 !important;
    animation: pulse-boost 2s infinite;
}

@keyframes pulse-boost {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(220, 53, 69, 0.3), 0 0 20px rgba(220, 53, 69, 0.1); 
    }
    50% { 
        box-shadow: 0 0 20px rgba(220, 53, 69, 0.6), 0 0 35px rgba(220, 53, 69, 0.3); 
    }
}

/* --- 4. EFECTOS HOVER (AL PASAR EL CURSOR) --- */

/* Configuración base para todos */
.card.border-vip:hover,
.card.border-primary:hover,
.card.border-danger:hover {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    z-index: 10;
}

/* Hover VIP: Detiene latido, se queda grande y brillante (Dorado) */
.card.border-vip:hover {
    animation: none; 
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 50px rgba(255, 215, 0, 1), 0 0 30px rgba(255, 215, 0, 0.5) inset !important;
    border-color: #FFF700 !important;
}

/* Hover Premium: Detiene latido, se queda grande y brillante (Azul) */
.card.border-primary:hover {
    animation: none;
    transform: translateY(-5px) scale(1.05); /* Igual de grande que el VIP */
    box-shadow: 0 0 45px rgba(13, 110, 253, 0.9), 0 0 25px rgba(13, 110, 253, 0.4) inset !important;
    border-color: #6ea8fe !important;
}

/* Hover Boost (Rojo) */
.card.border-danger:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 35px rgba(220, 53, 69, 0.9), 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Efecto zoom en la imagen al hacer hover */
.zoom-on-hover {
    transition: transform 0.4s ease;
}

.card:hover .zoom-on-hover {
    transform: scale(1.1);
}

/* Ajuste para el badge Online en la tarjeta */
.spinner-grow-sm {
    width: 0.5rem;
    height: 0.5rem;
}

/* ==========================================
   BOTÓN DE FAVORITOS EN TARJETAS
   ========================================== */

/* ==========================================
   BOTÓN DE FAVORITOS EN TARJETAS
   ========================================== */

.btn-favorite {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0;
    transition: all 0.3s ease;
    /* CAMBIO: Valor bajo (5) para que quede detrás del header (2000) y del buscador (100) */
    z-index: 5; 
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.btn-favorite:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(255, 0, 76, 0.8));
}

.btn-favorite i {
    font-size: 2rem; /* Más grande */
    transition: all 0.2s ease;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.btn-favorite:hover i {
    color: #ff004c;
}

/* Estado activo (cuando está en favoritos) */
.btn-favorite.active i {
    color: #ff004c;
    animation: heartbeat 1.2s ease-in-out infinite;
}

.btn-favorite.active:hover i {
    color: #ff0066;
}

/* Animación de latido para favoritos activos */
@keyframes heartbeat {
    0%, 100% { 
        transform: scale(1);
    }
    10%, 30% { 
        transform: scale(1.15);
    }
    20%, 40% { 
        transform: scale(0.95);
    }
}

/* Ajuste del grid de tarjetas para tamaño más grande */
@media (min-width: 1400px) {
    .row-cols-1.row-cols-md-3.row-cols-lg-5 > .col {
        width: 20%; /* 5 columnas */
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .row-cols-1.row-cols-md-3.row-cols-lg-5 > .col {
        width: 25%; /* 4 columnas */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .row-cols-1.row-cols-md-3.row-cols-lg-5 > .col {
        width: 33.333%; /* 3 columnas */
    }
}

@media (max-width: 767px) {
    .row-cols-1.row-cols-md-3.row-cols-lg-5 > .col {
        width: 50%; /* 2 columnas */
    }
}

@media (max-width: 576px) {
    .row-cols-1.row-cols-md-3.row-cols-lg-5 > .col {
        width: 100%; /* 1 columna */
    }
}

/* =======================================================
   SISTEMA DE MULTI-CHAT (VENTANAS APILADAS)
   ======================================================= */

/* Contenedor invisible que agrupa todas las ventanas abajo a la derecha */
#chat-container-stack {
    position: fixed;
    bottom: 0;
    right: 0;
    padding-right: 20px;
    padding-bottom: 0;
    z-index: 9999;
    display: flex;
    flex-direction: row-reverse; /* Las nuevas aparecen a la derecha */
    align-items: flex-end;
    gap: 15px; /* Espacio entre ventanas */
    pointer-events: none; /* Permite hacer clic a través del área vacía */
}

/* Cada ventana de chat individual */
.chat-window {
    width: 300px;
    height: 400px;
    background-color: #1a1a1a;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: auto; /* Reactivar clics para la ventana */
    font-family: 'Poppins', sans-serif;
}

/* Estado minimizado */
.chat-window.minimized {
    height: 48px; /* Solo la altura del header */
    transform: translateY(0);
}

.chat-window-header {
    padding: 10px 15px;
    background: linear-gradient(135deg, #ff004c 0%, #b30036 100%);
    border-radius: 11px 11px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    user-select: none;
}

/* Animación de parpadeo para nuevos mensajes en ventanas minimizadas */
.chat-window.minimized.has-new-messages .chat-window-header {
    animation: glow-header 1.5s infinite alternate;
}

@keyframes glow-header {
    from { background: #333; }
    to { background: #ff004c; }
}

.chat-window-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background-color: #121212;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid #333;
}

.chat-window-footer {
    padding: 10px;
    background-color: #1a1a1a;
}

/* Ajustes para móviles: Ocultar stack y mostrar solo uno si es necesario, 
   o permitir scroll horizontal en el contenedor de chats */
@media (max-width: 768px) {
    #chat-container-stack {
        flex-direction: row;
        overflow-x: auto;
        right: 0;
        left: 0;
        justify-content: flex-start;
        padding: 10px;
        background: rgba(0,0,0,0.5); /* Fondo para distinguir */
    }
    .chat-window {
        min-width: 280px; /* Ancho fijo en móvil para scroll */
    }
}

/* ==========================================
   BADGE VIP MEJORADO (MÁS GRANDE Y LLAMATIVO)
   ========================================== */

/* 1. Estilo del contenedor del Badge VIP */
.bg-vip-gradient {
    /* Degradado Dorado Intenso y Brillante */
    background: linear-gradient(135deg, #FFD700 10%, #FF8C00 100%) !important;
    
    /* Texto */
    color: #000 !important; /* Texto negro para máximo contraste */
    font-size: 0.95rem !important; /* Texto más grande */
    font-weight: 800 !important; /* Texto más grueso */
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* Forma y Tamaño */
    padding: 0.6rem 1.2rem !important; /* Mucho más relleno para que se vea grande */
    border-radius: 50px !important; /* Bordes redondeados modernos */
    
    /* Bordes y Sombras */
    border: 2px solid #fff !important; /* Borde blanco para separarlo del fondo */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6) !important; /* Sombra dorada */
    
    /* Posicionamiento y Capas */
    z-index: 5;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* 2. Estilo específico para el ICONO (Diamante) dentro del badge */
.bg-vip-gradient i {
    font-size: 1.5rem !important; /* Icono MUCHO más grande que el texto */
    margin-right: 8px !important; /* Separación del texto */
    color: #fff !important; /* Diamante blanco */
    
    /* Efecto de sombra para dar profundidad al icono */
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    
    /* Animación exclusiva para el diamante */
    animation: icon-sparkle 2s infinite ease-in-out;
}

/* Animación de destello para el diamante */
@keyframes icon-sparkle {
    0% { 
        transform: scale(1) rotate(0deg); 
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    50% { 
        transform: scale(1.2) rotate(5deg); /* Se agranda y gira un poquito */
        text-shadow: 0 0 15px rgba(255, 255, 255, 1); /* Brilla intenso */
    }
    100% { 
        transform: scale(1) rotate(0deg); 
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
}
/* ==========================================
   BADGE PREMIUM MEJORADO (GRANDE Y ESTÁTICO)
   ========================================== */

/* 1. Estilo del contenedor del Badge Premium */
/* Usamos el selector específico para afectar solo al badge dentro de tarjetas Premium */
.card.border-primary .badge.bg-primary {
    /* Degradado Azul Profesional */
    background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%) !important;
    
    /* Texto */
    font-size: 0.9rem !important; /* Texto más grande */
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
    /* Forma y Tamaño */
    padding: 0.55rem 1.1rem !important; /* Relleno generoso para dar cuerpo */
    border-radius: 50px !important;
    
    /* Bordes y Sombras */
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.5) !important;
    
    /* Posicionamiento */
    z-index: 5;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* 2. Estilo del Icono (Estrella) dentro del badge Premium */
.card.border-primary .badge.bg-primary i {
    font-size: 1.3rem !important; /* Icono grande para destacar */
    margin-right: 6px !important;
    color: #fff !important;
    
    /* Sin animación, como solicitaste */
}

/* ==========================================
   BADGE VERIFICADO (CORREGIDO - SOLO PARA PORTADA)
   ========================================== */

/* Usamos #anuncios-dynamic-container para que SOLO afecte al listado y NO al perfil interno */
#anuncios-dynamic-container .card .badge.bg-info {
    /* 1. Posicionamiento: Esquina Inferior Izquierda */
    position: absolute !important;
    top: auto !important;
    right: auto !important;
    bottom: 10px !important;
    left: 10px !important;
    margin: 0 !important;

    /* 2. Forma: Pastilla */
    transform: none !important;
    width: auto !important;
    border-radius: 50px !important;
    padding: 6px 12px !important;

    /* 3. Estilo Normal (Cyan - Seguridad) */
    background: linear-gradient(135deg, #00f2ff 0%, #0098a1 100%) !important;
    color: #000 !important;
    box-shadow: 0 4px 10px rgba(0, 242, 255, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;

    /* 4. Tipografía */
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    
    /* 5. Transición suave */
    transition: all 0.3s ease !important;

    /* Capas y alineación */
    z-index: 4;
    display: flex !important;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

/* --- EFECTO AL PASAR EL MOUSE (LATIDO ROJO) --- */
#anuncios-dynamic-container .card:hover .badge.bg-info {
    /* Cambio a Rojo Neón */
    background: linear-gradient(135deg, #ff004c 0%, #b30036 100%) !important;
    color: #fff !important;
    border-color: #ff99b4 !important;
    
    /* Activamos la animación de latido */
    animation: heartbeat-verified 1s ease-in-out infinite !important;
}

/* Animación de latido específica para el badge */
@keyframes heartbeat-verified {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 0, 76, 0);
    }
    15% { /* Primer latido */
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(255, 0, 76, 0.8);
    }
    30% { /* Pausa */
        transform: scale(1);
        box-shadow: 0 0 5px rgba(255, 0, 76, 0.3);
    }
    45% { /* Segundo latido */
        transform: scale(1.15);
        box-shadow: 0 0 20px rgba(255, 0, 76, 1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 0, 76, 0);
    }
}

/* Texto automático SOLO en la portada */
#anuncios-dynamic-container .card .badge.bg-info::after {
    content: "Verificado";
}

/* Ajuste del icono SOLO en la portada */
#anuncios-dynamic-container .card .badge.bg-info i {
    font-size: 1rem !important;
    display: block;
}
/* =======================================================
   TARJETAS GRANDES - VIP Y DESTACADOS (Estilo Photokines)
   Agregar al final de style.css
   ======================================================= */

/* --- CONTENEDOR DE GRID PARA SECCIONES VIP/DESTACADOS --- */
.grid-cards-grandes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Responsive para grid de tarjetas grandes */
@media (max-width: 1399px) {
    .grid-cards-grandes {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .grid-cards-grandes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .grid-cards-grandes {
        grid-template-columns: 1fr;
    }
}

/* --- TARJETA GRANDE BASE --- */
.card-grande {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-width: 2px;
}

.card-grande:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* --- CONTENEDOR DE IMAGEN GRANDE (Estilo Portrait/Vertical) --- */
.card-img-container-grande {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 420px;
    max-height: 520px;
    background-color: #0a0a0a;
}

/* Imagen con zoom en hover */
.card-img-grande {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-grande:hover .card-img-grande {
    transform: scale(1.08);
}

/* Overlay gradiente en la imagen */
.card-img-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.card-grande:hover .card-img-overlay-gradient {
    opacity: 1;
}

/* --- BOTÓN "VER ANUNCIO" (Estilo Photokines) --- */
.btn-ver-anuncio-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
}

.card-grande:hover .btn-ver-anuncio-container {
    opacity: 1;
}

.btn-ver-anuncio {
    background: linear-gradient(135deg, #ff004c 0%, #d40040 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(255, 0, 76, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-ver-anuncio:hover {
    background: linear-gradient(135deg, #ff1a60 0%, #ff004c 100%);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 0, 76, 0.7);
}

/* --- BADGE VERIFICADO PARA TARJETAS GRANDES --- */
.badge-verificado-grande {
    top: auto !important;
    right: auto !important;
    bottom: 70px !important;
    left: 12px !important;
    margin: 0 !important;
}

/* --- CARD BODY GRANDE --- */
.card-body-grande {
    background-color: #1a1a1a;
    min-height: 140px;
}

/* Descripción con clamp para 2 líneas */
.card-descripcion-grande {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.8em;
}

/* Badge de precio con gradiente */
.bg-gradient-precio {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Botones de acción más grandes */
.btn-action-grande {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.btn-chat-grande {
    font-size: 0.85rem;
    padding: 6px 14px !important;
}

/* --- EFECTOS VIP MEJORADOS --- */
.card-vip-grande {
    border-color: #FFD700 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
}

.card-vip-grande:hover {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5), 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Marco dorado animado para VIP */
.card-vip-grande::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #FF8C00, #FFD700, #FFA500);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: 14px;
    animation: vip-border-glow 3s ease-in-out infinite;
}

@keyframes vip-border-glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- EFECTOS PREMIUM --- */
.card-premium-grande {
    border-color: #0d6efd !important;
}

.card-premium-grande:hover {
    box-shadow: 0 0 30px rgba(13, 110, 253, 0.4), 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* --- EFECTOS BOOST --- */
.card-boost-grande:hover {
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.4), 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* --- BOTÓN FAVORITOS MEJORADO PARA TARJETAS GRANDES --- */
.card-grande .btn-favorite {
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.card-grande .btn-favorite i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.card-grande .btn-favorite:hover {
    background: rgba(255, 0, 76, 0.9);
    border-color: #ff004c;
    transform: scale(1.1);
}

.card-grande .btn-favorite:hover i {
    color: #fff;
}

.card-grande .btn-favorite.active {
    background: #ff004c;
    border-color: #ff004c;
}

.card-grande .btn-favorite.active i {
    color: #fff;
}

/* =======================================================
   AJUSTES RESPONSIVE PARA MÓVILES - TARJETAS GRANDES
   ======================================================= */

@media (max-width: 767px) {
    .card-img-container-grande {
        min-height: 350px;
        max-height: 400px;
    }
    
    .btn-ver-anuncio {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
    
    .card-body-grande {
        min-height: 120px;
        padding: 12px !important;
    }
    
    .card-body-grande .card-title {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .card-img-container-grande {
        min-height: 380px;
        max-height: 450px;
    }
}

/* =======================================================
   ENCABEZADOS DE SECCIÓN MEJORADOS
   ======================================================= */

/* Línea divisora de sección */
.section-divider {
    position: relative;
    padding-bottom: 12px;
}

.section-line {
    height: 3px;
    border-radius: 2px;
    margin-top: 8px;
}

/* Línea VIP - Dorada con brillo */
.vip-line {
    background: linear-gradient(90deg, #FFD700 0%, #FF8C00 50%, #FFD700 100%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Línea Premium - Azul */
.premium-line {
    background: linear-gradient(90deg, #0d6efd 0%, #0056b3 50%, #0d6efd 100%);
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

/* Línea Estándar - Gris/Rojo suave */
.standard-line {
    background: linear-gradient(90deg, #ff004c 0%, #666 50%, #ff004c 100%);
    opacity: 0.5;
}

/* Header VIP */
.section-header-vip {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

/* Header Premium */
.section-header-premium {
    color: #6ea8fe;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Header Estándar */
.section-header-standard {
    color: #adb5bd;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.section-header-standard i {
    color: #ff6b35;
}

.btn-ver-anuncio-container {
    display: none !important;
}
/* ============================================================ */
/* ESTILOS PARA VIDEO COMO MEDIA PRINCIPAL Y BOTONES DE EDICIÓN */
/* Agregar al final de style.css                                 */
/* ============================================================ */

/* --- BOTONES DE ACCIÓN EN PREVIEWS DE MEDIA (Modal Edición) --- */
.preview-image-wrapper .preview-buttons {
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 15;
}

.preview-image-wrapper:hover .preview-buttons {
    opacity: 1;
}

/* En móviles, mostrar siempre los botones de acción */
@media (max-width: 768px) {
    .preview-image-wrapper .preview-buttons {
        opacity: 1;
    }
}

/* --- ESTILOS PARA VIDEOS EN CARDS DE ANUNCIOS --- */

/* Video como imagen principal en tarjetas normales */
.card video.card-img-top {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Video como imagen principal en tarjetas grandes */
.card video.card-img-grande {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Zoom en hover para videos en cards grandes */
.card-grande:hover video.card-img-grande {
    transform: scale(1.08);
}

/* Badge indicador de video en la esquina de las cards */
.card .badge-video-indicator {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(4px);
}

/* --- MEJORAS PARA EL TAG "PRINCIPAL" EN PREVIEWS --- */
.preview-image-tag.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%) !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.4);
}

/* --- BADGE DE PORTADA ACTUAL EN MODAL DE EDICIÓN --- */
.preview-buttons .badge.bg-success {
    font-size: 0.7rem;
    letter-spacing: 0.3px;
}

/* --- ANIMACIÓN SUTIL PARA VIDEOS EN CARDS --- */
@keyframes video-pulse {
    0%, 100% { 
        box-shadow: inset 0 0 0 2px transparent; 
    }
    50% { 
        box-shadow: inset 0 0 0 2px rgba(255, 0, 76, 0.3); 
    }
}

/* Aplicar solo cuando el video está reproduciéndose */
.card video:not([paused]) {
    animation: video-pulse 3s ease-in-out infinite;
}

/* --- RESPONSIVE PARA VIDEOS EN MÓVILES --- */
@media (max-width: 575px) {
    .card video.card-img-top,
    .card video.card-img-grande {
        /* Asegurar que los videos se muestren bien en móviles */
        min-height: 300px;
    }
}

/* --- ESTILOS PARA EL INDICADOR DE VIDEO EN CARDS --- */
.card .position-absolute[style*="bottom: 50px"] {
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
/* ============================================================
   AGREGAR AL FINAL DE style.css
   FIX: VIDEO WRAPPER Y CARD-BODY-LINK
   ============================================================ */

/* --- VIDEO WRAPPER: Solo video y play-button capturan clics --- */
.video-wrapper {
    cursor: default;
}

.video-wrapper video {
    cursor: pointer;
}

.video-wrapper .play-button-overlay {
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.video-wrapper .play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- CARD BODY LINK: Hace clickeable toda el área del body --- */
.card-body-link {
    display: block;
    color: inherit;
    flex-grow: 1;
}

.card-body-link:hover {
    color: inherit;
}

.card-body-link:hover .card-title {
    color: var(--neon-red) !important;
    transition: color 0.2s ease;
}

.card-body-link:hover .card-text.text-light {
    color: #fff !important;
}

/* --- CARD FOOTER: Asegurar que no tenga padding extra --- */
.card .card-footer {
    margin-top: auto;
}

/* --- Ajuste para que el card-body tenga flex correcto --- */
.card-body-link .card-body {
    min-height: 0;
}

/* ==========================================
   BOTÓN VOLVER AL LISTADO (ESTILO PRO)
   ========================================== */
.back-nav-container {
    padding: 1rem 0 1.5rem 0;
    display: flex;
    align-items: center;
}

.btn-back-pro {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    
    /* Efecto Cristal Oscuro */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Bordes y Forma */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    
    /* Texto */
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    
    /* Transiciones */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-back-pro i {
    font-size: 1.1rem;
    color: var(--neon-red);
    transition: transform 0.3s ease;
}

/* Hover Effects */
.btn-back-pro:hover {
    background: rgba(255, 0, 76, 0.08); /* Fondo rojo muy sutil */
    border-color: var(--neon-red);
    color: #fff;
    transform: translateX(5px); /* Pequeño desplazamiento a la derecha */
    box-shadow: 0 0 20px rgba(255, 0, 76, 0.15); /* Resplandor suave */
}

.btn-back-pro:hover i {
    transform: translateX(-3px); /* La flecha se mueve un poco a la izquierda */
    color: #fff;
    text-shadow: 0 0 8px var(--neon-red);
}

/* Efecto de línea brillante al pasar el mouse */
.btn-back-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-back-pro:hover::before {
    left: 100%;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .btn-back-pro {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================================
   ESTILOS ADICIONALES PARA style.css
   ============================================================
   INSTRUCCIONES: Agregar estos estilos al final de tu style.css
   ============================================================ */

/* ========== BOTÓN CARGAR MÁS ========== */
#btn-cargar-mas {
    transition: all 0.3s ease;
    border-width: 2px;
}

#btn-cargar-mas:hover {
    background: linear-gradient(135deg, #ff004c 0%, #b30036 100%);
    border-color: #ff004c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 76, 0.3);
}

#btn-cargar-mas:active {
    transform: translateY(0);
}

#btn-cargar-mas .badge {
    font-weight: normal;
}

/* Animación para nuevas tarjetas cargadas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#novedades-container .col:nth-last-child(-n+20) {
    animation: fadeInUp 0.4s ease-out;
}

/* Spinner de carga */
#cargando-spinner {
    padding: 20px;
}

#cargando-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* ========== BADGES DE CONTEO EN HEADERS DE SECCIÓN ========== */
.section-header-vip .badge,
.section-header-premium .badge,
.section-header-standard .badge {
    font-size: 0.7em;
    vertical-align: middle;
    font-weight: normal;
}

/* ========== MENSAJE FINAL (sin más anuncios) ========== */
#cargar-mas-container p {
    font-size: 1.1rem;
}

#cargar-mas-container .bi-check-circle {
    color: #00ff88;
}