/* ============================================
   PasteNoir / WISP — Design System v4.1
   Converted from React/Tailwind to pure CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================
   CSS Variables — Design Tokens
   ============================================ */
:root {
  /* HSL Base Values */
  --background-h: 222; --background-s: 47%; --background-l: 6%;
  --foreground-h: 210; --foreground-s: 40%; --foreground-l: 96%;
  --primary-h: 330; --primary-s: 85%; --primary-l: 60%;
  --accent-h: 200; --accent-s: 80%; --accent-l: 55%;

  /* Semantic Colors */
  --background: hsl(222, 47%, 6%);
  --foreground: hsl(210, 40%, 96%);
  --card: hsl(222, 47%, 9%);
  --card-foreground: hsl(210, 40%, 96%);
  --primary: hsl(330, 85%, 60%);
  --primary-foreground: #fff;
  --secondary: hsl(220, 50%, 14%);
  --secondary-foreground: hsl(210, 40%, 90%);
  --muted: hsl(220, 40%, 12%);
  --muted-foreground: hsl(215, 20%, 55%);
  --accent: hsl(200, 80%, 55%);
  --accent-foreground: #fff;
  --destructive: hsl(0, 72%, 51%);
  --destructive-foreground: #fff;
  --border: hsl(220, 30%, 16%);
  --input: hsl(220, 30%, 14%);
  --ring: hsl(330, 85%, 60%);
  --radius: 0.75rem;

  /* Status */
  --success: hsl(142, 76%, 45%);
  --warning: hsl(38, 92%, 50%);
  --info: hsl(200, 80%, 55%);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(330, 85%, 60%), hsl(280, 80%, 55%));
  --gradient-accent: linear-gradient(135deg, hsl(200, 80%, 55%), hsl(170, 70%, 50%));
  --gradient-text: linear-gradient(135deg, hsl(330, 85%, 65%), hsl(280, 80%, 60%), hsl(200, 80%, 60%));
  --gradient-glow: radial-gradient(ellipse at 50% 0%, hsla(330, 85%, 60%, 0.15), transparent 60%);
  --gradient-card: linear-gradient(145deg, hsla(220, 50%, 15%, 0.5), hsla(220, 50%, 8%, 0.3));

  /* Shadows */
  --shadow-glow: 0 0 30px -5px hsla(330, 85%, 60%, 0.3);
  --shadow-card: 0 8px 32px -8px hsla(0, 0%, 0%, 0.4);
  --shadow-elevated: 0 20px 60px -15px hsla(0, 0%, 0%, 0.5);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: 0;
}

/* Grid background */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(hsla(220, 30%, 20%, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, hsla(220, 30%, 20%, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

main { flex: 1; position: relative; z-index: 1; padding-top: 64px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}
a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { opacity: 0.9; }
code, pre, .font-mono { font-family: var(--font-mono); }
img { max-width: 100%; }

/* ============================================
   Utility Classes
   ============================================ */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-display { font-family: var(--font-display); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Colors */
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-destructive { color: var(--destructive); }
.text-info { color: var(--info); }
.text-warning { color: var(--warning); }
.text-success { color: var(--success); }
.text-emerald-400 { color: #34d399; }
.text-purple-400 { color: #a78bfa; }

/* Gradient text */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Glass Card
   ============================================ */
.glass-card {
  background: var(--gradient-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid hsla(220, 30%, 22%, 0.4);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
  border-color: hsla(330, 85%, 60%, 0.25);
}
.glass {
  background: hsla(220, 50%, 12%, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(220, 30%, 25%, 0.3);
}

/* ============================================
   Gradient backgrounds
   ============================================ */
.gradient-primary { background: var(--gradient-primary); }
.gradient-accent { background: var(--gradient-accent); }
.glow-primary { box-shadow: 0 0 20px -5px hsla(330, 85%, 60%, 0.4), 0 0 40px -10px hsla(330, 85%, 60%, 0.2); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
  text-decoration: none; white-space: nowrap;
  line-height: 1.4;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  border: none;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}
.btn-outline:hover:not(:disabled) { background: hsla(220, 40%, 12%, 0.5); border-color: hsla(330, 85%, 60%, 0.4); }

.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
  border: none; padding: 0.5rem 0.75rem;
}
.btn-ghost:hover { color: var(--foreground); background: hsla(220, 40%, 12%, 0.5); }

.btn-destructive {
  background: transparent;
  color: var(--destructive);
  border: 1px solid hsla(0, 72%, 51%, 0.3);
}
.btn-destructive:hover { background: hsla(0, 72%, 51%, 0.1); }

.btn-success {
  background: transparent;
  color: var(--success);
  border: 1px solid hsla(142, 76%, 45%, 0.3);
}
.btn-success:hover { background: hsla(142, 76%, 45%, 0.1); }

.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-h12 { height: 3rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ============================================
   Form Inputs
   ============================================ */
.input, input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], input[type="url"], textarea, select {
  width: 100%;
  background: hsla(220, 40%, 12%, 0.4);
  border: 1px solid hsla(220, 30%, 22%, 0.5);
  border-radius: var(--radius);
  padding: 0.625rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--foreground);
  transition: all 0.15s;
  outline: none;
}
.input:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus,
textarea:focus, select:focus {
  border-color: hsla(330, 85%, 60%, 0.5);
  box-shadow: 0 0 0 3px hsla(330, 85%, 60%, 0.1);
}
.input::placeholder, input::placeholder, textarea::placeholder {
  color: var(--muted-foreground);
}
textarea { font-family: var(--font-mono); resize: vertical; min-height: 200px; }
select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem;
}

.input-with-icon { position: relative; }
.input-with-icon i, .input-with-icon .icon { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); pointer-events: none; }
.input-with-icon input { padding-left: 2.5rem; }

.label {
  display: block;
  font-size: 0.75rem; font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: hsla(220, 50%, 12%, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid hsla(220, 30%, 22%, 0.5);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; }
.logo-icon {
  width: 32px; height: 32px; border-radius: 0.5rem;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s;
}
.logo:hover .logo-icon { transform: scale(1.1); }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1; }
.logo-text .brand { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-subtitle { font-size: 0.625rem; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.1em; line-height: 1; }

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }

.nav-link {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.15s;
  text-decoration: none;
}
.nav-link:hover { color: var(--foreground); background: hsla(220, 40%, 12%, 0.5); }
.nav-link.active { color: var(--primary); background: hsla(330, 85%, 60%, 0.1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.mobile-toggle {
  display: block; padding: 0.5rem; background: none; border: none;
  color: var(--muted-foreground); cursor: pointer;
}
@media (min-width: 768px) { .mobile-toggle { display: none; } }

.mobile-menu {
  display: none; padding: 1rem;
  background: hsla(220, 50%, 12%, 0.6);
  backdrop-filter: blur(20px);
  border-top: 1px solid hsla(220, 30%, 22%, 0.5);
}
.mobile-menu.open { display: block; }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }
.mobile-menu .nav-link { padding: 0.75rem 1rem; border-radius: 0.5rem; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  border-top: 1px solid hsla(220, 30%, 22%, 0.5);
  background: hsla(220, 40%, 12%, 0.2);
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; padding: 3rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.15s; text-decoration: none; }
.footer-links a:hover { color: var(--foreground); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  padding: 0.5rem; border-radius: 0.5rem;
  background: hsla(220, 40%, 12%, 0.5); color: var(--muted-foreground);
  transition: all 0.15s;
}
.footer-social a:hover { color: var(--foreground); background: var(--muted); }
.footer-bottom {
  padding: 1.5rem 0; border-top: 1px solid hsla(220, 30%, 22%, 0.3);
  display: flex; flex-direction: column; gap: 0.5rem;
  align-items: center; font-size: 0.75rem; color: var(--muted-foreground);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ============================================
   Hero Section
   ============================================ */
.hero { padding: 4rem 0 3rem; text-align: center; position: relative; overflow: hidden; }
@media (min-width: 768px) { .hero { padding: 6rem 0 4rem; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 9999px;
  background: var(--gradient-card);
  backdrop-filter: blur(16px);
  border: 1px solid hsla(220, 30%, 22%, 0.4);
  font-size: 0.75rem; font-weight: 500; color: var(--primary);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 2.25rem; font-weight: 700; line-height: 1.1; margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero .subtitle {
  font-size: 1.125rem; color: var(--muted-foreground); max-width: 42rem;
  margin: 0 auto; line-height: 1.7;
}
@media (min-width: 768px) { .hero .subtitle { font-size: 1.25rem; } }

/* ============================================
   Feature Cards
   ============================================ */
.features-section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: 1.875rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .section-header h2 { font-size: 2.25rem; } }
.section-header p { font-size: 1.125rem; color: var(--muted-foreground); }

.features-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  border-radius: 1rem; padding: 1.5rem;
  transition: border-color 0.3s;
}
.feature-card:hover { border-color: hsla(330, 85%, 60%, 0.3); }
.feature-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  background: hsla(220, 40%, 12%, 0.5);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; transition: transform 0.2s;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* Steps / How it works */
.steps-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  max-width: 56rem; margin: 0 auto;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; position: relative; }
.step-icon {
  width: 4rem; height: 4rem; border-radius: 1rem;
  background: var(--gradient-primary); margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
}
.step-label { font-size: 0.75rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.step h3 { font-weight: 600; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--muted-foreground); }

/* CTA Section */
.cta-section { padding: 5rem 0; }
.cta-card {
  border-radius: 1.5rem; padding: 2.5rem;
  max-width: 48rem; margin: 0 auto;
  text-align: center; position: relative; overflow: hidden;
}
@media (min-width: 768px) { .cta-card { padding: 4rem; } }
.cta-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-primary); opacity: 0.05;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: 1.875rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta-card h2 { font-size: 2.25rem; } }
.cta-card p { font-size: 1.125rem; color: var(--muted-foreground); max-width: 32rem; margin: 0 auto 2rem; }

/* ============================================
   Paste Create Form
   ============================================ */
.paste-form { width: 100%; max-width: 48rem; margin: 0 auto; }
.paste-form-inner { border-radius: 1rem; padding: 1.5rem; }
.paste-form-inner > * + * { margin-top: 1.25rem; }
.type-buttons, .filter-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.type-btn, .filter-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500;
  background: hsla(220, 40%, 12%, 0.3);
  border: 1px solid hsla(220, 30%, 22%, 0.5);
  color: var(--muted-foreground);
  cursor: pointer; transition: all 0.15s;
}
.type-btn:hover, .filter-btn:hover { color: var(--foreground); border-color: var(--border); }
.type-btn.active, .filter-btn.active {
  background: hsla(330, 85%, 60%, 0.15);
  border-color: hsla(330, 85%, 60%, 0.4);
  color: var(--primary);
}
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.security-btn {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.75rem 1rem; border-radius: var(--radius);
  font-size: 0.875rem; text-align: left;
  background: hsla(220, 40%, 12%, 0.3);
  border: 1px solid hsla(220, 30%, 22%, 0.5);
  color: var(--muted-foreground);
  cursor: pointer; transition: all 0.15s;
}
.security-btn:hover { color: var(--foreground); border-color: var(--border); }
.security-btn.active {
  background: hsla(330, 85%, 60%, 0.15);
  border-color: hsla(330, 85%, 60%, 0.4);
  color: var(--primary);
}
.security-btn .sec-label { font-weight: 500; }
.security-btn .sec-desc { font-size: 0.75rem; opacity: 0.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
@media (min-width: 640px) { .form-actions { flex-direction: row; } }
.form-actions .btn { flex: 1; }

/* ============================================
   Explore Page
   ============================================ */
.explore-filters {
  display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem;
}
@media (min-width: 640px) { .explore-filters { flex-direction: row; } }
.search-input-wrap { position: relative; flex: 1; }
.search-input-wrap i { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); }
.search-input-wrap input { padding-left: 2.5rem; }

.paste-list { display: flex; flex-direction: column; gap: 0.75rem; }
.paste-item {
  border-radius: var(--radius); padding: 1.25rem;
  cursor: pointer; transition: border-color 0.3s;
  text-decoration: none; display: block;
}
.paste-item:hover { border-color: hsla(330, 85%, 60%, 0.3); }
.paste-item-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.paste-item-title { display: flex; align-items: center; gap: 0.625rem; flex-wrap: wrap; margin-bottom: 0.375rem; }
.paste-item-title h3 {
  font-weight: 600; color: var(--foreground); transition: color 0.15s; margin: 0;
  font-size: 0.9375rem;
}
.paste-item:hover .paste-item-title h3 { color: var(--primary); }
.badge {
  font-size: 0.625rem; font-weight: 600; padding: 0.125rem 0.5rem;
  border-radius: 9999px; border: 1px solid; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-code { background: hsla(200, 80%, 55%, 0.15); color: var(--info); border-color: hsla(200, 80%, 55%, 0.3); }
.badge-text { background: var(--muted); color: var(--muted-foreground); border-color: var(--border); }
.badge-markdown { background: hsla(270, 60%, 60%, 0.15); color: #a78bfa; border-color: hsla(270, 60%, 60%, 0.3); }
.badge-secret { background: hsla(0, 72%, 51%, 0.15); color: var(--destructive); border-color: hsla(0, 72%, 51%, 0.3); }
.badge-lang { font-size: 0.625rem; font-family: var(--font-mono); color: var(--muted-foreground); background: hsla(220, 40%, 12%, 0.5); padding: 0.125rem 0.5rem; border-radius: 0.25rem; }
.paste-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.75rem; color: var(--muted-foreground); }
.paste-meta span { display: flex; align-items: center; gap: 0.25rem; }
.paste-stats { display: flex; align-items: center; gap: 1rem; font-size: 0.75rem; color: var(--muted-foreground); flex-shrink: 0; }
.paste-stats span { display: flex; align-items: center; gap: 0.25rem; }

.empty-state { text-align: center; padding: 5rem 0; color: var(--muted-foreground); }
.empty-state i { width: 3rem; height: 3rem; margin: 0 auto 1rem; opacity: 0.3; }

/* ============================================
   Dashboard
   ============================================ */
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.dash-header h1 { margin: 0; }
.dash-header p { color: var(--muted-foreground); margin: 0; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-bottom: 1.25rem; }
.stat-card { border-radius: var(--radius); padding: 0.75rem; text-align: center; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; min-height: 80px; box-sizing: border-box; }
.stat-card-header { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; margin-bottom: 0.375rem; width: 32px; height: 32px; border-radius: 8px; background: rgba(100,116,139,0.08); flex-shrink: 0; }
.stat-card-header svg, .stat-card-header i { display: block; width: 18px; height: 18px; }
.stat-card .stat-value { font-size: 1.75rem; font-weight: 800; font-family: var(--font-display); line-height: 1; margin: 0; }
.stat-card .stat-label { font-size: 0.7rem; color: var(--muted-foreground); margin-top: 0.2rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.5px; }

.recent-pastes h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.recent-paste-item {
  border-radius: var(--radius); padding: 1rem;
  display: flex; align-items: center; gap: 1rem;
  transition: border-color 0.3s;
}
.recent-paste-item:hover { border-color: hsla(330, 85%, 60%, 0.3); }
.paste-actions { display: flex; align-items: center; gap: 0.5rem; }
.paste-actions button, .icon-btn {
  padding: 0.5rem; border-radius: 0.5rem; background: none; border: none;
  color: var(--muted-foreground); cursor: pointer; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.paste-actions button:hover, .icon-btn:hover { color: var(--foreground); background: hsla(220, 40%, 12%, 0.5); }
.icon-btn-destructive:hover { color: var(--destructive) !important; background: hsla(0, 72%, 51%, 0.1) !important; }
.icon-btn-warning:hover { color: var(--warning) !important; background: hsla(38, 92%, 50%, 0.1) !important; }

/* ============================================
   Login / Register
   ============================================ */
.auth-card { border-radius: 1rem; padding: 2rem; }
.auth-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem;
  background: var(--gradient-primary); margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
}
.auth-card h1 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.auth-fields > * + * { margin-top: 1rem; }
.auth-toggle { text-align: center; font-size: 0.875rem; color: var(--muted-foreground); margin-top: 1rem; }
.auth-toggle button, .auth-toggle a {
  background: none; border: none; color: var(--primary); font-weight: 500;
  cursor: pointer; text-decoration: none;
}
.auth-toggle button:hover, .auth-toggle a:hover { text-decoration: underline; }
.guest-notice {
  background: hsla(200, 80%, 55%, 0.1);
  border-left: 4px solid var(--info);
  padding: 1rem; border-radius: 0.5rem; margin-bottom: 1.5rem;
  color: var(--info); font-size: 0.875rem;
}

/* ============================================
   Admin Panel
   ============================================ */
.admin-layout { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .admin-layout { flex-direction: row; } }

.admin-sidebar { flex-shrink: 0; }
@media (min-width: 1024px) { .admin-sidebar { width: 14rem; } }
.admin-nav {
  border-radius: var(--radius); padding: 0.5rem;
  display: flex; gap: 0.25rem; overflow-x: auto;
}
@media (min-width: 1024px) { .admin-nav { flex-direction: column; } }
.admin-nav-link {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.625rem 1rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted-foreground);
  background: none; border: none; cursor: pointer;
  transition: all 0.15s; white-space: nowrap;
  text-decoration: none; width: 100%;
}
.admin-nav-link:hover { color: var(--foreground); background: hsla(220, 40%, 12%, 0.5); }
.admin-nav-link.active { color: var(--primary); background: hsla(330, 85%, 60%, 0.15); }

.admin-content { flex: 1; min-width: 0; }

/* Admin stat cards */
.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1024px) { .admin-stats { grid-template-columns: repeat(4, 1fr); } }

/* Banner items */
.banner-item {
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.banner-preview {
  width: 5rem; height: 3rem; border-radius: 0.5rem;
  background: hsla(220, 40%, 12%, 0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--muted-foreground);
  border: 1px solid hsla(220, 30%, 22%, 0.5);
}
.status-badge {
  font-size: 0.75rem; font-weight: 600;
  padding: 0.25rem 0.625rem; border-radius: 9999px;
}
.status-active { background: hsla(142, 76%, 45%, 0.15); color: #34d399; }
.status-paused { background: var(--muted); color: var(--muted-foreground); }
.status-banned { background: hsla(0, 72%, 51%, 0.15); color: var(--destructive); }

/* User items */
.user-item {
  border-radius: var(--radius); padding: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.user-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-foreground); font-weight: 700; font-size: 0.875rem;
}
.role-badge {
  font-size: 0.5625rem; font-weight: 600;
  padding: 0.125rem 0.5rem; border-radius: 9999px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.role-admin { background: hsla(330, 85%, 60%, 0.15); color: var(--primary); }
.role-moderator { background: hsla(200, 80%, 55%, 0.15); color: var(--info); }
.role-user { background: var(--muted); color: var(--muted-foreground); }
.plan-badge {
  font-size: 0.5625rem; font-weight: 600;
  padding: 0.125rem 0.5rem; border-radius: 9999px;
}
.plan-pro { background: hsla(38, 92%, 50%, 0.15); color: var(--warning); }
.plan-free { background: var(--muted); color: var(--muted-foreground); }

/* Moderation */
.mod-item {
  border-radius: var(--radius); padding: 1.25rem;
  border-color: hsla(0, 72%, 51%, 0.2);
}
.mod-reason {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.75rem; color: var(--destructive);
  background: hsla(0, 72%, 51%, 0.1);
  padding: 0.25rem 0.5rem; border-radius: 0.5rem;
  margin-top: 0.5rem;
}

/* Audit log */
.audit-item {
  border-radius: var(--radius); padding: 0.75rem 1.25rem;
  display: flex; align-items: center; gap: 1rem; font-size: 0.875rem;
}
.audit-dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: hsla(330, 85%, 60%, 0.6); flex-shrink: 0; }

/* Customize preview */
.customize-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .customize-grid { grid-template-columns: 1fr 1fr; } }
.color-swatches { display: flex; gap: 0.5rem; }
.color-swatch {
  width: 1.75rem; height: 1.75rem; border-radius: 9999px;
  border: 2px solid hsla(220, 30%, 22%, 0.5);
  cursor: pointer; transition: transform 0.15s;
}
.color-swatch:hover { transform: scale(1.1); }
.preview-block {
  padding: 1rem; border-radius: 0.5rem;
  background: hsla(220, 40%, 12%, 0.3);
  border: 1px solid hsla(220, 30%, 22%, 0.3);
}
.glow-name { font-weight: 700; font-family: var(--font-mono); }

/* ============================================
   View Paste Page
   ============================================ */
.paste-view-header { margin-bottom: 1.5rem; }
.paste-view-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.paste-content-block {
  border-radius: var(--radius); padding: 1.5rem;
  overflow-x: auto;
}
.paste-content-block pre { margin: 0; background: transparent; border: none; padding: 0; }
.paste-content-block code { background: transparent; padding: 0; color: var(--foreground); }

/* ============================================
   Pagination
   ============================================ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; margin-bottom: 2rem; align-items: center; }
.pagination .page-btn {
  width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-weight: 600; font-size: 0.85rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: #cbd5e1; transition: all 0.2s; text-decoration: none;
}
.pagination .page-btn:hover { background: rgba(255,255,255,0.1); }
.pagination .page-btn.active { background: linear-gradient(135deg, #d946ef, #8b5cf6); border: none; color: #fff; }
.pagination .page-nav {
  height: 36px; padding: 0 14px; border-radius: 8px; display: flex; align-items: center;
  font-size: 0.8rem; font-weight: 500; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); color: #94a3b8; transition: all 0.2s; text-decoration: none;
}
.pagination .page-nav:hover { background: rgba(255,255,255,0.1); color: #e2e8f0; }

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: hsl(220, 30%, 20%); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: hsl(220, 30%, 28%); }

/* Selection */
::selection { background: hsla(330, 85%, 60%, 0.3); color: hsl(210, 40%, 98%); }

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-in { animation: fadeInUp 0.5s ease-out both; }
.animate-in-1 { animation-delay: 0.08s; }
.animate-in-2 { animation-delay: 0.16s; }
.animate-in-3 { animation-delay: 0.24s; }
.animate-in-4 { animation-delay: 0.32s; }
.animate-fade { animation: fadeIn 0.3s ease-out both; }

/* Responsive hidden */
.hidden-sm { display: none; }
@media (min-width: 640px) { .hidden-sm { display: initial; } }
.visible-sm { display: initial; }
@media (min-width: 640px) { .visible-sm { display: none; } }

/* Flex / Grid utilities */
.flex { display: flex; }
.flex-1 { flex: 1; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.min-w-0 { min-width: 0; }
.flex-shrink-0 { flex-shrink: 0; }
.ml-auto { margin-left: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.pt-2 { padding-top: 0.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ============================================
   Banner Slots
   ============================================ */
.banner-slot {
  margin: 1rem auto;
  max-width: 728px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.banner-slot-header {
  margin: 0.5rem auto 0;
  padding: 0.5rem 0;
}
.banner-slot-footer {
  margin: 0 auto 1rem;
  padding: 0.5rem 0;
}
.banner-slot-sidebar_right {
  max-width: 300px;
  margin: 1rem 0;
}
.banner-slot-between_pastes {
  margin: 1.5rem auto;
}
.banner-slot-before_content,
.banner-slot-after_content {
  margin: 1rem 0;
  max-width: 100%;
}
.wisp-banner {
  border-radius: var(--radius);
  overflow: hidden;
  background: hsla(220, 50%, 12%, 0.3);
  border: 1px solid hsla(220, 30%, 22%, 0.3);
  padding: 0.25rem;
  transition: opacity 0.3s;
}
.wisp-banner:hover {
  opacity: 0.9;
}
.wisp-banner img {
  border-radius: calc(var(--radius) - 2px);
}

/* ============================================
   WISP v7.2.9 — SaaS-Level Polish
   Micro-interactions, glassmorphism, stickiness
   ============================================ */

/* ── Global Enhancements ── */
* { box-sizing: border-box; }
::selection { background: rgba(217,70,239,0.3); color: #fff; }

/* ── Enhanced Glass Cards ── */
.glass-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.glass-card:hover {
  transform: translateY(-1px);
  border-color: rgba(217,70,239,0.15);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 0 0 1px rgba(217,70,239,0.05);
}

/* ── Paste Items ── */
.paste-item {
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}
.paste-item:hover {
  transform: translateY(-1px);
  border-color: rgba(100,116,139,0.25);
  background: rgba(30,41,59,0.9);
}

/* ── Buttons Polish ── */
.btn {
  transition: all 0.15s ease;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.97); }
.btn-primary:hover { box-shadow: 0 0 20px rgba(217,70,239,0.25); }
.btn-ghost:hover { background: rgba(100,116,139,0.08); }

/* ── Input Focus ── */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 2px rgba(217,70,239,0.15);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

/* ── Animate In ── */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeSlideIn 0.35s ease forwards;
  opacity: 0;
}

/* ── Animated Counter ── */
@keyframes countUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.counter-animate {
  animation: countUp 0.4s ease forwards;
}

/* ── Skeleton Loader ── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, rgba(100,116,139,0.08) 25%, rgba(100,116,139,0.15) 50%, rgba(100,116,139,0.08) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

/* ── Plan Badges Enhanced ── */
.plan-badge {
  transition: all 0.15s ease;
}
.plan-badge.plan-premium { box-shadow: 0 0 8px rgba(217,70,239,0.2); }
.plan-badge.plan-ultimate { box-shadow: 0 0 10px rgba(251,191,36,0.2); }

/* ── Username Link Hover ── */
a.username-styled {
  transition: text-shadow 0.2s ease, opacity 0.2s ease;
}
a.username-styled:hover {
  opacity: 0.85;
  text-decoration: none;
}

/* ── Activity Feed ── */
.activity-feed { margin-bottom: 1.25rem; }
.activity-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #cbd5e1;
  transition: background 0.15s;
}
.activity-item:hover { background: rgba(100,116,139,0.06); }
.activity-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(100,116,139,0.08);
}
.activity-time { font-size: 0.7rem; color: #475569; margin-left: auto; flex-shrink: 0; }

/* ── Favorite Button ── */
.fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(100,116,139,0.15);
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.fav-btn:hover { border-color: #eab308; color: #eab308; background: rgba(234,179,8,0.06); }
.fav-btn.active { color: #eab308; border-color: #eab308; background: rgba(234,179,8,0.1); }

/* ── Empty State ── */
.empty-state-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px dashed rgba(100,116,139,0.2);
  border-radius: 12px;
  background: rgba(15,23,42,0.3);
}
.empty-state-box p { color: #64748b; margin-bottom: 0.75rem; }

/* ── Tooltip ── */
[data-tooltip] { position: relative; }
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  background: rgba(15,23,42,0.95);
  color: #e2e8f0;
  white-space: nowrap;
  pointer-events: none;
  z-index: 100;
}

/* ============================================
   Role Badges — Admin/Founder Identity System
   ============================================ */
.role-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.68rem; font-weight: 700; padding: 2px 8px;
  border-radius: 99px; white-space: nowrap; letter-spacing: 0.02em;
}
.role-founder { border: 1px solid rgba(251,191,36,0.3); text-shadow: 0 0 8px rgba(251,191,36,0.3); }
.role-admin { border: 1px solid rgba(217,70,239,0.3); text-shadow: 0 0 8px rgba(217,70,239,0.3); }
.role-verified { border: 1px solid rgba(52,211,153,0.3); }
.role-trusted { border: 1px solid rgba(96,165,250,0.3); }

/* Admin/Founder profile card — §6 full visual system */

/* ── Founder: premium violet/magenta/gold ── */
.profile-card.founder {
  border-color: rgba(255,78,205,0.4);
  background: linear-gradient(145deg, rgba(255,78,205,0.06), rgba(122,92,255,0.04), rgba(30,41,59,0.8));
  box-shadow: 0 0 40px rgba(255,78,205,0.2), 0 4px 24px rgba(0,0,0,0.2);
}
.profile-card.founder:hover {
  box-shadow: 0 0 60px rgba(255,78,205,0.35), 0 8px 32px rgba(0,0,0,0.25);
  transform: translateY(-3px); transition: all 0.3s;
}
.profile-hero.founder {
  background: linear-gradient(135deg, rgba(255,78,205,0.15), rgba(122,92,255,0.1), rgba(251,191,36,0.05));
}
.avatar-ring.founder {
  border: 3px solid #ff4ecd;
  box-shadow: 0 0 20px rgba(255,78,205,0.4), 0 0 40px rgba(255,78,205,0.15), inset 0 0 12px rgba(255,78,205,0.1);
  outline: 3px solid rgba(251,191,36,0.3); outline-offset: 3px;
}
.profile-name.founder { color: #fce7f3; text-shadow: 0 0 12px rgba(255,78,205,0.3); }
.plan-tile.founder {
  background: linear-gradient(135deg, rgba(255,78,205,0.2), rgba(122,92,255,0.15));
  color: #fbbf24; border: 1px solid rgba(251,191,36,0.3);
  font-weight: 700; letter-spacing: .08em;
}

/* ── Admin: cold blue/cyan tech ── */
.profile-card.admin {
  border-color: rgba(0,198,255,0.35);
  background: linear-gradient(145deg, rgba(42,60,255,0.05), rgba(0,198,255,0.04), rgba(30,41,59,0.8));
  box-shadow: 0 0 25px rgba(0,198,255,0.15), 0 4px 20px rgba(0,0,0,0.2);
}
.profile-card.admin:hover {
  box-shadow: 0 0 40px rgba(0,198,255,0.25), 0 8px 28px rgba(0,0,0,0.25);
  transform: translateY(-2px); transition: all 0.3s;
}
.profile-hero.admin {
  background: linear-gradient(135deg, rgba(42,60,255,0.12), rgba(0,198,255,0.08), rgba(30,41,59,0.3));
}
.avatar-ring.admin {
  border: 3px solid #00c6ff;
  box-shadow: 0 0 16px rgba(0,198,255,0.35), 0 0 30px rgba(0,198,255,0.1);
}
.profile-name.admin { color: #e0f2fe; text-shadow: 0 0 8px rgba(0,198,255,0.2); }
.plan-tile.admin {
  background: rgba(0,198,255,0.12);
  color: #00c6ff; border: 1px solid rgba(0,198,255,0.25);
  font-weight: 700; letter-spacing: .08em;
}

/* ── User: clean default ── */
.profile-card.user { /* default styling from inline */ }
.plan-tile.user { background: rgba(100,116,139,0.1); color: #94a3b8; border: 1px solid rgba(100,116,139,0.15); }

/* ── Founder stats cards ── */
.profile-card.founder .profile-stat { background: rgba(255,78,205,0.04); border: 1px solid rgba(255,78,205,0.08); }
.profile-card.admin .profile-stat { background: rgba(0,198,255,0.04); border: 1px solid rgba(0,198,255,0.06); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 3px; font-size: 0.7rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; white-space: nowrap; }
.badge.founder { color: gold; background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.3); text-shadow: 0 0 8px rgba(255,215,0,0.3); }
.badge.admin { color: #00c6ff; background: rgba(0,198,255,0.1); border: 1px solid rgba(0,198,255,0.3); text-shadow: 0 0 8px rgba(0,198,255,0.3); }
.badge.verified { color: #34d399; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25); }
.badge.trusted { color: #60a5fa; background: rgba(96,165,250,0.1); border: 1px solid rgba(96,165,250,0.25); }

.plan-system { display: none; }

/* ============================================
   Profile Visual Tier System — Monetization UX
   ============================================ */

/* Free — clean minimalism */
.profile-tier-free .profile-header {
  background: linear-gradient(135deg, rgba(100,116,139,0.08), rgba(30,41,59,0.3));
}

/* Basic — subtle glow + improved border */
.profile-tier-basic {
  border-color: rgba(96,165,250,0.25);
}
.profile-tier-basic .profile-header {
  background: linear-gradient(135deg, rgba(96,165,250,0.08), rgba(59,130,246,0.04));
}
.profile-tier-basic:hover {
  box-shadow: 0 0 16px rgba(96,165,250,0.1);
}
.avatar-tier-basic {
  border-color: #60a5fa !important;
  box-shadow: 0 0 10px rgba(96,165,250,0.15);
}

/* Premium — vivid gradient + glow border + hover animation */
.profile-tier-premium {
  border-color: rgba(217,70,239,0.35);
  box-shadow: 0 0 20px rgba(217,70,239,0.08);
}
.profile-tier-premium .profile-header {
  background: linear-gradient(135deg, rgba(217,70,239,0.12), rgba(139,92,246,0.06), rgba(6,182,212,0.04));
}
.profile-tier-premium:hover {
  box-shadow: 0 0 30px rgba(217,70,239,0.15);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}
.avatar-tier-premium {
  border-color: #d946ef !important;
  box-shadow: 0 0 14px rgba(217,70,239,0.25);
}

/* Ultimate — full custom + animated gradient + special ring */
.profile-tier-ultimate {
  border-color: rgba(251,191,36,0.4);
  box-shadow: 0 0 24px rgba(251,191,36,0.1);
  background: rgba(30,41,59,0.7);
  position: relative;
  overflow: hidden;
}
.profile-tier-ultimate::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #fbbf24, #d946ef, #60a5fa, #34d399, #fbbf24);
  background-size: 200% 100%;
  animation: ultimateGradient 4s linear infinite;
}
.profile-tier-ultimate .profile-header {
  background: linear-gradient(135deg, rgba(251,191,36,0.08), rgba(217,70,239,0.06), rgba(139,92,246,0.04));
}
.profile-tier-ultimate:hover {
  box-shadow: 0 0 40px rgba(251,191,36,0.15), 0 0 60px rgba(217,70,239,0.08);
  transform: translateY(-3px);
  transition: all 0.3s ease;
}
.avatar-tier-ultimate {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 18px rgba(251,191,36,0.3), 0 0 6px rgba(217,70,239,0.2);
  animation: ultimateRing 3s ease-in-out infinite;
}
@keyframes ultimateGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes ultimateRing {
  0%, 100% { box-shadow: 0 0 18px rgba(251,191,36,0.3), 0 0 6px rgba(217,70,239,0.2); }
  50% { box-shadow: 0 0 24px rgba(251,191,36,0.45), 0 0 12px rgba(217,70,239,0.3); }
}

/* Plan badges — visual upgrade per tier */
.plan-badge.plan-basic { background: rgba(96,165,250,0.12); color: #60a5fa; border: 1px solid rgba(96,165,250,0.25); }
.plan-badge.plan-premium { background: rgba(217,70,239,0.12); color: #d946ef; border: 1px solid rgba(217,70,239,0.25); box-shadow: 0 0 8px rgba(217,70,239,0.2); }
.plan-badge.plan-ultimate {
  background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(217,70,239,0.1));
  color: #fbbf24; border: 1px solid rgba(251,191,36,0.3);
  box-shadow: 0 0 10px rgba(251,191,36,0.2);
  animation: ultimateBadge 2s ease-in-out infinite;
}
@keyframes ultimateBadge {
  0%, 100% { box-shadow: 0 0 10px rgba(251,191,36,0.2); }
  50% { box-shadow: 0 0 16px rgba(251,191,36,0.35); }
}
