/* Astrologer profile page */

.back-link { font-size: 13.5px; font-weight: 600; color: var(--saffron-deep); display: flex; align-items: center; gap: 6px; }

.profile-hero { background: linear-gradient(135deg, var(--night), var(--night-2)); color: #fff; padding: 40px 24px 60px; position: relative; }
.hero-container { max-width: 1100px; margin: 0 auto; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.profile-avatar-wrap { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.profile-avatar-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.badge-online { position: absolute; bottom: 8px; right: 8px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 2px solid var(--night); text-transform: uppercase; }
.profile-info { flex: 1; min-width: 280px; }
.profile-info h1 { font-family: 'Cinzel', serif; font-size: 30px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.verified-tag { color: #1DA1F2; font-size: 18px; }
.profile-title { font-size: 14px; color: var(--saffron-light); margin-bottom: 12px; font-weight: 500; }
.profile-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag-pill { background: rgba(255,255,255,0.12); padding: 4px 12px; border-radius: 999px; font-size: 12px; color: rgba(255,255,255,0.9); }

.stats-container { max-width: 1100px; margin: -35px auto 40px; padding: 0 24px; position: relative; z-index: 2; }
.stats-grid { background: var(--white); border-radius: 18px; box-shadow: var(--shadow); border: 1px solid rgba(43,27,46,0.08); display: grid; grid-template-columns: repeat(4, 1fr); padding: 24px 16px; text-align: center; gap: 16px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.stat-item { border-right: 1px solid rgba(43,27,46,0.08); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Cinzel', serif; font-size: 26px; font-weight: 700; color: var(--saffron-deep); }
.stat-label { font-size: 12px; color: var(--ink-soft); font-weight: 600; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }

.section-wrap { max-width: 1100px; margin: 0 auto 48px; padding: 0 24px; }
.section-title { font-family: 'Cinzel', serif; font-size: 22px; color: var(--night); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.section-title::after { content: ''; flex: 1; height: 1px; background: rgba(43,27,46,0.12); }
.section-sub { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 24px; }

.kundli-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 850px) { .kundli-grid { grid-template-columns: 1fr; } }
.kundli-box, .video-box { background: var(--white); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); border: 1px solid rgba(43,27,46,0.06); }
.kundli-chart-sample { width: 100%; max-width: 320px; height: 320px; margin: 16px auto; border: 2px solid var(--saffron-deep); background: var(--cream-2); position: relative; display: flex; align-items: center; justify-content: center; }
.kundli-svg { width: 100%; height: 100%; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; background: #000; margin-top: 12px; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.rashi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.rashi-card { background: var(--white); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); border: 1px solid rgba(43,27,46,0.06); text-align: center; transition: transform .2s; cursor: pointer; }
.rashi-card:hover { transform: translateY(-4px); border-color: var(--saffron-light); }
.rashi-icon { font-size: 36px; margin-bottom: 8px; display: block; }
.rashi-name { font-weight: 700; font-size: 16px; color: var(--night); margin-bottom: 2px; }
.rashi-english { font-size: 12px; color: var(--saffron-deep); font-weight: 600; margin-bottom: 12px; }
.btn-watch-rashi { background: var(--cream-2); color: var(--saffron-deep); border: none; padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; width: 100%; }

.carousel-container { position: relative; width: 100%; overflow: hidden; padding: 10px 0 20px; }
.carousel-track { display: flex; gap: 20px; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.client-card { flex: 0 0 calc(33.333% - 14px); background: var(--white); border-radius: 18px; padding: 24px 20px; box-shadow: var(--shadow); border: 1px solid rgba(43,27,46,0.06); display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; }
@media (max-width: 900px) { .client-card { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 600px) { .client-card { flex: 0 0 100%; } }
.client-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.client-avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--saffron-light); flex-shrink: 0; }
.client-name { font-weight: 700; font-size: 15px; color: var(--night); }
.client-meta { font-size: 11.5px; color: var(--ink-soft); }
.client-stars { color: #FFB300; font-size: 12px; margin-top: 2px; }
.quote-icon { font-size: 24px; color: var(--saffron-light); line-height: 1; margin-bottom: 4px; }
.client-review-text { font-size: 13px; color: var(--ink); line-height: 1.55; font-style: italic; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.btn-nav-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(43,27,46,0.15); background: var(--white); color: var(--night); font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.btn-nav-arrow:hover { background: var(--saffron-deep); color: #fff; border-color: transparent; }
.dots-wrapper { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(43,27,46,0.2); cursor: pointer; transition: background .2s, width .2s; }
.dot.active { background: var(--saffron-deep); width: 22px; border-radius: 999px; }

.sticky-action-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: rgba(36,27,58,0.95); backdrop-filter: blur(10px); border-top: 1px solid rgba(212,175,55,0.3); padding: 12px 24px; }
.bar-content { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price-tag { color: #fff; font-size: 13px; }
.price-tag strong { font-size: 18px; color: var(--gold); }
.bar-buttons { display: flex; gap: 10px; }
.btn-bar { padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; display: flex; align-items: center; gap: 6px; font-family: inherit; }
.btn-bar-chat { background: var(--green-bg); color: var(--green); }
.btn-bar-call { background: linear-gradient(135deg, var(--saffron), var(--saffron-deep)); color: #fff; }
.btn-bar-video { background: var(--gold); color: var(--night); }

.chat-window { position: fixed; bottom: 80px; right: 24px; width: 360px; max-width: calc(100vw - 48px); height: 480px; background: var(--white); border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.25); border: 1px solid rgba(43,27,46,0.12); display: none; flex-direction: column; z-index: 1000; overflow: hidden; }
.chat-header { background: var(--night); color: #fff; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); }
.chat-title { font-size: 13.5px; font-weight: 600; }
.chat-status { font-size: 10px; color: var(--saffron-light); }
.close-chat { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.chat-body { flex: 1; padding: 16px; background: var(--cream); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; }
.chat-msg.astrologer { background: var(--white); color: var(--ink); border-bottom-left-radius: 2px; align-self: flex-start; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.chat-msg.user { background: var(--saffron-deep); color: #fff; border-bottom-right-radius: 2px; align-self: flex-end; }
.chat-input-area { padding: 10px; background: var(--white); border-top: 1px solid rgba(43,27,46,0.08); display: flex; gap: 8px; align-items: center; }
.chat-input { flex: 1; border: 1px solid rgba(43,27,46,0.15); border-radius: 999px; padding: 8px 14px; font-size: 12.5px; outline: none; font-family: inherit; }
.btn-send { background: var(--saffron-deep); color: #fff; border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; }

.modal-card { background: var(--white); border-radius: 18px; padding: 28px 24px; width: 90%; max-width: 380px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.modal-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); margin: 0 auto 12px; }
.modal-title { font-family: 'Cinzel', serif; font-size: 18px; color: var(--night); margin-bottom: 4px; }
.modal-sub { font-size: 12px; color: var(--ink-soft); margin-bottom: 20px; }
.modal-actions { display: flex; gap: 12px; justify-content: center; }
.btn-modal { padding: 10px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; font-family: inherit; }
.btn-modal-cancel { background: var(--cream-2); color: var(--ink); }
.btn-modal-connect { background: var(--green); color: #fff; }

main { padding-bottom: 90px; }
