/* ===== BASE GLOBAL ===== */
html, body {
    background: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* ===== CONTENEDOR ===== */
.container {
    max-width: 1180px;
}

/* ===== IMAGEN PRO DELUXE ===== */
.curso-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 20px;
    transition: 0.5s ease;
    display: block;

    filter: brightness(0.92) contrast(1.05) saturate(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.65);
}

.curso-img:hover {
    transform: scale(1.025);
    filter: brightness(1.05) contrast(1.08) saturate(1.1);
    box-shadow: 0 35px 90px rgba(0,0,0,0.85);
}

/* ===== TITULO NIVEL PRO ===== */
h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-top: 10px;
    margin-bottom: 12px;
    transition: 0.35s ease;
}

h2:hover {
    color: #ffc107;
    transform: translateX(4px);
    text-shadow: 0 0 18px rgba(255,193,7,0.35);
}

/* ===== DESCRIPCION ELEGANTE ===== */
.text-muted2 {
    color: #9f9f9f;
    font-size: 15.8px;
    line-height: 1.75;
    max-width: 95%;
    transition: 0.3s ease;
}

.text-muted2:hover {
    color: #d6d6d6;
}

/* ===== CARD DELUXE ===== */
.card {
    background: linear-gradient(145deg, #111, #0a0a0a);
    border-radius: 24px;
    border: 1px solid rgba(255, 193, 7, 0.25);
    box-shadow: 0 15px 45px rgba(0,0,0,0.85);
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 25px 70px rgba(0,0,0,0.95),
        0 0 25px rgba(255,193,7,0.25);
}

/* ✨ borde glow fino */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(
        120deg,
        rgba(255,193,7,0),
        rgba(255,193,7,0.55),
        rgba(255,193,7,0)
    );

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    pointer-events: none;
}

/* ===== STICKY RESUMEN ===== */
.card-resumen {
    position: sticky;
    top: 95px;
}

/* ===== PRECIO PREMIUM ===== */
.card h3 {
    color: #ffc107;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-shadow: 0 0 22px rgba(255,193,7,0.35);
}

/* ===== BOTON DELUXE ===== */
.btn-warning {
    background: linear-gradient(135deg, #ffcc00, #ffb300);
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.35px;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(255,193,7,0.35);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(255,193,7,0.55);
}

/* ================= NAVBAR PRO DELUXE ================= */

.navbar {
    background: #000;
    border-bottom: 1px solid rgba(255,193,7,0.15);
    padding: 14px 0;
}

.logo-navbar {
    height: 42px;
    margin-right: 10px;
}

.navbar-brand {
    color: #ffc107 !important;
    font-weight: 600;
    font-size: 18px;
}

.user-name {
    color: #ffc107;
    font-weight: 500;
    font-size: 15px;
}

/* ================= FOTO PERFIL PREMIUM ================= */

.profile-click {
    cursor: pointer;
}

.profile-image-wrapper {
    position: relative;
    width: 42px;
    height: 42px;
}

.profile-img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ffc107;
    transition: 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.edit-photo {
    position: absolute;
    bottom: -4px;
    right: -6px;
    background: #ffc107;
    color: #000;
    font-size: 11px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255,193,7,0.6);
}

/* ===== AVATAR SIMPLE ===== */
.avatar {
    width: 38px;
    height: 38px;
    object-fit: cover;
}