:root {
    --bg: #121212;           /* графит */
    --bg-elevated: #1e1e1e;  /* чуть светлее для карточек */
    --bg-card: #252525;
    --green: #00e676;        /* яркий премиум-зелёный */
    --green-dark: #00c853;
    --green-glow: rgba(0, 230, 118, 0.45);
    --text: #f5f5f5;
    --text-muted: #b0b0b0;
    --border: #333;
    --radius: 12px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(18, 18, 18, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 8px;
    border: 1px solid #333;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
    text-shadow: 0 0 12px var(--green-glow);
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.25s, text-shadow 0.25s;
}

.nav a:hover {
    color: var(--green);
    text-shadow: 0 0 8px var(--green-glow);
}

.btn-phone {
    background: var(--green);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 0 12px var(--green-glow);
}

.btn-phone:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--green-glow), 0 0 40px var(--green-glow);
}

/* Hero */
.hero {
    position: relative;
    height: 85vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35) contrast(1.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 20px;
}

.hero h1 {
    font-size: 4.2rem;
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(0, 230, 118, 0.3), 2px 2px 8px rgba(0,0,0,0.6);
    color: #fff;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px 0;
    font-size: 1.15rem;
}

.stars {
    color: #ffd54f;
    text-shadow: 0 0 8px rgba(255, 213, 79, 0.5);
}

.btn-primary {
    display: inline-block;
    background: var(--green);
    color: #000;
    padding: 16px 42px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 22px;
    transition: all 0.3s;
    box-shadow: 0 0 16px var(--green-glow);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 28px var(--green-glow), 0 0 50px var(--green-glow);
}

/* Animations */
.animate-fade {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About */
.about {
    padding: 90px 0;
    background: var(--bg);
}

.about h2, .menu h2, .contacts h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 45px;
    color: var(--text);
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.features {
    list-style: none;
    margin-top: 22px;
}

.features li {
    padding: 8px 0;
    font-weight: 500;
    color: var(--text);
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #333;
}

/* Menu */
.menu {
    padding: 90px 0;
    background: #0e0e0e;
}

.menu-note {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 45px;
}

.category {
    margin-bottom: 70px;
}

.category h3 {
    font-size: 1.9rem;
    margin-bottom: 28px;
    color: var(--green);
    border-bottom: 2px solid var(--green);
    display: inline-block;
    padding-bottom: 6px;
    text-shadow: 0 0 10px var(--green-glow);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #333;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--green);
    box-shadow: 0 0 20px var(--green-glow), var(--shadow);
}

.card img, .card-placeholder {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
}

.card h4 {
    padding: 16px 16px 6px;
    font-size: 1.25rem;
    color: var(--text);
}

.card .price {
    padding: 0 16px 12px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--green);
    text-shadow: 0 0 8px var(--green-glow);
}

.btn-modal {
    display: block;
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    padding: 11px;
    background: var(--green);
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 0 12px var(--green-glow);
}

.btn-modal:hover {
    background: var(--green-dark);
    box-shadow: 0 0 20px var(--green-glow), 0 0 30px var(--green-glow);
}

.drinks-note {
    text-align: center;
    margin-bottom: 22px;
    font-style: italic;
    color: var(--text-muted);
}

/* Contacts */
.contacts {
    padding: 90px 0;
    background: var(--bg);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contacts a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    text-shadow: 0 0 6px var(--green-glow);
}

.map-placeholder {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    font-size: 1.2rem;
    color: var(--text-muted);
    border: 1px solid #333;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: var(--text-muted);
    text-align: center;
    padding: 35px 0;
    border-top: 1px solid #222;
}

.footer p {
    margin: 5px 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 520px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 40px var(--green-glow), 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid #3a3a3a;
    color: var(--text);
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s, text-shadow 0.3s;
}

.modal-close:hover {
    color: var(--green);
    text-shadow: 0 0 10px var(--green-glow);
}

.modal h3 {
    margin-bottom: 20px;
    font-size: 1.85rem;
    color: var(--green);
    text-shadow: 0 0 10px var(--green-glow);
}

.modal-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
}

.modal-body li {
    opacity: 0;
    transform: translateY(10px);
    animation: textFade 0.5s ease forwards;
    border-bottom-color: #333 !important;
}

.modal-body li:nth-child(1) { animation-delay: 0.1s; }
.modal-body li:nth-child(2) { animation-delay: 0.2s; }
.modal-body li:nth-child(3) { animation-delay: 0.3s; }
.modal-body li:nth-child(4) { animation-delay: 0.4s; }
.modal-body li:nth-child(5) { animation-delay: 0.5s; }
.modal-body li:nth-child(6) { animation-delay: 0.6s; }
.modal-body li:nth-child(7) { animation-delay: 0.7s; }
.modal-body li:nth-child(8) { animation-delay: 0.8s; }

@keyframes textFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.6rem;
    }
    .about-grid, .contacts-grid {
        grid-template-columns: 1fr;
    }
    .nav {
        display: none;
    }
    .header .container {
        flex-wrap: wrap;
        gap: 10px;
    }
    .cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .cards {
        grid-template-columns: 1fr;
    }
}