﻿/* в•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђ
   ONBOARDING V3 вЂ” CSS
   Part 1: Registration step hints
   Part 2: Personalized finish screen
   Part 3: In-app guided tour
   Part 4: Dating hints
   Part 5: "?" help button
   в•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђ */

/* в”Ђв”Ђв”Ђ PART 1: Registration Step Hints в”Ђв”Ђв”Ђ */

.ob-hint-bubble {
  position: relative;
  background: var(--accent, #6C5CE7);
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  animation: obHintIn 0.4s ease-out;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.25);
}

.ob-hint-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 24px;
  width: 16px;
  height: 16px;
  background: var(--accent, #6C5CE7);
  transform: rotate(45deg);
  border-radius: 2px;
}

.ob-hint-bubble .ob-hint-icon {
  font-size: 18px;
  margin-right: 6px;
}

.ob-hint-bubble .ob-hint-dismiss {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.ob-hint-bubble .ob-hint-dismiss:active {
  background: rgba(255,255,255,0.35);
}

@keyframes obHintIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ob-hint-bubble.hiding {
  animation: obHintOut 0.25s ease-in forwards;
}

@keyframes obHintOut {
  to { opacity: 0; transform: translateY(-8px); }
}

/* в”Ђв”Ђв”Ђ PART 2: Welcome Overlay (centered modal on profile) в”Ђв”Ђв”Ђ */

.ob-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.ob-welcome-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.ob-welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ob-welcome-card {
  position: relative;
  z-index: 1;
  background: #16213e;
  border-radius: 20px;
  padding: 28px 22px 24px;
  max-width: 340px;
  width: 90vw;
  text-align: center;
  box-shadow: 0 12px 40px rgba(108, 92, 231, 0.25);
  border: 1px solid rgba(108, 92, 231, 0.2);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s ease;
}
.ob-welcome-overlay.visible .ob-welcome-card {
  transform: scale(1) translateY(0);
}

.ob-welcome-confetti-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.ob-welcome-confetti-piece {
  position: absolute;
  top: -10px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  animation: obWelcomeConfetti 2s ease-in forwards;
}
@keyframes obWelcomeConfetti {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}

.ob-welcome-greeting {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.3;
}

.ob-welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 18px;
}

.ob-welcome-item {
  background: #1a1a2e;
  border-radius: 14px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ob-welcome-item-icon {
  font-size: 26px;
}

.ob-welcome-item-label {
  font-size: 10px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ob-welcome-item-value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.ob-welcome-hint {
  font-size: 13px;
  color: #aaa;
  margin: 0 0 16px;
  line-height: 1.4;
}

.ob-welcome-hint strong {
  color: var(--accent, #6C5CE7);
  font-size: 15px;
}

.ob-welcome-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: var(--accent, #6C5CE7);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.ob-welcome-btn:active {
  opacity: 0.85;
}

/* в”Ђв”Ђв”Ђ PART 3: In-App Guided Tour в”Ђв”Ђв”Ђ */

.ob-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: auto;
}

.ob-tour-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  transition: opacity 0.3s;
}

.ob-tour-spotlight {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.6);
  z-index: 1;
  pointer-events: none;
  transition: all 0.35s ease;
}

.ob-tour-tooltip {
  position: absolute;
  z-index: 2;
  background: #16162a;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 18px 16px;
  max-width: 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: tourTipIn 0.35s ease-out;
}

.ob-tour-tooltip h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.ob-tour-tooltip p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #aaa;
}

.ob-tour-arrow {
  position: absolute;
  width: 32px;
  height: 32px;
  color: var(--accent, #6C5CE7);
  animation: tourArrowBounce 1s ease-in-out infinite;
}

.ob-tour-arrow.arrow-down { bottom: -36px; left: 50%; transform: translateX(-50%); }
.ob-tour-arrow.arrow-up   { top: -36px; left: 50%; transform: translateX(-50%) rotate(180deg); }
.ob-tour-arrow.arrow-left { left: -36px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.ob-tour-arrow.arrow-right{ right: -36px; top: 50%; transform: translateY(-50%) rotate(-90deg); }

@keyframes tourArrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}

.ob-tour-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ob-tour-skip {
  padding: 8px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #aaa;
  font-size: 13px;
  cursor: pointer;
}

.ob-tour-next {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: var(--accent, #6C5CE7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ob-tour-next:active { opacity: 0.85; }

.ob-tour-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

.ob-tour-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #555;
  transition: background 0.2s;
}

.ob-tour-dot.active {
  background: var(--accent, #6C5CE7);
  width: 16px;
  border-radius: 3px;
}

@keyframes tourTipIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* в”Ђв”Ђв”Ђ PART 4: Dating Hints в”Ђв”Ђв”Ђ */

.ob-dating-hint {
  position: absolute;
  z-index: 100;
  background: var(--accent, #6C5CE7);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  max-width: 220px;
  box-shadow: 0 4px 16px rgba(108,92,231,0.3);
  animation: obHintIn 0.35s ease-out;
}

.ob-dating-hint::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent, #6C5CE7);
  transform: rotate(45deg);
  border-radius: 2px;
}

.ob-dating-hint.hint-top::before {
  bottom: -6px;
  left: var(--arrow-left, 50%);
  margin-left: -6px;
}

.ob-dating-hint.hint-bottom::before {
  top: -6px;
  left: var(--arrow-left, 50%);
  margin-left: -6px;
}

.ob-dating-hint .ob-dh-dismiss {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 7px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  font-size: 12px;
  cursor: pointer;
}

/* в”Ђв”Ђв”Ђ PART 5: "?" Help Button в”Ђв”Ђв”Ђ */

.ob-help-fab {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 68px);
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent, #6C5CE7);
  color: #fff;
  border: none;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(108,92,231,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}

.ob-help-fab:active {
  transform: scale(0.92);
}

.ob-help-fab.hidden {
  display: none;
}

/* Help menu popup */
.ob-help-menu {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 120px);
  right: 16px;
  background: #16162a;
  border: 1px solid #333;
  border-radius: 14px;
  padding: 8px 0;
  min-width: 200px;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: helpMenuIn 0.2s ease-out;
  color: #fff;
  color-scheme: dark;
}

.ob-help-menu.hidden,
.ob-help-menu[hidden] {
  display: none;
}

@keyframes helpMenuIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ob-help-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  color: #fff !important;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.ob-help-menu-item:active {
  background: rgba(108,92,231,0.15);
}

.ob-help-menu-item .ob-hm-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

/* Header "?" button */
.ph-topbar-help {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.ph-topbar-help:active {
  background: rgba(108,92,231,0.3);
}

/* Dating header "?" button */
.d-topbar-help {
  font-size: 16px;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.d-topbar-help:active {
  background: rgba(108,92,231,0.3);
}

/* в”Ђв”Ђв”Ђ PART 6 extras: About App updated в”Ђв”Ђв”Ђ */

.about-systems-tabs {
  margin-top: 20px;
}

.about-tabs-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
}

.about-tab-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
}

.about-tab-item:last-child {
  border-bottom: none;
}

.about-tab-icon {
  font-size: 20px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-tab-info strong {
  font-size: 14px;
  color: #fff;
}

.about-tab-info span {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-top: 2px;
  line-height: 1.35;
}
