:root {
    --revelbar-bg-color: #0d0d1a;
    --revelbar-surface-color: rgba(18, 18, 33, 0.6);
    --revelbar-border-color: rgba(203, 103, 162, 0.5);
    --revelbar-text-primary: #f0f0f5;
    --revelbar-text-secondary: #a0a0b0;
    --revelbar-neon-fuchsia: #ff0096;
    --revelbar-neon-cyan: #00e5ff;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lato', sans-serif;
}

body {
    background-color: var(--revelbar-bg-color);
    color: var(--revelbar-text-primary);
    font-family: var(--font-secondary);
    background: var(--revelbar-bg-color) url(https://loc.ar/revel/imagenes/revelbar.jpg);
    background-attachment: fixed;
    background-size: cover;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

#app-container {
    width: calc(100% - 80px);
    max-width: 850px;
    margin: 15vh auto;
    background: var(--revelbar-surface-color);
    padding: 25px clamp(15px, 4vw, 40px);
    border-radius: 12px;
    border: 2px solid var(--revelbar-border-color);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 5px; /* Espacio entre el ícono de lupa y el de hamburguesa */
}
.nav-header {
   display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    top: 0;
    width: calc(100% - 40px);
    position: fixed;
    z-index: 2;
    background-color: rgba(21, 15, 35, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: border-color 0.3s ease;
}

.nav-header.scrolled {
    border-bottom: 2px solid var(--revelbar-border-color);
}

.header-logo {
    height: 50px;
    width: auto;
    filter: invert(1) drop-shadow(0 0 5px var(--revelbar-neon-fuchsia));
}

.hamburger-button {
    font-size: 2.2em;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--revelbar-neon-cyan);
    text-shadow: 0 0 8px var(--revelbar-neon-cyan), 0 0 12px rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.hamburger-button:hover {
    color: var(--revelbar-text-primary);
    text-shadow: 0 0 10px var(--revelbar-neon-cyan), 0 0 20px var(--revelbar-neon-fuchsia);
}

.nav-panel {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background-color: var(--revelbar-surface-color);
    border-left: 1px solid var(--revelbar-border-color);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.nav-panel.open {
    display: block;
    animation: slideIn 0.4s forwards;
}

.nav-panel ul {
    list-style: none;
    padding: 60px 20px 20px 20px;
    margin: 0;
}

.nav-panel li a {
    display: block;
    padding: 15px 20px;
    color: var(--revelbar-text-secondary);
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: color 0.3s ease, background-color 0.3s ease, text-shadow 0.3s ease;
}

.nav-panel li a:hover {
    color: var(--revelbar-neon-fuchsia);
    background-color: rgba(255, 0, 150, 0.1);
    text-shadow: 0 0 8px var(--revelbar-neon-fuchsia);
}

.app-error {
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.5);
    text-shadow: 0 0 5px rgba(255, 77, 77, 0.7);
    padding: 15px;
    margin: 15px;
    border-radius: 8px;
    text-align: center;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}