/* =============================================
   POKEVERSE — Global Styles
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-deep:    #0e0818;
  --bg-mid:     #160d28;
  --bg-card:    rgba(255,255,255,0.04);
  --bg-card-hv: rgba(255,255,255,0.07);
  --border:     rgba(255,255,255,0.07);
  --border-hv:  rgba(77,212,232,0.35);
  --cyan:       #4dd4e8;
  --cyan-dim:   rgba(77,212,232,0.15);
  --green:      #3ddc84;
  --gold:       #f6ad55;
  --purple:     #a855f7;
  --blue:       #3b82f6;
  --red:        #f87171;
  --text:       #e2e8f0;
  --muted:      #718096;
  --font-head:  'Rajdhani', sans-serif;
  --font-body:  'Inter', sans-serif;
  --radius:     12px;
  --glow-cyan:  0 0 30px rgba(77,212,232,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background mesh */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(77,212,232,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(168,85,247,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 50% 50%, rgba(22,13,40,1) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ---- HEADER ---- */
.header {
  background: rgba(14,8,24,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.logo-season {
  background: linear-gradient(135deg, var(--gold), #e07b00);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.nav-link:hover {
  color: #fff;
  background: var(--bg-card-hv);
  border-color: var(--border-hv);
}

.nav-btn {
  padding: 9px 22px;
  background: var(--cyan);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
}

.nav-btn:hover {
  background: #3bc4d8;
  box-shadow: 0 0 20px rgba(77,212,232,0.35);
  transform: translateY(-1px);
}

/* Discord user pill */
.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 5px 14px 5px 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.user-pill:hover {
  border-color: var(--border-hv);
  background: var(--bg-card-hv);
}

.user-pill-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.user-pill-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* ---- CONTAINER ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ---- CARDS ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s ease;
}

.card:hover {
  border-color: var(--border-hv);
  background: var(--bg-card-hv);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  font-family: var(--font-body);
}

.btn-cyan {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 8px 25px rgba(77,212,232,0.2);
}

.btn-cyan:hover {
  background: #3bc4d8;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(77,212,232,0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e07b00);
  color: #000;
  box-shadow: 0 8px 25px rgba(246,173,85,0.2);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(246,173,85,0.4);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), #2db86e);
  color: #000;
  box-shadow: 0 8px 25px rgba(61,220,132,0.2);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(61,220,132,0.35);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-card-hv);
  border-color: var(--border-hv);
}

/* ---- BADGE ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-cyan  { background: var(--cyan-dim);          color: var(--cyan);   border: 1px solid rgba(77,212,232,0.3); }
.badge-green { background: rgba(61,220,132,0.12);     color: var(--green);  border: 1px solid rgba(61,220,132,0.3); }
.badge-gold  { background: rgba(246,173,85,0.12);     color: var(--gold);   border: 1px solid rgba(246,173,85,0.3); }

/* ---- SECTION TITLE ---- */
.section-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

/* ---- RARITY COLORS ---- */
.rarity-legendary { color: var(--gold);   }
.rarity-epic      { color: var(--purple); }
.rarity-rare      { color: var(--blue);   }
.rarity-common    { color: var(--muted);  }

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
  color: var(--muted);
  font-size: 14px;
}

.footer a { color: var(--cyan); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---- SCROLL BAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(77,212,232,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(77,212,232,0.5); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

@keyframes glow {
  0%,100% { box-shadow: 0 0 20px rgba(77,212,232,0.3); }
  50%      { box-shadow: 0 0 40px rgba(77,212,232,0.6); }
}

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

@keyframes pulse-border {
  0%,100% { border-color: rgba(77,212,232,0.3); }
  50%      { border-color: rgba(77,212,232,0.8); }
}

.anim-fade-up { animation: fadeUp 0.5s ease forwards; }

/* ---- IP COPY BAR ---- */
.ip-bar {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 500px;
  margin: 0 auto;
}

.ip-label { color: var(--muted); font-size: 14px; }
.ip-address {
  font-family: 'Courier New', monospace;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ip-copy {
  background: var(--cyan);
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.ip-copy:hover { background: #3bc4d8; }
