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

@font-face {
    font-family: 'BebasNeue SkyDF';
    src: url('/assets/fonts/BebasNeue_SkyDF_Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Fors';
    src: url('/assets/fonts/TT_Fors_Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

#screen-offer .final-wrap {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 10px 0 20px 0;
}

#screen-offer .final-card {
    width: 100%;
    background: #ffffff;
    border: 2px solid #dc2626;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

#screen-offer .final-photo {
    padding: 12px;
}

#screen-offer .final-photo-img.content-block {
    margin-bottom: 0;
    min-height: 260px;
    border-radius: 20px;
}

#screen-offer .final-dashes {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#screen-offer .final-wish.travel-message {
    margin: 0 18px 16px 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

#screen-offer .final-wish.travel-message::before {
    display: none;
}

#screen-offer .final-wish .message-lines {
    gap: 10px;
}

#screen-offer .final-offer {
    padding: 18px 18px 56px 18px;
}

#screen-offer .final-offer .offer-text {
    font-size: 28px;
    letter-spacing: -0.02em;
}

#screen-offer .final-offer .gift {
    position: absolute;
    right: 14px;
    bottom: 10px;
    width: 96px;
    height: auto;
    pointer-events: none;
}

#screen-offer .final-buttons.buttons {
    flex-direction: row;
    justify-content: space-between;
    gap: 18px;
    margin-top: 0;
}

#screen-offer .final-buttons .btn {
    border-radius: 9999px;
    min-width: 0;
    flex: 1;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
    overflow: hidden;
    line-height: 1.6;
    font-weight: 400;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

#kiosk-stage {
    width: 100vw;
    height: 100vh;
    max-width: 1080px;
    max-height: 1920px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.logo-text,
.cta-text,
.cta-title,
.offer-text {
    font-family: 'BebasNeue SkyDF', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

.logo-subtext,
.website,
.destination-info,
.btn {
    font-family: 'TT Fors', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Принудительно применяем базовый шрифт для основного текста */
body,
.header,
.content,
.waiting-title,
.loading-title,
.loading-text,
.offer-title,
.error-message h2,
.error-message p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Экраны */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.screen.active {
    opacity: 1;
    visibility: visible;
}

/* Заголовок */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(15px, 2vh, 25px) clamp(40px, 5vw, 80px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    color: #dc2626;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.1);
}

.logo-subtext {
    font-size: clamp(12px, 1.5vw, 16px);
    font-weight: 500;
    color: #dc2626;
    margin-top: -4px;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.website {
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 500;
    color: #dc2626;
    letter-spacing: 0.05em;
}

/* Контент */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2vh 4vw 4vh 4vw;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow-y: auto;
    min-height: 0;
    max-height: calc(100vh - 80px); /* Учитываем высоту header */
}

/* Экран ожидания */
.waiting-title {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 400;
    color: #64748b;
    margin-bottom: clamp(40px, 5vh, 80px);
    letter-spacing: 0.02em;
}

.call-to-action {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-box {
    border: 2px solid rgba(220, 38, 38, 0.2);
    border-radius: clamp(16px, 2.5vw, 24px);
    padding: clamp(60px, 8vh, 120px) clamp(80px, 10vw, 160px);
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: pulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    max-width: 90vw;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.cta-text {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    color: #dc2626;
    margin-bottom: clamp(20px, 3vh, 40px);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-lines {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    background: #ffffff;
    border-radius: clamp(12px, 2vw, 20px);
    padding: clamp(20px, 3vh, 30px) clamp(30px, 4vw, 40px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid #dc2626;
    max-width: clamp(400px, 50vw, 600px);
    transition: all 0.3s ease;
}

.cta-content:hover {
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.15);
    border-color: #b91c1c;
    transform: translateY(-2px);
}

.cta-title {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 700;
    color: #dc2626;
    text-align: center;
    letter-spacing: 0.02em;
    margin-bottom: clamp(20px, 3vh, 30px);
    text-transform: uppercase;
}

.cta-dots {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vh, 18px);
    align-items: center;
}

.cta-cat {
    width: min(340px, 70vw);
    height: auto;
    display: block;

    object-fit: contain;
    max-height: 320px;
}

.cta-dots .cta-title {
    text-align: center;
}

@media (max-width: 420px) {
    .cta-cat {
        width: min(260px, 68vw);
        max-height: 240px;
    }
}

.dot-line {
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #000000 0px,
        #000000 4px,
        transparent 4px,
        transparent 8px
    );
    border-radius: 1px;
}

/* Разные длины пунктирных линий */
.cta-dots .dot-line:nth-child(1) { width: clamp(200px, 25vw, 320px); }
.cta-dots .dot-line:nth-child(2) { width: clamp(180px, 22vw, 280px); }
.cta-dots .dot-line:nth-child(3) { width: clamp(220px, 28vw, 360px); }
.cta-dots .dot-line:nth-child(4) { width: clamp(150px, 18vw, 240px); }
.cta-dots .dot-line:nth-child(5) { width: clamp(190px, 23vw, 300px); }

.offer-content .dot-line:nth-child(1) { width: clamp(120px, 15vw, 180px); }
.offer-content .dot-line:nth-child(2) { width: clamp(100px, 12vw, 140px); }
.offer-content .dot-line:nth-child(3) { width: clamp(140px, 17vw, 220px); }
.offer-content .dot-line:nth-child(4) { width: clamp(110px, 13vw, 160px); }
.offer-content .dot-line:nth-child(5) { width: clamp(130px, 16vw, 200px); }

/* Специальные стили для мотивационного текста */
.cta-title {
    color: #dc2626; 
    font-weight: 700; 
    font-size: clamp(18px, 2.5vw, 28px);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
    50% { transform: scale(1.02); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Анимация появления мотивационного текста */
.cta-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.cta-title {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease forwards;
    animation-delay: 0.4s;
}

.dot-line {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease forwards;
}

.cta-dots .dot-line:nth-child(1) { animation-delay: 0.6s; }
.cta-dots .dot-line:nth-child(2) { animation-delay: 0.8s; }
.cta-dots .dot-line:nth-child(3) { animation-delay: 1.0s; }
.cta-dots .dot-line:nth-child(4) { animation-delay: 1.2s; }
.cta-dots .dot-line:nth-child(5) { animation-delay: 1.4s; }

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

/* Анимация появления инструкций в блоке предложения */
.offer-content {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease forwards;
    animation-delay: 0.3s;
}

.offer-content .dot-line:nth-child(1) { animation-delay: 0.5s; }
.offer-content .dot-line:nth-child(2) { animation-delay: 0.7s; }
.offer-content .dot-line:nth-child(3) { animation-delay: 0.9s; }
.offer-content .dot-line:nth-child(4) { animation-delay: 1.1s; }
.offer-content .dot-line:nth-child(5) { animation-delay: 1.3s; }

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

/* Экран загрузки */
.loading-title {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 400;
    color: #64748b;
    margin-bottom: clamp(40px, 5vh, 80px);
    letter-spacing: 0.02em;
}

.loading-message {
    text-align: center;
}

.loading-text {
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 700;
    color: #dc2626;
    margin-bottom: clamp(120px, 15vh, 240px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(220, 38, 38, 0.1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

.airplane-animation {
    width: clamp(600px, 80vw, 1200px);
    height: clamp(300px, 40vh, 600px);
    max-width: 100%;
    max-height: 100%;
    position: relative;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: clamp(8px, 1.5vw, 16px);
    backdrop-filter: blur(10px);
}

#motionPath {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.draw-animate {
    animation: drawLine 3s linear forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

#airplane-svg {
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes strokeOffset {
  to { stroke-dashoffset: 0; }
}

.airplane {
    width: 60px;
    height: 60px;
    animation: fly 3s ease-in-out infinite;
}

@keyframes fly {
    0% { transform: translateX(-100px) translateY(0px) rotate(0deg); }
    50% { transform: translateX(50px) translateY(-20px) rotate(10deg); }
    100% { transform: translateX(200px) translateY(0px) rotate(0deg); }
}

/* Экран предложения */
.offer-title {
    font-size: clamp(16px, 2.5vw, 28px);
    font-weight: 400;
    color: #64748b;
    margin-bottom: 2vh;
    letter-spacing: 0.02em;
}

/* Специальные стили для экрана предложений */
#screen-offer .content {
    padding: 0.5vh 3vw 1vh 3vw;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.content-block {
    flex-direction: column;
    gap: clamp(5px, 1vh, 10px);
    padding: clamp(5px, 1vh, 10px);
    margin-bottom: clamp(5px, 1vh, 10px);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
    min-height: clamp(120px, 25vh, 200px);
    border-radius: clamp(8px, 1.5vw, 12px);
    overflow: hidden;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.content-block > * {
    position: relative;
    z-index: 2;
}

.destination-image {
    width: 100% !important;
    height: clamp(50px, 15vw, 80px) !important;
    border-radius: 0 !important;
    overflow: hidden;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
    margin: 0 !important;
}

.destination-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
    border-radius: 0 !important;
}

.destination-image:hover img {
    transform: scale(1.05);
}

.travel-message {
    padding: clamp(8px, 1.5vh, 15px);
    margin-bottom: clamp(5px, 1vh, 10px);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border-radius: clamp(8px, 1.5vw, 12px);
    border: 1px solid rgba(220, 38, 38, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.travel-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.message-lines {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.5vh, 16px);
    width: 100%;
}

.message-lines .msg-block {
    display: flex;
    gap: clamp(6px, 1vh, 12px);
    align-items: flex-start;
    font-family: 'TT Fors', 'Inter', sans-serif;
    font-size: clamp(18px, 2.2vh, 26px);
    line-height: 1.25;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    padding: clamp(6px, 1vh, 12px) clamp(10px, 1.5vw, 20px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.message-lines .msg-icon {
    font-size: clamp(20px, 2.5vh, 30px);
}

.message-lines .msg-text {
    flex: 1;
    color: #0f172a;
}

.message-item {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 16px);
    font-size: clamp(10px, 1.8vw, 14px);
    margin-bottom: clamp(4px, 0.8vh, 8px);
    color: #1e293b;
    font-weight: 500;
}

.message-icon {
    width: clamp(10px, 2vw, 14px);
    height: clamp(10px, 2vw, 14px);
    margin-right: clamp(6px, 1vw, 10px);
    color: #dc2626;
    flex-shrink: 0;
}

.message-lines .line:nth-child(1) { width: clamp(200px, 25vw, 320px); }
.message-lines .line:nth-child(2) { width: clamp(180px, 22vw, 280px); }
.message-lines .line:nth-child(3) { width: clamp(220px, 28vw, 360px); }
.message-lines .line:nth-child(4) { width: clamp(150px, 18vw, 240px); }
.message-lines .line:nth-child(5) { width: clamp(190px, 23vw, 300px); }

.offer-block {
    border: 2px solid rgba(220, 38, 38, 0.2);
    border-radius: clamp(12px, 2vw, 24px);
    padding: clamp(40px, 5vw, 80px) clamp(60px, 7vw, 120px);
    text-align: center;
    margin-bottom: 3vh;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 1400px;
    margin-bottom: clamp(10px, 2vh, 20px);
    padding: clamp(15px, 3vh, 25px) clamp(20px, 4vw, 40px);
    margin-bottom: clamp(5px, 1vh, 10px);
    padding: clamp(8px, 1.5vh, 15px) clamp(15px, 3vw, 25px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: clamp(12px, 2vw, 20px);
    border: 2px solid #dc2626;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
    position: relative;
    overflow: hidden;
}

.offer-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.offer-text {
    font-size: clamp(14px, 2.5vw, 20px);
    font-weight: 700;
    color: #dc2626;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: clamp(8px, 1.5vh, 12px);
}

.offer-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offer-lines {
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1vh, 12px);
}

/* Стили для текста инструкций в блоке предложения */
.offer-lines {
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-content {
    background: #ffffff;
    border-radius: clamp(10px, 1.5vw, 16px);
    padding: clamp(15px, 2vh, 20px) clamp(20px, 3vw, 25px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #dc2626;
    max-width: clamp(300px, 40vw, 450px);
    transition: all 0.3s ease;
}

.offer-content:hover {
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.15);
    border-color: #b91c1c;
    transform: translateY(-2px);
}

/* Специальные стили для инструкций */
.offer-content {
    border: 1px solid #dc2626;
}

.perfume-icon {
    width: clamp(60px, 8vw, 100px);
    height: clamp(60px, 8vw, 100px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.destination-info {
    font-size: clamp(24px, 4vw, 36px) !important;
    font-weight: 700;
    color: white !important;
    text-align: center;
    margin-bottom: clamp(10px, 2vh, 20px);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Кнопки */
.buttons {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: clamp(10px, 2vh, 20px);
    flex-direction: column;
    gap: clamp(6px, 1vh, 12px);
    width: 100%;
    margin-top: clamp(5px, 1vh, 10px);
}

.btn {
    padding: clamp(16px, 2.5vh, 24px) clamp(32px, 4vw, 48px);
    border: 2px solid #dc2626;
    border-radius: clamp(8px, 1.5vw, 16px);
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: lowercase;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-size: clamp(14px, 2.5vw, 18px);
    padding: clamp(8px, 1.5vh, 12px) clamp(20px, 4vw, 30px);
    border-radius: clamp(8px, 1.5vw, 12px);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: clamp(120px, 25vw, 200px);
    max-width: clamp(200px, 40vw, 300px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #dc2626;
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

/* Экран ошибки */
.error-message {
    text-align: center;
    max-width: 400px;
    background: #ffffff !important;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    border: 2px solid #dc2626;
    position: relative;
    z-index: 1000;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
}

.error-message::before {
    display: none !important;
}

.error-message h2 {
    color: #dc2626 !important;
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.error-message p,
#error-text {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 60px;
    line-height: 1.6;
    color: #1e293b !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: pre-line !important;
}

/* Экран ошибки */
#screen-error {
    z-index: 9999;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

#screen-error.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    flex-direction: column !important;
}

#screen-error .content {
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
}

#screen-error .btn {
    font-size: 18px !important;
    padding: 12px 0 !important;
    min-width: 120px !important;
    max-width: 200px !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header {
        padding: clamp(10px, 2vh, 20px) clamp(20px, 4vw, 30px);
    }
    
    .content {
        padding: clamp(20px, 3vh, 40px) clamp(10px, 3vw, 20px);
    }
    
    .cta-box {
        padding: clamp(30px, 6vh, 60px) clamp(40px, 8vw, 80px);
        max-width: 95vw;
    }
    
    .cta-text {
        font-size: clamp(18px, 5vw, 28px);
    }
    
    .cta-content {
        padding: clamp(15px, 2vh, 20px) clamp(20px, 3vw, 25px);
        max-width: clamp(300px, 40vw, 450px);
    }
    
    .cta-title {
        font-size: clamp(16px, 2.2vw, 24px);
    }
    
    .cta-lines .line:nth-child(1),
    .cta-lines .line:nth-child(5) {
        font-size: clamp(16px, 2.2vw, 24px);
    }
    
    .loading-text {
        font-size: clamp(20px, 6vw, 36px);
        margin-bottom: clamp(60px, 10vh, 120px);
    }
    
    .offer-text {
        font-size: clamp(18px, 5vw, 32px);
    }
    
    .offer-content {
        padding: clamp(10px, 1.5vh, 15px) clamp(15px, 2vw, 20px);
        max-width: clamp(250px, 35vw, 350px);
    }
    
    .dot-line {
        height: 1px;
    }
    
    .offer-line:nth-child(1),
    .offer-line:nth-child(5) {
        font-size: clamp(12px, 1.5vw, 16px);
    }
    
    .content-block {
        flex-direction: column;
        gap: clamp(15px, 3vh, 30px);
        padding: clamp(15px, 3vh, 30px);
    }
    
    .destination-image {
        width: clamp(150px, 60vw, 280px);
        height: clamp(90px, 35vw, 160px);
    }
    
    .travel-message {
        min-width: auto;
        padding: clamp(20px, 4vh, 40px);
        min-height: auto;
    }
    
    .buttons {
        flex-direction: column;
        gap: clamp(10px, 2vh, 20px);
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .airplane-animation {
        width: clamp(300px, 90vw, 600px);
        height: clamp(150px, 45vh, 300px);
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: clamp(20px, 6vw, 24px);
    }
    
    .logo-subtext {
        font-size: clamp(10px, 3vw, 12px);
    }
    
    .website {
        font-size: clamp(12px, 3.5vw, 14px);
    }
    
    .destination-info {
        font-size: clamp(24px, 8vw, 32px);
    }
    
    .offer-text {
        font-size: clamp(16px, 6vw, 18px);
    }
    
    .message-icon {
        width: clamp(14px, 4vw, 16px);
        height: clamp(14px, 4vw, 16px);
    }
    
    .perfume-icon {
        width: clamp(40px, 12vw, 60px);
        height: clamp(40px, 12vw, 60px);
    }
    
    .offer-content {
        padding: clamp(8px, 1.2vh, 12px) clamp(12px, 1.8vw, 18px);
        max-width: clamp(200px, 30vw, 280px);
    }
    
    .cta-content {
        padding: clamp(10px, 1.5vh, 15px) clamp(15px, 2vw, 20px);
        max-width: clamp(250px, 35vw, 350px);
    }
    
    .cta-title {
        font-size: clamp(14px, 2vw, 18px);
    }
}

@media (max-height: 700px) {
    .content {
        padding: clamp(2px, 0.5vh, 5px) clamp(15px, 3vw, 25px);
    }
    
    .cta-box {
        padding: clamp(15px, 3vh, 25px) clamp(30px, 6vw, 50px);
    }
    
    .loading-text {
        margin-bottom: clamp(30px, 6vh, 50px);
    }
    
    .content-block {
        margin-bottom: clamp(2px, 0.5vh, 5px);
        padding: clamp(2px, 0.5vh, 5px);
        gap: clamp(2px, 0.5vh, 5px);
    }
    
    .offer-block {
        margin-bottom: clamp(2px, 0.5vh, 5px);
        padding: clamp(5px, 1vh, 10px) clamp(10px, 2vw, 20px);
    }
    
    .travel-message {
        margin-bottom: clamp(2px, 0.5vh, 5px);
        padding: clamp(5px, 1vh, 10px);
    }
    
    .destination-info {
        margin-bottom: clamp(2px, 0.5vh, 5px);
        font-size: clamp(14px, 2.5vw, 20px);
    }
    
    .offer-text {
        margin-bottom: clamp(5px, 1vh, 8px);
        font-size: clamp(12px, 2vw, 16px);
    }
    
    .message-item {
        font-size: clamp(9px, 1.5vw, 12px);
        margin-bottom: clamp(2px, 0.5vh, 5px);
    }
    
    .message-icon {
        width: clamp(8px, 1.5vw, 12px);
        height: clamp(8px, 1.5vw, 12px);
        margin-right: clamp(4px, 0.8vw, 8px);
    }
    
    .destination-image {
        width: 100% !important;
        height: clamp(35px, 12vw, 60px) !important;
        border-radius: 0 !important;
    }
    
    .btn {
        font-size: clamp(12px, 2vw, 16px);
    }
    
    .cta-content {
        padding: clamp(8px, 1.2vh, 12px) clamp(12px, 1.8vw, 18px);
        max-width: clamp(200px, 30vw, 280px);
        margin: clamp(2px, 0.4vh, 4px) clamp(5px, 1vw, 10px);
    }
    
    .cta-title {
        font-size: clamp(12px, 1.8vw, 16px);
    }
    
    .offer-content {
        padding: clamp(6px, 1vh, 8px) clamp(10px, 1.5vw, 12px);
        max-width: clamp(180px, 25vw, 220px);
        margin-bottom: clamp(2px, 0.3vh, 3px);
    }
    
    .dot-line {
        height: 1px;
    }
} 