/* ============================================
   TheChat - Seductive Dark Theme
   Mobile-first responsive design
   Premium, intimate, and engaging
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Colors - Seductive Dark Palette */
  /* Primary Backgrounds - Deep charcoal, not pure black */
  --color-bg-primary: #0F0F14;
  --color-bg-secondary: #1C1C24;
  --color-bg-tertiary: #252530;
  --color-bg-elevated: #2E2E3A;
  
  /* Accent Colors - Sensual & Inviting */
  --color-accent: #FF4D6D;           /* Main CTA - soft sensual red */
  --color-accent-light: #FF6B85;
  --color-accent-dark: #E63B5A;
  
  --color-accent-secondary: #FF8FA3;  /* Flirty pink tone */
  --color-accent-secondary-light: #FFA8B8;
  --color-accent-secondary-dark: #E87D91;
  
  --color-highlight: #C77DFF;         /* Purple for fantasy/mystery */
  --color-highlight-light: #D99FFF;
  --color-highlight-dark: #A85DE6;
  
  /* Legacy support - map old gold/rose to new palette */
  --color-gold: #FF4D6D;
  --color-gold-light: #FF6B85;
  --color-gold-dark: #E63B5A;
  --color-rose: #FF8FA3;
  --color-rose-light: #FFA8B8;
  --color-rose-dark: #E87D91;
  
  /* Text Colors - Soft white for readability */
  --color-text-primary: #F5F5F7;
  --color-text-secondary: #B8B8C0;
  --color-text-muted: #7A7A85;
  
  /* Border Colors - Subtle separation */
  --color-border: #3A3A48;
  --color-border-light: #4A4A58;
  --color-border-focus: #FF4D6D;
  
  /* Status Colors */
  --color-success: #4ADE80;
  --color-error: #FF6B6B;
  --color-warning: #FFB347;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Fluid typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  
  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Shadows - Enhanced with color tints */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
  
  /* Glow effects */
  --shadow-glow: 0 0 20px rgba(255, 77, 109, 0.25);
  --shadow-glow-strong: 0 0 30px rgba(255, 77, 109, 0.4);
  --shadow-glow-purple: 0 0 20px rgba(199, 125, 255, 0.25);
  --shadow-gold: 0 0 20px rgba(255, 77, 109, 0.3);
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #FF4D6D 0%, #FF8FA3 100%);
  --gradient-accent-hover: linear-gradient(135deg, #FF6B85 0%, #FFA8B8 100%);
  --gradient-purple: linear-gradient(135deg, #C77DFF 0%, #FF8FA3 100%);
  --gradient-dark: linear-gradient(180deg, #0F0F14 0%, #1C1C24 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 77, 109, 0.05) 0%, transparent 50%);
  
  /* Transitions - Smooth and refined */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-toast: 400;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(199, 125, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 77, 109, 0.02) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border-light);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Selection styling */
::selection {
  background: rgba(255, 77, 109, 0.3);
  color: var(--color-text-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-light);
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.text-center { text-align: center; }
.text-gold { color: var(--color-accent); }
.text-accent { color: var(--color-accent); }
.text-rose { color: var(--color-accent-secondary); }
.text-purple { color: var(--color-highlight); }
.text-muted { color: var(--color-text-muted); }
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.hidden { display: none !important; }

/* Glow effects */
.glow { box-shadow: var(--shadow-glow); }
.glow-strong { box-shadow: var(--shadow-glow-strong); }
.glow-purple { box-shadow: var(--shadow-glow-purple); }

/* Forms */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
}

.form-input {
  width: 100%;
  padding: var(--space-md);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background-color: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:hover {
  border-color: var(--color-border-light);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.15), var(--shadow-glow);
  background-color: var(--color-bg-elevated);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
  min-width: 48px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  color: #ffffff;
  background: var(--gradient-accent);
  box-shadow: var(--shadow-glow);
}

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

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

.btn-secondary {
  color: var(--color-text-primary);
  background-color: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
}

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

.btn-outline {
  color: var(--color-accent);
  background-color: transparent;
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  color: #ffffff;
  background-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

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

.btn-ghost:hover {
  color: var(--color-text-primary);
  background-color: var(--color-bg-tertiary);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
  min-height: 56px;
}

.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  min-height: 36px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Cards */
.card {
  background-color: var(--color-bg-secondary);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.2) 0%, transparent 50%);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-light);
}

.card:hover::before {
  opacity: 1;
}

.card-accent {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.card-gold {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.card-interactive {
  cursor: pointer;
}

.card-interactive:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

/* Avatar */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--color-border);
  transition: all var(--transition-fast);
}

.avatar:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.avatar-lg {
  width: 80px;
  height: 80px;
  border-width: 3px;
}

.avatar-sm {
  width: 32px;
  height: 32px;
}

.avatar-online {
  position: relative;
}

.avatar-online::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: var(--color-success);
  border: 2px solid var(--color-bg-secondary);
  border-radius: var(--radius-full);
}

/* Messages & Alerts */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: slideIn 0.3s ease;
}

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

.alert-success {
  background-color: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--color-success);
}

.alert-error {
  background-color: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: var(--color-error);
}

.alert-info {
  background-color: rgba(255, 77, 109, 0.1);
  border: 1px solid rgba(255, 77, 109, 0.3);
  color: var(--color-accent);
}

.alert-warning {
  background-color: rgba(255, 179, 71, 0.1);
  border: 1px solid rgba(255, 179, 71, 0.3);
  color: var(--color-warning);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: rgba(15, 15, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(58, 58, 72, 0.5);
  padding: var(--space-md) 0;
}

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

.logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-fast);
}

.logo:hover {
  filter: brightness(1.2);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-accent);
}

.nav-link.active::after {
  width: 100%;
}

.token-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

.token-badge:hover {
  background-color: var(--color-bg-elevated);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.token-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background-color: rgba(28, 28, 36, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
  padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0));
}

.mobile-nav-items {
  display: flex;
  justify-content: space-around;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm);
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  min-width: 60px;
  min-height: 48px;
  transition: all var(--transition-fast);
  border-radius: var(--radius-md);
}

.mobile-nav-item:hover {
  color: var(--color-text-primary);
  background-color: var(--color-bg-tertiary);
}

.mobile-nav-item.active {
  color: var(--color-accent);
}

.mobile-nav-item.active svg {
  filter: drop-shadow(0 0 8px var(--color-accent));
}

.mobile-nav-item svg {
  width: 24px;
  height: 24px;
  transition: all var(--transition-fast);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background-color: var(--color-bg-secondary);
  border-right: 1px solid var(--color-border);
  padding: var(--space-xl);
  overflow-y: auto;
  z-index: var(--z-dropdown);
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.sidebar-section {
  margin-bottom: var(--space-xl);
}

.sidebar-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  margin-bottom: var(--space-xs);
}

.sidebar-link:hover {
  background-color: var(--color-bg-tertiary);
  color: var(--color-text-primary);
}

.sidebar-link:hover svg {
  color: var(--color-accent);
}

.sidebar-link.active {
  background: linear-gradient(90deg, rgba(255, 77, 109, 0.15) 0%, transparent 100%);
  color: var(--color-accent);
  border-left: 3px solid var(--color-accent);
  margin-left: -3px;
  padding-left: calc(var(--space-md) + 3px);
}

.sidebar-link svg {
  transition: color var(--transition-fast);
}

/* Main Content */
.main-content {
  padding: var(--space-xl) 0;
  min-height: calc(100vh - 80px);
}

/* Responsive breakpoints */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }
  
  .sidebar {
    transform: translateX(0);
  }
  
  .with-sidebar {
    margin-left: 280px;
  }
  
  .mobile-nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .main-content {
    padding-bottom: 80px;
  }
  
  .header .nav-links {
    display: none;
  }
}

/* Loading spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--color-bg-tertiary);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s ease-in-out infinite;
}

.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 4px;
}

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

/* Pulse animation for loading states */
.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: var(--space-lg);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: var(--color-bg-secondary);
  background-image: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 100%;
  width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.modal-header h3 {
  margin-bottom: 0;
}

.modal-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--color-bg-tertiary);
  color: var(--color-accent);
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-bg-tertiary) 0%,
    var(--color-bg-elevated) 50%,
    var(--color-bg-tertiary) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Fade in animation */
.fade-in {
  animation: fadeIn 0.3s ease;
}

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

/* Slide up animation */
.slide-up {
  animation: slideUp 0.3s ease;
}

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

/* Focus visible styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Disabled state */
.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Stagger animation utility */
.stagger-in > *:nth-child(1) { animation-delay: 0ms; }
.stagger-in > *:nth-child(2) { animation-delay: 50ms; }
.stagger-in > *:nth-child(3) { animation-delay: 100ms; }
.stagger-in > *:nth-child(4) { animation-delay: 150ms; }
.stagger-in > *:nth-child(5) { animation-delay: 200ms; }
.stagger-in > *:nth-child(6) { animation-delay: 250ms; }

/* Scale animation on hover */
.hover-scale {
  transition: transform var(--transition-fast);
}

.hover-scale:hover {
  transform: scale(1.02);
}

/* Float animation for decorative elements */
.float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Shimmer effect for premium elements */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Glow pulse animation */
.glow-pulse {
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--shadow-glow); }
  50% { box-shadow: var(--shadow-glow-strong); }
}

/* Badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-accent {
  background: var(--gradient-accent);
  color: #ffffff;
}

.badge-purple {
  background: var(--gradient-purple);
  color: #ffffff;
}

.badge-success {
  background-color: rgba(74, 222, 128, 0.2);
  color: var(--color-success);
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: var(--space-xl) 0;
}

.divider-accent {
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

/* Tooltip styles */
.tooltip {
  position: relative;
}

.tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: var(--z-tooltip, 500);
}

.tooltip:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

/* Smooth appearance for page content */
.page-content {
  animation: pageIn 0.4s ease;
}

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