* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  color: #f8fafc;
  overflow: auto;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

/* Styly pozadí */
.page-background {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  transition: all 0.65s cubic-bezier(0.3, 0.95, 0.45, 0.95);
}

/* Pozadí pro desktop */
.page-background {
  background-image: url("/img/bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(1) contrast(0.8);
}

/* Modální okno pro cookies */
.cookies-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.cookies-modal {
  background: #77B300;
  color: #000;
  padding: 2.8rem;
  border-radius: 16px;
  max-width: 1180px;
  width: 90%;
  position: relative;
  animation: modalSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.cookies-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1rem;
  text-align: center;
}

.cookies-icon {
  display: flex;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;

  svg {
    width: 100%;
    height: 100%;
  }
}

.cookies-title {
  font-family: "Work Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  width: 100%;
  text-align: center;
}

.cookies-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #000;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.35s ease;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.cookies-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.cookies-content {
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.75;
  font-size: 1.05rem;
  color: #000;
}

.cookies-content a {
  color: #0000ff;
}

.cookies-link {
  color: #1a1d30;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed #1a1d30;
  transition: all 0.25s ease;

  &:hover {
    color: #16182a;
    border-bottom: 1px solid #16182a;
  }
}

.cookies-actions {
  display: flex;
  justify-content: center;
}

.cookies-accept {
  display: inline-block;
  padding: 0.95rem 2.5rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  min-width: 200px;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #b047e9;
  color: white;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.cookies-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px #1a1d30;
}
/* 
.cookies-accept::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 30%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-25deg);
  transition: 0.75s;
} */

.cookies-accept:hover::after {
  left: 130%;
}

/* Přizpůsobení pro mobilní zařízení */

@keyframes pulseButton {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 191, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 191, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 191, 255, 0);
  }
}

.pulse-animation {
  animation: pulseButton 2s infinite;
}

.sidebar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  font-family: "Work Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding-right: 16px;
  margin-block: 10px;
  color: #e2e8f0;

  a {
    color: currentColor;
    text-decoration: none;
    margin-block: 10px;
    transition: color 0.3s ease;

    &:hover {
      color: #00bfff;
    }
  }
}

.guidelines {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
  font-size: 14px;
  color: #e2e8f0;

  a {
    color: currentColor;
    text-decoration: none;
    margin-block: 10px;
    transition: color 0.3s ease;

    &:hover {
      color: #00bfff;
    }
  }
}

.btn-link-background {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #b047e9;
  width: 400px;
  height: 80px;
  border: white;
  border-radius: 40px;
  transition: background-color 0.4s ease;
  margin: 0 auto;
}
/* .btn-link-background.active {
  background-color: #bb0101;
} */

.btn-link-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s, border-radius 0.3s, height 0.3s;
  position: absolute;
  left: -10px;
  background-color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  cursor: pointer;
}
.btn-link-slider:hover {
  transform: scale(1.02);
}

.link-slider-icon {
  color: #000;
  font-size: 30px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.slide-text {
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 30px;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transform: scale(1);
  transition: transform .4s ease;
}

.slide-text:hover {
  transform: scale(1.02);
}
@media (max-width: 685px) {
  .content-wrapp {
    width: 100%;
    padding: 16px;
  }
  .btn-link-background {
    width: 100%;
  }
  .slide-text {
    font-weight: 500;
    font-size: 25px;
  }
}

.gif__block {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

#gif {
  cursor: pointer;
  width: 300px;
  height: auto;
  border-radius: 15px;
}

#actionButton {
  background-color: gray;
  cursor: not-allowed;
  pointer-events: none;
  transition: all 0.3s;
}

#actionButton.active {
  background-color: #6cbd4a;
  cursor: pointer;
  pointer-events: auto;
}

#actionButton.active:hover {
  transform: scale(1.02);
}
.safe__title {
  text-align: center;
  color: #ff0000;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .safe__title {
    margin-bottom: 10px;
  }
  .cookies-overlay {
    overflow-y: auto;
  }
  .cookies-modal {
    padding: 1rem 1rem;
    width: 92%;
  }

  .cookies-header {
    margin-bottom: 10px;
  }

  .cookies-title {
    font-size: 1rem;
  }

  .cookies-content {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 10px;
  }

  .cookies-accept {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

  .cookies-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
  }
  .gif__block {
    margin-bottom: 10px;
  }
}
