@import url('https://fonts.googleapis.com/css2?family=Comic+Neue&family=Comic+Sans+MS&display=swap');

.strip.is-sticky {
    position: sticky;
    top: var(--proweb-sticky-offset, 0px);
    z-index: calc(900 - var(--proweb-sticky-index, 0));
}.strip[data-id="25f9a1"] {
  --section-id: "25f9a1";
  --storage-url: "https://ach.proweb.cz/_section/25f9a1";
  --public-url: "https://ach.proweb.cz/_section/25f9a1";
}
.strip[data-id="25f9a1"] .lang-switcher-bar {
  width: 100%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.strip[data-id="25f9a1"] .lang-switcher-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  height: 40px;
}
.strip[data-id="25f9a1"] .lang-switcher-label {
  font-size: 0.95rem;
  opacity: 0.6;
}
.strip[data-id="25f9a1"] .lang-switcher-items {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.strip[data-id="25f9a1"] .lang-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.strip[data-id="25f9a1"] a.lang-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.strip[data-id="25f9a1"] .lang-item--active {
  color: #fff;
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.4);
}
.strip[data-id="25f9a1"] .lang-item--disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.strip[data-id="25f9a1"] .lang-flag {
  font-size: 1rem;
  line-height: 1;
}
.strip[data-id="25f9a1"] .lang-label {
  font-size: 0.8rem;
}
@media (max-width: 640px) {
  .strip[data-id="25f9a1"] .lang-switcher-inner {
    justify-content: center;
  }
  .strip[data-id="25f9a1"] .lang-switcher-label {
    display: none;
  }
  .strip[data-id="25f9a1"] .lang-item {
    padding: 0.25rem 0.5rem;
    font-size: 0.78rem;
  }
  .strip[data-id="25f9a1"] .lang-label {
    display: none;
  }
}.strip[data-id="9efa46"] {
  --section-id: "9efa46";
  --storage-url: "https://ach.proweb.cz/_section/9efa46";
  --public-url: "https://ach.proweb.cz/_section/9efa46";
}
.strip[data-id="9efa46"] .pexeso-section {
  padding: 60px 20px;
  background-color: #f0f9ff;
  font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", sans-serif;
}
.strip[data-id="9efa46"] .pexeso-section .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.strip[data-id="9efa46"] .game-header {
  margin-bottom: 30px;
}
.strip[data-id="9efa46"] .game-title {
  color: #0369a1;
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.strip[data-id="9efa46"] .game-stats {
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #0c4a6e;
}
.strip[data-id="9efa46"] .stat-item {
  background: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.strip[data-id="9efa46"] .controls-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}
.strip[data-id="9efa46"] .restart-button, .strip[data-id="9efa46"] .music-toggle, .strip[data-id="9efa46"] .start-game-btn {
  background-color: #0ea5e9;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.strip[data-id="9efa46"] .music-toggle {
  background-color: #64748b;
}
.strip[data-id="9efa46"] .music-toggle.active {
  background-color: #10b981;
}
.strip[data-id="9efa46"] .restart-button:hover, .strip[data-id="9efa46"] .music-toggle:hover, .strip[data-id="9efa46"] .start-game-btn:hover {
  transform: scale(1.05);
}
.strip[data-id="9efa46"] .game-board-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 40px;
}
.strip[data-id="9efa46"] .game-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  perspective: 1000px;
  min-height: 500px;
}
.strip[data-id="9efa46"] .start-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 249, 255, 0.9);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}
.strip[data-id="9efa46"] .start-overlay.hidden {
  display: none;
}
.strip[data-id="9efa46"] .pexeso-card {
  aspect-ratio: 1/1;
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}
.strip[data-id="9efa46"] .pexeso-card.flipped {
  transform: rotateY(180deg);
}
.strip[data-id="9efa46"] .pexeso-card.matched {
  transform: rotateY(180deg) scale(0);
  opacity: 0;
  pointer-events: none;
}
.strip[data-id="9efa46"] .card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* For images */
}
.strip[data-id="9efa46"] .card-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.strip[data-id="9efa46"] .card-back {
  background-image: url("https://ach.proweb.cz/_section/9efa46/card-back.jpg");
  background-size: cover;
  background-position: center;
  background-color: #bae6fd;
  border: 4px solid white;
}
.strip[data-id="9efa46"] .card-front {
  background-color: white;
  transform: rotateY(180deg);
  border: 4px solid #0ea5e9;
}
.strip[data-id="9efa46"] .win-message {
  background-color: #dcfce7;
  padding: 30px;
  border-radius: 20px;
  border: 3px solid #22c55e;
  color: #14532d;
  animation: bounce 1s infinite alternate;
}
.strip[data-id="9efa46"] .win-message.hidden {
  display: none;
}
@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}
@media (max-width: 480px) {
  .strip[data-id="9efa46"] .card-face {
    font-size: 3rem;
  }
  .strip[data-id="9efa46"] .game-board {
    gap: 8px;
    min-height: 350px;
  }
}