:root { color-scheme: dark; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0;
  background: radial-gradient(1200px 800px at 10% -10%, #5b1a7a 0%, transparent 50%),
              radial-gradient(900px 600px at 100% 0%, #8b1533 0%, transparent 55%),
              #0b0f16;
  color: #f3e8ff;
}
a { color: #ff8bd3; text-decoration: none; }
.container { max-width: none; margin: 32px 0; padding: 0 32px; }
.card {
  background: linear-gradient(180deg, rgba(140, 25, 120, 0.12), rgba(140, 25, 120, 0.05));
  border: 1px solid rgba(255, 0, 128, 0.2);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.btn {
  background: linear-gradient(135deg, #a855f7, #f43f5e);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(244,63,94,0.35); }
.btn.secondary { background: #2b1b3d; border: 1px solid rgba(255, 0, 128, 0.25); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.badge {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(244, 63, 94, 0.25));
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.guild-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  background: #2b1b3d;
  border: 1px solid rgba(255, 0, 128, 0.25);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.guild-name { font-weight: 700; letter-spacing: 0.2px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 280px);
  gap: 16px;
  justify-content: start;
}
.guild-card {
  position: relative;
  background: rgba(20, 14, 36, 0.75);
  border: 1px solid rgba(255, 0, 128, 0.25);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  backdrop-filter: blur(6px);
  width: 280px;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.guild-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(244, 63, 94, 0.2));
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.guild-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #a855f7, #f43f5e);
  opacity: 0.9;
}
.guild-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(244,63,94,0.25);
}
.guild-card:hover::before { opacity: 1; }
