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

html,
body {
  font-family: 'Rajdhani', sans-serif;
  color: white;
  background-color: #111;
  overflow-x: hidden;
  scroll-behavior: smooth;
}


/* Custom Scrollbar for Whole Page (Webkit) */
body::-webkit-scrollbar,
html::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track,
html::-webkit-scrollbar-track {
  background: #1b1b1b;
}

body::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 6px;
  border: 2px solid #1b1b1b;
}

body::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover {
  background-color: #777;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffcb00;
}

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
}

.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  background: #000;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #888;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  nav.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}


/* Card Section */
.card-section {
  padding: 20px 20px;
  background-color: #111;
  text-align: center;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.card {
  background: #1b1b1b;
  border-radius: 12px;
  overflow: hidden;
  width: 280px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: white;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card h3 {
  padding: 16px;
  font-size: 1.2rem;
  background: #222;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.card-whitelist {
  box-shadow: 0 4px 20px rgba(55, 200, 233);
}

.card-whitelist:hover {
  box-shadow: 0 8px 32px rgba(55, 200, 233);
}

.card-discord {
  box-shadow: 0 4px 20px rgba(194, 185, 175);
  /* Discord purple */
}

.card-discord:hover {
  box-shadow: 0 8px 32px rgba(194, 185, 175);
}

.card-apps {
  box-shadow: 0 4px 20px rgba(242, 139, 123);
  /* Red glow */
}

.card-apps:hover {
  box-shadow: 0 8px 32px rgba(242, 139, 123);
}




/* Modal Base */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal {
  background: #1f1f1f;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  color: white;
  position: relative;
  max-height: 90vh;
  /* limits modal height */
  overflow-y: auto;
  /* enables internal scrolling */
  scroll-behavior: smooth;
}

.modal h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.modal form {
  display: flex;
  flex-direction: column;
}

.modal form label {
  margin-top: 10px;
  margin-bottom: 4px;
}

.modal form input,
.modal form textarea,
.modal form select {
  background: #333;
  border: none;
  padding: 10px;
  border-radius: 6px;
  color: white;
  font-family: inherit;
  font-size: 14px;
  appearance: none;
  /* removes default styling */
  -webkit-appearance: none;
  -moz-appearance: none;
}

.modal form button {
  margin-top: 20px;
  padding: 12px;
  background: #ff4c60;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

.modal form button:hover {
  background: #e03f55;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  background: transparent;
  border: none;
  color: #aaa;
  cursor: pointer;
}

.close-modal:hover {
  color: white;
}

/* Thank You Modal Overlay Container */
#thankYouModal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  width: 550px;
  max-width: 90%;
  background: #1c1c1c;
  color: #ddd;
  border: 2px solid #ffcb00;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 0 25px rgba(255, 203, 0, 0.4);
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
}

/* Heading */
#thankYouModal h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #ffcb00;
}

/* Paragraphs */
#thankYouModal p {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* Bold Text Highlight */
#thankYouModal strong {
  color: #fff;
  font-weight: 700;
}

/* Close Button */
#thankYouModal .modal-close {
  margin-top: 25px;
  padding: 12px 24px;
  background-color: #ffcb00;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#thankYouModal .modal-close:hover {
  background-color: #ffe066;
}

.review-wrapper {
  display: flex;
  flex-direction: column;
  /* STACK CHILDREN VERTICALLY */
  align-items: center;
  width: 100%;
}

.review-card {
  max-width: 800px;
  padding: 20px;
  background-color: #1e1e1e;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.leave-review {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.leave-review button {
  padding: 10px 20px;
  font-weight: bold;
  margin-bottom: 10px;
  cursor: pointer;
}

#reviewForm {
  display: none;
  background-color: #1c1c1c;
  padding: 20px;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  text-align: left;
}

#reviewForm label,
#reviewForm input,
#reviewForm select,
#reviewForm textarea {
  width: 100%;
  margin-bottom: 10px;
  display: block;
}

#reviewForm input,
#reviewForm select,
#reviewForm textarea {
  padding: 10px;
  background-color: #2a2a2a;
  color: #fff;
  border: 1px solid #555;
  border-radius: 4px;
}

#reviewForm button[type="submit"] {
  background-color: #ffd700;
  color: #000;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

#reviewForm button[type="submit"]:hover {
  background-color: #e6c200;
}

/* review Section */
.reviews-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 300px;
  padding-bottom: 80px;
  box-sizing: border-box;
  flex-direction: column;
}

:target {
  scroll-margin-top: 100px;
  /* Adjust to match your fixed navbar height */
}

.review-card {
  max-width: 800px;   /* ✅ already done */
  width: 100%;         /* ✅ optional, allows full width on smaller screens */
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  color: white;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  font-size: 1.1rem;
  background: #1c1c1c;
}

.review-name {
  font-weight: bold;
  margin-top: 10px;
  color: #ff4c60;
  font-size: 1.2rem;
}

.review-text {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.6;
}

.stars {
  font-size: 32px;
  margin-bottom: 10px;
  color: gold;
}

.review-card {
  transition: opacity 0.5s ease;
  opacity: 1;
}

.review-card.fade-out {
  opacity: 0;
}

/* Custom Scrollbar for Webkit Browsers */
.modal::-webkit-scrollbar {
  width: 8px;
}

.modal::-webkit-scrollbar-track {
  background: #2a2a2a;
  border-radius: 4px;
}

.modal::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 4px;
  border: 2px solid #2a2a2a;
}

.modal::-webkit-scrollbar-thumb:hover {
  background-color: #777;
}

/* Tabs in application modal */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.tab-button {
  background: #2a2a2a;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  color: #ccc;
  cursor: pointer;
}

.tab-button.active {
  background: #ff4c60;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* staff Section */
.staff-section {
  padding: 0px 20px;
  background-color: #111;
  text-align: center;
}

.staff-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.staff {
  background: #1b1b1b;
  border-radius: 12px;
  overflow: hidden;
  width: 200px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: white;
  position: relative; /* ensure relative positioning for absolute children */
}

.staff img {
  width: 100%;
  height: auto;
  display: block;
}

.staff h3 {
  padding: 16px;
  font-size: 1.2rem;
  background: #222;
}

.staff:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.staff-chips {
  box-shadow: 0 4px 20px rgba(55, 200, 233);
}

.staff-chips:hover {
  box-shadow: 0 8px 32px rgba(55, 200, 233);
}

.staff-garry {
  box-shadow: 0 4px 20px rgba(194, 185, 175);
  /* Discord purple */
}

.staff-garry:hover {
  box-shadow: 0 8px 32px rgba(194, 185, 175);
}

.staff-apps {
  box-shadow: 0 4px 20px rgba(242, 139, 123);
  /* Red glow */
}

.staff-apps:hover {
  box-shadow: 0 8px 32px rgba(242, 139, 123);
}

.twitch-live {
  display: none;
  position: absolute;
  top: 8px;
  left: 8px; /* Revert back to top-left */
  width: 12px;
  height: 12px;
  background-color: red; /* red = live, grey if offline */
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}