:root {
  --font-primary: 'Manrope', 'SF Pro Display', 'Segoe UI', sans-serif;
  --font-display: 'Manrope', 'SF Pro Display', 'Segoe UI', sans-serif;
  /* PRIMARY COLORS */
  --primary: #8B5CF6;
  --primary-hover: #7C3AED;
  --primary-light: #A78BFA;
  --primary-dark: #6D28D9;
  --primary-rgb: 139, 92, 246;

  /* NEON ACCENTS */
  --neon-cyan: #00FFFF;
  --neon-cyan-rgb: 0, 255, 255;
  --neon-pink: #FF4DFF;
  --neon-green: #00FF88;

  /* BACKGROUND */
  --bg-darkest: #0B0A12;
  --bg-dark: #11101A;
  --bg-card: #18162A;
  --bg-card-hover: #1E1A35;
  --bg-glass: rgba(24, 22, 42, 0.8);
  --bg-glass-light: rgba(30, 26, 53, 0.6);

  /* NEON ACCENTS */
  --neon-cyan: #00FFFF;
  --neon-pink: #FF4DFF;
  --neon-green: #00FF88;

  /* BACKGROUND */
  --bg-darkest: #0B0A12;
  --bg-dark: #11101A;
  --bg-card: #18162A;
  --bg-card-hover: #1E1A35;
  --bg-glass: rgba(24, 22, 42, 0.7);
  --bg-glass-light: rgba(30, 26, 53, 0.5);

  /* TEXT */
  --text-primary: #FFFFFF;
  --text-secondary: #A78BFA;
  --text-muted: #6B7280;

  /* SHADOWS AND EFFECTS */
  --shadow-soft: 0 0 0 rgba(0, 0, 0, 0);
  --shadow-medium: 0 0 18px rgba(139, 92, 246, 0.08);
  --shadow-strong: 0 0 26px rgba(139, 92, 246, 0.12);
  --shadow-card: 0 0 30px rgba(139, 92, 246, 0.1);
  --glow-primary: 0 0 40px rgba(139, 92, 246, 0.25);
  --glow-cyan: 0 0 30px rgba(0, 255, 255, 0.18);
  --glow-subtle: 0 0 22px rgba(139, 92, 246, 0.18);

  /* GLASSMORPHISM */
  --glass-bg: rgba(17, 16, 26, 0.6);
  --glass-border: rgba(139, 92, 246, 0.15);
  --glass-blur: blur(20px);

  /* CARD GRADIENTS */
  --gradient-purple: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(124, 58, 237, 0.1));
  --gradient-cyan: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(139, 92, 246, 0.1));
  --gradient-pink: linear-gradient(135deg, rgba(255, 77, 255, 0.25), rgba(139, 92, 246, 0.1));
  --gradient-blue: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.15));
  --gradient-gold: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(139, 92, 246, 0.1));

  /* TRANSITIONS */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* RADII */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
}

/* BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

html, body {
  height: 100%;
  font-family: var(--font-primary);
  color: var(--text-primary);
  line-height: 1.6;
  background: linear-gradient(165deg, #0f0e1a 0%, #1a1730 45%, #0f0e1a 100%);
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-weight: 400;
  letter-spacing: -0.3px;
  background: transparent;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 20%, rgba(255, 255, 255, 0.22), transparent 40%),
    radial-gradient(1px 1px at 30% 70%, rgba(255, 255, 255, 0.2), transparent 45%),
    radial-gradient(1px 1px at 58% 35%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(1px 1px at 74% 62%, rgba(255, 255, 255, 0.2), transparent 50%),
    radial-gradient(1px 1px at 86% 18%, rgba(255, 255, 255, 0.16), transparent 45%),
    radial-gradient(1px 1px at 42% 12%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(1px 1px at 10% 85%, rgba(255, 255, 255, 0.16), transparent 50%),
    radial-gradient(1px 1px at 90% 82%, rgba(255, 255, 255, 0.18), transparent 50%);
  opacity: 0.16;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.08), transparent 55%);
  opacity: 0.25;
  pointer-events: none;
  z-index: -3;
}

/* TYPOGRAPHY */
h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.08;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.8px;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary-light);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 400;
}

/* LINKS */
a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* CONTENT WIDTH CONTROL */
.content-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.content-wide {
  max-width: 1300px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17, 16, 26, 0.7);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.12);
}

.site-header.scrolled {
  background: rgba(11, 10, 18, 0.85);
  padding: 1rem 0;
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.logo img {
  height: 150px;
  width: auto;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5)) brightness(1.1);
  transition: all var(--transition-fast);
}

.logo:hover img {
  filter: drop-shadow(0 0 50px rgba(139, 92, 246, 0.9)) brightness(1.2);
  transform: scale(1.1);
}

/* NAVIGATION - CENTERED */
.nav {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--neon-cyan));
  transition: all var(--transition-normal);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.35);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* CTA BUTTON IN HEADER */
.header-cta {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(124, 58, 237, 0.8));
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.18);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
  background: linear-gradient(135deg, rgba(139, 92, 246, 1), rgba(124, 58, 237, 1));
}

/* MAIN CONTENT */
main {
  flex: 1;
  padding-top: 100px;
}

/* SECTIONS */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-band {
  background: transparent;
}

.glass-stage {
  background: linear-gradient(135deg, rgba(24, 22, 42, 0.48), rgba(28, 24, 46, 0.28));
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.08);
  backdrop-filter: blur(20px) saturate(1.2);
  position: relative;
  overflow: hidden;
}

.glass-stage::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

@keyframes glassSheen {
  0% { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
  35% { opacity: 0.25; }
  70% { opacity: 0.15; }
  100% { transform: translateX(120%) skewX(-12deg); opacity: 0; }
}

.card::before,
.subcard::before,
.preview-card::before,
.feature-card::before,
.blog-post::before,
.blog-preview-card::before,
.auth-card::before,
.comment-card::before,
.glass-panel::before,
.admin-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.18), transparent 60%);
  opacity: 0;
  pointer-events: none;
  animation: glassSheen 10s ease-in-out infinite;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* CARDS */
.card {
  background: linear-gradient(135deg, rgba(28, 26, 46, 0.6), rgba(20, 18, 34, 0.34));
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: var(--radius-lg);
  padding: 3rem;
  transition: all var(--transition-normal);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(139, 92, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 24px rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.3);
}

.card::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.glass-panel {
  background: linear-gradient(135deg, rgba(28, 26, 46, 0.62), rgba(24, 22, 38, 0.46));
  border: 1px solid rgba(139, 92, 246, 0.18);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.1);
  position: relative;
  overflow: hidden;
}

/* SUB-CARDS */
.subcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.subcard {
  background: linear-gradient(135deg, rgba(22, 20, 36, 0.52), rgba(18, 16, 30, 0.32));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 14px rgba(139, 92, 246, 0.08);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.subcard h5 {
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.subcard p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-primary);
}

.subcard:hover {
  border-color: rgba(139, 92, 246, 0.28);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 20px rgba(139, 92, 246, 0.14);
}

/* HOME HERO */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
}

.hero-shell {
  padding: 3.5rem;
  width: min(1240px, 96vw);
  margin: 0 auto;
  border-radius: 36px;
  position: relative;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.15), transparent 60%);
  filter: blur(30px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
}

.home-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(124, 58, 237, 0.9));
  color: var(--text-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 26px rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 36px rgba(139, 92, 246, 0.28);
  background: linear-gradient(135deg, rgba(139, 92, 246, 1), rgba(124, 58, 237, 1));
}

.btn-glass {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--text-primary);
  backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(139, 92, 246, 0.12);
}

.btn-glass:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 24px rgba(139, 92, 246, 0.18);
  transform: translateY(-2px);
}

/* CONTENT GRID */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

/* PREVIEW CARDS */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.preview-card {
  background: rgba(24, 22, 42, 0.68);
  backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(139, 92, 246, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 20px rgba(139, 92, 246, 0.1);
  position: relative;
}

.preview-card:hover {
  transform: translateY(-12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 26px rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.22);
}

.preview-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.preview-card:hover .preview-image img {
  transform: scale(1.05);
}

.preview-content {
  padding: 2rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
}

.preview-content h4 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.preview-content p {
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FEATURE CARDS */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(24, 22, 42, 0.68), rgba(30, 26, 53, 0.55));
  backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid rgba(139, 92, 246, 0.14);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(139, 92, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 26px rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.22);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(124, 58, 237, 0.9));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 1.75rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 24px rgba(139, 92, 246, 0.22);
}

/* BLOG SECTION */
.blog-section {
  padding: 6rem 0;
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 9.5rem;
  margin-left: auto;
}

.profile-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.12);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.18);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.profile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(139, 92, 246, 0.24);
}

.profile-btn svg {
  width: 20px;
  height: 20px;
}

.blog-container {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post {
  background: linear-gradient(135deg, rgba(24, 22, 42, 0.78), rgba(30, 26, 53, 0.66));
  backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid rgba(139, 92, 246, 0.14);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 2.5rem;
  transition: all var(--transition-normal);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 20px rgba(139, 92, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.blog-post:hover {
  transform: translateX(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 28px rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.22);
}

.blog-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-meta::before {
  content: '';
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.blog-post h3 {
  margin-bottom: 1rem;
}

.blog-post p {
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--neon-cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more:hover {
  gap: 1rem;
}

/* BLOG PREVIEW */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.blog-preview-card {
  background: linear-gradient(135deg, rgba(24, 22, 42, 0.75), rgba(30, 26, 53, 0.62));
  border: 1px solid rgba(139, 92, 246, 0.14);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 16px rgba(139, 92, 246, 0.1);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.blog-preview-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 22px rgba(139, 92, 246, 0.15);
}

.blog-preview-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* BLOG PAGE */
.blog-page {
  padding: 8rem 0 6rem;
}

.auth-card,
.comment-card {
  background: linear-gradient(135deg, rgba(24, 22, 42, 0.8), rgba(30, 26, 53, 0.66));
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(139, 92, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-field {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(11, 10, 18, 0.6);
  color: var(--text-primary);
}

.input-field:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.comment-item {
  background: rgba(11, 10, 18, 0.45);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 14px;
  padding: 1rem 1.25rem;
}

.comment-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.comment-text {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(12px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  width: 100%;
  background: rgba(16, 14, 28, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 0 36px rgba(139, 92, 246, 0.2);
}

.lightbox-image {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.15);
  color: var(--text-primary);
  cursor: pointer;
}

.lightbox-close {
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
/* FONT GENERATOR */
.font-generator {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}

.font-controls {
  background: rgba(11, 10, 18, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.font-controls label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.font-controls textarea,
.font-controls select,
.font-controls input[type="range"] {
  width: 100%;
}

.font-controls textarea,
.font-controls select {
  background: rgba(11, 10, 18, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 0.75rem;
}

.font-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.preview-card {
  background: rgba(24, 22, 42, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.preview-text {
  margin: 0;
  font-size: 2rem;
}

.glow-text {
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

.glass-text {
  color: rgba(255, 255, 255, 0.85);
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(139, 92, 246, 0.8);
}

/* AUTH MODAL */
.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
  animation: authFade 0.4s ease;
}

.auth-modal.active {
  display: flex;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 18, 0.72);
  backdrop-filter: blur(6px);
}

.auth-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  background: linear-gradient(145deg, rgba(24, 22, 42, 0.95), rgba(30, 26, 53, 0.9));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 34px rgba(139, 92, 246, 0.2);
  animation: authPanelIn 0.45s ease;
}

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

@keyframes authPanelIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.1);
  color: var(--text-primary);
  cursor: pointer;
}

.auth-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.auth-tab.active {
  background: rgba(139, 92, 246, 0.2);
  color: var(--text-primary);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-form.active {
  display: flex;
}

.auth-form label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.auth-form input {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(11, 10, 18, 0.6);
  color: var(--text-primary);
}

.auth-link {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  padding: 0;
  font-size: 0.85rem;
}

.auth-link:hover {
  color: var(--text-primary);
}

.auth-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-muted);
}

/* TOASTS */
.toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 10000;
  pointer-events: none;
}

.toast {
  min-width: 220px;
  max-width: 320px;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(28, 26, 46, 0.78), rgba(20, 18, 32, 0.55));
  border: 1px solid rgba(139, 92, 246, 0.28);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.18);
  backdrop-filter: blur(22px) saturate(1.2);
  animation: toastIn 0.35s ease;
}

.toast.success {
  border-color: rgba(0, 255, 255, 0.35);
  color: #d9feff;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ADMIN PANELS */
.admin-page {
  background: linear-gradient(135deg, var(--bg-darkest) 0%, var(--bg-dark) 100%);
  min-height: 100vh;
}

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 2rem 4rem;
}

.admin-header {
  text-align: center;
  margin-bottom: 4rem;
}

.admin-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.admin-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

.admin-shield-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg,
    rgba(139, 92, 246, 0.2),
    rgba(0, 255, 255, 0.1)
  );
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  box-shadow:
    0 10px 40px rgba(139, 92, 246, 0.3),
    0 0 60px rgba(0, 255, 255, 0.2);
}

.admin-shield-icon svg {
  width: 40px;
  height: 40px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.admin-card {
  background: linear-gradient(145deg,
    rgba(24, 22, 42, 0.8),
    rgba(30, 26, 53, 0.6)
  );
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.admin-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 28px rgba(139, 92, 246, 0.2);
  transform: translateY(-5px);
}

.admin-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-card h2 .icon {
  width: 36px;
  height: 36px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.blog-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  padding: 1rem 1.25rem;
  background: rgba(11, 10, 18, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.admin-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.admin-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 30px rgba(139, 92, 246, 0.4),
    0 0 40px rgba(139, 92, 246, 0.2);
}

.admin-btn.secondary {
  background: transparent;
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--text-secondary);
}

.admin-btn.secondary:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.5);
  color: var(--text-primary);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.blog-list::-webkit-scrollbar {
  width: 6px;
}

.blog-list::-webkit-scrollbar-track {
  background: rgba(139, 92, 246, 0.05);
  border-radius: 3px;
}

.blog-list::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 3px;
}

.blog-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(11, 10, 18, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.blog-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
}

.blog-item-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.blog-item-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-item-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.action-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  color: var(--neon-cyan);
  transform: scale(1.1);
}

.action-btn.delete:hover {
  background: rgba(255, 77, 255, 0.2);
  color: var(--neon-pink);
  border-color: rgba(255, 77, 255, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(11, 10, 18, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ROLES PAGE */
.role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(11, 10, 18, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.role-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.role-meta strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.role-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.role-select {
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(11, 10, 18, 0.6);
  color: var(--text-primary);
}

.role-select:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.2);
}

/* FOOTER */
.site-footer {
  background: transparent;
  border-top: none;
  padding: 2rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--neon-cyan));
  transition: width var(--transition-normal);
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.footer-bottom a {
  color: var(--text-muted);
  font-size: 0.75rem;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--text-secondary);
  opacity: 1;
}

.footer-bottom a:hover {
  color: var(--text-secondary);
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .content-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .footer-links {
    gap: 1.5rem;
  }

  .hero-shell {
    padding: 2.5rem 1.5rem;
  }

  .glass-stage {
    padding: 1.5rem;
  }

  .admin-container {
    padding: 100px 1rem 2rem;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .role-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .font-generator {
    grid-template-columns: 1fr;
  }
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.5);
}

/* UTILITIES */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.justify-center { justify-content: center; }
.items-center { align-items: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.gap-3 { gap: 3rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-1xl { max-width: 48rem; }
.max-w-2xl { max-width: 64rem; }
.max-w-3xl { max-width: 80rem; }
