/* ============================================================
   MUELITAS CLÍNICA GAMER – app.css
   Estilos personalizados + variables CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* === VARIABLES === */
:root {
    --color-primary: #5C94FC;
    /* Mario Sky Blue */
    --color-primary-dark: #2C99F1;
    --color-secondary: #00B800;
    /* Mario Green */
    --color-accent: #FFD700;
    /* Mario Coin Yellow */
    --color-brick: #AC5324;
    /* Mario Brick Brown */
    /* Fondos */
    --color-dark: #5C94FC;
    /* Sky Background */
    --color-dark-2: #2C99F1;
    --color-dark-3: #1e3a8a;
    /* Textos */
    --color-text: #ffffff;
    --color-text-sub: #f8fafc;
    --color-text-muted: #cbd5e1;
    --color-text-body: #ffffff;
    --font-pixel: 'Press Start 2P', monospace;
    --font-body: 'Inter', system-ui, sans-serif;
    --transition: all 0.3s ease;
    --shadow-glow: 0 0 20px rgba(92, 148, 252, 0.45);
    --shadow-neon: 0 0 15px rgba(0, 184, 0, 0.55);
    --border-radius: 12px;
}

/* === RESET ADICIONAL === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark);
    color: var(--color-text-body);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Texto blanco nítido para títulos */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff;
}

/* Párrafos de apoyo más legibles */
p,
li {
    color: var(--color-text-body);
}

/* Texto muted más luminoso */
.text-muted,
[class*="text-gray-4"],
[class*="text-gray-5"] {
    color: var(--color-text-muted) !important;
}

[class*="text-gray-3"] {
    color: var(--color-text-sub) !important;
}

/* === SCROLLBAR CUSTOM === */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark-2);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* === TIPOGRAFÍA PIXEL === */
.font-pixel {
    font-family: var(--font-pixel);
}

.text-neon {
    color: var(--color-secondary);
}

.text-gold {
    color: var(--color-accent);
}

.text-purple {
    color: var(--color-primary);
}

/* === GRADIENTES === */
.gradient-primary {
    background: linear-gradient(135deg, #6185F8 0%, #2C99F1 50%, #ac5324 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, #2C99F1 0%, #1e40af 100%);
}

.gradient-gamer {
    background: linear-gradient(135deg, #2C99F1 0%, #1e40af 40%, #1e3a8a 100%) !important;
}

/* Refuerzo anti-Tailwind: fondo oscuro siempre presente */
body.gradient-gamer {
    background-color: #2C99F1 !important;
}

.text-gradient {
    background: linear-gradient(to right, #a78bfa, #39ff14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === BOTONES === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.5s;
}

.btn-primary:hover::before {
    transform: rotate(45deg) translateY(100%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6), var(--shadow-neon);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b, #ffd700);
    color: #1a0a2e;
    font-weight: 800;
}

.btn-gold:hover {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.btn-flat-gamer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary);
    color: white;
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-flat-gamer:hover {
    background-color: #00d000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 184, 0, 0.3);
}

/* === GLASSMORPHISM === */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
}

.glass-dark {
    background: rgba(8, 47, 73, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
}

/* === CARDS === */
.card-service {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--color-brick);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: var(--color-text-body);
    box-shadow: 4px 4px 0px rgba(172, 83, 36, 0.5);
}

/* Títulos dentro de cards – siempre blancos */
.card-service h3,
.card-service h4 {
    color: #ffffff;
}

/* Descripciones dentro de cards – lavanda clara */
.card-service p {
    color: var(--color-text-sub);
}

.card-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--color-brick), var(--color-accent));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.card-service:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent);
    box-shadow: 6px 6px 0px var(--color-secondary);
}

.card-service:hover::before {
    transform: scaleX(1);
}

/* === PIXEL ART DECORATIONS === */
.pixel-dot {
    width: 4px;
    height: 4px;
    background: var(--color-secondary);
    image-rendering: pixelated;
    display: inline-block;
}

.pixel-border {
    border: 2px solid var(--color-primary);
    box-shadow: 4px 4px 0px var(--color-secondary);
}

.pixel-corner {
    position: relative;
}

.pixel-corner::before,
.pixel-corner::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
}

.pixel-corner::before {
    top: -4px;
    left: -4px;
}

.pixel-corner::after {
    bottom: -4px;
    right: -4px;
}

/* === MARIO DECORATIONS === */
.mario-cloud {
    position: absolute;
    width: 100px;
    height: 40px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 10px 10px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.mario-cloud::before,
.mario-cloud::after {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: 50%;
}

.mario-cloud::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 15px;
}

.mario-cloud::after {
    width: 40px;
    height: 40px;
    top: -15px;
    right: 15px;
}

.mario-hill {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 100px;
    background: #00B800;
    border-radius: 100px 100px 0 0;
    z-index: 0;
    border: 4px solid #008a00;
}

.mario-hill::before,
.mario-hill::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 12px;
    background: #000;
    border-radius: 10px;
    top: 30px;
}

.mario-hill::before {
    left: 85px;
}

.mario-hill::after {
    right: 85px;
}

.mario-tree {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 80px;
    z-index: 1;
}

.mario-tree-top {
    width: 60px;
    height: 60px;
    background: #00b800;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: -10px;
    border: 3px solid #008a00;
}

.mario-tree-trunk {
    width: 20px;
    height: 30px;
    background: #ac5324;
    position: absolute;
    bottom: 0;
    left: 10px;
}

.mario-bricks {
    background-color: #ac5324;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.3) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.3) 2px, transparent 2px),
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 20px, 40px 20px, 40px 20px, 40px 20px;
    background-position: 0 0, 0 0, 1px 1px, 1px 1px;
    border-top: 4px solid rgba(0, 0, 0, 0.4);
    border-bottom: 4px solid rgba(0, 0, 0, 0.4);
}

.mario-ground {
    background: #ac5324;
    position: relative;
    padding-top: 10px;
}

.mario-ground::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: #00B800;
    border-bottom: 3px solid #008a00;
}

/* === GAMIFICACIÓN – COINS === */
.coin {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #f59e0b, #ffd700);
    color: #1a0a2e;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: var(--font-pixel);
}

.coin::before {
    content: '🪙';
    font-size: 0.9rem;
}

.xp-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    height: 8px;
}

.xp-fill {
    height: 100%;
    background: linear-gradient(to right, #7c3aed, #39ff14);
    border-radius: 20px;
    transition: width 1s ease;
    position: relative;
}

.xp-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 20px 20px 0;
    animation: xp-shine 2s infinite;
}

@keyframes xp-shine {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* === BADGE LOGROS === */
.badge-logro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--color-accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* === NAVBAR === */
#navbar {
    transition: background 0.4s, box-shadow 0.4s;
}

#navbar.scrolled {
    background: rgba(13, 5, 32, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.2);
}

.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-secondary);
}

/* === HERO ANIMATIONS === */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(124, 58, 237, 0.8), 0 0 60px rgba(57, 255, 20, 0.3);
    }
}

@keyframes coin-fly {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-60px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes scan-line {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100vh);
    }
}

@keyframes neon-flicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 1;
    }

    20%,
    24%,
    55% {
        opacity: 0.4;
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.neon-flicker {
    animation: neon-flicker 4s linear infinite;
}

/* === PARALLAX UTILITIES === */
.parallax-slow {
    transform: translate3d(0, calc(var(--scroll-y) * 0.15), 0);
    will-change: transform;
}

.parallax-medium {
    transform: translate3d(0, calc(var(--scroll-y) * 0.25), 0);
    will-change: transform;
}

.parallax-fast {
    transform: translate3d(0, calc(var(--scroll-y) * 0.40), 0);
    will-change: transform;
}

/* Soporte para móviles: si prefieres desactivarlo en pantallas muy pequeñas, puedes usar media queries */
@media (max-width: 768px) {

    .parallax-slow,
    .parallax-medium,
    .parallax-fast {
        transform: none !important;
    }
}

/* Partículas hero */
.hero-particle {
    position: absolute;
    border-radius: 50%;
    animation: float var(--duration, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    pointer-events: none;
}

/* === STARS BACKGROUND === */
.stars-bg {
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 80%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 10% 90%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 50% 50%, rgba(167, 139, 250, 0.3) 0%, transparent 100%);
}

/* === SECTION STYLES === */
.section-title {
    font-family: var(--font-pixel);
    font-size: clamp(1.2rem, 5vw, 2.2rem);
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-sub);
    /* lavanda clara – contraste mejorado */
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
}

/* === SKILL TREE ANIMADO === */
.skill-node {
    cursor: pointer;
    transition: var(--transition);
}

.skill-node:hover .skill-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px currentColor);
}

.skill-connector {
    stroke: rgba(124, 58, 237, 0.4);
    stroke-dasharray: 8 4;
    animation: dash-flow 2s linear infinite;
}

.skill-connector.active {
    stroke: var(--color-secondary);
    stroke-dasharray: none;
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -24;
    }
}

/* === TESTIMONIOS === */
.testimonial-card {
    background: rgba(124, 58, 237, 0.10);
    border: 1px solid rgba(167, 139, 250, 0.22);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition);
    color: var(--color-text-body);
}

.testimonial-card p {
    color: var(--color-text-sub);
}

.testimonial-card:hover {
    border-color: rgba(57, 255, 20, 0.4);
    box-shadow: 0 0 24px rgba(57, 255, 20, 0.12);
}

/* === DOCTOR SKILL CARD === */
.skill-card {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    image-rendering: pixelated;
    transition: transform 0.2s;
    max-width: 320px;
    /* Incrementado */
}

.skill-card:hover {
    transform: translateX(-5px);
    background: rgba(0, 0, 0, 0.3);
}

.skill-card-header {
    background: rgba(97, 133, 248, 0.8);
    color: white;
    padding: 6px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-item {
    margin-bottom: 12px;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    margin-bottom: 4px;
    font-weight: bold;
    color: #ffffff;
}

.skill-label span:last-child {
    color: var(--color-accent);
    /* LVL XX en amarillo */
}

.skill-desc {
    font-size: 9px;
    color: #cbd5e1;
    margin-top: 4px;
    line-height: 1.5;
    text-transform: uppercase;
}

.xp-bar-container {
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0;
}

.xp-bar-fill {
    height: 100%;
    background: #39ff14;
    box-shadow: 0 0 5px #39ff14;
}

.lvl-badge {
    color: var(--color-accent);
    font-size: 7px;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .skill-card {
        max-width: 100%;
        margin-top: 20px;
        background: rgba(0, 0, 0, 0.4);
    }
}

/* === FLOATING WHATSAPP === */
#whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    animation: float 2s ease-in-out infinite;
}

#whatsapp-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

/* === CTA PERSISTENTE === */
#cta-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

#cta-sticky.visible {
    transform: translateY(0);
}

/* === MODALES === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #160834;
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    transform: scale(0.95);
    transition: transform 0.3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

/* === FORM STYLES === */
.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 10px;
    padding: 14px 18px;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Select dropdown options – forzar fondo oscuro y texto legible */
select.form-input option,
.form-input option {
    background-color: #1a0a3c;
    color: #e8deff;
}

/* Algunos navegadores/OS muestran fondo blanco nativo; override de texto */
select.form-input {
    color: #e8deff;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text-sub);
    /* más visible contra fondos oscuros */
}

/* === ADMIN STYLES === */
.admin-sidebar {
    background: #0a0118;
    border-right: 1px solid rgba(124, 58, 237, 0.2);
    min-height: 100vh;
    width: 260px;
    flex-shrink: 0;
    transition: width 0.3s;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 10px;
    margin: 2px 12px;
    transition: var(--transition);
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(124, 58, 237, 0.15);
    color: white;
    box-shadow: inset 3px 0 0 var(--color-primary);
}

.admin-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
}

.admin-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: var(--shadow-glow);
}

/* === PRICING PLANS (Enterprise Style) === */
.plan-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    color: #1e293b;
    cursor: pointer;
}

.plan-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.plan-card.popular {
    background: #1e293b;
    /* Dark Navy */
    border: none;
    transform: scale(1.08);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.plan-card.popular:hover {
    transform: translateY(-15px) scale(1.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(79, 209, 197, 0.2);
}

.plan-card-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #4fd1c5;
    /* Teal */
    color: #0d1a26;
    font-weight: 800;
    font-size: 10px;
    padding: 4px 20px;
    border-radius: 50px;
    white-space: nowrap;
}

.plan-title {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.plan-list {
    margin: 24px 0;
    padding: 0;
    list-style: none;
    flex-grow: 1;
}

.plan-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.plan-card:not(.popular) .plan-list li {
    color: #475569;
}

.plan-card.popular .plan-list li {
    color: #f1f5f9;
}

.plan-card .check-icon {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.plan-card.popular .check-icon {
    border-color: #4fd1c5;
    color: #4fd1c5;
}

.btn-plan-outline {
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-plan-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.btn-plan-solid {
    background: #ffffff;
    color: #1e293b;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-plan-solid:hover {
    background: #f1f5f9;
}

@media (max-width: 1024px) {
    .plan-card.popular {
        transform: scale(1);
        margin: 30px 0;
    }

    .plan-card:hover,
    .plan-card.popular:hover {
        transform: none;
    }
}

/* === TABLE STYLES === */
.table-admin {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-admin th {
    background: rgba(124, 58, 237, 0.15);
    padding: 12px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.table-admin th:first-child {
    border-radius: 8px 0 0 8px;
}

.table-admin th:last-child {
    border-radius: 0 8px 8px 0;
}

.table-admin td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
    font-size: 0.9rem;
}

.table-admin tr:hover td {
    background: rgba(124, 58, 237, 0.05);
}

/* === STATUS BADGES === */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-pendiente {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-confirmada {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-completada {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.status-cancelada {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* === NOTIFICATION TOAST === */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: #160834;
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    animation: slide-in 0.3s ease;
    font-size: 0.9rem;
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.info {
    border-left: 4px solid #7c3aed;
}

@keyframes slide-in {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.1rem, 6vw, 1.5rem);
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .admin-sidebar {
        width: 100%;
        min-height: auto;
    }
}

/* === TETRIS GAME === */
#tetris-canvas {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-glow), 0 0 40px rgba(124, 58, 237, 0.2);
    image-rendering: pixelated;
    border-radius: 4px;
}

/* === NAVBAR CLEAN (Image Style) === */
.nav-link-clean {
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

.nav-link-clean:hover {
    color: #ffffff;
}

.nav-link-clean::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-clean:hover::after,
.nav-link-clean.active::after {
    width: 100%;
}

.nav-link-clean.active {
    color: #ffffff;
}

/* === MINIMAL MOBILE MENU (Ref. Minimal Responsive Navigation) === */
.nav-btn-minimal {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 9999;
    border-radius: 50%;
    background: transparent;
    transition: transform 0.2s ease;
}

.nav-btn-minimal i {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    /* White default for dark navbar */
    border-radius: 2px;
    margin-left: 12px;
    transition: all 0.2s ease;
}

.nav-btn-minimal i:nth-child(1) {
    margin-top: 14px;
}

.nav-btn-minimal i:nth-child(2) {
    margin-top: 4px;
    opacity: 1;
}

.nav-btn-minimal i:nth-child(3) {
    margin-top: 4px;
}

#nav-toggle:checked+.nav-btn-minimal {
    transform: translateY(-50%) rotate(45deg);
}

#nav-toggle:checked+.nav-btn-minimal i {
    background: #000000;
    /* Black when open */
}

#nav-toggle:checked+.nav-btn-minimal i:nth-child(1) {
    transform: translateY(6px) rotate(180deg);
}

#nav-toggle:checked+.nav-btn-minimal i:nth-child(2) {
    opacity: 0;
}

#nav-toggle:checked+.nav-btn-minimal i:nth-child(3) {
    transform: translateY(-6px) rotate(90deg);
}

.nav-wrapper-minimal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
    overflow-y: auto;
    padding: 100px 32px 40px 32px;
    display: flex;
    flex-direction: column;
}

#nav-toggle:checked~.nav-wrapper-minimal {
    z-index: 9990;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-wrapper-minimal ul {
    width: 100%;
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.nav-wrapper-minimal ul li {
    display: block;
    width: 100%;
    text-align: right;
    margin-bottom: 20px;
}

.nav-wrapper-minimal ul li a,
.nav-wrapper-minimal ul li .submenu-toggle-minimal {
    display: inline-block;
    outline: none;
    color: #000000;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 6px 0;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.nav-wrapper-minimal ul li .submenu-toggle-minimal {
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.nav-wrapper-minimal ul li .submenu-toggle-minimal .arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-wrapper-minimal ul li .submenu-toggle-minimal.active .arrow {
    transform: rotate(180deg);
}

.submenu-minimal {
    display: none;
    padding-right: 16px;
    margin-top: 8px;
    margin-bottom: 8px;
    border-right: 2px solid #e5e7eb;
    list-style: none;
}

.submenu-minimal.open {
    display: block;
}

.submenu-minimal li {
    margin-bottom: 12px;
    text-align: right;
}

.submenu-minimal li a {
    font-size: 16px !important;
    color: #4b5563 !important;
    text-transform: none !important;
    opacity: 1 !important;
    transform: none !important;
    letter-spacing: 0.5px !important;
    font-weight: 500 !important;
}

.search-box-minimal {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.cta-li-minimal {
    margin-top: 32px;
}

.btn-primary-minimal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    color: #ffffff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.btn-primary-minimal:hover {
    background: #2C99F1;
}

#nav-toggle:checked~.nav-wrapper-minimal .search-box-minimal {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

#nav-toggle:checked~.nav-wrapper-minimal ul li>a,
#nav-toggle:checked~.nav-wrapper-minimal ul li>.submenu-toggle-minimal {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered transition delays for list items */
#nav-toggle:checked~.nav-wrapper-minimal ul li:nth-child(1)>* {
    transition-delay: 0.15s;
}

#nav-toggle:checked~.nav-wrapper-minimal ul li:nth-child(2)>* {
    transition-delay: 0.2s;
}

#nav-toggle:checked~.nav-wrapper-minimal ul li:nth-child(3)>* {
    transition-delay: 0.25s;
}

#nav-toggle:checked~.nav-wrapper-minimal ul li:nth-child(4)>* {
    transition-delay: 0.3s;
}

#nav-toggle:checked~.nav-wrapper-minimal ul li:nth-child(5)>* {
    transition-delay: 0.35s;
}

#nav-toggle:checked~.nav-wrapper-minimal ul li:nth-child(6)>* {
    transition-delay: 0.4s;
}

#nav-toggle:checked~.nav-wrapper-minimal ul li:nth-child(7)>* {
    transition-delay: 0.45s;
}

#nav-toggle:checked~.nav-wrapper-minimal ul li:nth-child(8)>* {
    transition-delay: 0.5s;
}

body.no-scroll {
    overflow: hidden;
}

.nav-wrapper-minimal::-webkit-scrollbar {
    width: 4px;
}

.nav-wrapper-minimal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.nav-wrapper-minimal::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 10px;
}