:root {
  --bg: #0b0f14;
  --panel: #121821;
  --panel-2: #0f1520;
  --accent: #00cfff;
  --text: #e5e7eb;
  --muted: #9ca3af;
}

* {
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #111827, var(--bg));
  color: var(--text);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* ===== HEADER ===== */
.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  color: var(--accent);
  font-weight: 600;
}

.header p {
  color: var(--muted);
  font-size: 14px;
}

/* ===== STATS ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0,0,0,.4);
}

.stat h2 {
  color: var(--accent);
  margin: 0;
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

/* ===== PANEL ===== */
.panel {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
}

/* ===== FORM ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input {
  width: 100%;
  padding: 12px 14px;
  background: #0b1220;
  border: 1px solid #1f2937;
  border-radius: 10px;
  color: var(--text);
}

input::placeholder {
  color: var(--muted);
}

button {
  margin-top: 20px;
  padding: 14px;
  width: 100%;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #00cfff, #3be4ff);
  font-weight: 600;
  cursor: pointer;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 20px;
}

.card {
  background: #0f1626;
  border-radius: 14px;
  padding: 16px;
}

.card h4 {
  margin: 0;
  color: var(--accent);
}

.card small {
  color: var(--muted);
}

.card a {
  display: block;
  margin-top: 12px;
  text-align: center;
  background: var(--accent);
  color: #000;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.discord-login {
  display:flex;
  justify-content:center;
  align-items:center;
  padding:16px 24px;
  border-radius:14px;
  background:linear-gradient(135deg,#5865F2,#4752C4);
  color:#fff;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 10px 30px rgba(88,101,242,.35);
  transition:.25s;
}
.discord-login:hover {
  transform:translateY(-3px);
  box-shadow:0 15px 40px rgba(88,101,242,.55);
}
/* HEADER DİKEY ORTALI */
.header-stack {
  text-align: center;
  margin-bottom: 32px;
}

.header-stack h1 {
  margin-bottom: 10px;
}

.header-stack p {
  margin-top: 12px;
  color: var(--muted);
}

/* ============================= */
/* PROFİL MENÜSÜ (ORTA) */
/* ============================= */

.user-menu-center {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

/* tıklanan alan */
.user-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #0b1220;
  border: 1px solid #1f2937;
  cursor: pointer;
  transition: all .2s ease;
}

.user-trigger:hover {
  background: #111827;
}

/* avatar */
.user-trigger img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

/* kullanıcı adı */
.user-trigger span {
  font-weight: 600;
  font-size: 14px;
  color: #e5e7eb;
}

/* açılan dropdown */
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: #020617;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 6px;
  display: none;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

/* aktif olunca */
.user-dropdown.show {
  display: block;
}

/* linkler */
.user-dropdown a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: #e5e7eb;
  text-decoration: none;
  border-radius: 8px;
  transition: background .15s ease;
}

.user-dropdown a:hover {
  background: #111827;
}

/* çıkış butonu kırmızı */
.user-dropdown a.logout {
  color: #f87171;
}

.user-dropdown a.logout:hover {
  background: rgba(248,113,113,.1);
}
