@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

@font-face {
    font-family: 'SFT Schrifted Serif';
    src: url('SFT Schrifted Serif TRIAL Display Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SFT Schrifted Serif';
    src: url('SFT Schrifted Serif TRIAL Display Bold Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

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

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'SFT Schrifted Serif', 'Arial', 'Helvetica', sans-serif;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Dance video background */
.dance-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.dance-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

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

/* Контейнер */
.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

/* Логотип */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Главный контент */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.opening-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.opening-line1 {
    font-size: clamp(3rem, 8vw, 7rem);
    color: rgba(255, 255, 255, 0.95);
    text-transform: capitalize;
    letter-spacing: 0.12em;
    line-height: 1;
    font-style: italic;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.opening-line2 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    line-height: 1.4;
    font-style: normal;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    max-width: 500px;
}

.wolt-logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.wolt-logo-link:hover {
    transform: scale(1.05);
}

.wolt-logo-main {
    height: clamp(60px, 12vw, 100px);
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

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

/* Секция доставки */
.delivery-section {
    padding: 1rem 0;
    text-align: center;
    background: transparent;
    margin: 1rem 0;
}

.delivery-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.glass-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.glass-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 12px 40px 0 rgba(31, 38, 135, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.delivery-logo {
    height: 50px;
    width: auto;
    max-width: 120px;
}

/* Контакты */
.contact-section {
    padding: 1rem 1.5rem;
    text-align: center;
    background: transparent;
    margin-top: 1rem;
}

.contact-info {
    color: #ffffff;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.address {
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.phone a,
.telegram a,
.whatsapp a,
.instagram a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.phone a:hover,
.telegram a:hover,
.whatsapp a:hover,
.instagram a:hover {
    color: #ffd700;
    border-bottom-color: #ffd700;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .logo {
        max-width: 150px;
    }

    .delivery-links {
        gap: 2rem;
    }

    .delivery-logo {
        height: 60px;
    }

    .delivery-section {
        padding: 0.5rem 0;
        margin: 0.5rem 0;
    }

    .contact-section {
        padding: 0.8rem 1rem;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .delivery-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .delivery-logo {
        height: 40px;
    }

    .glass-button {
        padding: 0.8rem 1.2rem;
    }
}

/* Popup стили */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.popup-content {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 4rem 6rem;
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

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

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-text {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    font-style: italic;
    letter-spacing: 0.12em;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3),
        2px 2px 8px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    margin: 0;
}

@media (max-width: 768px) {
    .popup-content {
        padding: 3rem 4rem;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 2rem 3rem;
        margin: 1rem;
    }

    .popup-close {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}
