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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #2d2d2d;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}
.delay {
  animation-delay: 0.3s;
}
.delay2 {
  animation-delay: 0.6s;
}

nav {
  background-color: #2d2d2d;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}

.nav-logo {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px;
  max-width: 60px;
  height: auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
}
.nav-menu li {
  margin: 0 15px;
}
.nav-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  padding: 10px 15px;
  display: inline-block;
}
.nav-menu li a:hover {
  color: #e29759;
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

header {
  position: relative;
  height: 100vh;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: brightness(0.7);
}

.header-bg.blurred {
  filter: blur(10px) brightness(0.7);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
}

.header-content {
  position: relative;
  z-index: 2;
}
.header-content p {
  margin-bottom: 1rem;
}

.blur-toggle {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.6);
  color: #e29759;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  animation: bounce 1s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

.cta {
  background-color: #e29759;
  color: #2d2d2d;
  padding: 15px 30px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.cta:hover {
  background-color: #e76f51;
  transform: scale(1.05);
}

section {
  padding: 60px 20px;
  text-align: center;
}
section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #e29759;
}
section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 20px auto;
  line-height: 1.8;
}
section ul {
  list-style: none;
  margin: 20px auto;
  max-width: 600px;
  text-align: left;
  padding: 0;
}
section ul li {
  font-size: 1.1rem;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}
section ul li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #e29759;
}

#status .player-count {
margin-bottom: 40px;
font-size: 1.5rem;
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}
#status .player-count h3 {
margin-bottom: 10px;
font-size: 1.8rem;
color: #e29759;
}

#map .map-container {
margin: 0 auto;
width: 1024px;
height: 512px;
border: 5px solid #e29759;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
display: block;
}
#map .map-container img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.2s ease;
cursor: pointer;
display: block;
}
#map .map-container img:hover {
transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.9);
}
@keyframes zoomIn {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
}
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.2s;
}
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  transition: color 0.2s ease;
  cursor: pointer;
}
.close:hover {
  color: #e29759;
}
.modal-credits {
  color: #e29759;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 10px;
}
.open-original-container {
  text-align: center;
  margin-top: 10px;
}
.open-original {
  display: inline-block;
  font-size: 1.2rem;
  color: #e29759;
  text-decoration: none;
  border: 1px solid #e29759;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}
.open-original:hover {
  background-color: #e29759;
  color: #2d2d2d;
}

.scroll-up {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #e29759;
  color: #2d2d2d;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 48px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}
.scroll-up:hover {
  background-color: #e76f51;
  transform: scale(1.05);
}

footer {
  background-color: #2d2d2d;
  color: #6f6f6f;
  text-align: center;
  font-size: 0.9rem;
  padding: 20px 0;
}
footer a {
  color: #e29759;
  text-decoration: underline;
  transition: color 0.2s ease;
}
footer a:hover {
  color: #e76f51;
}

.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2d2d2d;
  padding: 10px 0;
  z-index: 1001;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: #2d2d2d;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }
  .nav-menu.is-active {
    display: flex;
  }
  .nav-menu li {
    margin: 10px 0;
  }
  .nav-menu li a {
    padding: 12px 20px;
  }

  header {
    background-attachment: scroll;
  }
  header .header-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
  }
  .cta {
    font-size: 1rem;
    padding: 12px 20px;
  }

  #map .map-container {
  width: auto;
  max-width: 95%;
  height: auto;
  margin: 0 auto 20px auto;
  }
  #map .map-container img {
  width: 100%;
  height: auto;
  }

  .blur-toggle {
    display: none;
  }
}
