@import url("colors.css");
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

/* Global styles */
html {
  scroll-behavior: smooth;
}

* body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(
    135deg,
    var(--dark-bg) 0%,
    var(--fourth-color) 100%
  );
  color: var(--text-light);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 0 0 20px var(--pink-30);
  background: linear-gradient(45deg, var(--first-color), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--first-color), var(--second-color));
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 300;
}

/* Navigation */
.navbar {
  background: var(--overlay-transparent) !important;
  backdrop-filter: blur(10px);
}

@media (max-width: 576px) {
  .navbar {
    background: #000 !important;
    backdrop-filter: none !important;
  }
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover effects for nav links */
.nav-link:hover {
  color: var(--accent-pink) !important;
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--first-color), var(--accent-pink));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 5.5rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffcbcb1a" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

/* Hero right-side art: glowing logo with concentric rings and orbiting game icons */
.hero-art {
  position: relative;
  width: 520px;
  height: 520px;
  pointer-events: auto;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
}

.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: auto;
  filter: hue-rotate(330deg) saturate(1.6) brightness(0.9)
    drop-shadow(0 0 8px var(--pink-20)) drop-shadow(0 0 4px var(--first-color));
  animation: logoFloat 7s ease-in-out infinite,
    logoGlow 4.5s ease-in-out infinite;
  pointer-events: none;
}

/* Hourglass sand overlay inside the hero logo */
.hero-hourglass {
  position: absolute;
  top: calc(50% + 9px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px; /* tuned to logo interior */
  height: 110px;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(225, 107, 108, 0.35));
  animation: logoFloat 7s ease-in-out infinite;
  will-change: transform;
}
.hero-hourglass .sand-top,
.hero-hourglass .sand-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 86%;
  height: 46%;
  background: linear-gradient(
    to bottom,
    rgba(225, 107, 108, 0.95),
    rgba(225, 107, 108, 0.8)
  );
  border-radius: 8px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    #000 70%,
    transparent 71%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    #000 70%,
    transparent 71%
  );
  overflow: hidden;
}
.hero-hourglass .sand-top {
  top: 2%;
  clip-path: polygon(50% 0%, 100% 35%, 100% 100%, 0% 100%, 0% 35%);
  display: none;
}
.hero-hourglass .sand-bottom {
  bottom: calc(4% + 16px);
  height: 6%;
  /* U-shape approximation with gentle 15°-like side slopes */
  clip-path: polygon(
    12% 0%,
    88% 0%,
    /* top lip */ 96% 20%,
    92% 40%,
    85% 60%,
    75% 80%,
    50% 95%,
    25% 80%,
    15% 60%,
    10% 40%,
    6% 20%
  );
}

/* Internal fill animations for top and bottom chambers */
.hero-hourglass .sand-top::after,
.hero-hourglass .sand-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  background: currentColor;
}
.hero-hourglass {
  color: #e16b6c;
}
.hero-hourglass .sand-top::after {
  display: none;
}
.hero-hourglass .sand-bottom::after {
  bottom: 0;
  height: 0%;
  background: linear-gradient(
    to top,
    rgba(225, 107, 108, 0.95),
    rgba(225, 107, 108, 0.75)
  );
  animation: sandBottomFill 5s ease-in-out infinite;
  transform-origin: bottom;
}

/* Falling stream of sand */
.hero-hourglass .sand-stream {
  position: absolute;
  left: calc(50% + 3px);
  top: 44.5%;
  width: 3px;
  height: 0;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(225, 107, 108, 0),
    rgba(225, 107, 108, 0.95)
  );
  border-radius: 2px;
  animation: sandStream 5s ease-in-out infinite;
}

@keyframes sandBottomFill {
  0% {
    height: 0%;
  }
  45% {
    height: 90%;
  }
  50% {
    height: 92%;
  }
  55% {
    height: 90%;
  }
  100% {
    height: 0%;
  }
}
@keyframes sandStream {
  0% {
    height: 0;
    opacity: 0;
  }
  10% {
    height: 18%;
    opacity: 1;
  }
  40% {
    height: 28%;
    opacity: 1;
  }
  50% {
    height: 36%;
    opacity: 1;
  }
  60% {
    height: 30%;
    opacity: 1;
  }
  90% {
    height: 12%;
    opacity: 0.9;
  }
  100% {
    height: 0;
    opacity: 0;
  }
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 157, 0.6);
  box-shadow: 0 0 4px var(--pink-10), inset 0 0 2px var(--pink-08);
  background: radial-gradient(
    var(--pink-08) 30%,
    rgba(255, 255, 255, 0.02) 100%
  );
  animation: ringPulse 5.5s ease-in-out infinite, ringSpin 24s linear infinite;
  pointer-events: none;
}

.ring-1 {
  width: 140px;
  height: 140px;
  animation-delay: 0s;
  opacity: 0.9;
}
.ring-2 {
  width: 220px;
  height: 220px;
  animation-delay: 0.7s;
  opacity: 0.7;
}
.ring-3 {
  width: 300px;
  height: 300px;
  animation-delay: 1.4s;
  opacity: 0.5;
}
.ring-4 {
  width: 380px;
  height: 380px;
  animation-delay: 2.1s;
  opacity: 0.35;
}
.ring-5 {
  width: 460px;
  height: 460px;
  animation-delay: 2.8s;
  opacity: 0.2;
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.5;
    filter: drop-shadow(0 0 6px var(--pink-20));
  }
  50% {
    opacity: 0.7;
    filter: drop-shadow(0 0 12px var(--accent-pink));
  }
}

@keyframes ringSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  will-change: transform, filter;
  pointer-events: auto;
  cursor: pointer;
}

.hero-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(225, 107, 108, 0.25) 0%,
    rgba(225, 107, 108, 0.12) 45%,
    transparent 65%
  );
  pointer-events: none;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-54%) scale(1.05);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
}

@keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 6px var(--pink-20))
      drop-shadow(0 0 3px var(--first-color));
  }
  50% {
    filter: drop-shadow(0 0 10px var(--pink-30))
      drop-shadow(0 0 6px var(--second-color));
  }
}

/* Place icons on the ring circumference and animate orbit */
.icon-parallel {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg) translate(0, -130px)
    rotate(0deg);
  animation: orbitA 22s linear infinite, iconGlow 3.5s ease-in-out infinite;
}
.icon-parallel::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  -webkit-mask-image: url("../images/Ikona_paraler.png");
  mask-image: url("../images/Ikona_paraler.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.icon-lecebna {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(120deg) translate(0, -180px)
    rotate(-120deg);
  animation: orbitB 26s linear infinite, iconGlow 3.8s ease-in-out infinite;
}
.icon-lecebna::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  -webkit-mask-image: url("../images/Ikona_lecebna.png");
  mask-image: url("../images/Ikona_lecebna.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.icon-soud {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(240deg) translate(0, -230px)
    rotate(-240deg);
  animation: orbitC 24s linear infinite, iconGlow 4.1s ease-in-out infinite;
}
.icon-soud::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  -webkit-mask-image: url("../images/Ikona_soud.png");
  mask-image: url("../images/Ikona_soud.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

@keyframes orbitA {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translate(0, -130px)
      rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg) translate(0, -130px)
      rotate(-360deg);
  }
}
@keyframes orbitB {
  from {
    transform: translate(-50%, -50%) rotate(120deg) translate(0, -180px)
      rotate(-120deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(480deg) translate(0, -180px)
      rotate(-480deg);
  }
}
@keyframes orbitC {
  from {
    transform: translate(-50%, -50%) rotate(240deg) translate(0, -230px)
      rotate(-240deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(600deg) translate(0, -230px)
      rotate(-600deg);
  }
}

/* Additional hero icons: vouchers, FAQ, reviews */
.hero-icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 18px;
  filter: drop-shadow(0 0 4px var(--pink-20));
  pointer-events: none;
}

.icon-vouchers {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(300deg) translate(0, -180px)
    rotate(-300deg);
  animation: orbitD 28s linear infinite, iconGlow 3.6s ease-in-out infinite;
}

@keyframes orbitD {
  from {
    transform: translate(-50%, -50%) rotate(300deg) translate(0, -180px)
      rotate(-300deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(660deg) translate(0, -180px)
      rotate(-660deg);
  }
}

@keyframes iconGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 3px var(--accent-pink))
      drop-shadow(0 0 1px var(--first-color));
  }
  50% {
    filter: drop-shadow(0 0 6px var(--accent-pink))
      drop-shadow(0 0 3px var(--second-color));
  }
}

@media (max-width: 1200px) {
  .hero-art {
    width: 300px;
    height: 300px;
    right: 24px;
  }
  .ring-1 {
    width: 200px;
    height: 200px;
  }
  .ring-2 {
    width: 250px;
    height: 250px;
  }
  .ring-3 {
    width: 300px;
    height: 300px;
  }
  .icon-parallel {
    animation-duration: 20s;
  }
  .icon-lecebna {
    animation-duration: 24s;
  }
  .icon-soud {
    animation-duration: 22s;
  }
}

@media (max-width: 992px) {
  .hero-art {
    display: none;
  }
}

/* Game Cards */
.game-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 20px 40px var(--black-03);
  height: 350px;
  background: var(--dark-card);
  border: 1px solid var(--pink-10);
  margin: 0;
  margin-top: 50px;
}

/* Universal card layout classes */
.card-left .game-image-card {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.card-left .game-text-card {
  border-radius: 15px !important;
}

.card-right .game-image-card {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.card-right .game-text-card {
  border-radius: 15px !important;
}

.game-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  transform: scale(1.05);
  border-radius: inherit;
}

.game-image-card:hover img {
  transform: scale(1.1);
}

.game-text-card {
  background: linear-gradient(
    135deg,
    var(--dark-card) 0%,
    var(--dark-secondary) 100%
  );
  border: 1px solid var(--pink-40);
  border-radius: 15px;
  padding: 2.5rem;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 40px var(--pink-10);
  transform: none;
}

.game-text-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--first-color),
    var(--second-color),
    var(--accent-pink)
  );
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Remove Bootstrap spacing */
.row.g-0 {
  margin: 0;
}
.row.g-0 > .col-lg-6 {
  padding: 0;
  margin: 0;
}
.col-lg-6 {
  padding: 0;
  margin: 0;
}

/* Universal spacing for game rows */
.game-row {
  margin-bottom: 5rem !important;
}

.featured-image-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  box-shadow: 0 6px 20px var(--black-04);
  backdrop-filter: blur(15px);
  border: 2px solid var(--white-03);
  background: var(--danger-95);
  color: var(--text-light);
}

.featured-game-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px var(--pink-30);
}

.featured-game-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Responsive adjustments for featured game */
@media (max-width: 991px) {
  .featured-game-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .featured-game-title {
    font-size: 1.8rem;
  }
}

.difficulty-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.difficulty-medium {
  background: var(--warning);
  color: var(--dark-bg);
}

.difficulty-high {
  background: var(--danger);
  color: var(--text-light);
}

/* ===== BUTTON SYSTEM ===== */
/* Base button styles */
.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 10px 22px;
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

/* 1. RŮŽOVÉ TLAČÍTKO (Primary) - pro hlavní akce */
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--first-color) 0%,
    var(--second-color) 50%,
    #ff9ec4 100%
  );
  border-color: var(--first-color);
  color: var(--dark-bg);
  box-shadow: 0 4px 15px var(--pink-30);
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--second-color) 0%,
    #ff9ec4 50%,
    #ff8bb8 100%
  );
  border-color: var(--second-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--pink-50);
  color: var(--dark-bg);
}

/* 2. BÍLÉ TLAČÍTKO (Secondary) - pro sekundární akce */
.btn-outline-light {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  border-color: #e6e6e6;
  color: var(--dark-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-light:hover {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-color: #efefef;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Hero REZERVOVAT button - nejdůležitější tlačítko */
.hero-section .btn-outline-light {
  animation: heroButtonGlow 2s ease-in-out infinite;
  position: relative;
}

@keyframes heroButtonGlow {
  0%,
  100% {
    box-shadow: 0 4px 15px var(--pink-30), 0 0 30px var(--pink-30),
      0 0 45px var(--pink-20);
  }
  50% {
    box-shadow: 0 4px 15px var(--pink-30), 0 0 40px var(--pink-30),
      0 0 60px var(--pink-20);
  }
}

.hero-section .btn-outline-light:hover {
  animation: none;
  box-shadow: 0 8px 25px var(--pink-50), 0 0 40px var(--pink-30),
    0 0 50px var(--pink-20);
  transform: translateY(-3px);
}

/* 3. PRŮHLEDNÉ TLAČÍTKO (Secondary) - pro navigaci a hero sekce */
.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* Vouchers page hero spacing */
#vouchers-hero {
  padding-top: 9.5rem;
  padding-bottom: 3rem;
}

/* Contact page hero spacing */
#contact-hero {
  padding-top: 8.5rem;
}

@media (max-width: 576px) {
  #vouchers-hero {
    padding-top: 8.5rem;
    padding-bottom: 1.75rem;
  }

  #contact-hero {
    padding-top: 8.5rem;
  }
}

/* Unified Form Styles */
.contact-form,
.contact-form-card {
  background: linear-gradient(
    135deg,
    var(--dark-card) 0%,
    var(--dark-secondary) 100%
  );
  border: 1px solid var(--pink-20);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--pink-20);
  border-radius: 10px;
  color: var(--text-light);
  padding: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--first-color);
  box-shadow: 0 0 15px var(--pink-20);
  color: var(--text-light);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Select element styling to match contact form background */
select.form-control {
  background: var(--dark-card);
  border: 1px solid var(--pink-20);
  border-radius: 10px;
  color: var(--text-light);
  padding: 1rem;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
}

select.form-control:hover {
  background: var(--dark-secondary);
  border-color: var(--pink-30);
}

select.form-control option {
  background: var(--dark-card);
  color: var(--text-light);
  border: none;
}

/* Footer */
.footer {
  background: var(--dark-bg);

  padding: 3rem 0 1rem;
  margin-top: auto;
}

/* Social Links - Remove underline */
.social-links a {
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(255, 107, 157, 0.3));
}

.social-links a:focus {
  outline: 2px solid var(--pink-20);
  outline-offset: 2px;
}

.navbar .btn-primary {
  padding: 0.55rem 1.05rem;
  font-size: 0.95rem;
  border-radius: 20px;
}

/* Animations */

/* Responsive */
@media (max-width: 768px) {
  .contact-info-item {
    padding: 1rem;
  }
  .contact-info-item i {
    font-size: 1.5rem;
  }
  .contact-info-item h5 {
    font-size: 0.95rem;
  }
  .contact-info-item p {
    font-size: 0.9rem;
  }

  #contact-info.section {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }
  .contact-form {
    padding: 1.25rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .hero-section {
    min-height: 70vh;
    padding: 4.5rem 0 2rem;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .card-body {
    padding: 1.5rem;
  }

  /* Mobile game cards */
  .game-image-card {
    margin-top: 0 !important;
    border-radius: 15px 15px 0 0 !important;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .game-text-card {
    height: auto !important;
    padding: 1.5rem !important;
    margin-bottom: 0 !important;
    border-radius: 0 0 15px 15px !important;
  }

  .card-left .game-image-card,
  .card-right .game-image-card,
  .card-left .game-text-card,
  .card-right .game-text-card {
    border-radius: 15px 15px 0 0 !important;
  }

  .card-left .game-text-card,
  .card-right .game-text-card {
    border-radius: 0 0 15px 15px !important;
  }

  .card-left .row,
  .card-right .row {
    margin: 0 !important;
  }

  .card-left .col-lg-6,
  .card-right .col-lg-6 {
    padding: 0 !important;
    margin: 0 !important;
  }

  .featured-game-title {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  .featured-game-description {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }
  .nav-link {
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
  }

  #faq .btn.btn-sm,
  #reviews .btn.btn-sm {
    padding: 0.68rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 999px;
  }

  #reviews .row {
    row-gap: 1.5rem;
  }
  .review-card {
    margin-bottom: 0 !important;
    padding: 1.5rem;
  }

  .footer {
    padding: 2rem 0 1rem;
  }
}

/* Prevent navbar overlap on tablets */
@media (min-width: 769px) and (max-width: 992px) {
  .hero-section {
    padding-top: 5rem;
  }
}

/* Keep hero buttons larger only on desktop/tablet */
@media (min-width: 769px) {
  .hero-section .btn {
    padding: 14px 36px;
    font-size: 1.12rem;
    font-weight: 700;
  }
}

@media (max-width: 992px) {
  .hero-section .btn {
    padding: 0.48rem 1rem;
    font-size: 0.82rem;
  }
  .hero-section .btn-lg {
    padding: 0.52rem 1.2rem;
    font-size: 0.88rem;
  }
  .card-right {
    margin-bottom: 2rem !important;
  }

  /* Tablet game cards */
  .game-image-card {
    border-radius: 15px 15px 0 0 !important;
    aspect-ratio: auto;
    height: 250px;
  }

  .game-text-card {
    border-radius: 0 0 15px 15px !important;
  }

  .card-left .game-image-card,
  .card-right .game-image-card {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .card-left .game-text-card,
  .card-right .game-text-card {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
  }
}

/* Medium screens: bump hero CTA size */
@media (min-width: 577px) and (max-width: 992px) {
  .hero-section .btn {
    padding: 0.84rem 1.6rem;
    font-size: 1.08rem;
  }
  .hero-section .btn-lg {
    padding: 0.9rem 1.75rem;
    font-size: 1.16rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.6rem;
  }

  /* Small mobile game cards */
  .game-image-card {
    border-radius: 15px 15px 0 0 !important;
    height: 200px;
  }

  .game-text-card {
    padding: 1.25rem 1rem 1.25rem !important;
    margin-bottom: 0 !important;
    border-radius: 0 0 15px 15px !important;
  }

  .card-left .game-image-card,
  .card-right .game-image-card,
  .card-left .game-text-card,
  .card-right .game-text-card {
    border-radius: 15px 15px 0 0 !important;
  }

  .card-left .game-text-card,
  .card-right .game-text-card {
    border-radius: 0 0 15px 15px !important;
  }

  #games .game-text-card .list-unstyled {
    margin-left: 0.5rem;
  }
  .featured-game-title {
    font-size: 1.3rem !important;
    margin-top: 0.25rem !important;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  .btn-lg {
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
  }

  .hero-section .btn {
    padding: 0.78rem 1.35rem;
    font-size: 1rem;
  }
  .hero-section .btn-lg {
    padding: 0.82rem 1.6rem;
    font-size: 1.08rem;
  }

  .hero-section .mt-4.d-flex.gap-3 {
    flex-direction: column;
    align-items: center;
  }

  .hero-section .mt-4.d-flex.gap-3 .btn {
    width: 100%;
    max-width: 320px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #games {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .card-left,
  .card-right {
    margin-bottom: 1.25rem !important;
  }

  .card-left .row,
  .card-right .row {
    margin: 0 !important;
  }
  .card-left .col-lg-6,
  .card-right .col-lg-6 {
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* Universal spacing for game rows */
.game-row {
  margin-bottom: 5rem !important;
}

/* Centered difficulty badge for middle game (card-left with text on right) */
.card-left .featured-image-badge {
  right: 1.5rem !important;
}

.card-right .featured-image-badge {
  right: 1.5rem !important;
}

/* Mobile overrides placed AFTER desktop margins to reduce gaps on phones */
@media (max-width: 576px) {
  /* Consistent section spacing on mobile */
  .section {
    padding: 3rem 0 !important;
  }

  /* Specific adjustments for mobile sections */
  #games {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #vouchers {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #faq {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #reviews {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #contact {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* Consistent divider spacing */
  .section-divider {
    padding: 1.5rem 0 !important;
  }

  /* Game cards spacing */
  .card-left,
  .card-right {
    margin-bottom: 1.25rem !important;
  }

  #games p.mb-5 {
    margin-bottom: 1rem !important;
  }
}

/* Gift Vouchers Section */
.voucher-image-container {
  position: relative;
  transition: all 0.3s ease;
  margin-left: 2rem;
}

.voucher-image-container img {
  border-radius: 15px;
  transition: all 0.3s ease;
}

.voucher-image-container:hover img,
.voucher-image-container a:hover img {
  transform: scale(1.05);
}

#vouchers .section-title {
  margin-bottom: 2rem;
}
#vouchers .lead {
  font-size: 1.2rem;
  line-height: 1.6;
}

#vouchers.section-dark {
  background: var(--dark-secondary);
  position: relative;
  z-index: 0;
}

#vouchers.section-dark::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -160px;
  height: 160px;
  background: linear-gradient(
    to top,
    var(--dark-secondary) 35%,
    rgba(26, 26, 26, 0) 100%
  );
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 576px) {
  #vouchers.section-dark::before {
    top: -110px;
    height: 110px;
    background: linear-gradient(
      to top,
      var(--dark-secondary) 45%,
      rgba(26, 26, 26, 0) 100%
    );
  }
}

#vouchers .btn {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile styles for voucher section */
@media (max-width: 768px) {
  #vouchers .row {
    flex-direction: column-reverse;
  }
  #vouchers .col-lg-6:first-child {
    margin-top: 1rem;
  }
  .voucher-image-container {
    margin-left: 0;
    text-align: center;
  }
  .voucher-image-container img {
    max-width: 100%;
    height: auto;
  }
  #vouchers .btn {
    width: auto;
    margin-bottom: 0.5rem;
  }
  #vouchers .d-flex {
    flex-direction: column;
    align-items: center;
  }
  #vouchers .gap-3 {
    gap: 1rem !important;
  }
  #vouchers .text-start {
    text-align: center !important;
  }
}

@media (max-width: 576px) {
  #vouchers .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  #vouchers .lead {
    font-size: 1.1rem;
  }
  #vouchers-hero .hero-title {
    font-size: 1.8rem;
  }
  #vouchers-hero .hero-subtitle {
    font-size: 0.95rem;
  }
  .voucher-image-container img {
    max-width: 90%;
  }
}

/* Contact Info Items */
.contact-info-item {
  background: linear-gradient(
    135deg,
    var(--dark-card) 0%,
    var(--dark-secondary) 100%
  );
  border: 1px solid var(--pink-20);
  border-radius: 20px;
  border-top: 3px solid var(--first-color);
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.contact-info-item h5 {
  color: var(--first-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 10px var(--pink-20);
}

.contact-info-item p {
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

.contact-info-item i {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 2rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 15px var(--pink-30));
}

/* FAQ Section */
.faq-item {
  background: linear-gradient(
    135deg,
    var(--dark-card) 0%,
    var(--dark-secondary) 100%
  );
  border: 1px solid var(--pink-20);
  border-top-width: 2px;
  border-top-color: var(--first-color);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: none;
  height: 100%;
  overflow: hidden;
}

.faq-question {
  font-family: "Cinzel", serif;
  font-weight: 600;
  color: var(--text-light);
}

.faq-question i {
  font-size: 0.9rem;
  color: var(--accent-pink);
}

/* Navbar Dropdown Menu */
.dropdown-menu {
  background: var(--overlay-menu-98);
  border: 2px solid var(--pink-30);
}

.dropdown-item {
  color: var(--text-light) !important;
}
.dropdown-divider {
  border-color: var(--pink-30);
}
.dropdown-toggle::after {
  border-top-color: var(--text-light) !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--text-light) !important;
}

.dropdown-item:focus,
.dropdown-item:active {
  outline: none !important;
  box-shadow: none !important;
}

.navbar .nav-link:focus,
.navbar .nav-link:active {
  background: transparent !important;
  color: var(--text-light) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Stars for reviews */
.stars {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
}

.stars i {
  font-size: 1.2rem;
}

/* Map container */
.map-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.map-container iframe {
  border-radius: 15px;
  transition: all 0.3s ease;
}

/* Review game indicator */
.review-game {
  color: var(--accent-pink);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* Review card structure */
.review-header {
  display: flex;
  justify-content: space-between;
}

.review-text {
  font-style: italic;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.review-footer {
  border-top: 1px solid var(--pink-10);
  padding-top: 1rem;
  margin-top: auto;
}

/* Section Divider: Ring + Icon */
.section-divider {
  --circle-size: 68px;
  --circle-gap: calc(var(--circle-size) / 2 + 12px);
  position: relative;
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.section-divider::before,
.section-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  z-index: 0;
  pointer-events: none;
}

.section-divider::before {
  left: 0;
  width: calc(50% - var(--circle-gap));
  background: linear-gradient(
    90deg,
    var(--divider-line-color),
    var(--overlay-transparent)
  );
}

.section-divider::after {
  right: 0;
  width: calc(50% - var(--circle-gap));
  background: linear-gradient(
    90deg,
    var(--overlay-transparent),
    var(--divider-line-color)
  );
}

.divider-circle {
  width: var(--circle-size);
  height: var(--circle-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--divider-ring-color);
  background: transparent;
  position: relative;
  z-index: 2;
}

.divider-circle i {
  color: var(--divider-ring-color);
  font-size: 28px;
}

@media (max-width: 576px) {
  .section-divider {
    --circle-size: 44px;
    --circle-gap: calc(var(--circle-size) / 2 + 6px);
  }

  .divider-circle {
    border-width: 1px;
  }
  .divider-circle i {
    font-size: 18px;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

/* All subpages - no top padding for hero sections */
#faq-hero,
#vouchers-hero,
#contact-hero,
#recenze-hero {
  padding-top: 0 !important;
}

/* All subpages - ensure content clears fixed navbar */
#faq-hero .container,
#vouchers-hero .container,
#contact-hero .container,
#recenze-hero .container {
  padding-top: 6rem;
}
.section-dark {
  background: var(--dark-secondary);
}

/* Scroll margins for fixed navbar */
#games,
#game-parallel,
#game-psychiatric,
#game-court,
#vouchers,
#faq,
#reviews {
  scroll-margin-top: 6rem;
}

/* Reviews Section */
.review-card {
  background: linear-gradient(
    135deg,
    var(--dark-card) 0%,
    var(--dark-secondary) 100%
  );
  border: 1px solid var(--pink-20);
  border-radius: 20px;
  border-top: 3px solid var(--first-color);
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 15px 35px var(--black-04);
  margin-bottom: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon i {
  text-shadow: 0 0 20px var(--pink-30);
  filter: drop-shadow(0 0 10px var(--pink-20));
}

.review-author {
  color: var(--first-color);
  font-weight: 700;
  margin-top: auto;
  text-shadow: 0 0 10px var(--pink-20);
}

/* Compact Game Description Section */
.game-description-compact {
  margin-bottom: 2rem;
}

.game-description-compact .bg-dark {
  background: linear-gradient(
    135deg,
    var(--dark-card) 0%,
    var(--dark-secondary) 100%
  ) !important;
  border: 1px solid var(--pink-20);
  border-radius: 15px;
  box-shadow: 0 10px 25px var(--black-04);
}

.game-description-compact h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px var(--pink-30);
}

.game-description-compact p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.game-description-compact p:last-child {
  margin-bottom: 0;
}

.game-description-compact strong {
  color: var(--accent-pink);
  text-shadow: 0 0 10px var(--pink-30);
}

/* Responsive adjustments for compact description */
@media (max-width: 768px) {
  .game-description-compact h3 {
    font-size: 1.5rem;
  }

  .game-description-compact p {
    font-size: 1rem;
  }
}

/* Escapora games page specific background */
body.page-widget {
  background: #1a1a1a !important;
}

/* Force widget content to use dark background */
.sccz-widget * {
  background: var(--widget-bg) !important;
  background-color: var(--widget-bg) !important;
}

/* Force minimum height for voucher widget */
.voucher-widget,
.voucher-widget iframe,
.voucher-widget > div {
  min-height: 900px !important;
}

/* Add horizontal padding for voucher widget on desktop */
@media (min-width: 992px) {
  .voucher-widget {
    padding-left: 16rem !important;
    padding-right: 16rem !important;
  }
}

