/* styles.css — retro, game-ish vibe */

:root{
  --bg0:#0b0f14;
  --bg1:#121a22;
  --panel:#16202a;
  --panel2:#101821;
  --border:#2b3c4d;
  --border2:#0a0f14;
  --text:#d6e2ef;
  --muted:#98a9bb;
  --gold:#c7a54b;
  --good:#62d26f;
  --bad:#ff6b6b;
  --shadow: rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  font-family: Verdana, Tahoma, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255,255,255,.06), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 8px, rgba(0,0,0,.02) 8px 16px),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}

/* Header */
.site-header{
  position:relative;
  padding:18px 16px 12px;
  border-bottom:1px solid var(--border);
  background: linear-gradient(180deg, rgba(22,32,42,.95), rgba(12,18,25,.92));
  box-shadow: 0 10px 22px var(--shadow);
}

.logo-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
}

.site-logo{
  max-width: 240px;
  width: min(60vw, 240px);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 0 rgba(0,0,0,.35));
}

.discord-link{
  position:absolute;
  top:10px;
  right:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(20,30,40,.85), rgba(10,14,20,.85));
  box-shadow: 0 6px 14px var(--shadow);
  border-radius: 10px;
  text-decoration:none;
}

.discord-link img{
  width:28px;
  height:28px;
  display:block;
  image-rendering: pixelated;
}

/* Layout */
.page{
  max-width: 980px;
  margin: 26px auto 40px;
  padding: 0 16px;
}

/* Card */
.card{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(22,32,42,.92), rgba(12,18,25,.92));
  box-shadow: 0 18px 30px var(--shadow);
  border-radius: 14px;
  overflow:hidden;
}

.card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 16px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(30,44,58,.75), rgba(16,24,33,.55));
}

.card-title{
  margin:0;
  font-size: 18px;
  letter-spacing: .3px;
}

.card-body{
  padding: 16px;
}

.badge{
  font-weight:700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  text-shadow: 0 1px 0 rgba(0,0,0,.6);
}

.badge-online{ background: rgba(98, 210, 111, .18); color: #bff7c6; border-color: rgba(98,210,111,.35); }
.badge-offline{ background: rgba(255, 107, 107, .16); color: #ffd0d0; border-color: rgba(255,107,107,.35); }

/* Rows */
.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,.07);
}
.row:last-child{ border-bottom: 0; }

.label{
  color: var(--muted);
  font-size: 13px;
  flex: 0 0 auto;
}

.value{
  color: var(--text);
  font-size: 14px;
  text-align:right;
  flex: 1 1 auto;
}

.mono{
  font-family: "Courier New", Courier, monospace;
}

.grid{
  margin-top: 10px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 700px){
  .grid{
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .grid .row{
    border-bottom: 1px dashed rgba(255,255,255,.07);
  }
}

/* MOTD block */
.motd{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.motd .value{
  text-align:left;
  margin-top: 6px;
  line-height: 1.35;
  color: #e6f0fb;
}

/* Buttons */
.copy-btn{
  margin-left: 10px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(24,36,48,.9), rgba(10,14,20,.9));
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor:pointer;
}
.copy-btn:hover{
  border-color: rgba(199,165,75,.7);
}

/* Server favicon */
.icon-row{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.server-favicon{
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  box-shadow: 0 8px 16px var(--shadow);
}

.hint{
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(199,165,75,.35);
  background: rgba(199,165,75,.08);
  border-radius: 12px;
  color: #f3e3b7;
  font-size: 13px;
  line-height: 1.35;
}

/* Footer */
.site-footer{
  margin-top: 30px;
  padding: 18px 16px 30px;
  color: var(--muted);
  text-align:center;
}
.footer-inner{
  max-width:980px;
  margin:0 auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
/* Header banner GIF */
.logo-wrap{
  display:flex;
  align-items:center;
  gap:12px;
}

.site-banner{
  display:block;
  height:64px;        /* keeps it tidy in the header */
  width:auto;         /* preserves aspect ratio */
  max-width:100%;
}

/* Optional: on small screens, stack nicely */
@media (max-width: 700px){
  .logo-wrap{
    flex-direction:column;
    align-items:flex-start;
  }
  .site-banner{
    height:auto;
    width:100%;
    max-width:728px;
  }
}
/* Banner at very top of header */
.site-header{
  position: relative;
}

.top-banner{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 6px 0;
}

.banner-link{
  display: inline-block;
  line-height: 0;
}

.site-banner{
  display: block;
  width: 728px;
  max-width: 100%;
  height: auto;
}

/* Keep logo under it */
.logo-wrap{
  display: flex;
  justify-content: center;
  margin-top: 6px;
}
