.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #fff;
  color: #a9dfbf;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

html {
  scroll-behavior: smooth;
}

:root {
  --calm-green: #a9dfbf;
  --calm-orange: #fad7a0;
}

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

body {
  font-family: "Roboto", sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

.site-header {
  background-color: var(--calm-green);
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  animation: fadeInDown 1s ease-out;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}


.site-nav ul {
  list-style: none;
  display: flex;
}

.site-nav li {
  margin: 0 15px;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--calm-orange);
}

.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: rotate(360deg);
}

.content-section {
  animation: fadeIn 1s ease-in;
}

.content-section iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.content-section iframe:hover {
  transform: scale(1.02);
}

.cookies-section {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.cookies-div {
  background-color: var(--calm-green);
  color: #333;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.5s ease-out;
  display: flex;
  align-items: center;
}

.cookies-div p {
  margin: 0;
  margin-right: 10px;
}

.cookies-div button {
  background-color: var(--calm-orange);
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookies-div button:hover {
  background-color: #e6a756;
}

.site-footer {
  background-color: var(--calm-orange);
  padding: 40px 20px;
  animation: fadeInUp 1s ease-out;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px;
}

.footer-hours,
.footer-contact,
.footer-logo {
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

.footer-hours h3,
.footer-contact h3 {
  margin-bottom: 10px;
}

.footer-logo img {
  height: 60px;
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.1);
}

.footer-links {
  text-align: center;
  margin: 20px 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: inline-flex;
}

.footer-links li {
  margin: 0 10px;
}

.footer-links a {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--calm-green);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9em;
  color: #333;
  margin-top: 20px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-hours,
  .footer-contact,
  .footer-logo {
    margin: 10px 0;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(169, 223, 191, 0.3),
    rgba(250, 215, 160, 0.3)
  );
  z-index: 1;
}

.slider {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade 9s infinite;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide:nth-child(1) {
  animation-delay: 0s;
}

.slide:nth-child(2) {
  animation-delay: 3s;
}

.slide:nth-child(3) {
  animation-delay: 6s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  43.33% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  width: 90%;
  max-width: 800px;
  padding: 20px;
  background: rgba(0,0,0,0.5);
  border-radius: 10px;
  box-sizing: border-box;
}

/* Заголовок */
.hero-overlay h1 {
  font-size: 3em;
  margin-bottom: 15px;
}

/* Параграф */
.hero-overlay p {
  font-size: 1.2em;
  line-height: 1.5em;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero-overlay {
    position: relative; /* снимаем absolute */
    top: auto;
    left: auto;
    transform: none;
    margin: 20px auto; /* центрируем снаружи */
    padding: 15px;
  }

  .hero-overlay h1 {
    font-size: 2em;
  }

  .hero-overlay p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .hero-overlay h1 {
    font-size: 1.5em;
  }

  .hero-overlay p {
    font-size: 0.9em;
  }
}

.about-salon {
  padding: 60px 20px;
  background-color: var(--calm-green);
  animation: fadeIn 1s ease-in;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  min-width: 300px;
  animation: slideInLeft 1s ease-out;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 2;
  min-width: 300px;
  animation: slideInRight 1s ease-out;
  color: #333;
}

.about-text h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--calm-orange);
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.services-section {
  padding: 40px 20px;
  background-color: var(--calm-orange);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Карточки игр */
.service-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.service-item:hover img {
  transform: scale(1.05);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(169, 223, 191, 0.8);
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.service-item:hover .service-overlay {
  opacity: 1;
}

.service-overlay h3 {
  font-size: 30px;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.service-overlay button {
  padding: 10px 20px;
  font-size: 1em;
  border: none;
  background-color: #ff6600;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.service-overlay button:hover {
  background-color: #e64a19;
}

/* Общая кнопка */
.all-games-btn {
  text-align: center;
  margin-top: 30px;
}

.see-all-btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background-color: var(--calm-orange);
  border: 2px solid #fff;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.see-all-btn:hover {
  background-color: #fff;
  color: var(--calm-orange);
  transform: translateY(-3px);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-container {
    grid-template-columns: 1fr;
  }

  .see-all-btn {
    width: 90%;
    font-size: 16px;
    padding: 14px 0;
  }
}

.advantages-rewards {
  padding: 60px 20px;
  background-color: var(--calm-green);
  animation: fadeIn 1s ease-in;
}
.advantages-rewards .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.advantages,
.rewards {
  flex: 1;
  min-width: 300px;
  animation: slideInUp 1s ease-out;
}
.advantages h2,
.rewards h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: var(--calm-orange);
}
.advantage-item,
.reward-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.advantage-item:hover,
.reward-item:hover {
  transform: scale(1.03);
}
.advantage-item img,
.reward-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}
.advantage-item h3,
.reward-item h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: var(--calm-orange);
}
.advantage-item p,
.reward-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-section {
  padding: 50px 20px;
  background: #e6a756;
  color: #fff;
  text-align: center;
}

.gallery-header h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #facc15;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: #1f2937;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  font-style: italic;
  line-height: 1.6;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.contact-section {
  padding: 60px 20px;
  background-color: var(--calm-green);
  animation: fadeIn 1s ease-in;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-container h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--calm-orange);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--calm-orange);
}

.contact-form button {
  padding: 15px;
  background-color: var(--calm-orange);
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #e6a756;
}

.fullpage-form {
  height: 100vh;
  background: url("../assets/images/item1.webp")
    no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s ease-in;
}
.form-container {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 100%;
  text-align: center;
}
.contact-full-form h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: var(--calm-orange);
}
.contact-full-form input,
.contact-full-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  outline: none;
  transition: border-color 0.3s ease;
}
.contact-full-form input:focus,
.contact-full-form textarea:focus {
  border-color: var(--calm-orange);
}
.contact-full-form button {
  width: 100%;
  padding: 15px;
  background-color: var(--calm-orange);
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact-full-form button:hover {
  background-color: #e6a756;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.about-us-section {
  padding: 60px 20px;
  background-color: var(--calm-green);
  animation: fadeIn 1s ease-in;
}

.about-us-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.about-us-image {
  flex: 1;
  min-width: 300px;
  animation: slideInLeft 1s ease-out;
}

.about-us-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-us-text {
  flex: 2;
  min-width: 300px;
  animation: slideInRight 1s ease-out;
  color: #333;
}

.about-us-text h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--calm-orange);
}

.about-us-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.detailed-services {
  padding: 40px 20px;
}
.det-services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.det-service-item {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  text-align: center;
  transition: transform 0.3s;
}
.service-item:hover {
  transform: translateY(-5px);
}
.service-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.service-item:hover .service-image img {
  transform: scale(1.05);
}
.service-content {
  padding: 15px;
}
.service-content h2 {
  font-size: 30px;
  margin-bottom: 10px;
  color: #fff;
}

@media (max-width: 768px) {
  .service-content h2 {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .service-image img {
    height: 150px;
  }
  .service-content h2 {
    font-size: 16px;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Модалка на весь экран */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

/* Контент занимает всю ширину/высоту */
.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

/* iframe растягивается */
.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Кнопка закрытия */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1100;
}

/* Стили кнопки Play Now */
.open-modal {
  margin-top: 10px;
  padding: 10px 20px;
  background: #ff6600;
  border: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.open-modal:hover {
  background: #e05500;
}

/* Адаптив под мобильные */
@media (max-width: 768px) {
  .close {
    font-size: 28px;
    top: 10px;
    right: 15px;
  }
}
@media (max-width: 480px) {
  .open-modal {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
}
.dis__images{
  display: flex;
  gap:20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.dis__images img{
  max-height: 80px;
  height: auto;
  width: auto;
  filter: invert(0.7);
  transition: all .3s ease-in-out;
}
.dis .container{
  max-width: 1200px;
  padding: 15px;
  margin: 0 auto;
}
.dis .content{
display: flex;
flex-direction: column;
align-items: center;
}
.disclaimer-block {
  width: 100%;
  background: linear-gradient(90deg, #e50914, #b20710);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  text-align: center;
  position: relative;
  z-index: 100;
}

.icon-18plus {
  display: inline-block;
  background: #000;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  border-radius: 6px;
  padding: 5px 10px;
  min-width: 45px;
  text-align: center;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.disclaimer-block p {
  margin: 0;
  max-width: 900px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .disclaimer-block {
    flex-direction: column;
    font-size: 16px;
    padding: 20px 15px;
  }

  .icon-18plus {
    font-size: 18px;
    margin-bottom: 8px;
  }
}