/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Animované pozadí */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(270deg, #0f2027, #203a43, #2c5364);
  background-size: 600% 600%;
  animation: bgMove 12s ease infinite;
  color: #fff;
}

/* Glow kruhy na pozadí */
body::before, body::after {
  content: "";
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}

body::before {
  background: orange;
  top: -100px;
  left: -100px;
}

body::after {
  background: gold;
  bottom: -100px;
  right: -100px;
}

/* Karta */
.wrap {
  max-width: 950px;
  padding: 35px;
  border-radius: 25px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  box-shadow: 
    0 0 60px rgba(255,140,0,0.2),
    inset 0 0 20px rgba(255,255,255,0.05);
  transition: 0.5s;
  animation: fadeIn 1.5s ease;
}

/* Hover celé karty */
.wrap:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 
    0 20px 80px rgba(255,140,0,0.4),
    inset 0 0 30px rgba(255,255,255,0.1);
}

/* Nadpis */
h1 {
  text-align: center;
  font-size: 3.2rem;
  margin-bottom: 25px;
  background: linear-gradient(90deg, orange, gold, orange);
  background-size: 200%;
  -webkit-background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}

/* Layout */
.row {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

/* Obrázek */
img {
  width: 320px;
  border-radius: 20px;
  transition: 0.6s;
  filter: brightness(0.9) contrast(1.1);
}

img:hover {
  transform: scale(1.1) rotate(1deg);
  filter: brightness(1.1);
  box-shadow: 0 0 40px orange;
}

/* Tabulka */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 14px;
}

th {
  color: gold;
  letter-spacing: 1px;
}

tr {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: 0.3s;
}

tr:hover {
  background: linear-gradient(90deg, rgba(255,140,0,0.3), transparent);
  transform: translateX(5px);
}

/* Sekce */
section {
  margin-top: 30px;
}

h2 {
  margin-bottom: 10px;
  color: gold;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: orange;
  margin-top: 5px;
  border-radius: 5px;
}

p {
  line-height: 1.7;
  color: #ddd;
  animation: fadeInUp 1.5s ease;
}

/* Animace */
@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shine {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsivita */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
    align-items: center;
  }

  img {
    width: 100%;
  }
}