.profile-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #9a67ea;
    box-shadow: 0 4px 24px rgba(154, 103, 234, 0.18), 0 0 0 8px rgba(154,103,234,0.08);
    background: #23233a;
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s cubic-bezier(.4,2,.6,1);
}
.profile-img:hover {
    transform: scale(1.07) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(154, 103, 234, 0.28), 0 0 0 12px rgba(154,103,234,0.13);
    filter: brightness(1.08) saturate(1.1);
}
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #1a1a2e;
    color: #f5f5f5; /* Color de texto más brillante */
    padding-top: 56px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7); /* Sombra para legibilidad */
}

.navbar {
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #4f4f8c;
    text-shadow: none; /* Quitar sombra de la barra de navegación */
}

.navbar-brand {
    font-weight: 700;
    color: #9a67ea !important;
}

.nav-link {
    color: #e0e0e0 !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #9a67ea !important;
}

.hero {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: #9a67ea;
    text-shadow: 0 0 10px rgba(154, 103, 234, 0.5);
}

.contact-info span {
    margin: 0 15px;
}

.section-title {
    color: #9a67ea;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(154, 103, 234, 0.4);
}

.glass-card {
    background: rgba(42, 42, 68, 0.75); /* Fondo más opaco */
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #4f4f8c;
    backdrop-filter: blur(5px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(154, 103, 234, 0.2);
}

.list-group-item.glass-card {
    margin-bottom: 10px;
}

footer {
    background: #1a1a2e;
    border-top: 1px solid #4f4f8c;
    color: #e0e0e0;
    position: relative;
    z-index: 1;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* High-contrast fixes for glass cards */
.glass-card, .glass-card .card-body { color: #f5f6ff; }
.glass-card .card-title { color: #e6dcff; }
.glass-card .card-subtitle, .glass-card .text-muted { color: #cfc3ff !important; opacity: 1; }
.glass-card ul li { color: #f5f5ff; }
.list-group-item.glass-card { color: #f5f5ff; }
/* Slightly increase opacity for better legibility */
.glass-card { background: rgba(42, 42, 68, 0.85); }

/* Profile image round style */
.profile-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 200px;
    border: 4px solid #9a67ea;
    box-shadow: 0 4px 24px rgba(154, 103, 234, 0.18);
    background: #23233a;
}

/* Back-to-top button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a3093, #9a67ea);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 8px 20px rgba(154, 103, 234, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1150;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 12px 28px rgba(154, 103, 234, 0.55);
    transform: translateY(-3px);
}

/* Toast appearance tweak */
.toast.text-bg-dark {
    background-color: rgba(26, 26, 46, 0.95) !important;
    color: #f5f5f5;
    border: 1px solid #4f4f8c;
}

/* Violet button */
.btn-violet {
    background: linear-gradient(135deg, #6a3093, #9a67ea);
    color: #fff;
    border: none;
    box-shadow: 0 6px 16px rgba(154, 103, 234, 0.35);
}
.btn-violet:hover {
    color: #fff;
    filter: brightness(1.05);
    box-shadow: 0 8px 20px rgba(154, 103, 234, 0.5);
}

/* Wireframe preview styles */
.wireframe {
    position: relative;
    height: 260px;
    border: 1px dashed #9a67ea;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(42,42,68,0.65), rgba(30,30,50,0.6));
    padding: 14px;
    overflow: hidden;
}
.wireframe .wf-header {
    height: 14px;
    border-radius: 7px;
    background: rgba(229, 204, 255, 0.2);
    margin-bottom: 14px;
}
.wireframe .wf-hero {
    height: 64px;
    border-radius: 10px;
    background: rgba(229, 204, 255, 0.12);
    margin-bottom: 14px;
}
.wireframe .wf-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.wireframe .wf-card {
    flex: 1;
    height: 54px;
    border-radius: 10px;
    background: repeating-linear-gradient(
        -45deg,
        rgba(229, 204, 255, 0.14),
        rgba(229, 204, 255, 0.14) 6px,
        rgba(229, 204, 255, 0.06) 6px,
        rgba(229, 204, 255, 0.06) 12px
    );
}
.wireframe .wf-wide {
    flex: 1;
    height: 46px;
    border-radius: 10px;
    background: rgba(229, 204, 255, 0.1);
}
