/* ================== RESET & ZÁKLAD ================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', Arial, sans-serif;
}

body {
  background: #0f172a; /* tmavé jednolité pozadí */
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ================== HEADER ================== */
header {
  text-align: center;
  padding: 50px 20px;
  background: #1e293b; /* tmavší kontrastní hlavička */
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

header h1 {
  font-size: 3rem;
  letter-spacing: 2px;
}

header img.logo {
  max-width: 250px; /* max velikost loga */
  width: 60%;       /* responsivní šířka podle obrazovky */
  height: auto;
  display: block;
  margin: 0 auto;
}


/* ================== KONTEJNER ================== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* ================== GRID KARET ================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* ================== KARTY ================== */
.card {
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #1e293bcc; /* tmavší karty s jemnou průhledností */
  border: 2px solid rgba(255,255,255,0.1);
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  transition: filter 0.3s ease;
}

.card:hover::before {
  filter: brightness(0.6);
}

.card h2 {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  text-align: center;
  color: #ffffff;
  z-index: 1;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* ================== TABULKY ================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  background: #1e293bcc;
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

th, td {
  padding: 12px 14px;
  text-align: center;
  color: #ffffff;
}

th {
  background: #2563eb; /* kontrastní modrá */
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

tr:nth-child(even) {
  background: rgba(149,117,205,0.2); /* jemná fialová */
}

tr:nth-child(odd) {
  background: rgba(38,198,218,0.2); /* jemný tyrkys */
}

tr:hover {
  background: rgba(255,235,59,0.2); /* světle žlutý highlight */
  transition: 0.2s;
}

/* ================== BACK BUTTON ================== */
.back {
  display: inline-block;
  margin-top: 25px;
  cursor: pointer;
  color: #26a69a; /* tyrkys / aqua */
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
}

.back:hover {
  color: #ffffff;
}

/* ================== FOOTER / CREDITS ================== */
footer {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.95rem; /* větší písmo */
  color: #ffffff;
  background: #2563eb; /* kontrastní modrá */
  padding: 10px 20px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease;
}

footer:hover {
  background: #9575cd; /* fialový hover */
  color: #ffffff;
}

footer span {
  text-decoration: underline;
  cursor: pointer;
}

/* ================== KARTY OBRAZKY ================== */
.golf::before { background-image:url('https://lh4.googleusercontent.com/proxy/4drBhbeWleLo_LhHg--GHyiKZZT0qd4u79ju6SB8OGBlHPxPm7iBzHBHBTS7fU2rUgKA-gRSezOm6hMLLj9b14Gwoz-QC2tbzLHo_w'); }
.cs::before { background-image:url('https://www.overclockers.co.uk/blog/wp-content/uploads/2023/11/2160px-Counter-Strike_2_-_Background.png'); }
.gta::before { background-image:url('https://oyster.ignimgs.com/mediawiki/apis.ign.com/grand-theft-auto-5/5/59/GTAO_072222.jpg?width=1280'); }
.mc::before { background-image:url('https://gamesmag.cz/wp-content/uploads/2021/06/apps.14.14286806462174690.2000000000005123610.jpg'); }
