body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #121212;
  color: #ffffff;
}

header {
  background-color: #1e1e1e;
  padding: 0px 20px 0; /* remove bottom padding to reduce gap */
  text-align: center;
}

header img {
  height: 250px;
  max-width: 250%;
  object-fit: contain;
  margin-bottom: -80px; /* remove negative margin */
  display: inline-block;
}

nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 5px; /* slight space between img and nav */
  padding-bottom: 10px; /* some bottom padding for spacing */
}

nav a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  color: #baff3d; /* make links visible on dark bg */
}

/* General button styles */
.button_genral,
.button,
.button_panel,
.button_support,
.button_discord {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  color: #121212;
  text-decoration: none;
  transition: background-color 0.3s;
}

/* Specific button colors */
.button_genral {
  background-color: #5e704a;
}

.button_genral:hover {
  background-color: #a2ff36;
}

.button {
  background-color: #baff3d;
}

.button:hover {
  background-color: #a2ff36;
}

.button_panel {
  background-color: #1E90FF;
}

.button_panel:hover {
  background-color: #a2ff36;
}

.button_support {
  background-color: #FF0000;
}

.button_support:hover {
  background-color: #a2ff36;
}

.button_discord {
  background-color: #5865F2;
}

.button_discord:hover {
  background-color: #a2ff36;
}

main {
  padding: 40px 20px;
  text-align: center;
}

section h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

section p,
main p {
  font-size: 1.2rem;
  margin: 10px auto 20px;
  color: #cccccc;
  max-width: 800px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #1a1a2e;
  color: #888;
  font-size: 0.9rem;
}

footer a {
  color: #baff3d;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.supported-games ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 4 equal columns */
  gap: 20px;                             /* space between items */
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;                     /* optional max width */
  list-style: none;
}

.supported-games li {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
  position: relative;
  transition: transform 0.3s ease;
}

.supported-games li:hover {
  transform: scale(1.05);
}

.supported-games img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.supported-games li::after {
  content: attr(data-title);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #baff3d;
  font-size: 1rem;
  padding: 8px 5px;
  text-align: center;
  font-weight: bold;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}


/* Responsive breakpoints */
@media (max-width: 1024px) {
  .supported-games li {
    flex: 1 1 calc(33.33% - 20px); /* 3 per row on tablets */
    max-width: calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  .supported-games li {
    flex: 1 1 calc(50% - 20px); /* 2 per row on mobile */
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .supported-games li {
    flex: 1 1 100%; /* Full width on small phones */
    max-width: 100%;
  }
}

.trustpilot-box {
  background-color: #1e1e1e;
  border: 2px solid #baff3d;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  width: 300px;
  margin: 40px auto;
  box-shadow: 0 0 20px #baff3d55;
  transition: box-shadow 0.3s ease;
}

.trustpilot-box:hover {
  box-shadow: 0 0 25px #a2ff36;
}

/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Button Styled Like Other Buttons */
.dropbtn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  color: #e0e0e0; /* lighter text for better contrast */
  background-color: #5e704a;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dropbtn:hover {
  background-color: #a2ff36;
}

/* Focus styles for accessibility */
.dropbtn:focus,
.dropdown-content a:focus {
  outline: 2px solid #a2ff36;
  outline-offset: 2px;
}

/* Dropdown Content Box - EVEN SPACING ALL AROUND */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333333;
  min-width: 250px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  border: 1px solid #555555;
  z-index: 1;
  border-radius: 8px;
  padding: 10px; /* EVEN padding on all sides */
  box-sizing: border-box;
}

/* Individual Dropdown Links - CLEAN SPACING */
.dropdown-content a {
  display: block;
  color: #ffffff;
  padding: 10px 14px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 6px;
  margin: 6px 0; /* Even spacing between items */
}

.dropdown-content a:hover {
  background-color: #444444;
  color: #121212;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Accent lime-green color for spans */
.accent {
  color: #baff3d;
  text-shadow: 0 0 8px #a2ff36;
  font-weight: 900;
}

/* Main heading */
.welcome-section h1 {
  font-size: 3.2rem;
  color: #baff3d;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 12px #a2ff36;
  font-weight: 900;
  letter-spacing: 1.1px;
}

/* Tagline styling */
.tagline {
  font-size: 1.5rem;
  color: #baff3d;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.tagline .highlight {
  color: #a2ff36;
  font-weight: 900;
  text-shadow: 0 0 12px #a2ff36;
}

/* Intro paragraph */
.intro {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ccc;
  font-weight: 500;
}

/* Subheading h2 */
.welcome-section h2 {
  font-size: 2.1rem;
  color: #baff3d;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #a2ff36;
  font-weight: 700;
}

/* Features list styling */
.features-list {
  list-style: none;
  max-width: 450px;
  margin: 0 auto 3rem auto;
  padding: 0;
  text-align: left;
  font-size: 1.2rem;
  color: #b4f576;
  font-weight: 600;
  line-height: 1.5;
}

.features-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.features-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: #a2ff36;
  text-shadow: 0 0 10px #a2ff36;
}

.features-list li:hover {
  color: #a2ff36;
  cursor: default;
}

/* Highlighted text boxes */
.highlighted-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #b4f576;
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
  text-shadow: 0 0 12px rgba(180, 245, 118, 0.8), 0 0 20px rgba(180, 245, 118, 0.6);
  background: linear-gradient(135deg, rgba(180, 245, 118, 0.15), rgba(50, 100, 0, 0.1));
  padding: 16px 24px;
  border-radius: 14px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  box-shadow: 0 0 15px rgba(180, 245, 118, 0.25);
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.highlighted-text:hover {
  background-color: rgba(180, 245, 118, 0.25);
  box-shadow: 0 0 25px rgba(180, 245, 118, 0.5);
}


