@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Playfair+Display:wght@400;800&display=swap');

:root {
  --primary: #C8102E;
  --primary-soft: #8B0000;
  --accent: #FFD700;
  --dark: #000000;
  --text: #FFFFFF;
  --muted: #CCCCCC;
  --border: rgba(200, 16, 46, 0.3);
  --font-elegant: 'Playfair Display', serif;
  --font-reading: 'Lora', serif;
}
.page-content{flex:1}
.subtitle{text-align:center;color:var(--muted);margin-bottom:26px}
.wrap{padding:54px 7% 66px}
.title{
  text-transform:uppercase;letter-spacing:.16em;font-weight:800;
  font-size:1.9rem;text-align:center;margin-bottom:10px;
}

#list {
  list-style-position: inside;
  padding: 0;
  text-align: left;
  padding-left: 1.5rem;
}
li {
  margin-bottom: 0.5rem;
}
.panel{
  background:
  radial-gradient(circle at top left, rgba(255,85,45,.16), rgba(6,2,4,.86) 52%),
  linear-gradient(165deg, rgba(255,120,60,.08), rgba(8,2,6,.84));
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 0 40px rgba(0,0,0,.58);
  padding:22px;
}
.doc-block{margin-bottom:16px;padding:14px;border:1px solid rgba(255,110,70,.2);border-radius:12px;background:rgba(7,2,5,.55);text-align: left;}
.doc-block h3{margin-bottom:8px;color:#ffc184;font-size:.95rem;letter-spacing:.08em}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-reading);
  background:
    radial-gradient(circle at top, #1a0000 0%, #000000 60%, #000 100%);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(200, 16, 46, 0.08), transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(255, 215, 0, 0.04), transparent 40%);
  animation: ambientGlow 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

::selection {
  background: var(--primary);
  color: #fff;
}

img {
  user-select: none;
  -webkit-user-drag: none;
}

nav {
  /* This is darker and more "inky" while staying frosty */
  background: rgba(20, 20, 20, 0.6);
  
  /* We kept the blur high so it still looks like thick glass */
  backdrop-filter: blur(25px) saturate(120%);
  -webkit-backdrop-filter: blur(25px) saturate(120%);
  
  /* A thinner border makes the dark glass look more premium */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.5);
  
  padding: 16px 9%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: navDrop 0.8s cubic-bezier(.22, 1, .36, 1);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  font-family: var(--font-elegant);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
  position: relative;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo::after {
  content: '';
  position: absolute;
  inset: auto -10px -8px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0;
  transition: 0.4s ease;
}

.logo:hover::after {
  opacity: 1;
}

.logo img {
  height: 38px;
  filter:
    drop-shadow(0 0 8px var(--primary))
    drop-shadow(0 0 18px rgba(255, 215, 0, 0.3));
  animation: floatLogo 4s ease-in-out infinite;
}

.server-pill {
  font-size: .7rem;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--border);
  font-weight: 700;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.server-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );
  animation: shine 3.5s linear infinite;
}

.server-pill.online {
  color: #00ff44;
  border-color: #00ff44;
  box-shadow: 0 0 10px rgba(0,255,68,0.3);
}

.server-pill.online::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #00ff44;
  border-radius: 50%;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px #00ff44;
  animation: pulseDot 1.5s infinite;
}

.server-pill.offline {
  color: var(--primary);
  border-color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  position: relative;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--accent);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(to right, var(--primary), var(--accent)) !important;
  color: #000 !important;
  padding: 8px 18px !important;
  border-radius: 5px !important;
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.15),
    0 0 30px rgba(200, 16, 46, 0.2);
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 60px 8%;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,215,0,0.08), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(200,16,46,0.12), transparent 40%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-inner-split {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  animation: logoEntrance 1.2s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-logo-main {
  max-width: 450px;
  width: 100%;
  filter:
    drop-shadow(0 0 20px var(--primary))
    drop-shadow(0 0 40px var(--accent));
  animation:
    floatMain 5s ease-in-out infinite,
    pulseGlow 4s ease-in-out infinite;
  transform-origin: center;
}

.hero-text {
  flex: 1;
  text-align: left;
  animation: fadeInUp 1s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-text h1 {
  font-family: var(--font-elegant);
  font-size: clamp(2.2rem, 6vw, 4rem);
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--primary),
    var(--accent)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  animation:
    gradientMove 5s linear infinite,
    textReveal 1s ease;
  line-height: 1.1;
}

.hero-text p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
  animation: fadeIn 1.4s ease;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #1b0504;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 25px rgba(255, 60, 0, 0.5),
    0 0 50px rgba(255, 215, 0, 0.15);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    filter 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transform: translateX(-130%);
}

.hero-btn:hover::before {
  animation: btnShine 0.8s ease;
}

.hero-btn:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 15px 30px rgba(255, 60, 0, 0.4),
    0 0 60px rgba(255, 194, 79, 0.35);
  border-color: rgba(255, 255, 255, 0.9);
  filter: saturate(1.1);
}

.hero-btn:active {
  transform: translateY(-2px) scale(0.98);
}

.hero-btn.mini {
  padding: 10px 20px;
  font-size: 0.8rem;
  box-shadow: 0 0 15px rgba(255, 60, 0, 0.3);
}

.btn {
  display: inline-flex;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
  font-size: .78rem;
  transition: 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.15);
}

.btn.primary {
  background: var(--primary);
  color: #000;
  font-weight: 700;
  border: none;
}

.features {
  padding: 80px 9%;
  text-align: center;
  position: relative;
}

.section-title {
  font-family: var(--font-elegant);
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 50px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: 0.2s;
  position: relative;
}

.section-title::after {
  content: '';
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
  animation: glowBar 3s ease-in-out infinite;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.feature-card {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 35px 25px;
  transition:
    transform 0.4s cubic-bezier(.22,1,.36,1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  backdrop-filter: blur(14px);
  opacity: 0;
  animation: cardReveal 0.8s cubic-bezier(.22,1,.36,1) forwards;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle, rgba(255,215,0,0.08), transparent 30%);
  top: -50%;
  left: -50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
  animation: rotateGlow 8s linear infinite;
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--accent);
  background: rgba(255, 60, 0, 0.05);
  box-shadow:
    0 10px 30px rgba(255, 60, 0, 0.2),
    0 0 40px rgba(255, 215, 0, 0.08);
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.35s; }
.feature-card:nth-child(3) { animation-delay: 0.5s; }
.feature-card:nth-child(4) { animation-delay: 0.65s; }

.icon-box {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card i,
.icon-box i {
  font-size: 2.5rem;
  color: var(--primary);
  transition: 0.4s ease;
}

.feature-card:hover i,
.feature-card:hover .icon-box i {
  transform: scale(1.15) rotate(6deg);
  color: var(--accent);
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.4);
}

.mc-icon {
  height: 45px;
  width: auto;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 0 12px rgba(255, 215, 0, 0.4));
  animation: pixelFloat 3s ease-in-out infinite;
}

.feature-card h3 {
  font-family: var(--font-elegant);
  color: var(--text);
  margin-bottom: 15px;
  transition: 0.3s ease;
}

.feature-card:hover h3 {
  color: var(--accent);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-card ul {
  text-align: left;
  list-style: none;
  margin-top: 15px;
}

.feature-card li {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  line-height: 1.4;
  transition: 0.3s ease;
}

.feature-card:hover li {
  transform: translateX(3px);
}

.feature-card li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
}

.lb-section {
  padding: 60px 9%;
  text-align: center;
}

.lb-subtitle {
  color: var(--muted);
  margin-bottom: 30px;
  margin-top: -30px;
}

.lb-panel {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(12px);
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.4);
}

.controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

select {
  background: #000;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-reading);
  outline: none;
  cursor: pointer;
  transition: 0.3s ease;
}

select:hover,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255,215,0,0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  overflow: hidden;
}

th {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 15px;
  border-bottom: 2px solid var(--border);
  letter-spacing: 1px;
}

tbody tr {
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

tbody tr:hover {
  background: rgba(255,255,255,0.03);
  transform: scale(1.01);
}

td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 60, 0, 0.1);
}

.rank {
  font-weight: 800;
  color: var(--primary);
}

.doc-container {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  transition: 0.4s ease;
}

.doc-container:nth-child(1) { animation-delay: 0.2s; }
.doc-container:nth-child(2) { animation-delay: 0.35s; }
.doc-container:nth-child(3) { animation-delay: 0.5s; }
.doc-container:nth-child(4) { animation-delay: 0.65s; }
.doc-block:nth-child(1) { animation-delay: 0.2s; }
.doc-block:nth-child(2) { animation-delay: 0.35s; }
.doc-block:nth-child(3) { animation-delay: 0.5s; }
.doc-block:nth-child(4) { animation-delay: 0.65s; }

.doc-container:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(255,215,0,0.08);
}

.doc-embed {
  width: 100%;
  height: 70vh;
  border: none;
  display: block;
}

footer {
  background: #000000;
  padding: 40px 9%;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: auto;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.credits {
  margin-top: 25px;
  font-size: 0.6rem;
  color: #777;
  letter-spacing: 1px;
}

.credits a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.vote-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 110, 70, 0.35);
  background:
    linear-gradient(
      145deg,
      rgba(255, 90, 50, 0.16),
      rgba(10, 3, 7, 0.7)
    );
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vote-link::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.08),
    transparent
  );
}

.vote-link:hover::before {
  animation: shine 1s ease;
}

.vote-link:hover {
  border-color: rgba(255, 180, 90, 0.7);
  transform: translateY(-4px);
  box-shadow:
    0 10px 25px rgba(255, 60, 0, 0.15);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: scale(0.7) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

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

@keyframes pulseGlow {
  0%, 100% {
    filter:
      drop-shadow(0 0 20px var(--primary))
      drop-shadow(0 0 40px var(--accent));
  }
  50% {
    filter:
      drop-shadow(0 0 35px var(--primary))
      drop-shadow(0 0 60px var(--accent));
  }
}

@keyframes gradientMove {
  to {
    background-position: 200% center;
  }
}

@keyframes btnShine {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(130%);
  }
}

@keyframes pulseDot {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(1.5);
    opacity: 0.5;
  }
}

@keyframes ambientGlow {
  from {
    transform: scale(1) rotate(0deg);
  }
  to {
    transform: scale(1.08) rotate(2deg);
  }
}

@keyframes heroGlow {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes glowBar {
  0%, 100% {
    opacity: 0.5;
    width: 120px;
  }
  50% {
    opacity: 1;
    width: 180px;
  }
}

@keyframes shine {
  to {
    transform: translateX(200%);
  }
}

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

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

@keyframes textReveal {
  from {
    letter-spacing: 8px;
    opacity: 0;
    filter: blur(10px);
  }
  to {
    letter-spacing: 0;
    opacity: 1;
    filter: blur(0);
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--accent));
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  filter: brightness(1.1);
}

@media (max-width: 900px) {
  nav {
    flex-direction: column;
    gap: 15px;
  }

  .hero-inner-split {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-logo-main {
    max-width: 320px;
  }

  .controls {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 2rem;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-btn {
    width: 100%;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  table {
    font-size: 0.85rem;
  }

  th,
  td {
    padding: 10px;
  }
}
