:root {
  --gold: #e6c16a;
  --gold-glow: rgba(230,193,106,0.6);
  --dark: #0a0f1c;
  --overlay: rgba(5, 8, 15, 0.5);
}


* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--dark);
  color: #fff;
}

/* ================= NAVBAR ================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 12px 36px;
  background: linear-gradient(
    to bottom,
    rgba(5,8,15,0.9),
    rgba(5,8,15,0.6)
  );
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.nav-logo img {
  height: 60px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  font-size: 1.5rem;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.navbar a:hover,
.navbar a.active {
  opacity: 1;
  color: var(--gold);
}

/* ================= PARALLAX HERO ================= */

.hero,
.hero-bg {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(to bottom, var(--overlay), var(--dark)),
    url("assets/background/spawn.png") center / cover fixed no-repeat;
  position: relative;
}

.hero-content,
.page-content {
  padding: 0 20px;
  transform: translateY(-150px) scale(1.5);
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 140px 20px 60px;
  max-width: 1100px;
  margin: auto;
}

/* ================= LOGOS ================= */

.logo-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 24px;
  border: 3px solid var(--gold);
  box-shadow: 0 0 25px var(--gold-glow);
  display: grid;
  place-items: center;
}

.logo-circle img {
  width: 80%;
}

.logo-banner img {
  max-width: 520px;   /* was 420 */
  width: 100%;
  margin-bottom: 28px;
}


/* ================= TEXT ================= */

h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 12px;
  text-shadow: 0 0 15px rgba(0,0,0,0.6);
}

p {
  opacity: 0.9;
  line-height: 1.6;
}

/* ================= IP BOX ================= */

.ip-box {
  margin: 28px auto;
  display: inline-flex;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
}

.ip-box span {
  padding: 14px 18px;
  font-family: monospace;
}

.ip-box button {
  border: none;
  background: var(--gold);
  color: #000;
  font-weight: bold;
  padding: 0 18px;
  cursor: pointer;
}

/* ================= BUTTONS ================= */

.btn {
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin: 10px;
  display: inline-block;
  transition: all 0.25s ease;
}

.primary {
  background: linear-gradient(135deg, #f1d07c, #caa14a);
  color: #000;
  box-shadow: 0 0 20px var(--gold-glow);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--gold-glow);
}

.secondary {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.secondary:hover {
  background: rgba(230,193,106,0.1);
}

/* ================= FANTASY FRAMES ================= */

.card {
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(230,193,106,0.4);
  border-radius: 18px;
  padding: 32px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}


.card h2,
.card h3 {
  text-align: center;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.2;
}


.vote-list {
  max-width: 1100px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Individual vote row */
.vote-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  padding: 26px 32px;

  background: rgba(0, 0, 0, 0.65);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 100, 0.12);
}

.vote-row .btn.primary {
  padding: 10px 26px;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Logo */
.vote-row img {
  width: 72px;
  height: auto;
}

/* Site name */
.vote-row span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #d6c8a3;
}

/* Vote button - inherits .btn.primary styles, just adjust padding */
.vote-row a.btn.primary {
  margin: 0;
}


.vote-logo {
  width: 180px;
  max-width: 100%;
  height: auto;
  margin: 18px auto 26px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}


/* ================= GRID ================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px;
  margin-top: 40px;
}

/* ================= FOOTER ================= */

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
  z-index: 10;
  pointer-events: none;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .navbar {
    padding: 12px 18px;
  }

  .navbar ul {
    gap: 14px;
  }

  .hero-content {
    padding-top: 120px;
  }
}
