* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    background: #1a1a2e;
    color: white;
    position: relative;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/assets/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px) brightness(0.6);
    transform: scale(1.05);
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-section {
    flex-shrink: 0;
    text-align: center;
    padding: 1.5rem 2rem 0.5rem;
}

.content-section {
    flex: 1;
    padding: 0.5rem 1rem 2rem;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.footer {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 1.5rem 1rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

.logo {
    display: inline-block;
}

.logo img {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.tagline {
    text-align: center;
    margin: 1rem 0 1.5rem;
}

.tagline h1 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tabs {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: rgba(255, 215, 0, 0.8);
    color: #1a1a2e;
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-reserve {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffd700;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
}

.btn-reserve:hover {
    background: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

.tab-pane-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-pane-content.active {
    display: block;
}

.content-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lunch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 0.5rem;
}

.lunch-date, .lunch-time {
    font-size: 0.85rem;
    background: rgba(255, 215, 0, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.lunch-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 0.5rem;
    border-left: 2px solid #ffd700;
    padding-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.lunch-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.lunch-item span:first-child {
    font-weight: 400;
}

.lunch-item span:last-child {
    color: #ffd700;
    font-weight: 500;
}

.lunch-garnishes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lunch-garnish-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.subcategories {
    margin-bottom: 1rem;
}

.subcategories-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.subcategories-scroll::-webkit-scrollbar {
    height: 3px;
}

.subcategories-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.subcategories-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 10px;
}

.subcat-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.subcat-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.subcat-btn.active {
    background: rgba(255, 215, 0, 0.8);
    color: #1a1a2e;
    border-color: rgba(255, 215, 0, 0.8);
}

.menu-item-full {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-item-default {
    display: flex;
    justify-content: space-between;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
}

.menu-item-title {
    font-weight: 500;
    font-size: 0.9rem;
    width: 100%;
}

.menu-item-price {
    color: #ffd700;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.menu-item-origin {
    font-size: 0.75rem;
    opacity: 0.6;
}

.menu-item-desc {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 0.2rem;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(255, 215, 0, 0.3);
}

.menu-item-prices {
    font-size: 0.85rem;
    color: #ffd700;
    margin-top: 0.2rem;
    width: 100%;
    text-align: right;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.contact-item i, .contact-item .material-symbols-outlined {
    font-size: 1.3rem;
    min-width: 2rem;
    color: #ffd700;
}

.social-link-text {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-text:hover {
    color: #ffd700;
    transform: translateX(3px);
}

.beer-item {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.beer-title-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.beer-title-line .menu-item-title {
    font-weight: 500;
    font-size: 0.9rem;
}

.beer-volumes-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.beer-volume {
    width: 100%;
    margin: auto;
    text-align: center;
    white-space: nowrap;
}

.beer-divider {
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
}

.beer-info-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.beer-prices-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffd700;
}

.beer-price-divider {
    width: 1px;
    height: 10px;
    background: rgba(255, 215, 0, 0.3);
}

.work-schedule {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.time-badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.2rem 0.8rem;
    font-size: 0.75rem;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .header-section {
        padding: 1rem 1rem 0.3rem;
    }

    .logo img {
        max-width: 200px;
    }

    .tagline h1 {
        font-size: 0.8rem;
        margin: 0.5rem 0;
    }

    .tab-btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.7rem;
    }

    .btn-reserve {
        padding: 0.3rem 0.7rem;
        font-size: 0.7rem;
    }

    .content-card {
        padding: 1rem;
    }

    .content-section {
        padding: 0.5rem 0.8rem 1rem;
    }

    .menu-item-title {
        font-size: 0.8rem;
    }

    .lunch-item {
        font-size: 0.75rem;
    }

    .footer {
        padding: 1rem;
    }
}

.footer-copyright {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-address,
.footer-phone {
    font-size: 0.7rem;
    opacity: 0.7;
}

.footer-phone {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    transition: ease 0.3s;
}

.footer-phone:hover {
    color: #ffd700;
}

.footer-btn {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    padding: 0.2rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #ffd700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

.footer-dev {
    color: white;
    margin-top: 0.75rem;
    font-size: 0.7rem;
    opacity: 0.4;
    text-align: center;
}

.footer-dev a {
    text-decoration: none;
}

.footer-dev a:hover {
    color: #ffd700;
    opacity: 1;
}

.korneev-dev {
    color: white;
    font-weight: 700;
    transition: ease 0.3s;
}

@media (max-width: 439px) {
    .lunch-section-title {
        font-size: 0.65rem;
    }

    .material-symbols-outlined {
        font-size: 16px;
    }

    .lunch-item span:last-child {
        white-space: nowrap;
    }

    .lunch-garnish-tag {
        font-size: 0.6rem;
    }

    .lunch-date, .lunch-time {
        font-size: 0.65rem;
    }

    .content-card h2 {
        font-size: calc(0.85rem + .6vw) !important;
    }

    .contact-item {
        font-size: 0.8rem;
    }
}