body {
  background-image: url('images/elden_ring.jpg');
  background-size: cover;      /* Make the image cover the entire background */
  background-position: center; /* Center the image */
  background-repeat: no-repeat;
  background-attachment: fixed; /* Optional: make background fixed when scrolling */
}

body {
	font-family: Arial, sans-serif;
	padding: 20px;
	max-width: 1400px;
	margin: auto;
	background-color: #f4f4f4;
}
.container {
	background-color: #ffffff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.message {
	padding: 10px;
	margin: 10px 0;
	border-radius: 5px;
}
.success {
	background-color: #d4edda;
	color: #155724;
}
.error {
	background-color: #f8d7da;
	color: #721c24;
}

input[type="text"],
input[type="email"],
input[type="password"] {
	padding: 1%;
	width: 100%;
	max-width: 400px; /* limits width */
	margin: 10px 0;
	border-radius: 5px;
	border: 1px solid #ff6600; /* orange border */
	background-color: #fff; /* white background */
	color: #000; /* black text */
	box-sizing: border-box;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: #cc5200; /* lighter orange placeholder */
}

input[type="submit"],
button[type="submit"] {
	padding: 10px 20px;
	background-color: #ff6600; /* bright orange */
	color: #000; /* black text */
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
	transition: background-color 0.3s ease;
	max-width: 400px; /* match inputs */
	width: 100%;
	box-sizing: border-box;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
	background-color: #cc5200; /* darker orange on hover */
	color: #fff; /* white text on hover */
}

h4.section-title {
    text-align: center;
    margin-top: 40px;
}

/* Das Modal (Popup) ist standardmäßig unsichtbar */
.modal {
  display: none; /* Versteckt das Modal */
  position: fixed;
  z-index: 1; /* Sitzt oben */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0); /* Black w/ opacity */
  background-color: rgba(0, 0, 0, 0.4); /* Hintergrund mit Transparenz */
  padding-top: 60px;
}

/* Modal-Inhalt */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Größe anpassen */
  max-width: 600px; /* Maximalbreite */
  border-radius: 10px;
}

/* Schließen-Knopf */
.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 25px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Stilisierung des Impressum Links */
#impressumLink {
  font-size: 16px; /* Textgröße */
  color: #ff6600; /* Blau als Farbe für den Link */
  text-decoration: none; /* Entfernt die Unterstreichung */
  font-weight: bold; /* Macht den Text fett */
  padding: 8px 16px; /* Padding für einen schöneren Abstand */
  border-radius: 5px; /* Abgerundete Ecken */
  transition: background-color 0.3s, color 0.3s; /* Weicher Übergang bei Hover */
}

/* Hover-Effekt */
#impressumLink:hover {
  background-color: #0056b3; /* Hintergrundfarbe bei Hover */
  color: white; /* Textfarbe bei Hover */
  text-decoration: none; /* Keine Unterstreichung */
}

/* Button styles for <a> tags, like your Buy buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff6600;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

button[type="button"],
input[type="button"] {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff6600;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

/*.btn {
    display: inline-block;
    padding: 10px 15px;
    margin-top: 10px;
    background-color: #ff6600;
    color: white;
    border-radius: 5px;
    font-weight: bold;
}*/

.btn:hover,
.btn:focus {
  background-color: #0056b3; /* same hover color as your submit inputs */
  text-decoration: none;
  color: white;
}

/* Optional: If you want different button variants, e.g., green */
.btn-success {
  background-color: #00cc7b; /* match your green buttons */
}

.btn-success:hover,
.btn-success:focus {
  background-color: #00b356;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ff6600; /* black background */
  padding: 10px 30px;
  max-width: 1400px;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(255, 102, 0, 0.5); /* subtle orange glow */
}

.navbar-logo img {
  height: 50px;
  width: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.nav-list li a {
  color: #000000; /* vibrant orange */
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 8px 15px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a:focus {
  background-color: #ff6600; /* orange background on hover */
  color: #ffffff; /* black text on hover */
  outline: none;
}

h1 {
  color: #ff6600; /* bright orange */
  font-weight: bold;
}

#imprintlink{
  color: #ff6600;
  text-decoration: none;
  text-shadow:
   -1px -1px 0 black,
    1px -1px 0 black,
   -1px  1px 0 black,
    1px  1px 0 black;
}

.btn.btn-primary {
    background-color: #ff6600; /* bright orange */
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
    user-select: none;
}

.btn.btn-primary:hover {
    background-color: #cc5200; /* darker orange */
    color: white;
}

.error-box {
    background-color: #ffcccc;
    color: #990000;
    padding: 15px;
    border-radius: 8px;
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.big-key {
    display: inline-block;
    font-size: 1.5em;
    background-color: #f4f4f4;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 10px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px 20px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.game-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.game-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    background-color: #f9f9f9;
    transition: transform 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.game-card p, .game-card h3, .game-card span {
    text-decoration: none;
    color: inherit;
}

.game-card-link,
.game-card-link * {
    text-decoration: none !important;
    color: inherit !important;
}

a.game-card-link,
a.game-card-link *,
a.game-card-link:visited,
a.game-card-link:visited * {
    text-decoration: none !important;
    color: inherit !important;
}

#gsnetlogo {
    max-height: 70px;
    max-width: 70vw; /* prevent overflowing the screen width */
    width: auto;     /* keep aspect ratio */
    height: auto;
    display: block;
    margin: 0 auto;  /* center it */
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
}

@media (max-width: 804px) {
  .menu-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .nav-list.show {
    display: flex;
  }

  .navbar {
    align-items: flex-start;
  }
}

/*Tables (e.g. Shopping Cart) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th, table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

/* Quantity Buttons */
.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qty-btn.modern {
  background-color: #ff6600; /* Orange tone */
  color: white;
  border: none;
  font-size: 20px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-weight: bold;
}

.qty-btn.modern:hover {
  background-color: #cc5200; /* Slightly darker orange on hover */
}


.qty-number {
  font-size: 18px;
  min-width: 24px;
  text-align: center;
}
