/* ============================================
   MrsJuicyAss — Official Website
   Dark, sultry theme with magenta & gold accents
   ============================================ */

:root {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Dark Color Palette — Sultry Night */
  --color-bg: #0a0612;
  --color-bg-alt: #0f0a1a;
  --color-surface: #140e22;
  --color-surface-2: #1a1230;
  --color-surface-hover: #221738;
  --color-border: #2d1f4a;
  --color-border-light: #3d2a5e;

  --color-text: #f2edf7;
  --color-text-muted: #a99bbf;
  --color-text-faint: #6d5f88;

  --color-primary: #e8135e;
  --color-primary-hover: #ff1a6b;
  --color-primary-glow: rgba(232, 19, 94, 0.4);
  --color-primary-soft: rgba(232, 19, 94, 0.12);

  --color-gold: #e8c44e;
  --color-gold-hover: #f0d068;
  --color-gold-soft: rgba(232, 196, 78, 0.12);

  --color-purple: #9d3fed;
  --color-purple-soft: rgba(157, 63, 237, 0.15);

  --color-success: #4ade80;
  --color-online: #22c55e;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--color-primary-glow);
  --shadow-glow-gold: 0 0 30px rgba(232, 196, 78, 0.25);

  /* Fonts */
  --font-display: 'Clash Display', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* ============================================
   Layout & Sections
   ============================================ */

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--color-purple-soft), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, var(--color-primary-soft), transparent),
    var(--color-bg);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  position: relative;
}

/* ============================================
   Header / Navigation
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 6, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.header--hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
}

.logo svg {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-interactive);
}

.nav a:hover {
  color: var(--color-primary);
}

.nav a.active {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-interactive);
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-6);
    gap: var(--space-4);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--space-20);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 600px at 50% 40%, var(--color-primary-soft), transparent 70%),
    radial-gradient(circle 400px at 70% 60%, var(--color-purple-soft), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-default);
  padding-inline: var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary-hover);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-online);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, #fff 0%, var(--color-primary-hover) 50%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  font-weight: 400;
  line-height: 1.5;
}

.hero-tagline strong {
  color: var(--color-gold);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  transition: all var(--transition-interactive);
  box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-primary-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  transition: all var(--transition-interactive);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: var(--shadow-glow-gold);
}

.hero-stats {
  display: flex;
  gap: var(--space-12);
  justify-content: center;
  margin-top: var(--space-16);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary-hover);
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-1);
}

/* ============================================
   Section Headers
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary-hover);
  margin-bottom: var(--space-3);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 560px;
  margin-inline: auto;
}

/* ============================================
   About Section
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.about-text strong {
  color: var(--color-text);
}

.about-text .highlight {
  color: var(--color-gold);
  font-weight: 600;
}

.about-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
}

.about-card-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.about-card-image svg {
  width: 60%;
  height: auto;
  opacity: 0.9;
}

.about-card-info {
  display: grid;
  gap: var(--space-4);
}

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

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  font-weight: 500;
}

.info-value {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 600;
}

.info-value.accent {
  color: var(--color-primary-hover);
}

/* ============================================
   Chat Section
   ============================================ */

#chat {
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, var(--color-purple-soft), transparent 70%),
    var(--color-bg-alt);
  top: 0px;
}

.chat-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.chat-container {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  height: 757px;
  width: 758px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}

.chat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: #fff;
  position: relative;
  flex-shrink: 0;
}

.chat-avatar::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-online);
  border: 2px solid var(--color-surface-2);
}

.chat-header-info {
  flex: 1;
}

.chat-header-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
}

.chat-header-info span {
  font-size: var(--text-xs);
  color: var(--color-online);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

.message {
  max-width: 80%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.5;
  animation: msgAppear 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.message.bot {
  align-self: flex-start;
  background: var(--color-surface-hover);
  color: var(--color-text);
  border-bottom-left-radius: var(--space-1);
}

.message.user {
  align-self: flex-end;
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: var(--space-1);
}

/* Avatar next to bot messages */
.chat-messages > div:has(> .msg-avatar),
.chat-messages > div:has(> img) {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.chat-messages > .message.user {
  margin-left: auto;
}

.message.typing {
  display: flex;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
}

.message.typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-faint);
  animation: typingDot 1.4s infinite;
}

.message.typing span:nth-child(2) { animation-delay: 0.2s; }
.message.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input-wrapper {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
}

.chat-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-size: var(--text-sm);
  outline: none;
}

.chat-input::placeholder {
  color: var(--color-text-faint);
}

.chat-input:focus {
  border-color: var(--color-primary);
}

.chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-interactive);
}

.chat-send:hover {
  background: var(--color-primary-hover);
  transform: scale(1.05);
}

.chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-disclaimer {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
  padding-inline: var(--space-6);
}

/* ============================================
   Features Grid
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-interactive);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-primary-hover);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ============================================
   Platforms Section
   ============================================ */

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
}

.platform-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--transition-interactive);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
  align-items: center;
}

.platform-card:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.platform-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-primary-hover);
  transition: all var(--transition-interactive);
}

.platform-card:hover .platform-icon {
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
}

.platform-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
}

.platform-handle {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.platform-content {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ============================================
   Appearance / Stats Section
   ============================================ */

.appearance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-4);
}

.appearance-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-interactive);
}

.appearance-item:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-glow-gold);
}

.appearance-item .label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.appearance-item .value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-interactive);
}

.faq-item[open] {
  border-color: var(--color-primary);
}

.faq-question {
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: var(--color-text);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--color-primary-hover);
  transition: transform var(--transition-interactive);
  font-weight: 300;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.faq-answer strong {
  color: var(--color-gold);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  text-align: center;
  background:
    radial-gradient(circle 500px at 50% 50%, var(--color-primary-soft), transparent 70%);
}

.cta-box {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold), var(--color-primary));
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}

.cta-box p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  font-size: var(--text-base);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-16) var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-interactive);
}

.footer-col a:hover {
  color: var(--color-primary-hover);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-18 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary-hover);
}

/* ============================================
   Animations on Scroll
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   Divider
   ============================================ */

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  max-width: var(--content-default);
  margin-inline: auto;
}

/* ============================================
   Stimmungs-Widget (Chat) — Stimmungssystem
   ============================================ */

.mood-widget {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 16px 14px;
  margin: 0 14px 4px;
  border-radius: var(--radius-lg);
  background: var(--color-surface-hover);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: visible;
  top: 9px;
}

.mood-face {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-block;
  transform-origin: 50% 70%;
}

.mood-info { flex: 1; min-width: 0; }

.mood-name {
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: 1px;
  transition: color 0.3s;
}

.mood-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 5px;
}

.mood-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(232, 19, 94, 0.5);
}

.mood-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.mood-meta .mood-help {
  margin-left: auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mood-meta .mood-help:hover { transform: scale(1.15); background: var(--color-gold); color: #1a0f04; }

/* Schwebende Punkte-Anzeige (+1 / -3 ...) */
.mood-float {
  position: absolute;
  top: -14px;
  right: 16px;
  font-weight: 800;
  font-size: var(--text-md);
  pointer-events: none;
  z-index: 5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.mood-float-up {
  color: #4ade80;
  animation: mood-float-up 1.6s ease-out forwards;
}

.mood-float-down {
  color: #ff6b81;
  animation: mood-float-down 1.6s ease-out forwards;
}

@keyframes mood-float-up {
  0%   { opacity: 0; transform: translateY(8px) scale(0.7); }
  15%  { opacity: 1; transform: translateY(0) scale(1.2); }
  60%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-34px) scale(1); }
}

@keyframes mood-float-down {
  0%   { opacity: 0; transform: translateY(-8px) scale(0.7); }
  15%  { opacity: 1; transform: translateY(0) scale(1.2); }
  60%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(30px) scale(1); }
}

/* Neuer Rekord — goldenes Aufleuchten */
.mood-widget.mood-newhigh {
  animation: mood-newhigh 1.6s ease;
}

@keyframes mood-newhigh {
  0%, 100% { box-shadow: 0 0 0 rgba(232, 196, 78, 0); }
  30%, 70% { box-shadow: 0 0 24px rgba(232, 196, 78, 0.55), 0 0 60px rgba(232, 196, 78, 0.25); border-color: var(--color-gold); }
}

/* ============================================
   Stimmungsphasen — Gesicht + Balken-Farben
   (Phasen-Nummer = min-Punkte der Phase)
   ============================================ */

.mood-widget.mood-phase-0   .mood-bar-fill { background: linear-gradient(90deg, #7dd3fc, #38bdf8); }
.mood-widget.mood-phase-10  .mood-bar-fill { background: linear-gradient(90deg, #67e8f9, #22d3ee); }
.mood-widget.mood-phase-20  .mood-bar-fill { background: linear-gradient(90deg, #94a3b8, #64748b); }
.mood-widget.mood-phase-30  .mood-bar-fill { background: linear-gradient(90deg, #cbd5e1, #94a3b8); }
.mood-widget.mood-phase-40  .mood-bar-fill { background: linear-gradient(90deg, #f87171, #ef4444); }
.mood-widget.mood-phase-50  .mood-bar-fill { background: linear-gradient(90deg, #fb923c, #f97316); }
.mood-widget.mood-phase-60  .mood-bar-fill { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.mood-widget.mood-phase-70  .mood-bar-fill { background: linear-gradient(90deg, #e2e8f0, #94a3b8); }
.mood-widget.mood-phase-80  .mood-bar-fill { background: linear-gradient(90deg, #a7f3d0, #34d399); }
.mood-widget.mood-phase-90  .mood-bar-fill { background: linear-gradient(90deg, #86efac, #22c55e); }
.mood-widget.mood-phase-100 .mood-bar-fill { background: linear-gradient(90deg, #fde047, #eab308); }
.mood-widget.mood-phase-120 .mood-bar-fill { background: linear-gradient(90deg, #f0abfc, #e879f9); }
.mood-widget.mood-phase-140 .mood-bar-fill { background: linear-gradient(90deg, #f5d0fe, #d946ef); }
.mood-widget.mood-phase-160 .mood-bar-fill { background: linear-gradient(90deg, #fda4af, #fb7185); }
.mood-widget.mood-phase-180 .mood-bar-fill { background: linear-gradient(90deg, #fca5a5, #f87171); }
.mood-widget.mood-phase-200 .mood-bar-fill { background: linear-gradient(90deg, #f9a8d4, #ec4899); }
.mood-widget.mood-phase-220 .mood-bar-fill { background: linear-gradient(90deg, #fef08a, #facc15); }
.mood-widget.mood-phase-240 .mood-bar-fill { background: linear-gradient(90deg, #fda4af, #e11d48); }
.mood-widget.mood-phase-260 .mood-bar-fill { background: linear-gradient(90deg, #a5b4fc, #8b5cf6); }
.mood-widget.mood-phase-290 .mood-bar-fill { background: linear-gradient(90deg, #fde68a, #fbbf24); }
.mood-widget.mood-phase-320 .mood-bar-fill { background: linear-gradient(90deg, #f59e0b, #ef4444, #facc15, #e879f9); background-size: 200% 100%; animation: mood-bar-shift 1.2s linear infinite; }

@keyframes mood-bar-shift {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================
   Phasen-Animationen (Emoji-Gesichter)
   ============================================ */

.mood-phase-0   .mood-face { animation: mood-shiver 0.5s linear infinite; }
.mood-phase-10  .mood-face { animation: mood-shiver 0.9s linear infinite; }
.mood-phase-20  .mood-face { animation: mood-wobble 0.7s ease-in-out infinite; }
.mood-phase-30  .mood-face { animation: mood-shake 0.4s ease-in-out infinite; }
.mood-phase-40  .mood-face { animation: mood-steam 2s ease-in-out infinite; }
.mood-phase-50  .mood-face { animation: mood-sway 2.4s ease-in-out infinite; }
.mood-phase-60  .mood-face { animation: mood-tilt 1.6s ease-in-out infinite; }
.mood-phase-70  .mood-face { animation: mood-idle 3s ease-in-out infinite; }
.mood-phase-80  .mood-face { animation: mood-softpulse 2.2s ease-in-out infinite; }
.mood-phase-90  .mood-face { animation: mood-bounce-soft 1.6s ease-in-out infinite; }
.mood-phase-100 .mood-face { animation: mood-bounce 0.9s ease-in-out infinite; }
.mood-phase-120 .mood-face { animation: mood-wink 1.4s ease-in-out infinite; }
.mood-phase-140 .mood-face { animation: mood-wiggle 0.8s ease-in-out infinite; }
.mood-phase-160 .mood-face { animation: mood-flicker 1.1s ease-in-out infinite; }
.mood-phase-180 .mood-face { animation: mood-flame 0.8s ease-in-out infinite; }
.mood-phase-200 .mood-face { animation: mood-glow 1.4s ease-in-out infinite; }
.mood-phase-220 .mood-face { animation: mood-sparkle 1.2s linear infinite; }
.mood-phase-240 .mood-face { animation: mood-heartbeat 1s ease-in-out infinite; }
.mood-phase-260 .mood-face { animation: mood-rainbow 2s linear infinite; }
.mood-phase-290 .mood-face { animation: mood-halo 1.8s ease-in-out infinite; }
.mood-phase-320 .mood-face { animation: mood-boom 0.7s ease-in-out infinite; }

@keyframes mood-shiver {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px) rotate(-3deg); }
  75% { transform: translateX(2px) rotate(3deg); }
}

@keyframes mood-wobble {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(-14deg); }
  60% { transform: rotate(10deg); }
}

@keyframes mood-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

@keyframes mood-steam {
  0%, 100% { transform: scale(1) translateY(0); }
  40% { transform: scale(1.08) translateY(-3px); }
  80% { transform: scale(0.96) translateY(2px); }
}

@keyframes mood-sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(9deg); }
}

@keyframes mood-tilt {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(-12deg) translateY(-2px); }
  75% { transform: rotate(12deg) translateY(2px); }
}

@keyframes mood-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes mood-softpulse {
  0%, 100% { transform: scale(1); filter: none; }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.5)); }
}

@keyframes mood-bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes mood-bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-7px) scale(1.05); }
}

@keyframes mood-wink {
  0%, 90%, 100% { transform: scaleY(1); }
  92% { transform: scaleY(0.15); }
}

@keyframes mood-wiggle {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg) scale(1.05); }
}

@keyframes mood-flicker {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 4px rgba(248, 113, 113, 0.7)); }
  25% { transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 0 10px rgba(248, 113, 113, 1)); }
  75% { transform: translateY(2px) scale(0.98); }
}

@keyframes mood-flame {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.12) rotate(-4deg); }
  50% { transform: scale(0.95) rotate(4deg); }
  75% { transform: scale(1.08) rotate(-2deg); }
}

@keyframes mood-glow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(236, 72, 153, 0.6)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 16px rgba(236, 72, 153, 0.95)); transform: scale(1.1); }
}

@keyframes mood-sparkle {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(250, 204, 21, 0.6)); }
  50% { filter: drop-shadow(0 0 14px rgba(250, 204, 21, 1)); transform: scale(1.08) rotate(8deg); }
}

@keyframes mood-heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.18); }
  28% { transform: scale(1); }
  42% { transform: scale(1.18); }
  56% { transform: scale(1); }
}

@keyframes mood-rainbow {
  0%, 100% { filter: hue-rotate(0deg); transform: scale(1); }
  25% { transform: scale(1.1) rotate(-4deg); }
  50% { filter: hue-rotate(90deg); }
  75% { transform: scale(1.1) rotate(4deg); }
}

@keyframes mood-halo {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8)); }
  50% { transform: translateY(-5px) scale(1.06); filter: drop-shadow(0 0 22px rgba(251, 191, 36, 1)); }
}

@keyframes mood-boom {
  0%, 100% { transform: scale(1); filter: none; }
  20% { transform: scale(1.25) rotate(-6deg); filter: drop-shadow(0 0 18px rgba(244, 63, 94, 1)); }
  40% { transform: scale(0.9) rotate(5deg); }
  60% { transform: scale(1.18) rotate(-3deg); }
}

/* ============================================
   Quick-Reply-Chips (Chat)
   ============================================ */

.chat-quick-replies {
  display: flex;
  gap: 6px;
  padding: 0 12px 8px;
  flex-wrap: wrap;
}

.quick-reply {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-hover);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.quick-reply:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 19, 94, 0.18);
}

.quick-reply:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.quick-reply:disabled:hover {
  border-color: var(--color-border);
  color: var(--color-text);
  transform: none;
  box-shadow: none;
}

/* ============================================
   FAQ-Modal (Stimmungssystem-Hilfe)
   ============================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 2, 10, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modalFade 200ms ease;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  animation: modalPop 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-dialog h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.modal-dialog > p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.modal-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface-hover);
  color: var(--color-text);
  cursor: pointer;
  font-size: var(--text-sm);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-interactive);
}

.modal-close:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: rotate(90deg);
}

.mood-modal-rules {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.mood-rule {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.mood-rule .mood-rule-val {
  flex-shrink: 0;
  min-width: 34px;
  text-align: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-weight: 700;
}

.mood-rule.minus .mood-rule-val {
  background: rgba(255, 107, 129, 0.12);
  color: #ff6b81;
}

.modal-tip {
  background: var(--color-surface-hover);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   Galerie-Komponenten (erst galerie.html, seit
   2026-08-13 zentral — geteilt mit vip.html)
   ============================================ */

.gallery-hero {
  padding: var(--space-16) 0 var(--space-8);
  text-align: center;
  background: radial-gradient(ellipse at center top, rgba(157, 63, 237, 0.15), transparent 60%),
              radial-gradient(ellipse at center bottom, rgba(232, 19, 94, 0.1), transparent 50%);
}

.gallery-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3);
}

.gallery-hero p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
  padding: var(--space-8) 0 var(--space-16);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--color-surface-hover);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(232, 19, 94, 0.2);
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 6, 18, 0.9));
  padding: var(--space-6) var(--space-4) var(--space-3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 500;
}

.gallery-item-tag {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 3, 10, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s ease;
  will-change: transform;
  cursor: zoom-in;
}

.lightbox img.zoomed {
  cursor: zoom-out;
}

/* Lightbox-Steuerung: Zoom + Diashow */
.lightbox-controls {
  position: absolute;
  bottom: 116px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 5, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  z-index: 10;
  pointer-events: auto;
}

.lightbox-controls button {
  background: none;
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s;
}

.lightbox-controls button:hover {
  background: rgba(232, 19, 94, 0.35);
  color: var(--color-gold);
}

.lightbox-zoom-level {
  min-width: 48px;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
}

.lightbox-play {
  width: auto !important;
  padding: 0 14px;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.lightbox-play.playing {
  background: rgba(232, 196, 78, 0.22);
  color: var(--color-gold);
}

.lightbox-play.playing:hover {
  background: rgba(232, 196, 78, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-display);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(232, 19, 94, 0.8);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: var(--color-primary);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  top: 22px;
  left: 30px;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lightbox-info {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 80vw;
  pointer-events: none;
}

.lightbox-info .gallery-item-tag {
  margin-bottom: var(--space-2);
}

.lightbox-info .gallery-item-caption {
  font-size: var(--text-base);
  font-weight: 600;
}

.gallery-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  transition: color 0.2s;
}

.gallery-back:hover {
  color: var(--color-primary);
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--text-md);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: var(--color-surface-hover);
}

.gallery-tab:hover { transform: translateY(-2px); }

.gallery-tab.active {
  background: linear-gradient(135deg, rgba(232, 19, 94, 0.15), rgba(157, 63, 237, 0.15));
  border-color: var(--color-primary);
}

.gallery-tab.vip {
  border-color: rgba(232, 196, 78, 0.4);
  background: linear-gradient(135deg, rgba(232, 196, 78, 0.1), rgba(232, 19, 94, 0.1));
}

.gallery-tab.vip:hover {
  box-shadow: 0 8px 30px rgba(232, 196, 78, 0.2);
  transform: translateY(-2px);
}

.gallery-tab .tab-lock {
  font-size: var(--text-sm);
}

.gallery-cta {
  text-align: center;
  padding: var(--space-12) 0;
  background: linear-gradient(135deg, rgba(232, 19, 94, 0.08), rgba(157, 63, 237, 0.08));
  border-top: 1px solid var(--color-border);
}

.gallery-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
}

.gallery-cta p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

@media (max-width: 640px) {
  .chat-quick-replies { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
  .chat-quick-replies::-webkit-scrollbar { display: none; }
}

/* ============================================
   Chat-Fotos — Nachricht, Entsperren, Viewer
   ============================================ */

.message.photo-message {
  padding: var(--space-2);
  position: relative;
  cursor: pointer;
  max-width: 240px;
}

.message-photo {
  display: block;
  width: 100%;
  max-width: 220px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.message-photo.blurred {
  filter: blur(12px) saturate(0.7) brightness(0.8);
  transform: scale(1.02);
  cursor: pointer;
}

.message-photo.blurred:hover {
  filter: blur(10px) saturate(0.7) brightness(0.85);
}

.photo-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(5, 2, 10, 0.85);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: none;
}

.photo-dialog-points {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.photo-dialog-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.photo-dialog-actions .btn-primary,
.photo-dialog-actions .btn-secondary {
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.chat-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-link:hover {
  color: var(--color-gold);
}

.chat-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0 2px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  background: rgba(232, 196, 78, 0.12);
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  font-family: var(--font-body);
  vertical-align: middle;
  transition: all 0.2s ease;
}

.chat-hint:hover {
  background: var(--color-gold);
  color: #1a1118;
}

.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 2, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modalFade 200ms ease;
}

.photo-viewer.open {
  display: flex;
}

.photo-viewer-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.photo-viewer-stage img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 150ms ease;
  user-select: none;
}

.photo-viewer-stage img:active {
  cursor: grabbing;
}

.photo-viewer-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-interactive);
}

.photo-viewer-close:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: rotate(90deg);
}

.photo-viewer-controls {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: var(--space-2) var(--space-3);
  box-shadow: var(--shadow-lg);
}

.photo-viewer-controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface-hover);
  color: var(--color-text);
  font-size: var(--text-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-interactive);
}

.photo-viewer-controls button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.photo-viewer-controls span {
  min-width: 52px;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
}

/* ============================================
   Quick-Reply-Cooldown — Füll-Animation (10 s)
   ============================================ */

.quick-reply.cooldown {
  position: relative;
  overflow: hidden;
}

.quick-reply.cooldown::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(232, 19, 94, 0.25), rgba(232, 19, 94, 0.45));
  transform-origin: left;
  animation: quick-reply-fill 10s linear forwards;
  pointer-events: none;
}

@keyframes quick-reply-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ============================================
   Mood-Help-Puls — „?" weist auf fehlende Punkte
   ============================================ */

.mood-help-pulse {
  animation: mood-help-pulse 0.9s ease-in-out infinite;
}

@keyframes mood-help-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232, 196, 78, 0.6); }
  50% { transform: scale(1.25); box-shadow: 0 0 0 10px rgba(232, 196, 78, 0); }
}
