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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 16px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 400px;
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.logo-container {
    margin-bottom: clamp(10px, 2vh, 20px);
    opacity: 0;
    transform: scale(0.8);
    animation: logoAppear 1s ease 0.3s forwards;
}

.logo {
    width: clamp(100px, 18vh, 150px);
    height: clamp(100px, 18vh, 150px);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.brand-name {
    font-family: 'Cinzel', serif;
    color: #1a1a1a;
    font-size: clamp(1.4rem, 4vh, 1.8rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: clamp(20px, 4vh, 50px);
    letter-spacing: 0.1em;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.6s forwards;
}

.buttons-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.5vh, 16px);
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: clamp(14px, 2vh, 18px) 24px;
    background: #1a1a1a;
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: clamp(0.95rem, 2.5vh, 1.1rem);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-30px);
}

.action-btn:nth-child(1) { animation: slideIn 0.5s ease 0.8s forwards; }
.action-btn:nth-child(2) { animation: slideIn 0.5s ease 0.95s forwards; }
.action-btn:nth-child(3) { animation: slideIn 0.5s ease 1.1s forwards; }
.action-btn:nth-child(4) { animation: slideIn 0.5s ease 1.25s forwards; }
.action-btn:nth-child(5) { animation: slideIn 0.5s ease 1.4s forwards; }

/* Кнопка "Меню" */
.btn-menu {
    background: #F2E7C9;
    color: #2A1E12;
    border: 1px solid rgba(64, 90, 58, 0.25);
}

.btn-menu:hover {
    background: #e8ddbf;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(42, 30, 18, 0.15);
}

/* Кнопка "Отблагодарить чаевыми" */
.btn-tips {
    background: #C78F4B;
    color: #FFFFFF;
}

.btn-tips:hover {
    background: #b8823d;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(199, 143, 75, 0.3);
}

/* Кнопка "Карта лояльности" */
.btn-loyalty {
    background: #D8DED2;
    color: #2A1E12;
}

.btn-loyalty:hover {
    background: #cdd3c7;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(42, 30, 18, 0.15);
}

/* Кнопка "Заказать музыку" */
.btn-music {
    background: #405A3A;
    color: #FFFFFF;
}

.btn-music:hover {
    background: #354d30;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(64, 90, 58, 0.3);
}

/* Кнопка "Обратная связь" */
.btn-feedback {
    background: #F2E7C9;
    color: #2A1E12;
}

.btn-feedback:hover {
    background: #e8ddbf;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(42, 30, 18, 0.15);
}

.action-btn:active {
    transform: translateY(0) scale(0.98);
}

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

@keyframes logoAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo-container:hover .logo {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Feedback Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: #e0e0e0;
    color: #333;
}

.popup-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.popup-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.popup-manager {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.popup-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.popup-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 110px;
}

.popup-btn.whatsapp {
    background: #25D366;
    color: #fff;
}

.popup-btn.whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

.popup-btn.telegram {
    background: #0088cc;
    color: #fff;
}

.popup-btn.telegram:hover {
    background: #0077b5;
    transform: translateY(-2px);
}

button.action-btn {
    cursor: pointer;
    font-family: inherit;
}
