:root {
  color-scheme: dark;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Luxury Feminine Color Palette */
  --bg-deep: #05050e;
  --bg-card: #0e0e24;
  --bg-card-hover: #161635;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --color-gold: #fbbf24;
  --color-gold-glow: rgba(251, 191, 36, 0.15);
  --color-purple: #c084fc;
  --color-purple-dark: #6b21a8;
  --color-purple-light: #e9d5ff;
  --color-emerald: #10b981;
  --color-rose: #f472b6;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.6);
  --shadow-gold: 0 4px 14px rgba(251, 191, 36, 0.2);
}

body {
  margin: 0;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* Header styling */
.app-header {
  background: linear-gradient(180deg, rgba(14, 14, 36, 0.95) 0%, rgba(5, 5, 14, 0.9) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-logo__icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.4));
}

.app-logo__text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #fff 30%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.header-info {
  text-align: right;
}

.header-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-purple-light);
  margin: 0;
  letter-spacing: 0.5px;
}

.header-subtitle {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 2px 0 0 0;
}

/* Main View container */
.view-container {
  flex: 1;
  padding: 20px 20px 100px 20px; /* safety bottom margin for navigation */
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Bottom Nav bar */
.nav-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 14, 36, 0.95);
  border-top: 1px solid var(--border-color);
  z-index: 100;
  backdrop-filter: blur(12px);
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 64px;
  max-width: 640px;
  margin: 0 auto;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-muted);
  width: 20%;
  height: 100%;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.bottom-nav__item--active {
  color: var(--color-purple);
}

.bottom-nav__icon {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.bottom-nav__item--active .bottom-nav__icon {
  transform: translateY(-2px) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.4));
}

.bottom-nav__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.bottom-nav__item--active .bottom-nav__label {
  color: var(--color-purple-light);
}

/* Home / Section Headers */
.home-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 6px 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--color-purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: rgba(192, 132, 252, 0.3);
}

.stat-card__icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.stat-card__value {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.stat-card__label {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(192, 132, 252, 0.3);
}

.btn--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.btn--ghost {
  background: none;
  color: var(--text-secondary);
}

.btn--ghost:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.04);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn--full {
  width: 100%;
}

.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* Entries list */
.entries-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.entry-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.2s;
}

.entry-card:hover {
  transform: translateY(-2px);
}

.entry-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.entry-card__mood {
  font-size: 22px;
}

.entry-card__date {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.entry-card__delete {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}

.entry-card__delete:hover {
  color: #f87171;
}

.entry-card__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #fff;
}

.entry-card__text {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
  line-height: 1.5;
  white-space: pre-line;
}

.entry-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.tag--queen {
  background-color: rgba(192, 132, 252, 0.12);
  color: var(--color-purple-light);
  border: 1px solid rgba(192, 132, 252, 0.15);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  background-color: rgba(14, 14, 36, 0.4);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
}

.empty-state__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.empty-state__text {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.empty-state__hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
  backdrop-filter: blur(8px);
}

.modal {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal__header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.modal__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal__close:hover {
  color: var(--text-primary);
}

.modal__body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.modal__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Form inputs */
.label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  margin-top: 16px;
}

.label:first-of-type {
  margin-top: 0;
}

.input, .textarea {
  width: 100%;
  background-color: rgba(5, 5, 14, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  color: #fff;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--color-purple);
}

.mood-picker {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.mood-btn {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 24px;
  padding: 10px 0;
  cursor: pointer;
  transition: all 0.2s;
}

.mood-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.mood-btn--active {
  background-color: rgba(192, 132, 252, 0.15);
  border-color: var(--color-purple);
  transform: scale(1.05);
}

.energy-picker {
  display: flex;
  gap: 8px;
}

.energy-btn {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
}

.energy-btn--active {
  background-color: rgba(192, 132, 252, 0.15);
  border-color: var(--color-purple);
  color: #fff;
}

/* Queens View Styles */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip--active {
  background-color: rgba(192, 132, 252, 0.15);
  border-color: var(--color-purple);
  color: #fff;
}

.queens-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.queen-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s;
}

.queen-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--queen-color, var(--color-purple));
}

.queen-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.queen-card__avatar {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--queen-color, var(--color-purple));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.queen-card__avatar--lg {
  width: 64px;
  height: 64px;
  font-size: 32px;
}

.queen-card__info {
  flex: 1;
}

.queen-card__name {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.queen-card__title {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 2px 0 0 0;
  font-weight: 500;
}

.queen-card__stats {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  background-color: rgba(5, 5, 14, 0.3);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.queen-stat {
  display: flex;
  flex-direction: column;
}

.queen-stat__value {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.queen-stat__label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.queen-card__bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.queen-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.queen-card__tasks {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-bottom: 16px;
}

.tasks-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.task-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-purple);
  border-radius: var(--radius-full);
}

.queen-card__actions {
  display: flex;
  gap: 10px;
}

.queen-card__actions .btn {
  flex: 1;
}

/* Modal details */
.queen-bio-full {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.queen-exp-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
}

.queen-exp-box h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 4px 0;
}

.queen-exp-box p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* Chat view Styles */
.chat-header-section {
  background-color: rgba(14, 14, 36, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
}

.chat-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.chat-meta__item {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.chat-feed {
  background-color: rgba(5, 5, 14, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
  scroll-behavior: smooth;
}

.chat-bubble {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 85%;
}

.chat-bubble--sub {
  align-self: flex-start;
}

.chat-bubble--queen {
  align-self: flex-start;
}

.chat-bubble--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-bubble__avatar {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.chat-bubble--queen .chat-bubble__avatar {
  border-color: var(--color-purple);
  box-shadow: 0 0 6px rgba(192, 132, 252, 0.2);
}

.chat-bubble--user .chat-bubble__avatar {
  border-color: var(--color-rose);
  background-color: rgba(244, 114, 182, 0.1);
}

.chat-bubble__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-bubble__header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-bubble--user .chat-bubble__header {
  flex-direction: row-reverse;
}

.chat-bubble__name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.chat-bubble__name--queen {
  color: var(--color-purple-light);
}

.chat-bubble__time {
  font-size: 9.5px;
  color: var(--text-muted);
}

.chat-bubble__text {
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 0 12px 12px 12px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  margin: 0;
}

.chat-bubble--user .chat-bubble__text {
  border-radius: 12px 0 12px 12px;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.4) 0%, rgba(14, 14, 36, 0.8) 100%);
  border: 1px solid rgba(192, 132, 252, 0.25);
  color: #fff;
}

.chat-bubble--queen .chat-bubble__text {
  border: 1px solid rgba(192, 132, 252, 0.15);
  background-color: rgba(14, 14, 36, 0.75);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  width: fit-content;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: var(--radius-full);
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.chat-input-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.chat-input {
  flex: 1;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  transition: border-color 0.2s;
}

.chat-input:focus {
  outline: none;
  border-color: var(--color-purple);
}

.chat-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}

/* Private Chat View Styles */
.private-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(14, 14, 36, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.private-header__info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.private-header__name {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.private-header__status {
  font-size: 11px;
  color: var(--color-purple-light);
  margin: 1px 0 0 0;
  font-weight: 500;
}

.private-chat-area {
  background-color: rgba(5, 5, 14, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
  scroll-behavior: smooth;
}

.session-info {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
}

.session-info__item {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Subscription Gate */
.sub-gate {
  text-align: center;
  padding: 32px 20px;
  background: linear-gradient(180deg, rgba(14, 14, 36, 0.7) 0%, rgba(5, 5, 14, 0.95) 100%);
  border: 1px solid rgba(251, 191, 36, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold);
  margin-top: 10px;
}

.sub-gate__icon {
  font-size: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.4));
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.sub-gate__title {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 40%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 8px 0;
}

.sub-gate__text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 24px 0;
  padding: 0 10px;
}

.sub-plans {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.plan-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  text-align: left;
  transition: all 0.3s;
}

.plan-card--featured {
  border-color: rgba(251, 191, 36, 0.3);
  background: linear-gradient(185deg, rgba(251, 191, 36, 0.05) 0%, rgba(14, 14, 36, 0.4) 100%);
}

.plan-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--color-gold);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.plan-card__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #fff;
}

.plan-card__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.plan-card__features li {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  gap: 6px;
}

.plan-card__features li span:first-child {
  color: var(--color-gold);
}

.sub-gate__note {
  font-size: 11px;
  color: var(--text-muted);
  margin: 12px 0 0 0;
}

/* Queen Picker Modal in Private Chat */
.queen-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.queen-pick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.2s;
}

.queen-pick-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--color-purple);
}

/* Wellness Tab styles */
.wellness-tabs {
  display: flex;
  background-color: rgba(14, 14, 36, 0.8);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.wellness-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.wellness-tab--active {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.wellness-intro {
  background-color: rgba(14, 14, 36, 0.4);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.wellness-intro h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #fff;
}

.wellness-intro p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.wellness-intro--adult {
  border-color: rgba(244, 114, 182, 0.25);
}

.age-notice {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(244, 114, 182, 0.2);
  display: flex;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-rose);
}

/* News grid styles */
.news-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.news-card:hover {
  border-color: var(--color-purple);
}

.news-card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.news-card__icon {
  font-size: 22px;
}

.news-card__icon--lg {
  font-size: 36px;
}

.news-card__time {
  font-size: 10.5px;
  color: var(--text-muted);
}

.news-card__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #fff;
}

.news-card__excerpt {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0 0 10px 0;
}

/* Article modal body */
.article-body {
  margin-top: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-body p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* Mindfulness and adult well zone grids */
.mindful-grid, .wellzone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 480px) {
  .mindful-grid, .wellzone-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mindful-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mindful-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mindful-card__icon {
  font-size: 22px;
}

.mindful-card__duration {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.mindful-card__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #fff;
}

.mindful-card__desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0 0 14px 0;
  flex: 1;
}

.mindful-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wellzone-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wellzone-card__icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.wellzone-card__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #fff;
}

.wellzone-card__desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0 0 12px 0;
}

/* Toast styling */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background-color: rgba(14, 14, 36, 0.95);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast--visible {
  transform: translateY(0);
  opacity: 1;
}

.toast--success { border-color: rgba(16, 185, 129, 0.4); }
.toast--info { border-color: rgba(192, 132, 252, 0.4); }
.toast--warning { border-color: rgba(251, 191, 36, 0.4); }

/* Spinners */
.spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.spinner__ring {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(192, 132, 252, 0.1);
  border-top-color: var(--color-purple);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scrollbar Hiding */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Sub Love Testimonials */
.sub-love-container {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.testimonials-slider {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(14, 14, 36, 0.6) 0%, rgba(5, 5, 14, 0.4) 100%);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--color-purple);
  transform: translateY(-1px);
}

/* Login Gate Screen */
.login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 10px 0;
}

.login-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-header__crown {
  font-size: 40px;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.6));
}

.login-header__title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-top: 8px;
  background: linear-gradient(135deg, #fff 40%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-header__subtitle {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.login-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
}

.login-welcome {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-color);
}

.gender-picker {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.gender-btn {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.gender-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.gender-btn--active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
  border-color: var(--color-purple);
  color: #fff;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.2);
}

.login-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  padding: 0 10px;
}

/* Boutique Shopping layout */
.shop-section {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.product-card {
  background: linear-gradient(180deg, rgba(14, 14, 36, 0.8) 0%, rgba(5, 5, 14, 0.6) 100%);
}

.product-card:hover {
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.1);
  transform: translateY(-1px);
}

/* Compact Bottom navigation tweaks for 6 items */
@media (max-width: 480px) {
  .bottom-nav {
    height: 58px;
  }
  .bottom-nav__item {
    gap: 2px;
  }
  .bottom-nav__icon {
    font-size: 16px;
  }
  .bottom-nav__label {
    font-size: 8px;
    letter-spacing: 0;
  }
  .view-container {
    padding: 16px 16px 80px 16px;
  }
}

