/* =============================================
   MINECORE GROUP — Design System v2
   Premium dark UI · Glassmorphism · Animations
   ============================================= */

/* ---- Design Tokens ---- */
:root {
  --bg-dark:        #07070A;
  --bg-mid:         #0D1117;
  --bg-card:        rgba(17,24,39,0.9);
  --bg-card-solid:  #111827;
  --primary:        #6D28D9;
  --glow:           #8B5CF6;
  --highlight:      #A855F7;
  --text-white:     #FFFFFF;
  --text-muted:     #E5E7EB;
  --text-dim:       #9CA3AF;
  --success:        #22C55E;
  --warning:        #EAB308;
  --danger:         #EF4444;
  --border:         rgba(109,40,217,0.25);
  --border-strong:  rgba(109,40,217,0.5);

  --shadow-sm:      0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:      0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:      0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow:    0 0 20px rgba(109,40,217,0.35);
  --shadow-glow-lg: 0 0 50px rgba(109,40,217,0.45);

  --gradient-primary: linear-gradient(135deg, #6D28D9 0%, #A855F7 100%);
  --gradient-card:    linear-gradient(135deg, rgba(17,24,39,0.95) 0%, rgba(13,17,23,0.95) 100%);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.2s ease;
  --transition-slow: all 0.4s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(109,40,217,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Utility ---- */
.container     { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section       { padding: 88px 0; position: relative; z-index: 1; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.section-sub   { color: var(--text-dim); font-size: 1rem; margin-bottom: 48px; max-width: 600px; }
.glow-text     { color: var(--highlight); text-shadow: 0 0 24px rgba(168,85,247,0.55); }
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 12px; border-radius: var(--radius-full);
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.03em;
}
.badge-purple { background: rgba(109,40,217,0.18); color: var(--highlight); border: 1px solid var(--border); }
.badge-green  { background: rgba(34,197,94,0.12);  color: var(--success);   border: 1px solid rgba(34,197,94,0.3); }
.badge-yellow { background: rgba(234,179,8,0.12);  color: var(--warning);   border: 1px solid rgba(234,179,8,0.3); }
.badge-red    { background: rgba(239,68,68,0.12);  color: var(--danger);    border: 1px solid rgba(239,68,68,0.3); }
.badge-blue   { background: rgba(59,130,246,0.12); color: #60a5fa;          border: 1px solid rgba(59,130,246,0.3); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: var(--transition);
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  box-shadow: var(--shadow-glow-lg);
  transform: translateY(-1px);
}
.btn-outline {
  background: rgba(109,40,217,0.06);
  color: var(--text-white);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--glow);
  background: rgba(109,40,217,0.12);
  color: var(--highlight);
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(7,7,10,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(109,40,217,0.15);
  height: 64px;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(7,7,10,0.96);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.navbar .container {
  display: flex; align-items: center;
  height: 100%; gap: 28px;
}
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.05rem;
  flex-shrink: 0;
}
.navbar-logo img { width: 36px; height: 36px; }
.navbar-logo span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.navbar-nav   { display: flex; gap: 2px; flex: 1; }
.navbar-nav a {
  padding: 8px 13px; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 500; color: var(--text-dim);
  transition: var(--transition); position: relative;
}
.navbar-nav a:hover  { color: var(--text-white); background: rgba(109,40,217,0.1); }
.navbar-nav a.active { color: var(--highlight); background: rgba(109,40,217,0.15); }
.navbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.navbar-actions .btn { padding: 7px 16px; font-size: 0.83rem; }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 64px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 45%, rgba(109,40,217,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 45% 45% at 15% 80%, rgba(139,92,246,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 90% 10%, rgba(168,85,247,0.07) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0%   { opacity: 0.8; }
  100% { opacity: 1; }
}
.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--highlight); margin-bottom: 18px;
  background: rgba(109,40,217,0.1); border: 1px solid var(--border);
  padding: 5px 14px; border-radius: var(--radius-full);
}
.hero-title    { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; line-height: 1.08; margin-bottom: 20px; }
.hero-sub      { color: var(--text-dim); font-size: 1.05rem; line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-buttons  { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-3d {
  display: flex; align-items: center; justify-content: center;
  min-height: 400px; position: relative;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  position: relative; z-index: 1;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-item { padding: 8px; }
.stat-number {
  font-size: 2.2rem; font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label { font-size: 0.82rem; color: var(--text-dim); margin-top: 6px; }

/* ---- Floating assets ---- */
.asset-img { mix-blend-mode: screen; pointer-events: none; }
.asset-img-float {
  mix-blend-mode: screen;
  animation: float 5s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 0 28px rgba(139,92,246,0.55));
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(1deg); }
}

/* ---- Cards ---- */
.project-card, .value-card, .team-card, .post-card, .news-card,
.forum-category-card, .ticket-row, .dash-widget {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

/* ---- Projects Grid ---- */
.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.project-card {
  padding: 24px;
  position: relative; overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.project-card:hover { border-color: var(--glow); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.project-card:hover::before { transform: translateX(100%); }
.project-card-img {
  width: 100%; height: 130px;
  background: linear-gradient(135deg, rgba(109,40,217,0.1) 0%, rgba(168,85,247,0.05) 100%);
  border-radius: var(--radius-sm); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(109,40,217,0.15);
}
.project-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.project-card-desc  { font-size: 0.84rem; color: var(--text-dim); margin-bottom: 16px; line-height: 1.6; }
.project-card-footer { display: flex; align-items: center; justify-content: space-between; }

/* ---- About / Values ---- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-text p { color: var(--text-dim); margin-bottom: 16px; line-height: 1.8; }
.values-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value-card { padding: 22px; }
.value-card:hover { border-color: var(--glow); transform: translateY(-2px); }
.value-card-icon  { margin-bottom: 14px; display: flex; justify-content: center; }
.value-card-title { font-weight: 700; margin-bottom: 6px; font-size: 0.95rem; }
.value-card-desc  { font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; }

/* ---- Server Status pill ---- */
.server-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(17,24,39,0.8); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 7px 16px; font-size: 0.83rem;
  margin-bottom: 24px; backdrop-filter: blur(8px);
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(34,197,94,0.7);
  animation: pingPulse 2s ease-out infinite;
}
@keyframes pingPulse {
  0%  { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100%{ box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* ---- Team ---- */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.team-card {
  padding: 28px 20px; text-align: center;
  position: relative; overflow: hidden;
}
.team-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0); transition: transform 0.3s;
}
.team-card:hover { border-color: var(--glow); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.team-card:hover::after { transform: scaleX(1); }
.team-avatar {
  width: 68px; height: 68px; margin: 0 auto 16px;
  background: rgba(109,40,217,0.15); border: 2px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  overflow: hidden; transition: border-color 0.2s;
}
.team-card:hover .team-avatar { border-color: var(--glow); }
.team-name { font-weight: 700; margin-bottom: 5px; font-size: 0.95rem; }
.team-role { font-size: 0.78rem; color: var(--text-dim); line-height: 1.5; }

/* ---- News ---- */
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.news-card {
  overflow: hidden; display: flex; flex-direction: column;
}
.news-card:hover { border-color: var(--glow); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.news-card-img {
  height: 160px;
  background: linear-gradient(135deg, rgba(109,40,217,0.12) 0%, rgba(168,85,247,0.06) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body    { padding: 20px; flex: 1; }
.news-card-tag     { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--highlight); margin-bottom: 8px; }
.news-card-title   { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.45; }
.news-card-excerpt { font-size: 0.84rem; color: var(--text-dim); line-height: 1.6; }
.news-card-footer  { padding: 12px 20px; border-top: 1px solid var(--border); font-size: 0.77rem; color: var(--text-dim); display: flex; justify-content: space-between; }

/* ---- Footer ---- */
.footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; margin-top: 12px; max-width: 280px; line-height: 1.7; }
.footer-col h4  { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { color: var(--text-dim); font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--highlight); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--text-dim);
}
.hobby-notice {
  background: rgba(109,40,217,0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-size: 0.8rem; color: var(--text-dim);
  margin-top: 18px; max-width: 600px; line-height: 1.6;
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Loading Skeleton ---- */
.skeleton {
  background: linear-gradient(90deg, rgba(109,40,217,0.08) 25%, rgba(109,40,217,0.15) 50%, rgba(109,40,217,0.08) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-text  { height: 14px; margin-bottom: 8px; border-radius: 4px; }
.skeleton-title { height: 22px; margin-bottom: 12px; width: 70%; border-radius: 4px; }
.skeleton-card  { height: 180px; border-radius: var(--radius-md); }

/* ============================================================
   UNTERSEITEN
   ============================================================ */

/* ---- Page Header ---- */
.page-header {
  padding: 108px 0 52px;
  background: linear-gradient(180deg, rgba(109,40,217,0.1) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(109,40,217,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-header .badge { margin-bottom: 12px; }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; }
.page-header p  { color: var(--text-dim); margin-top: 10px; font-size: 1rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-dim); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-dim); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--highlight); }
.breadcrumb span { opacity: 0.4; }

/* ---- Tabs ---- */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.tab-btn {
  padding: 10px 18px; font-size: 0.88rem; font-weight: 600;
  background: none; border: none; color: var(--text-dim);
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: var(--transition); margin-bottom: -1px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.tab-btn:hover  { color: var(--text-white); background: rgba(109,40,217,0.06); }
.tab-btn.active { color: var(--highlight); border-bottom-color: var(--highlight); }

/* ---- Forum ---- */
.forum-category-card {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  transition: var(--transition); text-decoration: none; color: inherit;
}
.forum-category-card:hover { border-color: var(--glow); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.forum-category-icon {
  min-width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(109,40,217,0.14); border-radius: var(--radius-sm);
  font-size: 1.3rem;
}
.forum-category-info { flex: 1; }
.forum-category-name { font-weight: 700; margin-bottom: 2px; font-size: 0.95rem; }
.forum-category-desc { font-size: 0.81rem; color: var(--text-dim); }
.forum-category-meta { text-align: right; font-size: 0.78rem; color: var(--text-dim); line-height: 1.8; }

.forum-thread-row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid rgba(109,40,217,0.08);
}
.forum-thread-row:last-child { border-bottom: none; }
.thread-title { font-weight: 600; font-size: 0.93rem; margin-bottom: 4px; }
.thread-title a { color: var(--text-white); transition: color 0.2s; }
.thread-title a:hover { color: var(--highlight); }
.thread-meta  { font-size: 0.77rem; color: var(--text-dim); }
.thread-stats { text-align: right; font-size: 0.77rem; color: var(--text-dim); white-space: nowrap; }

.post-card {
  border-radius: var(--radius-md); padding: 22px; margin-bottom: 12px;
}
.post-author { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.post-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(109,40,217,0.2); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; border: 1px solid var(--border);
}
.post-author-name { font-weight: 700; font-size: 0.9rem; }
.post-author-role { font-size: 0.74rem; color: var(--text-dim); }
.post-content     { font-size: 0.91rem; color: var(--text-muted); line-height: 1.75; white-space: pre-wrap; }
.post-footer      { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 0.78rem; color: var(--text-dim); }

/* ---- Dashboard ---- */
.dashboard-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 28px;
  padding-top: 88px; min-height: 100vh; align-items: start;
}
.dashboard-sidebar {
  position: sticky; top: 80px; padding: 24px;
}
.dash-profile {
  text-align: center; margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.dash-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px;
  background: rgba(109,40,217,0.2); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; overflow: hidden; transition: border-color 0.2s;
}
.dash-avatar:hover { border-color: var(--glow); }
.dash-username { font-weight: 700; margin-bottom: 4px; }
.dash-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius-sm); color: var(--text-dim); font-size: 0.88rem;
  transition: var(--transition);
}
.dash-nav a:hover, .dash-nav a.active {
  background: rgba(109,40,217,0.15); color: var(--text-white);
  padding-left: 16px;
}
.dashboard-main { padding-top: 28px; }
.dash-widget { padding: 22px; margin-bottom: 20px; }
.dash-widget-title {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 16px;
}
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dash-stat  {
  background: rgba(109,40,217,0.08); border: 1px solid rgba(109,40,217,0.15);
  border-radius: var(--radius-sm); padding: 16px; text-align: center;
  transition: var(--transition);
}
.dash-stat:hover { border-color: var(--glow); background: rgba(109,40,217,0.14); }
.dash-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--highlight); }
.dash-stat-lbl { font-size: 0.72rem; color: var(--text-dim); margin-top: 3px; }

/* ---- Forms ---- */
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.83rem; font-weight: 600;
  margin-bottom: 7px; color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select,
.form-control {
  width: 100%; padding: 11px 14px;
  background: rgba(13,17,23,0.8); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-white); font-size: 0.93rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-control:focus {
  border-color: var(--glow);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-card-solid); }
.form-hint { font-size: 0.77rem; color: var(--text-dim); margin-top: 5px; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ---- Alert / Info box ---- */
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.87rem;
  margin-bottom: 16px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.alert-info    { background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.3); color: #c4b5fd; }
.alert-success { background: rgba(34,197,94,0.08);  border: 1px solid rgba(34,197,94,0.3);  color: #86efac; }
.alert-error   { background: rgba(239,68,68,0.08);  border: 1px solid rgba(239,68,68,0.3);  color: #fca5a5; }

/* ---- Toast ---- */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--bg-card-solid); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 18px;
  min-width: 280px; max-width: 360px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes toastIn { from { transform: translateX(60px) scale(0.9); opacity: 0; } to { transform: translateX(0) scale(1); opacity: 1; } }
.toast-success { border-left: 3px solid var(--success); }
.toast-error   { border-left: 3px solid var(--danger); }
.toast-info    { border-left: 3px solid var(--highlight); }
.toast-msg     { font-size: 0.87rem; flex: 1; line-height: 1.4; }
.toast-close   { cursor: pointer; color: var(--text-dim); background: none; border: none; font-size: 1rem; padding: 0; transition: color 0.2s; }
.toast-close:hover { color: var(--text-white); }

/* ---- Legal Pages ---- */
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 1.15rem; font-weight: 700; margin: 36px 0 12px; color: var(--highlight); }
.legal-content h3 { font-size: 0.97rem; font-weight: 700; margin: 22px 0 8px; }
.legal-content p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content ul li { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; list-style: disc; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.page-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text-dim);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--transition);
}
.page-btn:hover, .page-btn.active { border-color: var(--glow); color: var(--highlight); background: rgba(109,40,217,0.14); }

/* ---- Modal ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(7,7,10,0.8); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal {
  background: var(--bg-card-solid); border: 1px solid var(--border);
  border-radius: var(--radius-lg); width: 100%;
  box-shadow: 0 0 60px rgba(0,0,0,0.6), var(--shadow-glow);
  animation: modalIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalIn { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
}
.modal-title { font-size: 1rem; font-weight: 700; }
.modal-close {
  background: none; border: none; color: var(--text-dim);
  font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 0;
  transition: color 0.2s; border-radius: 4px;
}
.modal-close:hover { color: var(--text-white); }

/* ---- Cookie Gate ---- */
.cookie-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(7,7,10,0.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.cookie-gate-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 44px 40px; max-width: 480px; width: 100%; text-align: center;
  box-shadow: var(--shadow-glow-lg);
}
.cookie-gate-logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 1.15rem; font-weight: 800; margin-bottom: 22px;
}
.cookie-gate-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.cookie-gate-text  { color: var(--text-dim); font-size: 0.87rem; line-height: 1.65; margin-bottom: 28px; }
.cookie-gate-text a { color: var(--highlight); }
.cookie-gate-btns  { display: flex; flex-direction: column; gap: 10px; }
.cookie-gate.hidden { display: none; }

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--bg-card-solid); border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  transform: translateY(0); transition: transform 0.3s;
  backdrop-filter: blur(10px);
}
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-banner p { font-size: 0.85rem; color: var(--text-dim); flex: 1; min-width: 200px; }
.cookie-banner p a { color: var(--highlight); }
.cookie-actions { display: flex; gap: 10px; }

/* ---- Site Icons ---- */
.site-icon {
  display: inline-block; object-fit: contain; flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(168,85,247,0.45));
  transition: filter 0.2s, transform 0.2s;
}
.site-icon:hover { filter: drop-shadow(0 0 16px rgba(168,85,247,0.85)); transform: scale(1.08); }
.si-64 { width: 64px; height: 64px; }
.si-52 { width: 52px; height: 52px; }
.si-44 { width: 44px; height: 44px; }
.si-32 { width: 32px; height: 32px; }
.si-22 { width: 22px; height: 22px; }
.si-16 { width: 16px; height: 16px; vertical-align: middle; }

/* ---- Admin Panel ---- */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 0; min-height: 100vh; padding-top: 64px; }
.admin-sidebar {
  background: var(--bg-card-solid); border-right: 1px solid var(--border);
  padding: 24px 16px; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto;
}
.admin-sidebar-title {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-dim); padding: 0 8px; margin-bottom: 12px;
}
.admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px;
  border-radius: var(--radius-sm); color: var(--text-dim); font-size: 0.87rem;
  transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(109,40,217,0.15); color: var(--text-white); }
.admin-main { padding: 28px 32px; }
.admin-header { margin-bottom: 24px; }
.admin-header h1 { font-size: 1.4rem; font-weight: 800; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 28px; }
.admin-stat-card { background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.admin-stat-num  { font-size: 1.8rem; font-weight: 800; color: var(--highlight); }
.admin-stat-lbl  { font-size: 0.77rem; color: var(--text-dim); margin-top: 3px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.admin-table th { text-align: left; padding: 10px 14px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid rgba(109,40,217,0.07); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(109,40,217,0.04); }
.admin-table tr:last-child td { border-bottom: none; }

/* ---- Server Mode Grid ---- */
.server-mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.server-mode-card {
  background: var(--bg-card); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; transition: var(--transition); position: relative; overflow: hidden;
}
.server-mode-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(109,40,217,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.server-mode-card:hover { border-color: var(--glow); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.server-mode-icon { margin-bottom: 16px; }
.server-mode-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.server-mode-desc { font-size: 0.84rem; color: var(--text-dim); margin-bottom: 16px; line-height: 1.65; }
.server-mode-footer { display: flex; align-items: center; justify-content: space-between; }

/* ---- Tickets ---- */
.ticket-list { display: flex; flex-direction: column; gap: 10px; }
.ticket-row {
  padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
}
.ticket-row:hover { border-color: var(--glow); }
.ticket-status {
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}
.ticket-status-open        { background: rgba(34,197,94,0.12); color: var(--success); }
.ticket-status-in_progress { background: rgba(234,179,8,0.12); color: var(--warning); }
.ticket-status-closed      { background: rgba(239,68,68,0.12); color: var(--danger); }

/* ---- Notification Bell ---- */
.notif-bell-wrap {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  background: transparent; border: none; color: var(--text-dim);
  font-size: 1.15rem; transition: var(--transition);
}
.notif-bell-wrap:hover { background: rgba(109,40,217,0.14); color: var(--text-white); }
.notif-count {
  position: absolute; top: 3px; right: 3px;
  min-width: 17px; height: 17px; border-radius: 9px;
  background: var(--highlight); color: #fff;
  font-size: 0.62rem; font-weight: 700; line-height: 17px;
  text-align: center; padding: 0 3px; display: none;
  box-shadow: 0 0 8px rgba(168,85,247,0.6);
}
.notif-count.active { display: block; }
.notif-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 300px; background: var(--bg-card-solid); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg), var(--shadow-glow);
  z-index: 500; overflow: hidden; display: none;
  animation: modalIn 0.2s ease;
}
.notif-dropdown.open { display: block; }
.notif-dropdown-header {
  padding: 12px 16px; font-size: 0.77rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.notif-item {
  display: flex; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid rgba(109,40,217,0.07);
  font-size: 0.83rem; line-height: 1.45; cursor: pointer;
  transition: background 0.15s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover     { background: rgba(109,40,217,0.08); }
.notif-item.unread    { background: rgba(109,40,217,0.06); }
.notif-item-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-text { color: var(--text-white); }
.notif-item-time { color: var(--text-dim); font-size: 0.73rem; margin-top: 2px; }
.notif-empty     { padding: 24px 16px; text-align: center; color: var(--text-dim); font-size: 0.84rem; }

/* ---- Activity Feed ---- */
.activity-feed { display: flex; flex-direction: column; }
.activity-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.85rem;
}
.activity-item:last-child { border-bottom: none; }
.activity-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(109,40,217,0.15); border: 1px solid rgba(109,40,217,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.activity-body { flex: 1; min-width: 0; line-height: 1.5; }
.activity-time { color: var(--text-dim); font-size: 0.74rem; }

/* ---- Badge chips ---- */
.badge-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(109,40,217,0.16); border: 1px solid rgba(168,85,247,0.28);
  border-radius: var(--radius-full); padding: 4px 12px;
  font-size: 0.77rem; font-weight: 600; white-space: nowrap; cursor: default;
  transition: border-color 0.2s;
}
.badge-chip:hover { border-color: rgba(168,85,247,0.55); }
.badge-chip .badge-icon { font-size: 0.9rem; }

/* ---- img-placeholder ---- */
.img-placeholder {
  background: rgba(109,40,217,0.06);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--text-dim); font-size: 0.82rem;
}
.img-placeholder span { font-size: 2rem; }

/* ---- Progress bar ---- */
.progress-bar-wrap {
  background: rgba(109,40,217,0.1); border-radius: var(--radius-full);
  height: 6px; overflow: hidden; margin-top: 8px;
}
.progress-bar-fill {
  height: 100%; border-radius: var(--radius-full);
  background: var(--gradient-primary);
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Active filter btn ---- */
.active-filter { border-color: var(--glow) !important; color: var(--highlight) !important; background: rgba(109,40,217,0.12) !important; }

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(109,40,217,0.45); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(109,40,217,0.75); }

/* ---- Input wrapper (password toggle etc) ---- */
.input-wrap { position: relative; }
.input-wrap .form-control,
.input-wrap input { padding-right: 44px; }
.input-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-dim);
  cursor: pointer; padding: 4px; font-size: 1rem; line-height: 1;
  transition: color 0.2s;
}
.input-eye:hover { color: var(--highlight); }

/* ---- Auth Pages (Login / Register) ---- */
.auth-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 55% at 20% 30%, rgba(109,40,217,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(168,85,247,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 30% 50% at 60% 10%, rgba(139,92,246,0.1) 0%, transparent 50%);
  animation: authBgShift 12s ease-in-out infinite alternate;
}
@keyframes authBgShift {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.04); }
}
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 80px 24px 40px; position: relative; z-index: 1;
}
.auth-card {
  background: rgba(13,17,23,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(109,40,217,0.35);
  border-radius: 24px;
  padding: 48px 44px;
  width: 100%; max-width: 460px;
  box-shadow: 0 0 0 1px rgba(109,40,217,0.08), 0 8px 60px rgba(0,0,0,0.6), 0 0 60px rgba(109,40,217,0.18);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,0.6), transparent);
}
.auth-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1rem; margin-bottom: 36px; justify-content: center;
  color: var(--text-white);
}
.auth-logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient-primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 16px rgba(109,40,217,0.55);
}
.auth-logo span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.auth-card h1 { font-size: 1.7rem; font-weight: 800; margin-bottom: 6px; text-align: center; }
.auth-card .auth-sub { color: var(--text-dim); font-size: 0.88rem; text-align: center; margin-bottom: 32px; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  text-align: center; color: var(--text-dim); font-size: 0.8rem; margin: 20px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-card .form-group { margin-bottom: 16px; }
.auth-card .form-group label { font-size: 0.83rem; }
.auth-card .form-group input {
  background: rgba(7,7,10,0.7);
  border: 1px solid rgba(109,40,217,0.22);
  padding: 12px 14px;
}
.auth-card .form-group input:focus {
  border-color: var(--glow);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.18);
  background: rgba(7,7,10,0.9);
}
.auth-footer-link {
  text-align: center; margin-top: 24px; font-size: 0.85rem; color: var(--text-dim);
}
.auth-footer-link a { color: var(--highlight); font-weight: 600; transition: opacity 0.2s; }
.auth-footer-link a:hover { opacity: 0.8; }
.auth-discord-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px; background: rgba(88,101,242,0.12);
  border: 1px solid rgba(88,101,242,0.3); border-radius: var(--radius-sm);
  color: #7289da; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: var(--transition); font-family: inherit;
}
.auth-discord-btn:hover { background: rgba(88,101,242,0.2); border-color: rgba(88,101,242,0.5); }
.auth-error {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-size: 0.83rem; color: #fca5a5; margin-bottom: 16px; display: none;
}
.auth-error.show { display: block; }

/* ---- Feature chips / Highlight list ---- */
.feature-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.feature-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem; color: var(--text-muted);
}
.feature-item-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gradient-primary); flex-shrink: 0;
  box-shadow: 0 0 8px rgba(109,40,217,0.6);
}

/* ---- Gradient border card ---- */
.card-gradient-border {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.card-gradient-border::before {
  content: '';
  position: absolute; inset: -1px; z-index: -1;
  background: var(--gradient-primary);
  border-radius: inherit; opacity: 0.35;
  transition: opacity 0.2s;
}
.card-gradient-border:hover::before { opacity: 0.7; }

/* ---- Hero subtitle highlight ---- */
.hero-highlight {
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Improved hero label ---- */
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--highlight); margin-bottom: 20px;
  background: rgba(109,40,217,0.12); border: 1px solid rgba(109,40,217,0.3);
  padding: 6px 16px; border-radius: var(--radius-full);
  box-shadow: 0 0 20px rgba(109,40,217,0.2) inset;
}

/* ---- Mobile Nav Hamburger ---- */
.navbar-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.navbar-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 2px;
  transition: var(--transition);
}
.navbar-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.navbar-hamburger.open span:nth-child(2) { opacity: 0; }
.navbar-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.navbar-mobile {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 16px 16px;
  background: rgba(7,7,10,0.98);
  border-bottom: 1px solid var(--border);
}
.navbar-mobile.open { display: flex; }
.navbar-mobile a {
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-dim); font-size: 0.9rem; transition: var(--transition);
}
.navbar-mobile a:hover { background: rgba(109,40,217,0.12); color: var(--highlight); }
.navbar-mobile .mobile-auth { display: flex; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.navbar-mobile .mobile-auth .btn { flex: 1; justify-content: center; }

/* ---- Page loader ---- */
.page-loader {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--bg-dark); display: flex; align-items: center; justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.page-loader.done { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(109,40,217,0.2);
  border-top-color: var(--highlight);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Glow pulse on section dividers ---- */
.section-divider {
  height: 1px; width: 100%; max-width: 320px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(109,40,217,0.5), rgba(168,85,247,0.6), rgba(109,40,217,0.5), transparent);
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute; top: -3px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--highlight);
  box-shadow: 0 0 10px rgba(168,85,247,0.8);
}

/* ---- Improved Stats bar ---- */
.stat-item { cursor: default; transition: transform 0.2s; }
.stat-item:hover { transform: translateY(-2px); }
.stat-item:hover .stat-number { text-shadow: 0 0 20px rgba(168,85,247,0.5); }

/* ---- Profile avatar ring ---- */
.avatar-ring {
  border-radius: 50%; padding: 2px;
  background: var(--gradient-primary);
  display: inline-flex;
}
.avatar-ring-inner {
  border-radius: 50%; overflow: hidden;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
}

/* ---- Hover glow card (server mode etc) ---- */
.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--glow);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { gap: 40px; }
}
@media (max-width: 900px) {
  .hero-content  { grid-template-columns: 1fr; text-align: center; }
  .hero-3d       { display: none; }
  .hero-sub      { max-width: 100%; margin: 0 auto 36px; }
  .hero-buttons  { justify-content: center; }
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; }
  .dash-stats    { grid-template-columns: repeat(2, 1fr); }
  .form-row      { grid-template-columns: 1fr; }
  .admin-layout  { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-main    { padding: 20px 16px; }
}
@media (max-width: 768px) {
  .navbar-nav       { display: none; }
  .navbar-hamburger { display: flex; }
  .navbar-actions .btn { display: none; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section     { padding: 60px 0; }
  .auth-card   { padding: 36px 24px; }
}
@media (max-width: 600px) {
  .news-grid  { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.2rem; }
  .container  { padding: 0 16px; }
}
