/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #1E1E1E;
    padding: clamp(12px, 2vh, 20px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Main Container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(20px, 4vh, 40px);
    gap: clamp(16px, 3vh, 30px);
    width: 100%;
    max-width: 800px;
    background: #FFFFFF;
    border: 1px solid #F2F2F2;
    border-radius: 24px;
    animation: fadeIn 0.5s ease-out;
}

/* Top Notification Block */
.notification-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(16px, 3vh, 30px);
    gap: clamp(8px, 1.5vh, 16px);
    width: 100%;
    background: #F9F9F9;
    border: 1px solid #F2F2F2;
    border-radius: 24px;
}

.notification-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(10px, 1.5vw, 16px);
    width: 100%;
}

.icon-info {
    width: clamp(24px, 3vh, 32px);
    height: clamp(24px, 3vh, 32px);
    flex-shrink: 0;
}

.notification-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(4px, 1vh, 8px);
    flex-grow: 1;
}

.notification-title {
    font-weight: 500;
    font-size: clamp(16px, 2.2vh, 20px);
    line-height: 1.5;
    color: #1E1E1E;
}

.notification-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: gap 0.2s ease;
}

.notification-link:hover {
    gap: 8px;
}

.notification-link span {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #666666;
    transition: color 0.2s ease;
}

.notification-link:hover span {
    color: #696EC5;
}

.icon-chevron {
    width: 16px;
    height: 16px;
}

.notification-link:hover .icon-chevron path {
    stroke: #696EC5;
}

/* Divider */
.divider {
    width: 100%;
    height: 1px;
    background: #E6E6E6;
}

/* Middle Promo Block */
.promo-block {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    background: #F9F9F9;
    border: 1px solid #F2F2F2;
    border-radius: 24px;
    overflow: hidden;
}

.promo-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(16px, 3vh, 30px);
    gap: clamp(12px, 2vh, 20px);
    flex: 1;
    min-width: 0;
    max-width: 55%;
    z-index: 1;
}

.promo-title {
    font-weight: 500;
    font-size: clamp(16px, 2.2vh, 20px);
    line-height: 1.4;
    color: #1E1E1E;
}

.promo-title a {
    color: #696EC5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.promo-title a:hover {
    color: #585db0;
    text-decoration: underline;
}

.promo-text {
    font-weight: 400;
    font-size: clamp(14px, 1.8vh, 16px);
    line-height: 1.5;
    color: #666666;
}

.promo-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 16px;
    gap: 8px;
    height: clamp(40px, 5vh, 44px);
    background: #696EC5;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
}

.promo-btn:hover {
    background: #585db0;
}

.promo-btn span {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #FFFFFF;
    white-space: nowrap;
}

.icon-chevron-btn {
    width: clamp(20px, 2.5vh, 24px);
    height: clamp(20px, 2.5vh, 24px);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.promo-btn:hover .icon-chevron-btn {
    transform: translateX(3px);
}

.promo-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%;
    display: flex;
}

.promo-image-wrapper .promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Footer Text Block */
.footer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(12px, 2vh, 20px);
    width: 100%;
}

.footer-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
    color: #666666;
    text-align: left;
    width: 100%;
}

.footer-text p {
    margin-bottom: clamp(6px, 1vh, 12px);
}

.footer-text p:last-child {
    margin-bottom: 0;
}

.footer-signature {
    font-style: normal;
}

.footer-signature b {
    color: #1E1E1E;
}

.support-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #B3B3B3;
    text-align: center;
}

.support-link {
    color: #696EC5;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.support-link:hover {
    color: #585db0;
    text-decoration: underline;
}

/* Responsive Design - ширина */
@media (max-width: 700px) {
    .promo-content {
        max-width: 100%;
    }
    
    .promo-image-wrapper {
        display: none;
    }
}

@media (max-width: 480px) {
    body {
        padding: 8px;
        align-items: flex-start;
    }
    
    .container {
        padding: 16px;
        gap: 16px;
        border-radius: 16px;
    }
    
    .notification-block {
        padding: 16px;
        border-radius: 16px;
    }
    
    .promo-block {
        border-radius: 16px;
    }
    
    .promo-content {
        padding: 16px;
        gap: 12px;
    }
    
    .notification-title {
        font-size: 16px;
    }
    
    .promo-title {
        font-size: 16px;
    }
    
    .promo-text {
        font-size: 14px;
    }
    
    .promo-btn {
        width: 100%;
        height: 44px;
    }
    
    .promo-btn span {
        font-size: 16px;
    }
    
    .footer-block {
        gap: 12px;
    }
    
    .footer-text {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .footer-text p {
        margin-bottom: 12px;
    }
    
    .support-text {
        font-size: 14px;
    }
    
    .icon-info {
        width: 24px;
        height: 24px;
    }
}

/* Адаптив по высоте */
@media (max-height: 650px) {
    .footer-text p {
        margin-bottom: 4px;
    }
}