/* Переменные и общие настройки */
:root {
    --main-blue: #0866FF;
    --bg-gray: #F0F2F5;
    --white: #FFFFFF;
    --text-dark: #1C1E21;
    --text-muted: #65676B;
    --shadow: 0 1px 2px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.5;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--bg-gray);
}

/* Шапка сайта */
header {
    background: var(--white);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    color: var(--main-blue);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.city-badge {
    background: #E4E6EB;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
}

.city-badge i { color: #f02849; margin-right: 4px; }

/* Главный блок (Hero) */
.hero {
    background: var(--white);
    margin: 16px;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрирование содержимого по горизонтали */
    text-align: center;
}

.hero h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.hero p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    max-width: 90%;
}

/* Центрированная кнопка */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-blue);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
    width: 100%;
    max-width: 260px; /* Ограничиваем ширину для красоты */
}

.cta-button i { margin-right: 8px; }
.cta-button:active { transform: scale(0.96); }

/* Инфо-секция */
.info-section {
    padding: 0 16px;
    display: grid;
    gap: 10px;
}

.info-card {
    background: var(--white);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow);
}

.info-icon { font-size: 20px; color: var(--main-blue); width: 24px; text-align: center; }
.info-text h3 { font-size: 14px; font-weight: 700; }
.info-text p { font-size: 13px; color: var(--text-muted); }

/* Сетка профилей */
.section-title {
    font-weight: 700;
    font-size: 16px;
    margin: 24px 16px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profiles-grid {
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Ровно две колонки */
    gap: 12px;
    margin-bottom: 40px;
}

.profile-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.profile-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.profile-info { padding: 10px; }
.profile-info h4 { font-size: 14px; font-weight: 700; }
.profile-info p { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }

.tag {
    background: #F0F2F5;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 5px;
    color: var(--text-dark);
}

/* Модальное окно (Телеграм верификация) */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.modal {
    background: var(--white);
    padding: 24px;
    width: 90%;
    max-width: 340px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-icon { font-size: 50px; color: #24A1DE; margin-bottom: 15px; }
.modal h3 { font-size: 18px; margin-bottom: 10px; }
.modal p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.btn-tg {
    background: #24A1DE;
    color: white;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-close {
    margin-top: 15px;
    background: none;
    border: none;
    color: var(--main-blue);
    font-weight: 600;
    font-size: 14px;
}

footer {
    padding: 40px 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* Стиль для кнопки поддержки */
.support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    width: 100%; /* На мобилках будет на всю ширину */
    max-width: 280px;
    padding: 12px;
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.support-button:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

/* Фикс для кнопок в Hero, чтобы они были друг под другом */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}