/* Load custom font */
@font-face {
  font-family: "MRegular";
  src: url("fonts/mregular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* Horizon background (top strip only, no fading) */
.horizon-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px; /* show only top part */
  background: url('images/horizon.png') no-repeat center top;
  background-size: cover;
  z-index: -2;
}

/* Remove the gradient overlay */
.horizon-background::after {
  display: none;
}




/* Horizon image strip */
.horizon-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1200px; /* fixed horizon image height */
  background: url('images/horizon.png') no-repeat center top;
  background-size: cover;
  z-index: -2;
}

body {
  margin: 0;
  font-family: "MRegular", Arial, sans-serif;
  background: rgba(10, 10, 10, 0.95); /* darker & slightly transparent */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 600px;
  position: relative;
  overflow-x: hidden;
}

/* Yellow shimmer starts below horizon */
body::before {
  content: '';
  position: absolute;
  top: 400px; /* start immediately after horizon */
  left: 0;
  width: 100%;
  height: calc(100% - 400px);
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 223, 0, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 80% 60%, rgba(255, 195, 0, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 40% 80%, rgba(255, 235, 59, 0.05) 0%, transparent 25%),
    radial-gradient(circle at 70% 20%, rgba(255, 213, 79, 0.07) 0%, transparent 40%);
  animation: shimmer 30s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}


@keyframes shimmer {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  25% {
    opacity: 0.7;
    transform: scale(1.1);
  }
  50% {
    opacity: 0.9;
    transform: scale(0.95);
  }
  75% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo left, nav right */
  flex-wrap: nowrap;
  background: rgba(15, 15, 15, 0.9);
  border-bottom: 2px solid rgba(30, 30, 30, 0.8);
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 0 0 16px 16px;
  z-index: 1000;
  transition: all 0.25s ease;
  box-sizing: border-box;
}
header img.logo {
  height: 80px;
  width: auto;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.header-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: nowrap; /* Prevent wrapping */
}
/* Shrinked header (scrolled down) */
header.shrink {
  width: 100%; /* Keep full width */
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  justify-content: space-between; /* Keep logo left, nav right */
}
header.shrink img.logo {
  height: 60px;
}


/* Nav items */
.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
}
/* Icon sizes */
.nav-icon {
  height: 32px;
  width: 32px;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-text {
  font-size: 1rem;
}

@media (max-width: 768px) {
  header {
    flex-direction: row; /* Always row, never column */
    justify-content: space-between;
    padding: 0.5rem 1rem;
  }

  header img.logo {
    height: 50px;
  }

  .header-nav {
    gap: 10px;
  }

  .nav-item {
    padding: 4px 6px;
  }

  .nav-text {
    font-size: 0.9rem;
  }

  .nav-icon {
    height: 28px;
    width: 28px;
  }
}
/* When header is shrunk */
header.shrink .nav-text {
  display: none;
}

header.shrink .nav-icon {
  display: inline;
  height: 64px; /* 2x bigger from 32px */
  width: 64px;
}

header.shrink .nav-item {
  padding: 8px; /* Slightly more padding for bigger icons */
}

header img.logo {
  height: 80px; /* 2x bigger from 40px */
  width: auto;
  border-radius: 8px;
  transition: all 0.25s ease;
}

header.shrink {
  width: 30%;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
}

header.shrink img.logo {
  height: 96px; /* 2x bigger from 48px */
}

/* Active nav item styling */
.nav-item.active {
  background: rgba(255, 255, 255, 0.15);
}

.nav-item.active:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* IP Block */
.ip-block {
  margin-top: 120px; /* Space below header */
  background: rgba(20, 20, 20, 0.9); /* darker than before */
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);  border-radius: 12px;
  padding: 1rem;
  width: 60%;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  margin-bottom: 2rem;
}

.ip-container {
  cursor: pointer;
  text-align: center;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  user-select: none;
}

.ip-container:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ip-container:active {
  transform: scale(0.98);
}

.ip-text {
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  color: #4CAF50;
  margin-bottom: 0.3rem;
  font-family: monospace;
}

.copy-hint {
  display: block;
  font-size: 0.8rem;
  color: #aaa;
  transition: color 0.2s ease;
}

.ip-container:hover .copy-hint {
  color: #ccc;
}

/* Content block */
.content-block {
  margin-top: 2rem; /* Reduced from 6vh */
  background: rgba(18, 18, 18, 0.88); /* closer to black & transparent */
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);  border-radius: 16px;
  padding: 2rem;
  width: 80%;
  max-width: 1000px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .ip-block {
    width: 90%;
    margin-top: 100px;
  }
  
  .ip-text {
    font-size: 1.1rem;
  }
  
  .copy-hint {
    font-size: 0.7rem;
  }
  
  .content-block {
    width: 90%;
    padding: 1.5rem;
  }
  
  header {
    gap: 15px;
  }
  
  .header-nav {
    gap: 20px;
  }
  
  header.shrink {
    width: 70%; /* Wider on mobile when shrunk */
  }
}

/* Text section */
.text-section {
  color: rgba(220, 220, 220, 0.9); /* soften text slightly */
  text-align: center;
  max-width: 800px;
}

.text-section h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.text-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
}

/* Map section */
.map-section {
  width: 100%;
  max-width: 900px;
  height: 500px;
  border: 2px solid rgba(255, 255, 255, 0.8); /* less harsh border */
  box-shadow: 0 4px 20px rgba(0,0,0,0.7);  border-radius: 16px;       /* smooth edges */
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* Map Button */
.map-button {
  margin-top: 1.5rem;
  text-align: center;
}

.open-map-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.open-map-btn:hover {
  background: linear-gradient(135deg, #66BB6A, #388E3C);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.open-map-btn:active {
  transform: scale(0.97);
}
/* Info + Discord section */
.info-discord {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  margin: 2rem auto;
  width: 80%;
  max-width: 1000px;
}

/* Left info block */
.info-block {
  flex: 2;
  background: rgba(20, 20, 20, 0.9);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.info-block h3 {
  margin-top: 0;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #FFD54F; /* golden yellow accent */
}

.info-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-block li {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #ddd;
}

/* Info + Discord section */
.info-discord {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem auto;
  width: 80%;
  max-width: 1000px;
}

/* Left info block */
.info-block {
  flex: 1.2; /* narrower */
  background: rgba(20, 20, 20, 0.9);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.info-block h3 {
  margin-top: 0;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #FFD54F; /* golden accent */
}

.server-features {
  list-style: disc; /* real bullet points */
  padding-left: 1.5rem; /* space for bullets */
  margin: 0;
}

.server-features li {
  font-size: 1.05rem;
  margin: 0.4rem 0;
  color: #ddd;
}

/* Right discord block */
.discord-block {
  flex: 1; /* smaller than left */
  background: rgba(25, 25, 25, 0.9);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.discord-logo {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

/* Online count row */
.online-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: #43B581; /* green for online */
}

.orb-icon {
  width: 14px;
  height: 14px;
}

/* Discord button */
.discord-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #5865F2; /* Discord purple */
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.discord-btn:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .info-discord {
    flex-direction: column;
    width: 90%;
  }
}
/* Changes Block */
.changes-block {
  background: rgba(20, 20, 20, 0.9);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem auto;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  text-align: center;
}

.changes-block h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #FFD54F; /* golden accent */
}

.changes-list img {
  width: 28px;
  height: 28px;
  object-fit: contain; /* keeps the gif sharp */
}


.changes-list li {
  font-size: 1.2rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ddd;
}

.changes-list img {
  width: 28px;
  height: 28px;
}
/* Support Block */
.support-block {
  background: rgba(25, 25, 25, 0.95);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem auto;
  width: 80%;
  max-width: 900px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.6);
  text-align: center;
}

.support-block h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #FFD54F; /* golden accent */
}

.support-answer {
  font-size: 1.3rem;
  margin: 1rem 0;
  color: #aaa;
}

.ticket-highlight {
  font-size: 2.2rem;
  margin: 1rem 0;
  color: #4CAF50; /* green highlight */
  text-shadow: 0 0 12px rgba(76, 175, 80, 0.7);
}

.support-extra {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #ccc;
}


