:root {
  --dark-bg: #121212;
  --darker-bg: #0a0a0a;
  --bg-primary: #121212;
  --text-primary: #f5f5f5;
  --highlight: #ff007f;
  --highlight-light: #ff4da6;
  --highlight-dark: #cc005f;
  --text: #f5f5f5;
  --text-muted: #b0b0b0;
  --text-subtle: #888888;
  --success: #00e676;
  --warning: #ffaa00;
  --error: #ff5555;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --glow-color: rgba(255, 0, 127, 0.3);
}

/* Enhanced reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*::before,
*::after {
  box-sizing: border-box;
}

/* Ensure all text is white/visible with better hierarchy */
p, div, span, h1, h2, h3, h4, h5, h6, li, ul, ol {
  color: var(--text);
  line-height: 1.6;
}

/* Enhanced typography */
h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  margin-bottom: 1rem;
}

/* Enhanced body styles */
body {
  margin: 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
  color: var(--text);
  padding: 20px;
  min-height: 100vh;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

body.loaded,
body.page-loaded {
  opacity: 1;
}

/* Enhanced page transitions */
.page-transition {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-transitioning {
  opacity: 0.7;
  transform: scale(0.98);
  transition: all 0.3s ease;
}

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

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

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

.animate-in {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Enhanced preloader */
#preloader,
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--darker-bg) 0%, #000000 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-content {
  text-align: center;
  color: var(--highlight);
}

.preloader-text {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.preloader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 0, 127, 0.2);
  border-radius: 50%;
  border-top-color: var(--highlight);
  animation: spin 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  margin: 0 auto 30px;
}

.preloader-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.preloader-dots span {
  width: 8px;
  height: 8px;
  background: var(--highlight);
  border-radius: 50%;
  animation: dot-pulse 1.4s ease-in-out infinite;
}

.preloader-dots span:nth-child(1) { animation-delay: 0s; }
.preloader-dots span:nth-child(2) { animation-delay: 0.2s; }
.preloader-dots span:nth-child(3) { animation-delay: 0.4s; }

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

@keyframes dot-pulse {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Enhanced container */
.container {
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(145deg, var(--darker-bg), rgba(18, 18, 18, 0.95));
  padding: clamp(20px, 5vw, 40px);
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
  opacity: 0.5;
}

/* Enhanced profile section */
.profile {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 0, 127, 0.1);
}

.profile-img {
  width: clamp(70px, 12vw, 90px);
  height: clamp(70px, 12vw, 90px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--highlight);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.5);
}

/* Enhanced profile image effects */
.pulse-glow {
  animation: profilePulse 3s ease-in-out infinite;
}

.confidence-glow {
  animation: confidenceGlow 2.5s ease-in-out infinite;
}

.urgent-glow {
  animation: urgentGlow 2s ease-in-out infinite;
}

.celebration-glow {
  animation: celebrationGlow 1.5s ease-in-out infinite;
}

@keyframes profilePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 127, 0.3); }
  50% { box-shadow: 0 0 35px rgba(255, 0, 127, 0.6); }
}

@keyframes confidenceGlow {
  0%, 100% { box-shadow: 0 0 25px rgba(0, 230, 118, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 230, 118, 0.6); }
}

@keyframes urgentGlow {
  0%, 100% { box-shadow: 0 0 25px rgba(255, 170, 0, 0.4); }
  50% { box-shadow: 0 0 40px rgba(255, 170, 0, 0.7); }
}

@keyframes celebrationGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.4); }
  50% { box-shadow: 0 0 50px rgba(255, 215, 0, 0.8); }
}

.profile-info {
  margin-left: clamp(15px, 4vw, 25px);
  flex: 1;
}

.profile-name {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 700;
  color: var(--highlight);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.profile-age {
  font-size: clamp(0.9rem, 3vw, 1rem);
  color: var(--text-muted);
  font-weight: 500;
}

/* Enhanced online status */
.online-status {
  display: flex;
  align-items: center;
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  font-weight: 700;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  background: rgba(0, 230, 118, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.celebration-status {
  color: #FFD700;
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.2);
}

.online-dot {
  width: clamp(8px, 2vw, 12px);
  height: clamp(8px, 2vw, 12px);
  border-radius: 50%;
  background: var(--success);
  margin-right: 6px;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}

.celebration-dot {
  background: #FFD700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  animation: celebrationPulse 1s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes celebrationPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Verified badge styles */
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
  border-radius: 50%;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(29, 161, 242, 0.3);
}

.verified-icon {
  color: white;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
}

/* Enhanced progress container */
.progress-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 15px;
}

.progress-container.completed {
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.3);
}

.progress-track {
  flex: 1;
  min-width: 150px;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.progress-track::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--highlight), var(--highlight-light));
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 5px;
  position: relative;
  box-shadow: 0 2px 10px rgba(255, 0, 127, 0.4);
}

.progress-bar.completed {
  background: linear-gradient(90deg, var(--success), #4caf50);
  box-shadow: 0 2px 10px rgba(0, 230, 118, 0.4);
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShine 3s infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-steps {
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
  color: var(--text-muted);
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 0, 127, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.progress-steps.completed {
  color: var(--success);
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.3);
}

.progress-steps.progress-updated {
  animation: stepUpdate 0.5s ease;
}

@keyframes stepUpdate {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Enhanced message styles */
.message {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.1), rgba(255, 0, 127, 0.05));
  padding: clamp(20px, 5vw, 30px);
  border-left: 4px solid var(--highlight);
  border-radius: 15px;
  margin-bottom: 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.02), transparent);
  pointer-events: none;
}

.message:hover {
  transform: translateX(8px) translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.2);
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.15), rgba(255, 0, 127, 0.08));
}

.enhanced-message {
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.message-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--highlight);
}

.message-info {
  display: flex;
  flex-direction: column;
}

.message-sender {
  font-weight: 600;
  color: var(--highlight);
  font-size: 0.9rem;
}

.message-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.message-text {
  font-size: clamp(1rem, 3vw, 1.1rem);
  line-height: 1.6;
  margin: 0;
}

/* Enhanced message variations */
.anticipation-message {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.1), rgba(255, 170, 0, 0.05));
  border-left-color: var(--warning);
}

.urgency-message {
  background: linear-gradient(135deg, rgba(255, 85, 85, 0.1), rgba(255, 85, 85, 0.05));
  border-left-color: var(--error);
  animation: urgentPulse 3s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 85, 85, 0); }
  50% { box-shadow: 0 0 20px rgba(255, 85, 85, 0.3); }
}

.anticipation-effect {
  text-align: center;
  margin-top: 15px;
}

.heartbeat {
  font-size: 1.5rem;
  display: inline-block;
  animation: heartbeat 2s ease-in-out infinite;
}

.heartbeat.pulse {
  animation: heartbeatPulse 1s ease;
}

@keyframes heartbeat {
  0%, 50%, 100% { transform: scale(1); }
  25%, 75% { transform: scale(1.1); }
}

@keyframes heartbeatPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.urgency-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: var(--error);
  border-radius: 50%;
  animation: urgentDotPulse 1.5s infinite;
}

.urgency-text {
  font-size: 0.9rem;
  color: var(--error);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes urgentDotPulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

/* Enhanced personalized content */
.personalized-text {
  transition: opacity 0.8s ease-in-out;
}

.user-name {
  color: var(--highlight);
  font-weight: 700;
  position: relative;
}

.highlight-name {
  background: linear-gradient(45deg, var(--highlight), var(--highlight-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nameGlow 3s ease-in-out infinite;
}

@keyframes nameGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

/* Enhanced media container */
.media-container {
  margin: 25px 0;
  position: relative;
  padding-top: 56.25%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--darker-bg);
}

.media-container:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.enhanced-media {
  border-radius: 20px;
  border: 2px solid rgba(255, 0, 127, 0.2);
}

.urgency-media {
  border-color: rgba(255, 170, 0, 0.4);
  animation: mediaUrgentGlow 3s ease-in-out infinite;
}

@keyframes mediaUrgentGlow {
  0%, 100% { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 15px 35px rgba(255, 170, 0, 0.3); }
}

.media-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
  transition: opacity 1s ease-in-out;
}

.media-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--darker-bg);
  color: var(--text-muted);
  z-index: 1;
}

.media-loading p {
  margin-top: 15px;
  font-size: 0.9rem;
}

.media-visible {
  animation: mediaSlideIn 0.8s ease-out;
}

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

.error-state {
  text-align: center;
  color: var(--error);
}

.error-state button {
  margin-top: 10px;
  padding: 8px 16px;
  background: var(--error);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
}

/* Enhanced typing indicator */
.typing-indicator {
  display: none;
  padding: 20px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.enhanced-typing {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px;
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.05), rgba(255, 0, 127, 0.02));
  border-radius: 20px;
  border: 1px solid rgba(255, 0, 127, 0.1);
}

.typing-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--highlight);
}

.typing-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.typing-content {
  flex: 1;
}

.typing-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.typing-dot {
  width: 10px;
  height: 10px;
  background-color: var(--highlight);
  border-radius: 50%;
  animation: typingAnimation 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingAnimation {
  0%, 60%, 100% { 
    transform: translateY(0);
    opacity: 0.7;
  }
  30% { 
    transform: translateY(-8px);
    opacity: 1;
  }
}

.typing-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Enhanced audio player */
.audio-container {
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.enhanced-audio {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.08), rgba(255, 0, 127, 0.03));
  border-color: rgba(255, 0, 127, 0.2);
  border-radius: 20px;
}

.audio-controls {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 15px;
}

.audio-play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--highlight), var(--highlight-light));
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.audio-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.5);
}

.audio-play-btn.playing .play-icon {
  display: none;
}

.audio-play-btn:not(.playing) .pause-icon {
  display: none;
}

.audio-info {
  flex: 1;
}

.audio-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.audio-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.audio-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
}

.waveform-bar {
  width: 4px;
  height: 8px;
  background: var(--highlight);
  border-radius: 2px;
  transition: height 0.3s ease;
}

.waveform-bar.animate {
  animation: waveformPulse 1.5s ease-in-out infinite;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes waveformPulse {
  0%, 100% { height: 8px; }
  50% { height: 20px; }
}

/* Enhanced audio element */
audio {
  width: 100%;
  margin-top: 15px;
  border-radius: 10px;
  filter: sepia(1) hue-rotate(290deg) saturate(3);
  opacity: 0.9;
}

/* Enhanced input styles */
.input-group {
  margin-bottom: 20px;
  position: relative;
}

input[type="text"],
.enhanced-input {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 0, 127, 0.3);
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  width: 100%;
  font-size: clamp(0.9rem, 3vw, 1rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

input[type="text"]:focus,
.enhanced-input:focus {
  border-color: var(--highlight);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.3);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

input[type="text"].error,
.enhanced-input.error {
  border-color: var(--error);
  box-shadow: 0 0 15px rgba(255, 85, 85, 0.3);
}

.input-help {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  padding-left: 20px;
  opacity: 0.7;
}

.input-error {
  font-size: 0.85rem;
  color: var(--error);
  margin-top: 8px;
  padding-left: 20px;
  display: none;
  animation: errorSlideIn 0.3s ease;
}

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

/* Enhanced options and buttons */
.options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.enhanced-options {
  gap: 20px;
}

.btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: clamp(12px, 3vw, 16px) clamp(20px, 5vw, 25px);
  font-size: clamp(0.9rem, 3vw, 1rem);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  text-decoration: none;
  min-height: 50px;
}

.btn:hover {
  background: rgba(255, 0, 127, 0.15);
  border-color: rgba(255, 0, 127, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 0, 127, 0.2);
}

.btn:active {
  transform: translateY(-1px);
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.3);
}

.enhanced-btn {
  border-radius: 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  position: relative;
}

.enhanced-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.enhanced-btn:hover::before {
  left: 100%;
}

.enhanced-btn.hover-enhanced {
  box-shadow: 0 10px 30px rgba(255, 0, 127, 0.3);
  border-color: var(--highlight);
}

.btn-text {
  flex: 1;
  text-align: center;
}

.btn-icon {
  font-size: 1.1rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.btn:hover .btn-icon {
  opacity: 1;
  transform: translateX(3px);
}

.btn-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loading {
  display: flex;
}

/* Video controls */
.video-controls {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
}

.video-sound-btn {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-sound-btn:hover {
  background: rgba(255, 0, 127, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 127, 0.3);
}

.video-sound-btn:active {
  transform: translateY(0);
}

/* Enhanced button variations */
.btn-highlight {
  background: linear-gradient(135deg, var(--highlight), var(--highlight-light));
  color: white;
  font-weight: 600;
  border: 2px solid var(--highlight);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
}

.btn-highlight:hover {
  background: linear-gradient(135deg, var(--highlight-light), var(--highlight));
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.6);
  transform: translateY(-5px);
}

.btn-highlight::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  20% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.8rem;
  min-height: auto;
}

/* Button choice variations */
.whisper-btn {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(138, 43, 226, 0.1));
  border-color: rgba(138, 43, 226, 0.4);
}

.whisper-btn:hover {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(138, 43, 226, 0.15));
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
}

.listen-btn {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.2), rgba(30, 144, 255, 0.1));
  border-color: rgba(30, 144, 255, 0.4);
}

.listen-btn:hover {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.3), rgba(30, 144, 255, 0.15));
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
}

.primary-choice {
  background: linear-gradient(135deg, var(--highlight), var(--highlight-light));
  color: white;
  border-color: var(--highlight);
}

.secondary-choice {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.3), rgba(255, 170, 0, 0.1));
  border-color: rgba(255, 170, 0, 0.5);
  color: #ffaa00;
}

.final-decision {
  background: linear-gradient(135deg, var(--highlight), var(--highlight-light));
  color: white;
  border: 3px solid var(--highlight);
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  padding: clamp(15px, 4vw, 20px) clamp(25px, 6vw, 35px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.final-unlock {
  animation: finalPulse 3s ease-in-out infinite;
}

.urgent-pulse {
  animation: urgentButtonPulse 1.5s ease-in-out infinite;
}

.pulse-highlight {
  animation: highlightPulse 1s ease;
}

@keyframes finalPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(255, 0, 127, 0.8);
    transform: scale(1.02);
  }
}

@keyframes urgentButtonPulse {
  0%, 100% { 
    box-shadow: 0 0 25px rgba(255, 85, 85, 0.5);
    border-color: var(--error);
  }
  50% { 
    box-shadow: 0 0 50px rgba(255, 85, 85, 0.8);
    border-color: #ff8888;
  }
}

@keyframes highlightPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.post-expiry {
  background: linear-gradient(135deg, rgba(128, 128, 128, 0.3), rgba(128, 128, 128, 0.1));
  border-color: rgba(128, 128, 128, 0.5);
  color: #cccccc;
}

/* Ripple effect */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 1s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Loading spinner */
.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
}

.loading-spinner.small {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.loading-spinner.large {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

/* Enhanced testimonials */
.testimonials-section {
  margin: 30px 0;
}

.testimonials-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--highlight);
  margin-bottom: 25px;
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
  font-weight: 600;
}

.testimonials-icon {
  font-size: 1.2em;
}

.testimonials-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.testimonial {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-radius: 15px;
  border: 1px solid var(--border-color);
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.enhanced-testimonial {
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.testimonial:hover,
.testimonial-hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 0, 127, 0.15);
  border-color: rgba(255, 0, 127, 0.3);
}

.testimonial.five-star {
  border-color: rgba(255, 215, 0, 0.3);
}

.testimonial.five-star:hover {
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.testimonial.testimonial-visible {
  animation: testimonialSlideIn 0.6s ease-out;
}

@keyframes testimonialSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--highlight);
  transition: transform 0.3s ease;
}

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

.testimonial-meta {
  flex: 1;
}

.testimonial-name {
  color: var(--highlight);
  font-weight: 700;
  font-size: clamp(0.9rem, 3vw, 1rem);
  margin-bottom: 4px;
}

.testimonial-location {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.star {
  transition: color 0.3s ease;
}

.star.filled {
  color: #FFD700;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.star.empty {
  color: rgba(255, 215, 0, 0.3);
}

.testimonial-content p {
  font-size: clamp(0.9rem, 3vw, 1rem);
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 10px;
  font-style: italic;
}

.testimonial-timestamp {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-align: right;
  opacity: 0.7;
}

/* Trust indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 5vw, 30px);
  margin: 25px 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  min-width: 100px;
}

.trust-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.trust-icon {
  font-size: 1.5rem;
}

.trust-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
}

/* Enhanced countdown */
.countdown {
  text-align: center;
  margin: 25px 0;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.1), rgba(255, 170, 0, 0.05));
  border-radius: 15px;
  border: 2px solid rgba(255, 170, 0, 0.3);
}

.enhanced-countdown {
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.countdown-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.countdown-label {
  font-size: clamp(0.9rem, 3vw, 1rem);
  color: var(--text-muted);
  font-weight: 500;
}

.countdown-timer {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px 25px;
  border-radius: 15px;
  border: 1px solid rgba(255, 170, 0, 0.3);
}

.timer-display {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 700;
  color: var(--warning);
  text-shadow: 0 0 10px rgba(255, 170, 0, 0.5);
  font-variant-numeric: tabular-nums;
}

.timer-display.warning {
  color: var(--warning);
  animation: timerWarning 2s ease-in-out infinite;
}

.timer-display.urgent {
  color: var(--error);
  animation: pulse-urgent 1s infinite;
}

@keyframes timerWarning {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 170, 0, 0.5); }
  50% { text-shadow: 0 0 20px rgba(255, 170, 0, 0.8); }
}

@keyframes pulse-urgent {
  0%, 100% { 
    transform: scale(1);
    text-shadow: 0 0 15px rgba(255, 85, 85, 0.8);
  }
  50% { 
    transform: scale(1.05);
    text-shadow: 0 0 25px rgba(255, 85, 85, 1);
  }
}

.countdown-warning {
  color: var(--error);
  font-weight: 600;
  font-size: 0.9rem;
  animation: warningBlink 1.5s infinite;
}

@keyframes warningBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

.countdown.expired {
  background: linear-gradient(135deg, rgba(255, 85, 85, 0.2), rgba(255, 85, 85, 0.1));
  border-color: rgba(255, 85, 85, 0.5);
}

.countdown-expired {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.expired-icon {
  font-size: 2rem;
}

.expired-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--error);
}

.expired-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Enhanced final message */
.final-message {
  text-align: center;
  margin: 40px 0;
  animation: fadeIn 1.2s ease;
}

.enhanced-final {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 40px 30px;
  border-radius: 25px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.celebration-header {
  margin-bottom: 30px;
}

.celebration-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--highlight);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.celebration-icon {
  font-size: 1.2em;
  animation: celebrationBounce 2s ease-in-out infinite;
}

@keyframes celebrationBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(-5deg); }
  75% { transform: translateY(-5px) rotate(5deg); }
}

.celebration-subtitle {
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  color: var(--success);
  font-weight: 500;
  opacity: 0.9;
}

.offer-details {
  margin: 30px 0;
}

.offer-description {
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  margin-bottom: 25px;
  line-height: 1.6;
}

.highlight-text {
  color: var(--highlight);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 25px 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 0, 127, 0.3);
}

.benefit-icon {
  font-size: 1.3rem;
  min-width: 30px;
  text-align: center;
}

.benefit-text {
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 500;
}

/* Enhanced scarcity section */
.scarcity-section {
  margin: 30px 0;
}

.location-info {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(0, 230, 118, 0.05));
  padding: 25px;
  border-radius: 20px;
  border: 2px solid rgba(0, 230, 118, 0.3);
  transition: all 0.5s ease;
}

.location-info.location-loaded {
  animation: locationSuccess 0.8s ease;
}

@keyframes locationSuccess {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.loading-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.location-success {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-align: left;
}

.location-icon {
  font-size: 1.5rem;
  min-width: 30px;
}

.location-content {
  flex: 1;
}

.location-main {
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  margin-bottom: 8px;
  line-height: 1.5;
}

.location-name {
  color: var(--highlight);
  font-weight: 700;
  text-decoration: underline;
}

.location-sub {
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: var(--text-muted);
  margin-bottom: 5px;
}

.location-expire {
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  color: var(--warning);
  font-weight: 600;
}

.exclusive-text {
  color: var(--success);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.location-fallback {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

/* Enhanced final CTA */
.final-cta {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-unlock {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
  max-width: 500px;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.security-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.badge-icon {
  font-size: 1rem;
}

.badge-text {
  font-weight: 500;
  white-space: nowrap;
}

/* Enhanced celebration effects */
.celebration-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.confetti-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.success-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0;
  pointer-events: none;
}

.particle.particle-animate {
  animation: particleFloat 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 1.5s;
}

.particle:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 3s;
}

.particle:nth-child(4) {
  top: 40%;
  right: 25%;
  animation-delay: 4.5s;
}

@keyframes particleFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) rotate(0deg) scale(0.8);
  }
  10%, 90% {
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) rotate(180deg) scale(1.2);
  }
}

/* Enhanced body states */
.urgency-mode {
  animation: urgencyShake 0.5s ease-in-out;
}

.celebration-mode .container {
  animation: celebrationPulse 3s ease-in-out infinite;
}

.completing {
  opacity: 0.8;
  pointer-events: none;
}

@keyframes urgencyShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

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

.shake-animation {
  animation: shake 1s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Floating hearts for urgency */
.urgency-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

.floating-hearts {
  position: relative;
  width: 100%;
  height: 100%;
}

.heart {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0;
  color: var(--highlight);
}

.heart:nth-child(1) {
  top: 20%;
  left: 20%;
}

.heart:nth-child(2) {
  top: 50%;
  right: 20%;
}

.heart:nth-child(3) {
  bottom: 30%;
  left: 50%;
}

.heart.float-up {
  animation: floatUp 3s ease-out;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  20% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateY(-50px) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) scale(0.8);
  }
}

/* Utility classes */
.hidden {
  display: none !important;
  opacity: 0;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.transition-fade {
  transition: opacity 0.5s ease;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  .container {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .profile {
    padding: 15px;
    margin-bottom: 20px;
  }

  .profile-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .progress-container {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .progress-track {
    order: 2;
    min-width: 100%;
  }

  .progress-steps {
    order: 1;
    align-self: flex-end;
  }

  .message {
    padding: 20px 15px;
  }

  .enhanced-typing {
    flex-direction: column;
    gap: 15px;
    padding: 20px 15px;
  }

  .typing-avatar {
    align-self: center;
  }

  .audio-controls {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .audio-waveform {
    justify-content: center;
  }

  .benefits-list {
    gap: 12px;
  }

  .benefit-item {
    padding: 12px 15px;
  }

  .testimonial-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .testimonial-meta {
    text-align: center;
  }

  .trust-indicators {
    gap: 15px;
  }

  .trust-item {
    min-width: 80px;
    padding: 12px 8px;
  }

  .security-badges {
    gap: 10px;
  }

  .security-badge {
    padding: 8px 12px;
  }

  .countdown-timer {
    padding: 12px 20px;
  }

  .location-success {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 20px 15px;
  }

  .profile-img {
    width: 60px;
    height: 60px;
  }

  .enhanced-typing {
    padding: 15px 10px;
  }

  .typing-avatar {
    width: 40px;
    height: 40px;
  }

  .audio-controls {
    padding: 15px;
  }

  .audio-play-btn {
    width: 40px;
    height: 40px;
  }

  .testimonial {
    padding: 15px;
  }

  .testimonial-img {
    width: 50px;
    height: 50px;
  }

  .trust-indicators {
    flex-direction: column;
    align-items: center;
  }

  .security-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text: #ffffff;
    --text-muted: #cccccc;
    --border-color: rgba(255, 255, 255, 0.3);
  }

  .btn {
    border-width: 3px;
  }

  .progress-bar {
    box-shadow: none;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .preloader-spinner {
    animation: none;
    border-top-color: var(--highlight);
  }

  .online-dot {
    animation: none;
  }

  .progress-bar::after {
    animation: none;
  }
}

/* Print styles */
@media print {
  body {
    background: white;
    color: black;
  }

  .container {
    box-shadow: none;
    border: 1px solid black;
  }

  .btn, .media-container, .audio-container {
    display: none;
  }

  .preloader, .celebration-effects, .urgency-elements {
    display: none !important;
  }
}
