/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #0e0e0e;
  color: #f0f0f0;
  overflow-x: hidden;
}

a {
  color: #00ffe1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 2rem;
  background-color: #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 50px;
}

.centered-logo {
  width: 200px;
  height: auto;
}

nav a {
  margin-left: 20px;
  font-weight: bold;
}

/* Hero/Main */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 80vh;
  padding: 2rem;
  text-align: center;
  color: #cccccc; /* Softer than pure white */
}

.description {
  margin-bottom: 2rem;
}

.description h1 {
  font-size: 2.5rem;
}

.description h2 {
  font-size: 1.5rem;
  color: #999;
  margin-bottom: 1rem;
}

/* Categories */
.categories {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.category {
  padding: 1.2rem 2rem;
  background-color: #222;
  border-radius: 10px;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.category:hover {
  background-color: #00ffe1;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding-top: 5rem;
  }

  .categories {
    flex-direction: column;
    gap: 1rem;
  }
}

.games-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  gap: 1rem;
}

.games-container iframe {
  width: 252px;
  height: 200px;
  border: none;
}

/* Responsive: stack in a column on narrow screens */
@media (max-width: 768px) {
  .games-container {
    flex-direction: column;
    align-items: center;
  }
}

.games-container h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.journey-card {
  width: 80vw;
  min-width: 300px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 1rem;
  height: 80vh;
  text-align: justify;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.journey-card h1 {
  text-align: center;
  margin-bottom: 1rem;
}

.journey-scroll {
  margin: 2rem 0 2rem 2rem;
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 1rem;
}

/* Scrollbar styling */
.journey-scroll::-webkit-scrollbar {
  width: 12px;
}

.journey-scroll::-webkit-scrollbar-track {
  background: #0e0e0e;
  border-radius: 10px;
  box-shadow: inset 0 0 4px #00000088;
}

.journey-scroll::-webkit-scrollbar-thumb {
  background-color: #1a1a1a;
  border-radius: 10px;
  border: 2px solid #0e0e0e;
}

/* Responsive fix */
@media (max-width: 768px) {
  .journey-card {
    height: auto;
  }

  .journey-scroll {
    max-height: none;
  }
}
