:root {
    --negro: #0b0b0b;
    --negro-sec: #141414;
    --dorado: #d4af37;
    --dorado-hover: #b8962e;
}

/* =========================
   BASE
========================= */

body {
    background: radial-gradient(circle at top, #111 0%, #000 70%);
    font-family: 'Poppins', sans-serif;
    color: white;
    overflow-x: hidden;
}

/* =========================
   NAVBAR PREMIUM
========================= */

.navbar {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212,175,55,0.2);
    padding: 18px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
    color: white !important;
}

.navbar-brand img {
    height: 45px;
}

.nav-link {
    color: #ccc !important;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--dorado) !important;
}

.user-name {
    color: var(--dorado) !important;
    font-weight: 600;
}

/* =========================
   BOTÓN PREMIUM
========================= */

.btn-gold {
    background: linear-gradient(45deg, var(--dorado), #f5d76e);
    color: black;
    font-weight: 600;
    border-radius: 30px;
    padding: 8px 24px;
    border: none;
    transition: 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212,175,55,0.4);
}

/* =========================
   HERO
========================= */

.hero {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(180deg, #000, #111);
}

.hero h1 {
    font-weight: 700;
    font-size: 48px;
    background: linear-gradient(90deg, #ffffff, var(--dorado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: #aaa;
    max-width: 700px;
    margin: auto;
    font-size: 18px;
}

/* =========================
   SECCIÓN CURSOS
========================= */

.section-title {
    font-weight: 600;
    color: var(--dorado);
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 3px;
    background: var(--dorado);
    display: block;
    margin: 12px auto 0;
    border-radius: 10px;
}

/* =========================
   CARDS PRO
========================= */

.card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    border-radius: 18px;
    border: 1px solid rgba(212,175,55,0.15);
    overflow: hidden;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(212,175,55,0.25);
}

.card img {
    height: 230px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
}

.card p {
    color: #aaa !important;
    font-size: 14px;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #000;
    padding: 40px 0;
    text-align: center;
    color: #888;
    border-top: 1px solid rgba(212,175,55,0.2);
}

footer p {
    margin: 0;
    font-weight: 500;
}

footer small {
    color: #666;
}
.profile-img-lg {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid gold;
}

.profile-image-wrapper {
    position: relative;
    width: fit-content;
}

.edit-photo {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: gold;
    color: black;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
}
/* ===== NAVBAR FIX DEFINITIVO ===== */

.navbar {
    background: #000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo-navbar {
    height: 38px;
    margin-right: 10px;
}

/* PERFIL */
.profile-image-wrapper {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #d4af37;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ICONO EDITAR */
.edit-photo {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #d4af37;
    color: black;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* NOMBRE */
.user-name {
    color: #d4af37 !important;
    font-weight: 600;
    white-space: nowrap;
}

/* BOTONES */
.btn-warning {
    font-weight: 600;
    padding: 6px 14px;
}

/* ESPACIADO NAV */
.navbar-nav {
    align-items: center;
    gap: 10px;
}
/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
}