:root {
    --azul-oscuro-1: #020824;
    --azul-oscuro-2: #0b1230;
    --dorado: #d4af37;
    --dorado-suave: #f3d38c;
    --blanco: #ffffff;
    --gris-claro: #b0b3c0;
}

body {
    background: radial-gradient(circle at top, var(--azul-oscuro-2) 0%, var(--azul-oscuro-1) 55%, #000010 100%);
    color: var(--blanco);
    min-height: 100vh;
}

.profile-container {
    padding-bottom: 3rem;
}

/* Header Section */
.profile-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(11, 18, 48, 0.8) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--dorado);
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dorado);
    margin-bottom: 0.5rem;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gris-claro);
    font-size: 0.95rem;
}

.meta-item svg {
    color: var(--dorado);
}

.profile-bio {
    color: var(--gris-claro);
    font-size: 1rem;
    line-height: 1.6;
    margin: 1rem 0;
}

.profile-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.rating-stars {
    font-size: 1.5rem;
    line-height: 1;
}

.rating-text {
    color: var(--dorado-suave);
    font-size: 0.95rem;
}

.no-rating {
    color: var(--gris-claro);
    font-style: italic;
}

.last-active {
    background: rgba(212, 175, 55, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.last-active small {
    color: var(--gris-claro);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.5rem;
}

.active-date {
    color: var(--dorado);
    font-weight: 600;
    font-size: 1rem;
}

/* Profile Cards */
.profile-card {
    background: rgba(11, 18, 48, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.card-title {
    color: var(--dorado);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

/* Traits Section */
.traits-toggle {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--dorado);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.traits-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.traits-toggle svg {
    transition: transform 0.3s ease;
}

.traits-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.traits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trait-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(2, 8, 36, 0.4);
    border-radius: 8px;
    border-left: 3px solid var(--dorado);
    transition: all 0.3s ease;
}

.trait-item:hover {
    background: rgba(2, 8, 36, 0.6);
    transform: translateX(5px);
}

.trait-label {
    color: var(--gris-claro);
    font-size: 0.9rem;
    font-weight: 500;
}

.trait-value {
    color: var(--dorado-suave);
    font-weight: 600;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.gallery-item {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
}

.gallery-thumb:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
    border-color: var(--dorado);
}

/* Reviews Section */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1rem;
    background: rgba(2, 8, 36, 0.4);
    border-radius: 8px;
    border-left: 3px solid var(--dorado);
    transition: all 0.3s ease;
}

.review-item.review-hidden {
    display: none;
}

.review-item:hover {
    background: rgba(2, 8, 36, 0.6);
}

.review-rating {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.review-text {
    color: var(--gris-claro);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.5rem 0;
}

.review-date {
    color: rgba(176, 179, 192, 0.7);
    font-size: 0.75rem;
}

.btn-show-more {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--dorado), var(--dorado-suave));
    color: var(--azul-oscuro-1);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-show-more:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.no-reviews {
    text-align: center;
    color: var(--gris-claro);
    font-style: italic;
    padding: 2rem 0;
}

/* Modal Styles */
.modal-content {
    background: var(--azul-oscuro-1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
}

.btn-close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    background: rgba(2, 8, 36, 0.8);
    border: 2px solid var(--dorado);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    background: var(--dorado);
    transform: rotate(90deg);
}

.btn-close-modal svg {
    color: var(--dorado);
}

.btn-close-modal:hover svg {
    color: var(--azul-oscuro-1);
}

/* Swiper Gallery */
.gallerySwiper {
    width: 100%;
    height: 70vh;
}

.gallerySwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--azul-oscuro-1);
}

.gallerySwiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.swiper-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(2, 8, 36, 0.95), transparent);
    color: var(--dorado-suave);
    font-size: 0.95rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--dorado) !important;
    background: rgba(2, 8, 36, 0.8);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--dorado);
    color: var(--azul-oscuro-1) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
}

.swiper-pagination-bullet {
    background: var(--gris-claro) !important;
}

.swiper-pagination-bullet-active {
    background: var(--dorado) !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    .profile-name {
        font-size: 2rem;
        text-align: center;
    }

    .profile-meta {
        justify-content: center;
    }

    .profile-bio {
        text-align: center;
    }

    .profile-rating {
        justify-content: center;
    }

    .profile-avatar {
        width: 150px;
        height: 150px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.5rem;
    }

    .gallerySwiper {
        height: 50vh;
    }
}

@media (max-width: 576px) {
    .profile-header {
        padding: 1.5rem 0;
    }

    .profile-name {
        font-size: 1.75rem;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
    }

    .profile-card {
        padding: 1rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallerySwiper {
        height: 40vh;
    }
}

/* ================================
   BIO, SPARKS & MAGIC SECTIONS
   ================================ */

.profile-section-card {
    background: rgba(11, 18, 48, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.section-title {
    color: var(--dorado);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-text {
    color: var(--gris-claro);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    white-space: pre-wrap;
}

.profile-bio-section {
    margin-top: 1rem;
}
/* Contact Info Section Styles */
.btn-toggle-contact {
    background: var(--dorado-suave);
    color: var(--gris-oscuro);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-toggle-contact:hover {
    background: var(--dorado);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-toggle-contact .eye-icon {
    transition: transform 0.3s ease;
}

.btn-toggle-contact.active .eye-icon {
    transform: scale(1.1);
}

.contact-info-section {
    margin-top: 1.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    border: 1px solid rgba(13, 202, 240, 0.3);
    color: var(--gris-claro);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
}

.alert-info svg {
    flex-shrink: 0;
    margin-top: 2px;
}
