body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f3f4f6;
}

header {
    background: #111827;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    color: #93c5fd;
    margin-left: 1rem;
    text-decoration: none;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    background: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.login-container h1 {
    margin-top: 0;
    text-align: center;
}

.login-container label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
}

.login-container input {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
}

.login-container button {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    background: #2563eb;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.login-container button:hover {
    background: #1d4ed8;
}

.error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.machine-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 2rem;
}

.machine-card {
    background: #fff;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    width: 260px;
}

.machine-card h3 {
    margin-top: 0;
}

.machine-card a {
    display: inline-block;
    margin-top: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

.video-item {
    margin: 1rem 2rem;
    background: #fff;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
/* ============ LAYOUT GINA ACADEMY ============ */

.ga-b.ga-body {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* Fondo con la imagen que me pasaste */
    background: url('https://i.pinimg.com/736x/7b/74/ec/7b74eca0bc1178cd21909ce2dfabf95c.jpg') center center / cover fixed no-repeat #000;
    color: #fff;
}

/* Header */

.ga-header {
    padding: 20px 40px 0;
}

.ga-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ga-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ga-logo-mark img {
    max-height: 56px;
    width: auto;
    display: block;
}

.ga-brand-text {
    line-height: 1.2;
}

.ga-brand-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    font-weight: 400;
    
    text-transform: uppercase;
}

.ga-brand-subtitle {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
}

.ga-brand-tagline {
    font-size: 11px;
    font-weight: 600;
    color: #f5c518;
    margin-top: 6px;
}

.ga-header-actions {
    display: flex;
    gap: 12px;
}

.ga-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.ga-btn-ghost {
    border-color: #ffffff55;
    color: #fff;
    background: transparent;
}

.ga-btn-ghost:hover {
    border-color: #fff;
}

.ga-btn-primary {
    background: #f5c518;
    color: #000;
}

.ga-btn-primary:hover {
    filter: brightness(1.05);
}

.ga-header-line {
    margin-top: 16px;
    height: 3px;
    background: linear-gradient(to right, #f5c518, #f5c518 40%, transparent 40%);
}

/* Main layout */

.ga-main {
    padding: 20px 40px 40px;
}

.ga-machine-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: flex-start;
}

/* Video column */

.ga-video-column {
    min-width: 0;
}

.ga-video-wrapper {
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.ga-main-video {
    width: 100%;
    display: block;
    max-height: 65vh;
    background: #000;
}

.ga-main-video-title {
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 600;
    border-top: 1px solid #222;
    background: #050505;
}

/* Playlist */

.ga-playlist-column {
    min-width: 0;
}

.ga-playlist-card {
    background: #111;
    border-radius: 8px;
    padding: 18px 18px 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    max-height: 75vh;
    display: flex;
    flex-direction: column;
}

.ga-playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.ga-playlist-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.ga-playlist-meta {
    font-size: 12px;
    color: #f5c518;
    font-weight: 600;
}

.ga-machine-description {
    font-size: 13px;
    color: #ddd;
    margin-bottom: 10px;
}

/* Lista de lecciones */

.ga-lessons-list {
    list-style: none;
    margin: 0;
    padding: 6px 0 0;
    overflow-y: auto;
    scrollbar-width: thin;
}

.ga-lessons-list::-webkit-scrollbar {
    width: 6px;
}
.ga-lessons-list::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 999px;
}

.ga-lesson {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s ease, transform 0.05s ease;
}

.ga-lesson + .ga-lesson {
    margin-top: 2px;
}

.ga-lesson:hover {
    background: #1b1b1b;
    transform: translateY(-1px);
}

.ga-lesson.is-active {
    background: #242424;
}

.ga-lesson-icon {
    display: flex;
    justify-content: center;
}

.ga-icon-circle {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid #f5c518;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.ga-lesson-main {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.ga-lesson-index {
    font-weight: 700;
    font-size: 11px;
    color: #f5c518;
}

.ga-lesson-title {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ga-lesson-duration {
    font-size: 11px;
    color: #bbb;
}

/* Footer */

.ga-footer {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.ga-footer-logo img {
    max-height: 60px;
    opacity: 0.85;
}

/* Mensajes vacíos */

.ga-empty-message {
    font-size: 14px;
    color: #ddd;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 992px) {
    .ga-header {
        padding: 16px 18px 0;
    }

    .ga-main {
        padding: 20px 18px 30px;
    }

    .ga-machine-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ga-playlist-card {
        max-height: none;
    }
}

@media (max-width: 720px) {
    .ga-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ga-header-actions {
        align-self: stretch;
        justify-content: flex-end;
    }

    .ga-brand-title {
        font-size: 22px;
    }

    .ga-main-video {
        max-height: none;
    }
}
/* ===== OVERRIDES PARA PÁGINA DE MÁQUINA ===== */

/* Asegura que el body de esta página use la imagen de fondo */
body.ga-body.ga-machine-page {
    background: url('https://i.pinimg.com/1200x/80/48/38/804838275d67a1b8befe733ce251c2a3.jpg')
                center center / cover fixed no-repeat #000;
}

/* Por si algún estilo anterior deja un fondo gris */
body.ga-body.ga-machine-page {
    background-color: #000;
}
/* Navbar degradado negro y acciones a la derecha */
.ga-header {
    padding: 20px 40px 0;
    background: linear-gradient(to right, #000000, #050816);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.ga-header-inner {
    display: flex;
    align-items: center;
}

/* Los botones PERFIL / SALIR se pegan al extremo derecho */
.ga-header-actions {
    margin-left: auto;
    display: flex;
    gap: 12px;
}
/* ===== FORZAR BOTONES A LA DERECHA ===== */

.ga-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;   /* <-- SEPARA LOGO A LA IZQ Y BOTONES A LA DER */
    width: 100%;
}

/* Asegura que estén pegados a la derecha */
.ga-header-actions {
    margin-left: auto;        /* EMPUJA TODO HACIA LA DERECHA */
    display: flex;
    gap: 12px;
}

/* Para que los botones no se bajen */
.ga-header-actions .ga-btn {
    white-space: nowrap;
}
/* ===== FONDO CON DEGRADADO + IMAGEN ===== */

body.ga-body.ga-machine-page {
    background:
        linear-gradient(to bottom, #000000 0%, #0d0d0d 40%, #1a1a1a 100%), /* Degradado negro → gris oscuro */
        url('https://i.pinimg.com/1200x/80/48/38/804838275d67a1b8befe733ce251c2a3.jpg') center center / cover fixed no-repeat;
    background-blend-mode: multiply; /* Fusiona el degradado con la imagen */
    color: #fff;
}
/* ============ LOBBY GINA ACADEMY ============ */

.ga-lobby-page {
    /* Reusa el mismo fondo elegante que en máquina, o pon algo más suave */
    background:
        linear-gradient(to bottom, #000000 0%, #050505 40%, #111111 100%);
    color: #fff;
}

.ga-lobby-main {
    padding-top: 26px;
}

/* Hero */

.ga-lobby-hero {
    margin-bottom: 24px;
}

.ga-lobby-title {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin: 0 0 8px;
}

.ga-lobby-subtitle {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #e1e1e1;
    max-width: 640px;
    line-height: 1.5;
    margin: 0;
}

/* Grid header */

.ga-lobby-grid-section {
    margin-top: 10px;
}

.ga-lobby-grid-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ga-lobby-grid-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.ga-lobby-grid-meta {
    font-size: 12px;
    font-weight: 500;
    color: #f5c518;
    margin: 0;
}

/* Cards de máquinas */

.ga-machine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.ga-machine-card {
    background: radial-gradient(circle at top left, #1d1d1d, #101010);
    border-radius: 14px;
    padding: 16px 16px 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    position: relative;
    overflow: hidden;
}

.ga-machine-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(245,197,24,0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.ga-machine-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(0,0,0,0.85);
    border-color: rgba(245,197,24,0.25);
    background: radial-gradient(circle at top left, #262626, #101010);
}

.ga-machine-card:hover::before {
    opacity: 1;
}

.ga-machine-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ga-machine-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.ga-machine-pill {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(245,197,24,0.8);
    color: #f5c518;
    white-space: nowrap;
}

.ga-machine-description {
    font-size: 13px;
    color: #d4d4d4;
    margin: 0;
    min-height: 38px; /* para que las tarjetas queden más parejas */
}

.ga-machine-footer {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

/* Botón outline especial para cards */

.ga-btn-outline {
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(245,197,24,0.9);
    background: transparent;
    color: #f5c518;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
}

.ga-btn-outline:hover {
    background: #f5c518;
    color: #000;
    transform: translateY(-1px);
}

/* Pill usuario en header */

.ga-user-pill {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    margin-right: 6px;
}

/* Responsive ajustes */

@media (max-width: 768px) {
    .ga-lobby-grid-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ga-lobby-title {
        font-size: 22px;
    }
}
/* ===== AJUSTES HEADER MÓVIL PARA MAQUINA ===== */
@media (max-width: 720px) {
    /* Menos padding arriba y a los lados */
    .ga-header {
        padding: 10px 14px 0;
    }

    /* Logo + textos + botones en columna, con espacio cómodo */
    .ga-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Logo y textos un poco más compactos */
    .ga-brand {
        gap: 10px;
        align-items: center;
    }

    .ga-logo-mark img {
        max-height: 34px;   /* antes era más grande */
    }

    .ga-brand-title {
        font-size: 20px;
        letter-spacing: 0.1em;
    }

    .ga-brand-subtitle {
        font-size: 11px;
    }

    /* Ocultamos el tagline largo para que no sature la parte superior */
    .ga-brand-tagline {
        display: none;
    }

    /* Botones PERFIL / SALIR en una fila, centrados y con buen espacio */
    .ga-header-actions {
        margin-left: 0;              /* ya no empuja a la derecha */
        align-self: stretch;
        display: flex;
        justify-content: center;     /* centrados en móvil */
        gap: 10px;
        margin-top: 4px;
    }

    .ga-header-actions .ga-btn {
        padding-inline: 16px;
        font-size: 11px;
    }

    /* La línea amarilla un poco más delgada en móvil */
    .ga-header-line {
        margin-top: 8px;
        height: 2px;
    }

    /* Un poco menos de padding general en el contenido */
    .ga-main {
        padding: 12px 12px 24px;
    }
}
/* ===== LOGIN GINA ACADEMY ===== */

.ga-login-page {
    min-height: 100vh;
    margin: 0;
    font-family: 'Montserrat', system-ui, sans-serif;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.9)),
        url('../img/GINASHOWROOMJUNIO-60.webp') center center / cover no-repeat fixed;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ga-login-overlay {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.ga-login-card {
    width: 100%;
    max-width: 380px;
    background: rgba(10, 10, 10, 0.88);
    border-radius: 18px;
    padding: 26px 24px 22px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.85);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);
    text-align: center;
}

.ga-login-logo img {
    max-height: 60px;
    width: auto;
    margin-bottom: 10px;
}

.ga-login-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    
    text-transform: uppercase;
    margin: 0 0 4px;
}

.ga-login-subtitle {
    font-size: 13px;
    color: #f5c518;
    margin: 0 0 18px;
}

.ga-login-error {
    background: rgba(255, 60, 60, 0.12);
    border: 1px solid rgba(255, 90, 90, 0.6);
    color: #ffbdbd;
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    text-align: left;
}

/* Inputs y botón del formulario dentro del card */
.ga-login-card form {
    text-align: left;
}

.ga-login-card form label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.ga-login-card form input[type="text"],
.ga-login-card form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 13px;
    margin-bottom: 10px;
    outline: none;
}

.ga-login-card form input[type="text"]::placeholder,
.ga-login-card form input[type="password"]::placeholder {
    color: #aaa;
}

.ga-login-card form button[type="submit"] {
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    background: #f5c518;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    
    cursor: pointer;
    margin-top: 6px;
}

.ga-login-card form button[type="submit"]:hover {
    filter: brightness(1.05);
}

/* Responsive pequeño */
@media (max-width: 480px) {
    .ga-login-card {
        padding: 22px 18px 18px;
    }

    .ga-login-title {
        font-size: 24px;
    }
}
/* ================= ADMIN PANEL ================= */

.ga-admin-page {
    background: linear-gradient(to bottom, #000000 0%, #050505 40%, #111111 100%);
    color: #fff;
}

/* Títulos */
.ga-admin-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.ga-admin-subtitle {
    font-size: 14px;
    color: #d6d6d6;
    max-width: 600px;
}

/* Sección hero */
.ga-admin-hero {
    margin-bottom: 24px;
}

/* Grid */
.ga-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.ga-admin-card {
    background: radial-gradient(circle at top left, #1d1d1d, #101010);
    padding: 22px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 14px 36px rgba(0,0,0,0.5);
    transition: 0.2s ease all;
    position: relative;
    overflow: hidden;
}

.ga-admin-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245,197,24,0.25);
    box-shadow: 0 22px 48px rgba(0,0,0,0.75);
}

.ga-admin-card:hover::before {
    opacity: 1;
}

.ga-admin-card-icon {
    font-size: 34px;
    margin-bottom: 10px;
}

.ga-admin-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.ga-admin-card-desc {
    font-size: 13px;
    color: #ccc;
}

/* Responsive */
@media (max-width: 720px) {
    .ga-admin-title {
        font-size: 26px;
    }
}
