﻿:root {
  --bg-0: #04040e;
  --bg-1: #0b0b24;
  --accent: #22d3ee;
  --accent-2: #8b5cf6;
  --accent-3: #e879f9;
  --success: #34d399;
  --error: #f87171;
  --warn: #fbbf24;
  --text: #e8ecff;
  --text-dim: rgba(232, 236, 255, 0.55);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(160deg, var(--bg-0) 0%, #12072e 45%, var(--bg-0) 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Navbar ---------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(4, 4, 14, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.brand {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 2px;
  color: #fff;
}
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: 14px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.btn-nav {
  background: linear-gradient(135deg, #0891b2, var(--accent-2));
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.btn-nav:hover { text-decoration: none !important; filter: brightness(1.15); }

/* ---------- Flash ---------- */
.flash {
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--glass-border);
}
.flash-success { background: rgba(52, 211, 153, 0.12); color: var(--success); }
.flash-error { background: rgba(248, 113, 113, 0.12); color: var(--error); }

/* ---------- Gombok ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s;
  text-decoration: none !important;
}
.btn-primary { background: linear-gradient(135deg, #0891b2, var(--accent-2)); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.07); color: var(--text); border: 1px solid var(--glass-border); }
.btn-success { background: linear-gradient(135deg, var(--success), #0ea5e9); color: #fff; }
.btn-danger { background: linear-gradient(135deg, #dc2626, #ef4444); color: #fff; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; display: inline-block; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 90px 20px 70px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.12), transparent 60%);
  pointer-events: none;
}
.hero h1 {
  font-size: 56px;
  letter-spacing: 8px;
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.6);
  margin-bottom: 10px;
}
.hero h1 span { color: var(--accent); }
.subtitle { color: var(--accent-3); letter-spacing: 3px; text-transform: uppercase; font-size: 14px; }
.tagline { color: var(--text-dim); margin: 18px 0 30px; font-size: 16px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-small { padding: 56px 20px 44px; }
.hero-small h1 { font-size: 40px; letter-spacing: 4px; text-shadow: 0 0 24px rgba(34, 211, 238, 0.5); margin-bottom: 8px; }

/* ---------- SzekciĂłk ---------- */
.section { padding: 60px 20px; text-align: center; }
.section h2 { font-size: 30px; letter-spacing: 2px; margin-bottom: 30px; }
.section.dark { background: rgba(0, 0, 0, 0.25); }
.muted { color: var(--text-dim); margin-bottom: 20px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px 24px;
  backdrop-filter: blur(10px);
  transition: transform 0.25s;
}
.card:hover { transform: translateY(-4px); }
.card-icon { font-size: 34px; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; font-size: 17px; }
.card p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }

.download-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.server-ip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--glass);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 12px;
  padding: 16px 26px;
  font-size: 16px;
}
.server-ip code { color: var(--success); font-size: 16px; }
.online-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Auth kĂˇrtyĂˇk ---------- */
.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card {
  width: 400px;
  max-width: 92vw;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 32px;
  backdrop-filter: blur(14px);
}
.auth-card h1 { text-align: center; margin-bottom: 6px; letter-spacing: 1px; }
.auth-card .muted { text-align: center; }
.auth-card.wide { width: 760px; max-width: 94vw; }

.admin-actions { margin: 20px 0 0; }

.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.25s;
}
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.admin-row { align-items: center; }
.badge-warn { background: rgba(251, 191, 36, 0.15); color: var(--warn); }

.users-table { margin-top: 8px; border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden; }
.users-row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.3fr 1fr 0.5fr;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--glass-border);
  font-size: 13px;
}
.users-row:last-child { border-bottom: none; }
.users-head {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-dim);
}
.users-row select,
.users-row input {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text);
  padding: 6px 8px;
  font-size: 13px;
  font-family: inherit;
}
.credit-form { display: flex; gap: 6px; align-items: center; }
.role-form select { width: 92px; }

/* ---------- InterGalaktikus bolt ---------- */
.balance-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 14px;
}
.balance-banner span { color: var(--text-dim); }
.balance-banner b { color: var(--success); font-size: 16px; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.shop-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  transition: all 0.25s;
}
.shop-item:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.4); }
.shop-icon { font-size: 36px; margin-bottom: 10px; }
.shop-name { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.shop-desc { font-size: 12px; color: var(--text-dim); min-height: 32px; margin-bottom: 8px; line-height: 1.5; }
.shop-cat { display: inline-block; margin-bottom: 8px; }
.shop-price { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }

.tx-pos { color: var(--success); font-weight: 600; }
.tx-neg { color: var(--error); font-weight: 600; }
.badge-pending { background: rgba(251, 191, 36, 0.15); color: var(--warn); }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  transition: all 0.25s;
}
.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.auth-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--text-dim); }

/* ---------- Dashboard ---------- */
.avatar {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.5);
}
.dashboard h1 { font-size: 24px; }
.dashboard .accent { color: var(--accent); }

.info-list { margin: 22px 0; }
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 14px;
}
.info-row span { color: var(--text-dim); }
.info-row b { color: var(--text); font-weight: 600; }

/* ---------- LetĂ¶ltĂ©sek ---------- */
.downloads-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px 18px;
  transition: all 0.25s;
  text-align: left;
}
.download-item:hover { transform: translateY(-2px); border-color: rgba(34, 211, 238, 0.4); }
.dl-icon { font-size: 26px; }
.dl-info { flex: 1; min-width: 0; }
.dl-name {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}
.dl-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-dim);
  align-items: center;
}
.badge {
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent);
  padding: 2px 9px;
  border-radius: 6px;
  font-weight: 600;
}

.empty-box {
  max-width: 420px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px dashed var(--glass-border);
  border-radius: 16px;
  padding: 40px 24px;
}
.empty-icon { font-size: 40px; margin-bottom: 12px; }

.info-note {
  max-width: 640px;
  margin: 26px auto 0;
  background: rgba(52, 211, 153, 0.07);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-dim);
}

.uuid {
  font-family: Consolas, 'Cascadia Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  word-break: break-all;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: auto;
  padding: 18px;
  text-align: center;
  color: rgba(232, 236, 255, 0.3);
  font-size: 12px;
  border-top: 1px solid var(--glass-border);
}

