/* ============================================================
   GameMC Portal — Minecraft Theme CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323:wght@400&display=swap');

:root {
  --mc-green:      #5aac44;
  --mc-green-dark: #3d8a2d;
  --mc-green-hover:#6fc45a;
  --mc-dirt:       #8B6914;
  --mc-stone:      #7d7d7d;
  --mc-stone-dark: #4a4a4a;
  --mc-wood:       #6B4C11;
  --mc-sky:        #1a9fff;
  --mc-gold:       #FFD700;
  --mc-diamond:    #3fe8f5;
  --mc-red:        #cc3333;
  --mc-bg:         #1a1a1a;
  --mc-bg2:        #222222;
  --mc-panel:      #2b2b2b;
  --mc-border:     #555555;
  --mc-border-light: #888888;
  --mc-text:       #ffffff;
  --mc-text-muted: #aaaaaa;
  --pixel-size:    2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'VT323', monospace;
  font-size: 20px;
  background-color: var(--mc-bg);
  color: var(--mc-text);
  min-height: 100vh;
  overflow-x: hidden;
  image-rendering: pixelated;
}

h1, h2, h3, h4 {
  font-family: 'Press Start 2P', monospace;
  line-height: 1.5;
  letter-spacing: 1px;
}

a { color: var(--mc-sky); text-decoration: none; transition: color .15s; }
a:hover { color: var(--mc-diamond); }

/* ---- Animated Background ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(0,0,0,.08) 31px,
      rgba(0,0,0,.08) 32px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 31px,
      rgba(0,0,0,.08) 31px,
      rgba(0,0,0,.08) 32px
    ),
    radial-gradient(ellipse at 50% 0%, #0d2b0d 0%, #111111 60%, #000 100%);
  z-index: -2;
  animation: bgShift 20s ease-in-out infinite alternate;
}

@keyframes bgShift {
  from { background-position: 0 0, 0 0, center; }
  to   { background-position: 32px 32px, 32px 32px, center; }
}

/* ---- Particle Canvas ---- */
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
  background: linear-gradient(180deg, #1b3d1b 0%, #162d16 100%);
  border-bottom: 4px solid var(--mc-green-dark);
  box-shadow: 0 4px 0 #000, 0 8px 20px rgba(0,0,0,.5);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}

.navbar-brand {
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  color: var(--mc-green) !important;
  text-shadow: 0 2px 0 #1a4a1a, 2px 0 0 #000, 0 0 20px rgba(90,172,68,.4);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: brandPulse 3s ease-in-out infinite;
}

@keyframes brandPulse {
  0%, 100% { text-shadow: 0 2px 0 #1a4a1a, 2px 0 0 #000, 0 0 20px rgba(90,172,68,.4); }
  50%       { text-shadow: 0 2px 0 #1a4a1a, 2px 0 0 #000, 0 0 40px rgba(90,172,68,.8); }
}

.navbar-brand img { width: 40px; height: 40px; image-rendering: pixelated; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  color: var(--mc-text-muted);
  padding: 8px 12px;
  border: 2px solid transparent;
  transition: all .15s;
  display: block;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
  border-color: var(--mc-green);
  background: rgba(90,172,68,.15);
  box-shadow: inset 0 -2px 0 var(--mc-green);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-coins {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  color: var(--mc-gold);
  background: rgba(255,215,0,.1);
  border: 2px solid rgba(255,215,0,.3);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-avatar {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  border: 2px solid var(--mc-border);
}

/* ============================================================
   MC-Button (Minecraft style)
   ============================================================ */
.mc-btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  position: relative;
  text-transform: none;
  letter-spacing: .5px;
  transition: filter .1s, transform .1s;
  display: inline-block;
  text-align: center;
  line-height: 1.4;
  user-select: none;
  /* Pixelated border effect */
  image-rendering: pixelated;
}

.mc-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Green button */
.mc-btn-green {
  background: linear-gradient(180deg, #5aac44 0%, #3d8a2d 50%, #2d6b20 100%);
  color: #fff;
  text-shadow: 1px 1px 0 #1a4a1a;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.3), inset 0 -3px 0 rgba(0,0,0,.4),
              2px 2px 0 #000, -1px -1px 0 #000;
}
.mc-btn-green:hover {
  background: linear-gradient(180deg, #6fc45a 0%, #5aac44 50%, #3d8a2d 100%);
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.mc-btn-green:active { transform: translateY(1px); filter: brightness(.9); }

/* Stone button */
.mc-btn-stone {
  background: linear-gradient(180deg, #888 0%, #666 50%, #444 100%);
  color: #fff;
  text-shadow: 1px 1px 0 #222;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.2), inset 0 -3px 0 rgba(0,0,0,.4),
              2px 2px 0 #000, -1px -1px 0 #000;
}
.mc-btn-stone:hover { filter: brightness(1.15); transform: translateY(-1px); }
.mc-btn-stone:active { transform: translateY(1px); }

/* Red button */
.mc-btn-red {
  background: linear-gradient(180deg, #cc3333 0%, #992222 50%, #661111 100%);
  color: #fff;
  text-shadow: 1px 1px 0 #440000;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.2), inset 0 -3px 0 rgba(0,0,0,.4),
              2px 2px 0 #000;
}
.mc-btn-red:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Gold button */
.mc-btn-gold {
  background: linear-gradient(180deg, #FFD700 0%, #CC9900 50%, #996600 100%);
  color: #000;
  text-shadow: 1px 1px 0 rgba(255,255,255,.3);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.4), inset 0 -3px 0 rgba(0,0,0,.4),
              2px 2px 0 #000;
}
.mc-btn-gold:hover { filter: brightness(1.1); transform: translateY(-1px); }

.mc-btn-sm { font-size: 8px; padding: 8px 14px; }
.mc-btn-lg { font-size: 12px; padding: 18px 32px; }
.mc-btn-full { width: 100%; }

/* ============================================================
   MC-Panel (Inventory-Style)
   ============================================================ */
.mc-panel {
  background: #3c3c3c;
  border: 3px solid #1a1a1a;
  box-shadow:
    inset 2px 2px 0 rgba(255,255,255,.15),
    inset -2px -2px 0 rgba(0,0,0,.5),
    4px 4px 0 rgba(0,0,0,.5),
    0 8px 32px rgba(0,0,0,.6);
  padding: 24px;
}

.mc-panel-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 11px;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #555;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   MC-Input
   ============================================================ */
.mc-input {
  font-family: 'VT323', monospace;
  font-size: 20px;
  background: #000;
  border: 2px solid #555;
  color: #fff;
  padding: 10px 14px;
  width: 100%;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: inset 2px 2px 0 rgba(0,0,0,.5);
}

.mc-input:focus {
  border-color: var(--mc-green);
  box-shadow: inset 2px 2px 0 rgba(0,0,0,.5), 0 0 0 2px rgba(90,172,68,.3);
}

.mc-input::placeholder { color: #555; }

.mc-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: var(--mc-text-muted);
  display: block;
  margin-bottom: 8px;
  letter-spacing: .5px;
}

.mc-form-group { margin-bottom: 20px; }

/* ============================================================
   Hero / Startseite
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(24px, 5vw, 52px);
  color: var(--mc-green);
  text-shadow:
    4px 4px 0 #1a4a1a,
    8px 8px 0 rgba(0,0,0,.5);
  animation: titleFloat 3s ease-in-out infinite;
  margin-bottom: 20px;
}

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

.hero-sub {
  font-size: 28px;
  color: var(--mc-text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ip {
  display: inline-block;
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
  background: #000;
  border: 3px solid var(--mc-green);
  padding: 12px 24px;
  color: var(--mc-green);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(90,172,68,.3);
  animation: ipGlow 2s ease-in-out infinite;
  margin-bottom: 40px;
}

@keyframes ipGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(90,172,68,.3); }
  50%       { box-shadow: 0 0 30px rgba(90,172,68,.6); }
}

.hero-ip:hover { background: rgba(90,172,68,.1); }

/* ============================================================
   Server-Status Widget
   ============================================================ */
.status-widget {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(0,0,0,.6);
  border: 2px solid var(--mc-border);
  padding: 12px 20px;
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 0;
  display: inline-block;
  animation: statusBlink 1.5s ease-in-out infinite;
}
.status-dot.online  { background: var(--mc-green); box-shadow: 0 0 8px var(--mc-green); }
.status-dot.offline { background: var(--mc-red); animation: none; }

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.status-players { color: var(--mc-gold); }
.status-tps     { color: var(--mc-diamond); }

/* ============================================================
   Online Players Widget
   ============================================================ */
.online-players {
  background: rgba(0,0,0,.5);
  border: 2px solid var(--mc-border);
  padding: 20px;
  max-width: 900px;
  margin: 0 auto 60px;
}

.online-players-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: var(--mc-green);
  margin-bottom: 16px;
  text-align: center;
}

.player-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  min-height: 60px;
}

.player-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.05);
  border: 2px solid rgba(255,255,255,.1);
  padding: 8px 14px;
  transition: all .2s;
  animation: playerAppear .3s ease-out;
}

@keyframes playerAppear {
  from { opacity: 0; transform: scale(.8); }
  to   { opacity: 1; transform: scale(1); }
}

.player-card:hover {
  border-color: var(--mc-green);
  background: rgba(90,172,68,.1);
}

.player-card img { width: 28px; height: 28px; image-rendering: pixelated; }
.player-card span { font-size: 18px; color: #fff; }

.no-players {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  color: #555;
  text-align: center;
  width: 100%;
  padding: 20px;
}

/* ============================================================
   News Cards
   ============================================================ */
.section { padding: 40px 24px; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--mc-green), transparent);
}

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }

.news-card {
  background: #2a2a2a;
  border: 2px solid #444;
  box-shadow: 3px 3px 0 #000;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-4px) translateX(-2px);
  box-shadow: 6px 6px 0 #000;
  border-color: var(--mc-green);
}

.news-card-header {
  padding: 16px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-badge {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  padding: 4px 8px;
  text-transform: uppercase;
}
.news-badge.news        { background: var(--mc-sky);  color: #000; }
.news-badge.update      { background: var(--mc-green); color: #000; }
.news-badge.event       { background: var(--mc-gold);  color: #000; }
.news-badge.maintenance { background: var(--mc-red);   color: #fff; }

.news-card-body { padding: 16px 20px 20px; }
.news-card-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.6;
}
.news-card-text { font-size: 18px; color: #aaa; line-height: 1.4; }
.news-card-footer {
  padding: 12px 20px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #666;
}

/* ============================================================
   Grundstück-Shop
   ============================================================ */
.zone-card {
  background: #2a2a2a;
  border: 3px solid #444;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 4px 4px 0 #000;
}

.zone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.zone-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  color: var(--mc-gold);
}

.zone-info { font-size: 17px; color: #888; }
.zone-price { font-family: 'Press Start 2P', monospace; font-size: 11px; color: var(--mc-gold); }

.plot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }

.plot-cell {
  aspect-ratio: 1;
  border: 2px solid #555;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  position: relative;
  overflow: hidden;
}

.plot-cell.available {
  background: linear-gradient(135deg, #2d5a2d, #1a3a1a);
  border-color: #3d8a2d;
  color: var(--mc-green);
}
.plot-cell.available:hover {
  background: linear-gradient(135deg, #3d7a3d, #2a5a2a);
  border-color: var(--mc-green);
  box-shadow: 0 0 12px rgba(90,172,68,.4);
  transform: scale(1.05);
}

.plot-cell.taken {
  background: #1a1a1a;
  border-color: #333;
  color: #444;
  cursor: not-allowed;
}

.plot-cell.mine {
  background: linear-gradient(135deg, #3a2a00, #2a1a00);
  border-color: var(--mc-gold);
  color: var(--mc-gold);
}

/* ============================================================
   Profile
   ============================================================ */
.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: linear-gradient(135deg, #1a3a1a, #0d1a0d);
  border-bottom: 3px solid var(--mc-green-dark);
  flex-wrap: wrap;
}

.profile-skin {
  width: 80px;
  height: 80px;
  image-rendering: pixelated;
  border: 4px solid var(--mc-border);
  box-shadow: 4px 4px 0 #000;
  flex-shrink: 0;
}

.profile-name {
  font-family: 'Press Start 2P', monospace;
  font-size: 18px;
  color: #fff;
  text-shadow: 2px 2px 0 #000;
}

.profile-rank {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  padding: 4px 10px;
  border: 2px solid currentColor;
  margin-top: 8px;
  display: inline-block;
}

.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

.stat-card {
  background: rgba(0,0,0,.4);
  border: 2px solid #444;
  padding: 16px;
  text-align: center;
  transition: border-color .2s;
}
.stat-card:hover { border-color: var(--mc-green); }
.stat-value { font-family: 'Press Start 2P', monospace; font-size: 16px; color: var(--mc-gold); margin-bottom: 8px; }
.stat-label { font-size: 16px; color: #888; }

/* ============================================================
   Login / Register
   ============================================================ */
.auth-container {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.auth-box {
  width: 100%;
  max-width: 460px;
  background: #2b2b2b;
  border: 3px solid #555;
  box-shadow:
    inset 2px 2px 0 rgba(255,255,255,.1),
    inset -2px -2px 0 rgba(0,0,0,.5),
    6px 6px 0 rgba(0,0,0,.6),
    0 20px 60px rgba(0,0,0,.8);
}

.auth-header {
  background: linear-gradient(180deg, #1b3d1b, #0d2a0d);
  border-bottom: 3px solid var(--mc-green-dark);
  padding: 28px 32px;
  text-align: center;
}

.auth-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: var(--mc-green);
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 8px;
}

.auth-sub { font-size: 18px; color: #888; }
.auth-body { padding: 32px; }

/* ============================================================
   Toast Notifications
   ============================================================ */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }

.toast {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  padding: 14px 20px;
  border-left: 4px solid;
  max-width: 320px;
  box-shadow: 4px 4px 0 rgba(0,0,0,.6);
  animation: toastIn .3s ease-out;
  position: relative;
  line-height: 1.6;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(100px); }
  to   { opacity: 1; transform: translateX(0); }
}

.toast.success { background: #1a3a1a; border-color: var(--mc-green); color: #7dff5e; }
.toast.error   { background: #3a1a1a; border-color: var(--mc-red);   color: #ff7d7d; }
.toast.info    { background: #1a2a3a; border-color: var(--mc-sky);   color: #7dd4ff; }
.toast.warning { background: #3a2a00; border-color: var(--mc-gold);  color: var(--mc-gold); }

/* ============================================================
   Scrollbar
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #444; border: 1px solid #222; }
::-webkit-scrollbar-thumb:hover { background: #666; }

/* ============================================================
   Utility
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-gold { color: var(--mc-gold); }
.text-green { color: var(--mc-green); }
.text-red { color: var(--mc-red); }
.text-muted { color: var(--mc-text-muted); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  border-top: 3px solid #333;
  padding: 40px 24px 24px;
  margin-top: 60px;
  text-align: center;
}
.footer-logo { font-family: 'Press Start 2P', monospace; font-size: 20px; color: var(--mc-green); margin-bottom: 12px; }
.footer-text { font-size: 16px; color: #555; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.footer-links a { font-family: 'Press Start 2P', monospace; font-size: 8px; color: #555; }
.footer-links a:hover { color: var(--mc-green); }

/* ============================================================
   Admin Panel
   ============================================================ */
.admin-layout { display: flex; min-height: calc(100vh - 64px); }

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #1a1a1a;
  border-right: 3px solid #333;
  padding: 20px 0;
}

.admin-sidebar-title {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #555;
  padding: 8px 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #888;
  border-left: 3px solid transparent;
  transition: all .15s;
}
.admin-nav-link:hover, .admin-nav-link.active {
  color: #fff;
  background: rgba(90,172,68,.1);
  border-left-color: var(--mc-green);
}
.admin-nav-link .icon { font-size: 16px; }

.admin-content { flex: 1; padding: 32px; overflow-x: auto; }

.admin-card {
  background: #222;
  border: 2px solid #333;
  padding: 20px;
  box-shadow: 2px 2px 0 #000;
}

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  font-family: 'Press Start 2P', monospace;
  font-size: 8px;
  color: #888;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 2px solid #333;
  white-space: nowrap;
}
.admin-table td { padding: 10px 12px; border-bottom: 1px solid #2a2a2a; font-size: 17px; vertical-align: middle; }
.admin-table tr:hover td { background: rgba(255,255,255,.02); }

.badge {
  font-family: 'Press Start 2P', monospace;
  font-size: 7px;
  padding: 3px 7px;
  display: inline-block;
}
.badge-green  { background: rgba(90,172,68,.2);  color: var(--mc-green); border: 1px solid var(--mc-green); }
.badge-red    { background: rgba(204,51,51,.2);   color: var(--mc-red);   border: 1px solid var(--mc-red); }
.badge-gold   { background: rgba(255,215,0,.2);   color: var(--mc-gold);  border: 1px solid var(--mc-gold); }
.badge-gray   { background: rgba(100,100,100,.2); color: #888;            border: 1px solid #555; }
.badge-blue   { background: rgba(30,144,255,.2);  color: var(--mc-sky);   border: 1px solid var(--mc-sky); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 24px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; border-right: none; border-bottom: 3px solid #333; }
  .profile-header { flex-direction: column; text-align: center; }
}

/* ============================================================
   Animations
   ============================================================ */
.fadeIn { animation: fadeIn .4s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Pixel-Ladebalken */
.mc-progress { height: 16px; background: #000; border: 2px solid #444; position: relative; overflow: hidden; }
.mc-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--mc-green-dark), var(--mc-green), var(--mc-green-dark));
  background-size: 200% 100%;
  animation: progressShimmer 1.5s linear infinite;
  transition: width .4s ease;
}
@keyframes progressShimmer { to { background-position: -200% 0; } }

/* Typing cursor effect */
.typing::after { content: '_'; animation: blink .8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Glow effects */
.glow-green { box-shadow: 0 0 20px rgba(90,172,68,.5); }
.glow-gold  { box-shadow: 0 0 20px rgba(255,215,0,.5); }
