/* ============================================ */
/* ГЛОБАЛЬНЫЕ СБРОСЫ И ОСНОВНЫЕ СТИЛИ */
/* ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #F4EFE9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================ */
/* ОСНОВНЫЕ КОНТЕЙНЕРЫ */
/* ============================================ */
.app {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: radial-gradient(1200px 600px at 20% -10%, #FBE3D1 0%, transparent 60%),
                radial-gradient(900px 500px at 90% 110%, #EADFD2 0%, transparent 60%),
                #F4EFE9;
}

@media (min-width: 640px) {
    .app {
        align-items: center;
        padding: 2.5rem 0;
    }
}

.card {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: #FCFBF9;
    overflow: hidden;
}

@media (min-width: 640px) {
    .card {
        border-radius: 2.75rem;
        border: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 30px 80px -30px rgba(38,49,64,0.35);
    }
}

.content {
    position: relative;
    padding: 1.5rem 1.25rem 2rem;
}

@media (max-width: 480px) {
    .content {
        padding: 1rem 1rem 1.5rem;
    }
}

/* ============================================ */
/* АНИМАЦИИ */
/* ============================================ */
@keyframes pulse {
    50% { opacity: .5; }
}

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

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
}

/* ============================================ */
/* АНИМАЦИЯ КНОПКИ — ТОЛЬКО ДЛЯ СТРЕЛКИ */
/* ============================================ */
.shop-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-button:hover {
    background-color: #1f2834 !important;
}

.shop-button svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-button:hover svg {
    transform: translateX(4px);
}

/* ============================================ */
/* СТИЛИ ДЛЯ КНОПОК МАРКЕТПЛЕЙСОВ WB и OZON */
/* ============================================ */
.marketplace-link {
    display: inline-flex;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.marketplace-link:hover {
    background: rgba(232,165,144,0.15) !important;
    border-color: rgba(232,165,144,0.4) !important;
    transform: scale(0.95);
}

/* ============================================ */
/* СТИЛИ ДЛЯ КНОПКИ ЧАТ ПОДДЕРЖКИ */
/* ============================================ */
.support-link {
    display: inline-flex;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.support-link:hover {
    background: rgba(232,165,144,0.2) !important;
    transform: scale(0.95);
}

/* ============================================ */
/* СТИЛИ ДЛЯ МОДАЛЬНЫХ ТРИГГЕРОВ (Промокод и За регистрацию) */
/* ============================================ */
.modal-trigger {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-trigger:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* ============================================ */
/* СТИЛИ ДЛЯ СОЦИАЛЬНЫХ КНОПОК */
/* ============================================ */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    background: rgba(232,165,144,0.15) !important;
    border-color: rgba(232,165,144,0.4) !important;
    transform: scale(0.95);
}

/* ============================================ */
/* СТИЛИ ДЛЯ ССЫЛОК В ФУТЕРЕ */
/* ============================================ */
.footer-link {
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #B85E45 !important;
}

/* ============================================ */
/* ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ */
/* ============================================ */
.deco-circle {
    pointer-events: none;
}

/* ============================================ */
/* СТИЛИ ДЛЯ НАВИГАЦИИ (КРУЖКИ) */
/* ============================================ */
.nav-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: rgba(38,49,64,0.2);
    border-radius: 50%;
    vertical-align: middle;
}

/* ============================================ */
/* СТИЛИ ДЛЯ КАРТОЧЕК ПРЕИМУЩЕСТВ */
/* ============================================ */
.advantage-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 1.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 6px 24px -12px rgba(38,49,64,0.18);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.advantage-card:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.7) !important;
}

/* ============================================ */
/* СТИЛИ ДЛЯ ИКОНОК В КАРТОЧКАХ ПРЕИМУЩЕСТВ */
/* ============================================ */
.advantage-icon {
    width: 40px;
    height: 40px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251,207,166,0.35);
    border: 1px solid rgba(232,165,144,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.advantage-card:hover .advantage-icon {
    background: rgba(232,165,144,0.25);
    border-color: rgba(232,165,144,0.6);
    transform: scale(1.05);
}

.advantage-icon img {
    display: block;
    width: 20px;
    height: 20px;
}

/* ============================================ */
/* СТИЛИ ДЛЯ HERO-БЛОКА */
/* ============================================ */
.hero-section {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4/5;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 18px 50px -20px rgba(38,49,64,0.28);
    margin-bottom: 1.5rem;
    z-index: 1;
}

/* ============================================ */
/* СТИЛИ ДЛЯ ФОНА HERO-БЛОКА */
/* ============================================ */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================ */
/* СТИЛИ ДЛЯ БЛОКА ПРОМОКОДОВ (2 ПЛИТКИ) - ПОВЕРХ КАРТИНКИ */
/* ============================================ */
.promo-grid {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    z-index: 3;
}

.promo-code-tile {
    border-radius: 1rem;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.75);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 10px 30px -15px rgba(38,49,64,0.3);
}

.registration-bonus-tile {
    border-radius: 1rem;
    background: rgba(38,49,64,0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 10px 30px -15px rgba(38,49,64,0.4);
}

.tile-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tile-title {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
}

.promo-code-tile .tile-title {
    color: rgba(184,94,69,0.85);
}

.registration-bonus-tile .tile-title {
    color: #FBCFA6;
}

.tile-amount {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

.promo-code-tile .tile-amount {
    color: #263140;
}

.registration-bonus-tile .tile-amount {
    color: white;
}

.promo-code-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px dashed rgba(184,94,69,0.4);
    background: rgba(251,207,166,0.2);
    padding: 2px 6px;
    font-size: 10px;
    letter-spacing: 0.18em;
    font-family: monospace;
    color: #B85E45;
    cursor: pointer;
    transition: all 0.2s ease;
}

.promo-code-value:hover {
    background: rgba(251,207,166,0.4);
    transform: scale(1.02);
}

.bonus-description {
    font-size: 9px;
    line-height: 1.2;
    color: rgba(255,255,255,0.55);
}

.icon-promo {
    color: #B85E45;
}

.icon-gift {
    color: #FBCFA6;
}