/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.5;
    min-height: 100vh;
}

/* Основная структура */
.page-wrapper {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../static/BN6T0LezSMy7noJapvIc_D6Cj3T2I0icghESm.jpg');
}

.content {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 12px 80px;
    width: 100%;
}

/* Секция профиля */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 12px 0 150px;
    width: 100%;
}

.profile-image {
    width: 96px;
    height: 96px;
    border-radius: 10%;
    display: block;
    object-fit: contain;
    margin-bottom: 16px;
  
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.profile-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    margin: 0 12px;
    max-width: 100%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Стили кнопок */
.button-container {
    position: relative;
    margin-bottom: 16px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #ffffff;
    border-radius: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #000000;
    text-decoration: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.button:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.button:hover::before {
    left: 100%;
}

.button:active {
    transform: translateY(0);
}

/* Специальная кнопка с анимацией       background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
.button-special {
    background: linear-gradient(135deg, #66b4ea 0%, #112086 100%);
    color: #ffffff;
    border-color: #667eea;
    animation: pulse 2s infinite, shake 3s linear infinite;
    padding: 20px 20px; /* Увеличиваем вертикальный padding */
    min-height: 80px; /* Минимальная высота для двух строк */
    display: flex;
    align-items: center;
    justify-content: center;
}





.button-special:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: #ffffff;
}

.button-special:active {
    animation: none;
}

/* Текст кнопок */
.button-text {
    padding: 0;
    margin: 0;
    line-height: 1.5;
    width: 100%;
    position: relative;
    z-index: 1;
}



* Специальные стили для двухстрочной кнопки консультации */
.consultation-button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.consultation-main-text {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
}

.consultation-sub-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.9;
}

/* Адаптивность для двухстрочной кнопки */
@media (max-width: 768px) {
    .consultation-main-text {
        font-size: 15px;
    }
    
    .consultation-sub-text {
        font-size: 11px;
    }
    
    .button-special {
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .consultation-main-text {
        font-size: 14px;
    }
    
    .consultation-sub-text {
        font-size: 10px;
    }
    
    .button-special {
        padding: 8px 14px;
    }
}
.boosty-text {
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(135deg, #ff6b6b, #ffa726);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.merch-text {
    font-weight: 700;
    color: #ff6b6b;
}

/* Анимации */
@keyframes shake {
    0% { transform: translateX(3px) rotate(1deg) translateY(-2px); }
    2.5% { transform: translateX(-3px) rotate(-1deg) translateY(-2px); }
    5% { transform: translateX(3px) rotate(1deg) translateY(-2px); }
    7.5% { transform: translateX(-3px) rotate(-1deg) translateY(-2px); }
    10% { transform: translateX(2px) rotate(1deg) translateY(-2px); }
    12.5% { transform: translateX(-2px) rotate(-1deg) translateY(-2px); }
    15% { transform: translateX(2px) rotate(1deg) translateY(-2px); }
    17.5% { transform: translateX(-2px) rotate(-1deg) translateY(-2px); }
    20% { transform: translateX(1px) rotate(1deg) translateY(-2px); }
    22.5% { transform: translateX(-1px) rotate(-1deg) translateY(-2px); }
    25% { transform: translateX(0) rotate(0) translateY(-2px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .content {
        padding: 20px 12px 60px;
    }
    
    .profile-image {
        width: 80px;
        height: 80px;
    }
    
    .profile-title {
        font-size: 15px;
    }
    
    .button {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .boosty-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 16px 10px 50px;
    }
    
    .profile-section {
        margin: 8px 0 150px;
    }
    
    .button {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .button-container {
        margin-bottom: 12px;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Улучшение доступности */
.button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .button:not(.button-special) {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        color: #ffffff;
        border-color: #4a5568;
    }
}





/* Стили для страницы консультации */
.consultation-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    
}

.consultation-container {
    max-width: 500px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.consultation-logo {
    width: 100px;
    height: 100px;
    border-radius: 10%;
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
   
}

.consultation-title {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #ffffff;
}

.consultation-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #ffffff;
}

/* Стили для формы Bitrix24 */
.b24-form {
    background: transparent !important;
}

.b24-form-wrapper {
    background: transparent !important;
    border: none !important;
}

.b24-form-content {
    background: transparent !important;
    padding: 0 !important;
}

.b24-form-control-container {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 10px !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
}

.b24-form-control-container:focus-within {
    border-color: #667eea !important;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2) !important;
}

.b24-form-control {
    background: transparent !important;
    color: white !important;
    border: none !important;
    padding: 15px !important;
    font-size: 16px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.b24-form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.b24-form-control-label {
    color: white !important;
    font-size: 14px !important;
    margin-bottom: 5px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.b24-form-control-required {
    color: #ff6b6b !important;
}

.b24-form-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 15px 30px !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-top: 10px !important;
}

.b24-form-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
}

.b24-form-header {
    display: none !important;
}

.b24-form-sign {
    margin-top: 20px !important;
}

.b24-form-sign-abuse-link {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 12px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.b24-form-sign-abuse-link:hover {
    color: white !important;
}

/* Кнопка назад для страницы консультации */
.consultation-back-button {
    display: inline-block;
    margin-top: 25px;
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.consultation-back-button:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Адаптивность для страницы консультации */
@media (max-width: 768px) {
    .consultation-container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .consultation-logo {
        width: 80px;
        height: 80px;
    }
    
    .consultation-title {
        font-size: 22px;
    }
    
    .consultation-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .consultation-container {
        padding: 25px 15px;
        margin: 15px;
    }
    
    .consultation-title {
        font-size: 20px;
    }
    
    .consultation-subtitle {
        font-size: 14px;
    }
    
    .b24-form-control {
        padding: 12px !important;
        font-size: 14px !important;
    }
    
    .b24-form-btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    
}
/* Контейнер для двух кнопок в ряд */
.double-button-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Половина ширины для каждой кнопки */
.button-half {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

/* Адаптив для маленьких экранов */
@media (max-width: 480px) {
    .double-button-row {
        gap: 10px;
    }
    .button-half {
        min-width: 120px;
        font-size: 14px;
    }
}