/* -------------------- АСТРОЛОГ ВАДИМ ЧЕРКАСОВ -------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0c;
    font-family: 'Inter', sans-serif;
    color: #ededed;
    font-size: 18px;
    line-height: 1.5;
}

/* Контейнер */
.container-mystic {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Карточки */
.card-mystic {
    background: rgba(30, 30, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.25rem;
    padding: 1.5rem;
}

/* Кнопки */
.btn-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.btn-primary {
    background: #ffffff;
    color: #0a0a0c;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
    max-width: 280px;
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    max-width: 280px;
}
@media (min-width: 640px) {
    .btn-group {
        flex-direction: row;
    }
    .btn-primary, .btn-secondary {
        width: auto;
    }
}

/* ===== ФОРМА — ГЛАВНЫЙ ФИКС ===== */
#telegramForm input,
#telegramForm select,
#telegramForm textarea {
    background: #1a1a24 !important;
    border: 2px solid #ffffff !important;
    border-radius: 12px !important;
    padding: 14px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    width: 100% !important;
}

#telegramForm input::placeholder,
#telegramForm textarea::placeholder {
    color: #bbbbbb !important;
}

#telegramForm input:focus,
#telegramForm select:focus,
#telegramForm textarea:focus {
    background: #2a2a38 !important;
    border: 2px solid #ffffff !important;
    outline: none !important;
}

#telegramForm {
    background: #0a0a0f !important;
    padding: 20px !important;
    border-radius: 20px !important;
    border: 2px solid #333333 !important;
}

#submitBtn {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 14px 28px !important;
    border-radius: 40px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    border: none !important;
    cursor: pointer !important;
}

#telegramForm label {
    color: #dddddd !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

#telegramForm input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #ffffff !important;
}

#telegramForm .hidden {
    display: none !important;
}

/* Футер */
footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    text-align: center;
}

/* Анимации */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.divider-mystic {
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin: 1.5rem auto;
}

/* Фото */
.photo-frame {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}
.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
}
@media (max-width: 640px) {
    .photo-frame {
        width: 120px;
        height: 120px;
    }
}

/* Курсор */
@media (max-width: 768px) {
    .custom-cursor, .cursor-dot { display: none; }
}
.custom-cursor {
    width: 24px;
    height: 24px;
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}
.cursor-dot {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
}
/* ==================== КНОПКИ — ПОЛНЫЙ ФИКС ==================== */
.btn-primary, 
.btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 40px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

/* Десктоп */
@media (min-width: 641px) {
    .btn-primary, 
    .btn-secondary {
        padding: 0.85rem 2rem !important;
        font-size: 0.9rem !important;
        white-space: nowrap !important;
    }
}

/* Мобильные */
@media (max-width: 640px) {
    .btn-primary, 
    .btn-secondary {
        padding: 0.6rem 1rem !important;
        font-size: 0.7rem !important;
        white-space: nowrap !important;
        min-width: 120px !important;
    }
}

/* Очень маленькие телефоны */
@media (max-width: 380px) {
    .btn-primary, 
    .btn-secondary {
        padding: 0.5rem 0.7rem !important;
        font-size: 0.65rem !important;
        min-width: 100px !important;
    }
}