/* ==========================================================================
   WIN WITH MEDITATION (winwithmeditation.com)
   Design System & Stylesheet - Clean & Minimalist Light Mode (English & Hindi)
   ========================================================================== */

:root {
  --bg-primary: #F7F5F0;
  --bg-card: #FFFFFF;
  --bg-secondary: #EFECE6;
  --accent-sage: #4E785E;
  --accent-sage-hover: #3E624C;
  --accent-sage-light: #E4EFE7;
  --accent-sand: #C99663;
  --accent-sand-light: #F9EFE6;
  --accent-lavender: #7E6BB0;
  --accent-lavender-light: #F0ECF8;
  
  --text-main: #1C2B21;
  --text-muted: #5C6A60;
  --text-light: #8C9990;
  
  --border-color: rgba(78, 120, 94, 0.15);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 999px;
  
  --shadow-sm: 0 2px 8px rgba(28, 43, 33, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(28, 43, 33, 0.07);
  --shadow-lg: 0 20px 45px -10px rgba(78, 120, 94, 0.14);
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
}

em {
  font-style: italic;
  color: var(--accent-sage);
}

.subheading {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-sage);
  margin-bottom: 8px;
}

/* Announcement Bar */
.top-announcement {
  background: var(--accent-sage-light);
  color: var(--accent-sage);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.btn-text-sm {
  background: transparent;
  border: none;
  color: var(--accent-sage);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--border-radius-pill);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-text-sm:hover {
  background: rgba(78, 120, 94, 0.12);
}

/* Header Navigation */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.site-domain {
  font-size: 0.72rem;
  color: var(--accent-sage);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.mobile-nav-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  font-size: 1.2rem;
  color: var(--text-main);
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  min-height: 44px;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-sage);
  background: var(--accent-sage-light);
}

.btn-admin-pill {
  background: var(--text-main);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  min-height: 44px;
}

.btn-admin-pill:hover {
  background: var(--accent-sage);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
  padding: 40px 0 32px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-sand-light);
  color: var(--accent-sand);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-sage);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-md);
  min-height: 48px;
}

.btn-primary:hover {
  background: var(--accent-sage-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary-sm {
  background: var(--accent-sage);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  min-height: 44px;
}

.btn-primary-sm:hover {
  background: var(--accent-sage-hover);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 14px 28px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  min-height: 48px;
}

.btn-secondary:hover {
  background: var(--accent-sage-light);
  border-color: var(--accent-sage);
  color: var(--accent-sage);
}

/* Quote Card */
.quote-card {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-sand);
  padding: 18px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-icon {
  font-size: 1.3rem;
  color: var(--accent-sand);
  opacity: 0.5;
  margin-bottom: 6px;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 4px;
}

.quote-author {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Featured Card */
.hero-featured-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition-normal);
}

.hero-featured-card:hover {
  transform: translateY(-4px);
}

.featured-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.featured-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-featured-card:hover .featured-img-wrapper img {
  transform: scale(1.05);
}

.featured-overlay-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(28, 43, 33, 0.75);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--border-radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
}

.featured-card-body {
  padding: 20px;
}

.featured-title {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.featured-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.featured-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid var(--bg-secondary);
  padding-top: 14px;
}

/* Search & Mood Bar */
.search-mood-section {
  padding: 16px 0 32px;
}

.search-mood-box {
  background: var(--bg-card);
  padding: 18px 24px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  align-items: center;
}

.mood-selector {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mood-selector label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.styled-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  outline: none;
  cursor: pointer;
  min-height: 44px;
}

.styled-select-sm, .styled-select-xs {
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  outline: none;
  min-height: 40px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
}

.search-input-wrapper input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  min-height: 44px;
}

/* Library Section */
.library-section {
  padding: 32px 0 48px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.section-title {
  font-size: 2rem;
}

.filter-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  background: var(--bg-secondary);
  padding: 4px;
  border-radius: var(--border-radius-pill);
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 8px 14px;
  border-radius: var(--border-radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  min-height: 38px;
}

.filter-btn.active {
  background: var(--bg-card);
  color: var(--accent-sage);
  box-shadow: var(--shadow-sm);
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 28px;
  -webkit-overflow-scrolling: touch;
}

.category-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.category-tab:hover, .category-tab.active {
  background: var(--accent-sage);
  color: white;
  border-color: var(--accent-sage);
}

/* Meditation Grid */
.meditation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.meditation-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.meditation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.badge-lang {
  background: rgba(28, 43, 33, 0.85);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
}

.badge-category {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
}

.badge-format {
  background: rgba(28, 43, 33, 0.88);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  margin-left: auto;
}

.card-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 33, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  color: var(--accent-sage);
  border: none;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.creator-note-snippet {
  background: var(--bg-primary);
  border-left: 3px solid var(--accent-sage);
  padding: 8px 12px;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--bg-secondary);
  font-size: 0.8rem;
  color: var(--text-light);
}

.rating-stars {
  color: var(--accent-sand);
  font-weight: 700;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px dashed var(--border-color);
  margin-top: 16px;
}

.empty-icon {
  font-size: 2.5rem;
  color: var(--accent-sage);
  opacity: 0.5;
  margin-bottom: 12px;
}

.hidden {
  display: none !important;
}

/* Dedicated Feedback & Testimonials Section */
.feedback-page-section {
  padding: 56px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--accent-sage-light) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.feedback-grid-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.feedback-form-card, .feedback-wall-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.feedback-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: var(--accent-sage);
}

.form-intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.margin-bottom-sm {
  margin-bottom: 14px;
}

.margin-bottom-md {
  margin-bottom: 20px;
}

.margin-top-sm {
  margin-top: 14px;
}

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

.rating-label-text {
  font-size: 0.82rem;
  color: var(--accent-sand);
  font-weight: 700;
}

.wall-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--bg-secondary);
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.wall-header h3 {
  font-size: 1.2rem;
}

.wall-filters {
  display: flex;
  gap: 6px;
}

.wall-filter-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--border-radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 36px;
}

.wall-filter-btn.active {
  background: var(--accent-sage);
  color: white;
  border-color: var(--accent-sage);
}

.feedback-wall-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 4px;
}

.wall-card-item {
  background: var(--bg-primary);
  padding: 16px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}

.wall-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.wall-author-title {
  font-weight: 700;
  font-size: 0.92rem;
}

.wall-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--border-radius-pill);
  background: var(--accent-lavender-light);
  color: var(--accent-lavender);
}

.wall-card-text {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 6px;
}

.wall-card-date {
  font-size: 0.74rem;
  color: var(--text-light);
}

/* Creator Story Section */
.creator-story-section {
  padding: 48px 0;
  background: var(--bg-secondary);
}

.creator-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.creator-content p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.creator-stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--bg-secondary);
  padding-top: 20px;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-sage);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.creator-image-box {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.creator-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.creator-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--accent-sage);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
}

/* Modals System */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(28, 43, 33, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-card {
  background: var(--bg-primary);
  width: 100%;
  max-width: 860px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ADMIN PASSCODE LOGIN & FORGOT MODAL STYLING */
.login-modal-card {
  max-width: 440px;
  padding: 32px 28px;
  text-align: center;
}

.login-header {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-icon-lg {
  width: 56px;
  height: 56px;
  background: var(--accent-sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
}

.login-header h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.login-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.login-form {
  text-align: left;
}

.login-error-badge {
  background: #FEE2E2;
  color: #DC2626;
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.forgot-link {
  color: var(--accent-sage);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.admin-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-logout-pill {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
  padding: 6px 12px;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-logout-pill:hover {
  background: #DC2626;
  color: white;
}

/* PLAYER MODAL STYLING & FIXED TAB HEADER FIX */
.player-modal-card {
  max-width: 940px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.player-header-container {
  background: var(--bg-card);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.player-media-view {
  width: 100%;
  height: 160px;
  background: #111B15;
  border-radius: var(--border-radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-media-view video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audio-visualizer-canvas {
  width: 100%;
  height: 100%;
}

.player-title-badge {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.player-title {
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.player-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Custom Player Controls */
.player-controls {
  background: var(--bg-primary);
  padding: 12px 14px;
  border-radius: var(--border-radius-md);
}

.time-display {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.styled-range {
  flex-grow: 1;
  accent-color: var(--accent-sage);
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
}

.styled-range-sm {
  width: 70px;
  accent-color: var(--accent-sage);
  height: 4px;
}

.buttons-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.main-playback-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-btn-sm {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-main);
}

.control-btn-lg {
  background: var(--accent-sage);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

/* PLAYER TABS HEADER FIX */
.player-tabs-header {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--bg-secondary);
  padding: 8px 16px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
  z-index: 15;
}

.player-tab-btn {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.player-tab-btn:hover {
  background: var(--bg-card);
  color: var(--accent-sage);
}

.player-tab-btn.active {
  background: var(--accent-sage);
  color: white;
  border-color: var(--accent-sage);
  box-shadow: var(--shadow-sm);
}

.player-tabs-body {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
  background: var(--bg-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Creator Experience Note */
.creator-experience-box {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--accent-sage);
  box-shadow: var(--shadow-sm);
}

.creator-experience-box h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--accent-sage);
}

.creator-experience-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 14px;
  white-space: pre-line;
}

.creator-signature {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Ambient Mixer */
.ambient-mixer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ambient-intro {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ambient-track {
  background: var(--bg-card);
  padding: 14px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}

.ambient-info {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
}

/* Reviews & Feedback */
.review-form {
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.review-form h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.star-rating-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.85rem;
}

.stars {
  color: #DDD;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  gap: 4px;
}

.star-btn.active, .fb-star-btn.active {
  color: var(--accent-sand);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.styled-input, .styled-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}

.styled-input:focus, .styled-textarea:focus {
  border-color: var(--accent-sage);
  background: white;
}

.divider {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 16px 0;
}

.review-item {
  background: var(--bg-card);
  padding: 14px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.review-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.review-author-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-light);
}

.review-comment {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Journal */
.journal-box {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}

.journal-box h3 {
  margin-bottom: 6px;
}

.journal-status {
  font-size: 0.78rem;
  color: var(--accent-sage);
  margin-top: 6px;
  font-weight: 600;
}

/* Box Breathing Modal */
.breathing-card {
  max-width: 480px;
  padding: 28px 20px;
  text-align: center;
}

.breathing-header {
  margin-bottom: 20px;
}

.breathing-header h2 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.breathing-circle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  margin-bottom: 24px;
}

.breathing-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-sage-light) 0%, rgba(78, 120, 94, 0.25) 100%);
  border: 3px solid var(--accent-sage);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(78, 120, 94, 0.2);
  transition: transform 4s ease-in-out, background-color 4s ease-in-out;
}

.breathing-circle.inhale {
  transform: scale(1.25);
  background: radial-gradient(circle, #D5EBE0 0%, rgba(78, 120, 94, 0.4) 100%);
}

.breathing-circle.hold {
  transform: scale(1.25);
  border-color: var(--accent-sand);
}

.breathing-circle.exhale {
  transform: scale(1);
  background: radial-gradient(circle, var(--accent-lavender-light) 0%, rgba(126, 107, 176, 0.25) 100%);
}

.breathing-inner-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.breathing-subtext {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-sage);
}

/* Admin Modal */
.admin-modal-card {
  max-width: 980px;
  padding: 24px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 12px;
}

.admin-top-badge {
  background: var(--accent-sage-light);
  color: var(--accent-sage);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: var(--border-radius-pill);
}

.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  min-height: 40px;
}

.admin-tab-btn.active {
  background: var(--accent-sage);
  color: white;
  border-color: var(--accent-sage);
}

.admin-tab-content {
  display: none;
  max-height: 480px;
  overflow-y: auto;
}

.admin-tab-content.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.full-width {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  cursor: pointer;
}

.admin-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 600px;
}

.admin-table th, .admin-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background: var(--bg-secondary);
  font-weight: 700;
  color: var(--text-muted);
}

.admin-table-thumb {
  width: 44px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
}

.btn-icon-danger {
  background: #FEE2E2;
  color: #DC2626;
  border: none;
  padding: 6px 10px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
}

.btn-icon-danger:hover {
  background: #DC2626;
  color: white;
}

.btn-icon-toggle {
  background: var(--accent-sage-light);
  color: var(--accent-sage);
  border: none;
  padding: 6px 10px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
}

/* Footer */
.main-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 28px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 4px 8px;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-light);
  border-top: 1px solid var(--bg-secondary);
  width: 100%;
  padding-top: 20px;
}

/* MOBILE RESPONSIVE AUDIT & TOUCH BREAKPOINTS */
@media (max-width: 850px) {
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .creator-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .search-mood-box {
    grid-template-columns: 1fr;
  }

  .feedback-grid-container {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .filter-controls {
    width: 100%;
    justify-content: space-between;
  }

  .ambient-mixer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions button {
    width: 100%;
  }

  .meditation-grid {
    grid-template-columns: 1fr;
  }
}
