/* Grunddesign & Theme */
@font-face {
  font-family: 'NotoSans';
  src: url('/font/NotoSans/NotoSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  font-family: 'NotoSans', sans-serif !important;
}

a {
  color: rgb(0, 151, 197);
  text-decoration: underline;
  transition: font-weight 0.2s ease;
}

a:hover {
  font-weight: 500;
}

h2, h3, h4 {
  color: rgb(0, 151, 197);
  font-weight: 500;
}

.game-divider {
  height: 1px;
  width: 100%;
  background-color: var(--divider-color);
  margin: 20px 10px;
}

.game-section {
  width: 100%;
  padding: 0 10px;
}

.maxsize1100 {
  max-width: 1080px;
}

.game-card {
  background-color: var(--card-bg);
  width: 100%;
  color: var(--text-color);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.game-card-wo {
  background-color: var(--card-bg);
  width: 100%;
  color: var(--text-color);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.game-card:hover {
  transform: translateY(-2px);
  background-color: #1a1a2a;
  border-color: var(--accent-color);
  box-shadow: 0 6px 16px rgba(58, 123, 213, 0.2);
}

.game-card.split {
  margin: 10px;
}

.game-card-wo.split {
  margin: 10px;
}

.game-split-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.game-image-split {
  flex: 0 0 70%;
  max-width: 70%;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.game-info {
  flex: 1;
  min-width: 280px;
  height: 395px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.button-group {
  margin-top: auto;
  display: flex;
  width: 100%;
  flex-direction: column;
}

.button-group-1 {
  display: flex;
  flex-direction: column;
}

.flex-bereich {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    margin-top: 10px;
    line-height: 0.75;
}

.early-access {
  color: #f5c518;
  font-size: 1.2rem;
}

.game-developer a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.section-text {
  margin-top: 0.2rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.play-button {
  display: inline-block;
  margin-top: 5px;
  padding: 0.45rem 1.0rem;
  background-color: #335fff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
  text-align: center;
  width: auto;
}

.play-button-2 {
  display: inline-block;
  margin-top: 5px;
  padding: 0.45rem 1.0rem;
  background-color: #01b270;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
  text-align: center;
  width: auto;
}

.play-button:hover {
  background-color: #003fcc;
}

.play-button-2:hover {
  background-color: #00945e;
}

/* Beschreibung Titel */
.game-subtitle {
  margin-bottom: 1rem;
}

.description {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Beschreibungstext */
.game-description {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  padding-left: 0.2rem;
}

.media-gallery {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
}

.media-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #111;
}

.media-container img,
.media-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 12px;
  display: block;
}

/* Pfeile */
.media-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 7px;
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0 12px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.media-arrow:hover {
  background: rgba(0, 0, 0, 0.4);
}

.media-arrow.left {
  left: 10px;
}

.media-arrow.right {
  right: 10px;
}

/* ============================
   Spielstatistiken – Desktop
   ============================ */

.stats-desktop {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
}

.game-stats-row {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 10px;
  padding: 1rem 0;
}

.stat {
  flex: 1 1 0%;
  text-align: center;
  padding: 0;
  border: none;
  background: none;
  overflow: hidden;
}

.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================
   Spielstatistiken – Mobile
   ============================ */

.stats-mobile {
  display: none;
}

.stat-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.stat-card span {
  color: var(--text-muted);
}

.stat-card strong {
  font-size: 1.2rem;
  color: white;
  font-weight: bold;
}

.dlc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dlc-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 10px;
  border-radius: 8px;
}

.dlc-item:hover {
  background-color: #1f1f2b;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.dlc-image {
  max-height: 125px;
  align-self: flex-start;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.dlc-info {
  flex: 1;
}

.dlc-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 4px;
  color: white;
}

.dlc-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.dlc-desc {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
}

.dlc-price {
  text-align: right;
  min-width: 100px;
}

.dlc-euro {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}

.dlc-coins {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Button unten */
.toggle-dlc-wrap {
  text-align: center;
  margin-top: 10px;
}

#toggle-dlc-button {
  padding: 0.6rem 1.4rem;
  background-color: #0056ff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
}

#toggle-dlc-button:hover {
  background-color: #003fcc;
}

.feature-list {
  padding-left: 1.2rem;
  list-style: none;
  display: grid;
  gap: 6px;
}

.feature-list li::before {
  content: "• ";
  color: var(--accent-color);
  margin-right: 4px;
}

.feature-list li {
  color: #ccc;
  font-size: 0.95rem;
}

/* Systemanforderungen-Gesamtblock */

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 1.5rem;
}

.requirement-box {
  background-color: var(--card-bg);
  display: unset;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.requirement-title {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 0.8rem;
  text-align: left;
}

/* Systemanforderungs-Liste */
.requirement-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.requirement-list li {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.requirement-list li strong {
  color: white;
}

.requirement-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.4;
}


/* Gerätestatus-Liste (links Icons, rechts Name) */
.device-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.device-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #ccc;
}

.device-list img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0.8);
}

/* Kartenübersicht */
.map-list {
  gap: 10px;
}

.map-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-radius: 8px;
  margin-bottom: 10px;
}

.map-players {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}

.map-item:hover {
  background-color: #1f1f2b;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.map-image {
  max-height: 125px;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.map-info {
  flex: 1;
}

.map-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 4px;
  color: white;
}

.map-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgb(150,150,150);
  margin-bottom: 6px;
}

.map-desc {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
}

.map-stats {
  text-align: right;
}

@media (max-width: 1100px) {
  .map-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-image,
  .map-info,
  .map-stats {
    width: 100%;
    border-radius: 7px;
  }

  .map-stats {
    margin-top: 0.5rem;
    text-align: left;
  }

  .media-gallery {
    max-width: 100%;
    border-radius: 7px;
  }

  .game-split-wrapper {
    flex-direction: column;
    max-width: 100%;
  }

  .game-image-split,
  .game-info {
    width: 100%;
    max-width: 100%;
  }

  .game-info {
    align-items: flex-start;
    text-align: left;
  }

  .play-button {
    width: 100%;
  }

  .stats-desktop {
    display: none;
  }

  .stats-mobile {
    display: block;
  }

  .requirements-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobil: untereinander */
@media (max-width: 600px) {
  .dlc-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .dlc-image,
  .dlc-info,
  .dlc-price {
    width: 100%;
    text-align: left;
  }

  .dlc-price {
    margin-top: 8px;
  }
}
