@media screen and (max-width: 768px) {
    /* Barra Superior */
    .top-bar {
        padding: 10px 15px;
        height: auto;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
        padding: 5px;
        order: 0;
    }

    .menu-toggle:hover {
        background-color: #e0e0e0;
        color: #007bff;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .nombre-local {
        flex: 0;
        font-size: 16px;
        margin-right: 10px;
        white-space: nowrap;
        order: 1;
    }

    .barra-busqueda {
        flex: 1;
        padding: 0;
        order: 2;
    }

    .search-bar {
        max-width: 80%;
        width: 100%;
        padding: 5px;
        font-size: 14px;
    }

    .iconos-contacto {
        flex: 0;
        gap: 10px;
        align-items: center;
        order: 3;
    }

    .icono-ws,
    .icono-ubicacion {
        font-size: 0;
    }

    .icono-ubicacion {
        display: none;
    }

    .theme-icon {
        font-size: 18px;
    }

    .theme-icon:hover {
        color: #007bff;
        transform: scale(1.1);
        transition: color 0.2s ease, transform 0.2s ease;
    }

    /* Menú de Navegación */
    .nav-container {
        display: none;
        position: fixed;
        left: 0;
        width: 38%;
        z-index: 29;
        box-shadow: 0 2px 4px var(--card-shadow);
    }

    .nav-container.active {
        display: block;
        background-color: var(--nav-menu-bg);
        overflow: hidden;
        transition: background-color 0.3s ease;
    }

    .nav-bar {
        display: none;
        height: auto;
        padding: 10px 0;
    }

    .nav-bar.active {
        display: block;
        background-color: transparent;
    }

    .nav-bar ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .nav-bar li {
        width: 100%;
        text-align: left;
        font-weight: bold;
        display: block;
    }

    .nav-bar a {
        display: block;
        width: 100%;
        padding: 8px 10px;
        font-size: 13px;
        border-radius: 0;
        transition: background-color 0.2s ease, color 0.2s ease;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }

    .nav-bar a:hover {
        background-color: #e8e8e8;
        color: #007bff;
    }

    /* Contenedor Principal */
    .main-container {
        height: calc(100vh - 52px);
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }

    /* Sección de Introducción */
    .intro-section {
        background-color: #3b4f5c3f;
    }

    .intro-section h1 {
        font-size: 28px;
    }

    .intro-section h2 {
        font-size: 24px;
    }

    .intro-section p {
        font-size: 14px;
    }

    .intro-button {
        font-size: 16px;
        padding: 8px 16px;
    }

    .intro-button-line {
        height: 2px;
    }

    /* Sección de Monedas de Juego */
    .game-currency-section h2 {
        font-size: 24px;
    }

    .currency-gallery {
        grid-template-columns: 1fr;
    }

    .game-logo {
        max-width: 150px;
    }

    /* Galería de Productos */
    .product-gallery {
        grid-template-columns: 1fr;
    }

    /* Modo Oscuro */
    [data-theme="dark"] .top-bar {
        background: #333 !important;
        box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1) !important;
    }

    [data-theme="dark"] .nombre-local {
        color: #ffffff !important;
    }

    [data-theme="dark"] .icono-ws i,
    [data-theme="dark"] .icono-ubicacion i {
        color: #ffffff !important;
    }

    [data-theme="dark"] .theme-icon {
        color: #ffffff !important;
    }

    [data-theme="dark"] .theme-icon:hover {
        color: #66b0ff;
    }

    [data-theme="dark"] .search-bar {
        background: #444 !important;
        color: #e0e0e0 !important;
        border: 1px solid #666 !important;
    }

    [data-theme="dark"] .menu-toggle:hover,
    [data-theme="dark"] .nav-bar a:hover,
    [data-theme="dark"] .editor-toggle:hover {
        background-color: #555;
        color: #66b0ff;
    }
}