/* ═══════════════════════════════════════════════════════════════
   URANUS PUB · Design System
   Aesthetic: Clean Minimalist
   Font: Rubik (Latin, Hebrew, Cyrillic)
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
    --bg: #0a0a0a;
    --bg-surface: #141414;
    --gold: #d4a84b;
    --text: #ffffff;
    --text-secondary: #999;
    --text-muted: #555;
    --border: #222;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ── Base ───────────────────────────────────────────────────── */
body {
    font-family: 'Rubik', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #e8bf6a;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Selection & Scrollbar ──────────────────────────────────── */
::selection {
    background: rgba(212, 168, 75, 0.25);
    color: var(--text);
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════════════════ */

.video-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #000;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: videoReveal 0.6s ease 1.3s forwards;
}

/* CRT vignette — landscape only, injected by media query */
.video-bg::after {
    display: none;
}

@keyframes videoReveal {
    0%   { opacity: 0; }
    15%  { opacity: 0.7; }
    25%  { opacity: 0.1; }
    45%  { opacity: 0.85; }
    55%  { opacity: 0.2; }
    75%  { opacity: 0.95; }
    88%  { opacity: 0.6; }
    100% { opacity: 1; }
}

.video-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.6);
}

/* 4:3 TV frame on landscape screens */
@media (orientation: landscape) and (min-width: 769px) {
    .video-bg {
        inset: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: min(92vw, 92vh * 1.333);
        height: min(92vh, 92vw * 0.75);
        border-radius: 10px;
        border: 1px solid #222;
        box-shadow: 0 0 80px rgba(0, 0, 0, 0.6);
    }

    .video-bg::after {
        content: '';
        display: block;
        position: absolute;
        inset: 0;
        border-radius: 10px;
        background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
        pointer-events: none;
        z-index: 1;
    }

    .video-overlay {
        position: absolute;
        inset: 0;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.55);
    }
}

/* ── Cinematic Bars ────────────────────────────────────────── */
.cinematic-bar {
    position: fixed;
    left: 0;
    right: 0;
    background: #000;
    z-index: 10;
    display: flex;
    align-items: center;
    direction: ltr;
}

.cinematic-bar--top {
    top: 0;
    height: 48px;
    justify-content: flex-end;
    padding: 0 28px;
}

.cinematic-bar--bottom {
    bottom: 0;
    height: 48px;
    justify-content: center;
    gap: 0;
    padding: 0 28px;
}

.cinematic-bar--bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.cinematic-bar--bottom .bar-address::after {
    content: ' · ';
}

.cinematic-bar--bottom .bar-reserve {
    display: inline;
}

.cinematic-bar--bottom a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.cinematic-bar--bottom a:hover {
    color: var(--gold);
}

/* ── Language Dropdown Menu ─────────────────────────────────── */
.lang-menu {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 100;
    direction: ltr;
}

.cinematic-bar .lang-menu {
    position: static;
}

.lang-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #333;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.85);
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    padding: 0;
    font-family: inherit;
}

.lang-menu-toggle:hover {
    color: var(--text);
    border-color: var(--text-muted);
}

.lang-menu-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.lang-menu-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 6px 0;
    list-style: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.lang-menu.open .lang-menu-dropdown {
    display: block;
}

.lang-menu-dropdown li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: background 0.15s ease, color 0.15s ease;
}

.lang-menu-dropdown li a:hover {
    background: rgba(212, 168, 75, 0.1);
    color: var(--text);
}

.lang-menu-dropdown li a.active {
    color: var(--gold);
}

/* ── Back Button ─────────────────────────────────────────────── */
.back-button {
    position: fixed;
    top: 28px;
    left: 28px;
    right: auto;
    z-index: 100;
    direction: ltr;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.back-button:hover {
    color: var(--text);
}

/* ── Landing Layout ─────────────────────────────────────────── */
.landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 68px 24px 68px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.landing-logo {
    width: min(280px, 65vw);
    margin-bottom: 14px;
}

.landing-address {
    font-size: 0.95rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    margin-bottom: 40px;
}

/* ── Social Row ──────────────────────────────────────────────── */
.social-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    direction: ltr;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #333;
    color: var(--text-secondary);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ── Menu Button ─────────────────────────────────────────────── */
.menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(320px, 80vw);
    height: 72px;
    border: 1px solid rgba(212, 168, 75, 0.3);
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.5);
    color: var(--gold);
    font-family: 'Rubik', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.menu-button:hover {
    border-color: var(--gold);
    background: rgba(212, 168, 75, 0.08);
    color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════
   MENU PAGES
   ═══════════════════════════════════════════════════════════════ */

/* ── Page Header ─────────────────────────────────────────────── */
.page-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    direction: ltr;
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-nav {
    display: flex;
    gap: 36px;
    align-items: center;
    direction: ltr;
}

.header-nav a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--gold);
}

/* ── Page Title ──────────────────────────────────────────────── */
.page-title {
    text-align: center;
    padding: 56px 24px 40px;
    background: radial-gradient(ellipse at center top, rgba(212, 168, 75, 0.06) 0%, transparent 70%);
}

.page-title h1 {
    font-size: 2.6rem;
    color: var(--gold);
    margin-bottom: 6px;
}

.page-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
}

.page-title::after {
    content: '\2726';
    display: block;
    margin-top: 20px;
    color: rgba(212, 168, 75, 0.3);
    font-size: 0.9rem;
    letter-spacing: 1em;
}

/* ── Menu Content ────────────────────────────────────────────── */
.menu-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ── Categories ──────────────────────────────────────────────── */
.category {
    margin-bottom: 56px;
}

/* ── Doodle Background Pattern ──────────────────────────────── */
.menu-content::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.07;
    pointer-events: none;
    background-repeat: repeat;
    background-size: 200px 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' fill='none' stroke='%23d4a84b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='20' y='18' width='14' height='18' rx='1'/%3E%3Cpath d='M34 23h5v9h-5'/%3E%3Cpath d='M24 13v4M29 12v5'/%3E%3Cpath d='M100 14h20L110 28v8'/%3E%3Cpath d='M105 36h10'/%3E%3Ccircle cx='118' cy='15' r='2'/%3E%3Cpath d='M174 15v10c0 2 2 4 4 4v12'/%3E%3Cpath d='M174 15v7M178 15v7M182 15v7c0 4-2 6-4 6'/%3E%3Cpath d='M28 78h10v6l3 4v14c0 3-2 5-5 5h-6c-3 0-5-2-5-5V88l3-4V78z'/%3E%3Cpath d='M23 96h14'/%3E%3Cellipse cx='110' cy='96' rx='8' ry='11'/%3E%3Cpath d='M104 91q6 2 12 0M103 96q7 2 14 0M104 101q6 2 12 0'/%3E%3Cpath d='M110 85v-5'/%3E%3Ccircle cx='178' cy='92' r='9'/%3E%3Ccircle cx='178' cy='92' r='5'/%3E%3Cpath d='M178 83v18M171 85l14 14M185 85l-14 14'/%3E%3Cpath d='M21 155h14v5c0 5-3 8-7 8s-7-3-7-8v-5z'/%3E%3Cpath d='M28 168v7'/%3E%3Cpath d='M23 175h10'/%3E%3Cpath d='M108 155l2 5h5l-4 3 1.5 5-4.5-3-4.5 3 1.5-5-4-3h5z'/%3E%3Cpath d='M176 152c-1 6-4 10-4 15 0 2 2 3 4 3s4-1 4-3c0-5-3-9-4-15z'/%3E%3Cpath d='M176 170v8'/%3E%3Cpath d='M68 65v-20'/%3E%3Cpath d='M68 49l-5-4M68 49l5-4M68 55l-5-4M68 55l5-4M68 61l-5-4M68 61l5-4'/%3E%3C/svg%3E");
}

.category-title {
    font-size: 1.5rem;
    color: var(--gold);
    padding-bottom: 14px;
    margin-bottom: 28px;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, transparent, rgba(212, 168, 75, 0.4), transparent) 1;
}

/* ── Menu Items ──────────────────────────────────────────────── */
.menu-item {
    margin-bottom: 22px;
    padding: 10px 14px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.menu-item:hover {
    background: rgba(212, 168, 75, 0.04);
}

.menu-item .item-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.4;
}

.menu-item .item-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 3px;
    line-height: 1.5;
}

.menu-item .item-note {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 4px;
}

/* ── Spirits List ────────────────────────────────────────────── */
.spirits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin-top: 4px;
}

.spirits-list span {
    color: var(--text-secondary);
    font-size: 0.92rem;
    white-space: nowrap;
    padding: 3px 0;
}

.spirits-list span:not(:last-child)::after {
    content: '\00B7';
    margin: 0 10px;
    color: var(--text-muted);
    font-weight: 700;
}

/* ── Page Footer ─────────────────────────────────────────────── */
.page-footer {
    background: var(--bg-surface);
    border-top: 1px solid transparent;
    border-image: linear-gradient(to right, transparent, rgba(212, 168, 75, 0.3), transparent) 1;
    padding: 48px 24px;
    text-align: center;
}

.footer-inner {
    max-width: 780px;
    margin: 0 auto;
}

.footer-logo {
    width: 64px;
    margin: 0 auto 20px;
    opacity: 0.7;
}

.footer-address {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}

.footer-phone a {
    color: var(--gold);
    font-size: 0.95rem;
    direction: ltr;
    unicode-bidi: bidi-override;
    transition: color 0.2s ease;
}

.footer-phone a:hover {
    color: #e8bf6a;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    direction: ltr;
}

.footer-social a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 24px;
    letter-spacing: 0.04em;
    opacity: 0.6;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .cinematic-bar--top {
        height: 52px;
        padding: 0 16px;
    }

    .cinematic-bar--bottom {
        height: auto;
        min-height: 48px;
        padding: 8px 16px;
        flex-direction: column;
        text-align: center;
    }

    .cinematic-bar--bottom .bar-address::after {
        content: none;
    }

    .cinematic-bar--bottom p {
        font-size: 0.72rem;
        line-height: 1.5;
    }

    .landing {
        padding: 68px 20px 72px;
    }

    .landing-logo {
        width: min(220px, 55vw);
    }

    .landing-address {
        font-size: 0.85rem;
        margin-bottom: 32px;
    }

    .social-row {
        gap: 14px;
        margin-bottom: 36px;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }

    .menu-button {
        width: min(280px, 85vw);
        height: 64px;
        font-size: 1.3rem;
    }

    .lang-menu {
        top: 14px;
        right: 14px;
    }
    .lang-menu-toggle {
        width: 34px;
        height: 34px;
    }

    .back-button {
        top: 16px;
        left: 16px;
        font-size: 0.78rem;
    }

    .page-header {
        padding: 14px 0;
    }

    .header-nav {
        gap: 24px;
    }

    .header-nav a {
        font-size: 1rem;
    }

    .page-title {
        padding: 36px 20px 24px;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .menu-content {
        padding: 0 20px 60px;
    }

    .category {
        margin-bottom: 40px;
    }


    .category-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .menu-item .item-name {
        font-size: 1rem;
    }

    .menu-item .item-desc {
        font-size: 0.85rem;
    }

    .spirits-list span {
        font-size: 0.87rem;
    }

    .page-footer {
        padding: 36px 20px;
    }
}

@media (max-width: 480px) {
    .header-nav {
        gap: 16px;
    }

    .header-nav a {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-delay: 0.01ms !important;
    }
}
