/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Watermark */
.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  font-size: 100px;
  font-family: 'Times New Roman', Times, serif;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
}

/* Main Container */
.container {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  max-width: 700px;
  width: 100%;
  margin: 6rem auto 2rem;
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
  z-index: 1;
}

.container h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* Game Section */
.game-container p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #f1f1f1;
}

/* Image Zoom */
.image-zoom-wrapper {
  overflow: hidden;
  border-radius: 16px;
  display: inline-block;
  margin-top: 2rem;
  transition: transform 0.5s ease;
}

.zoom-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.zoom-image:hover {
  transform: scale(1.1);
}

/* Modal */
.custom-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.custom-modal.show {
  display: flex;
}

.custom-modal-content {
  background: #ffffff;
  color: #1e3c72;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.modal-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.modal-actions button {
  background-color: #1e3c72;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-actions button:hover {
  background-color: #274b8a;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: bold;
  color: orangered;
  border-top-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 1000;
}

.footer a {
  color: orangered;
  text-decoration: none;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    margin: 5rem auto 2rem;
    padding: 2rem 1.5rem;
  }

  .container h1 {
    font-size: 2.2rem;
  }

  .game-container p {
    font-size: 1rem;
  }

  .zoom-image {
    max-width: 300px;
  }

  .watermark {
    font-size: 80px;
  }
}

@media (max-width: 480px) {
  .container {
    margin: 4rem auto 1rem;
    padding: 2rem 1rem;
  }

  .container h1 {
    font-size: 1.8rem;
  }

  .game-container p {
    font-size: 0.95rem;
  }

  .zoom-image {
    max-width: 250px;
  }

  .watermark {
    font-size: 50px;
  }

  .footer {
    font-size: 12px;
    padding: 8px 10px;
  }
}
