/********** Template CSS **********/
:root {
  --primary: #6340a3;
  --light: #d1feb8;
  --dark: #111a24;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semi-bold {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 24, 24, 0.6);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

.booking {
  position: relative;
  margin-top: -100px !important;
  z-index: 1;
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 2px;
  top: 50%;
  left: -55px;
  margin-top: -1px;
  background: var(--primary);
}

.section-title::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 2px;
  top: 50%;
  right: -55px;
  margin-top: -1px;
  background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
  display: none;
}

/*** Service ***/
.service-item {
  /* height: 310px; */
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  text-align: center;
  /* background: #f3ffec; */
  border: 1px solid #111a24;
  border-radius: 8px;
  /* box-shadow: 0 0 45px rgba(0, 0, 0, 0.08); */
  transition: 0.5s;
}

.service-item:hover {
  background: var(--primary);
}

.service-item .service-icon {
  margin: 0 auto 30px auto;
  width: 65px;
  height: 65px;
  transition: 0.5s;
}

.service-item i,
.service-item h5,
.service-item p {
  transition: 0.5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
  color: #ffffff !important;
}

/*** Youtube Video ***/
.video {
  position: relative;
  height: 100%;
  min-height: 500px;
  background: linear-gradient(rgba(15, 23, 43, 0.1), rgba(15, 23, 43, 0.1)),
    url(../img/video.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.video .btn-play img {
  position: relative;
  z-index: 3;
  max-width: 100%;
  width: auto;
  height: auto;
}

.video .btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  border-left: 32px solid var(--dark);
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

#videoModal {
  z-index: 99999;
}

#videoModal .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

#videoModal .modal-body {
  position: relative;
  padding: 0px;
}

#videoModal .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

/*** Testimonial ***/
.testimonial {
}

.testimonial-carousel {
  padding-left: 65px;
  padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
  padding: 30px;
}

.testimonial-item img {
  object-fit: cover;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 40px;
  top: calc(50% - 20px);
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 2px;
  font-size: 18px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--primary);
  background: #ffffff;
}

/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
  transition: 0.5s;
}

.team-item:hover {
  border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
  background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
  color: var(--secondary) !important;
}

.team-container {
}
.team-itemmy {
  background: #fff;
}
/*** Footer ***/
.newsletter {
  position: relative;
  z-index: 1;
}

.footer {
  position: relative;
  /* margin-top: -110px;
    padding-top: 180px; */
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}
/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

@media (max-width: 700px) {
  .cookie-wrapper {
    width: 100%;
  }
}

.cookie-wrapper {
  position: fixed;
  bottom: 0px;
  right: 0;
  width: 40%;
  background: #fff;
  padding: 15px 25px 22px;
  transition: right 0.3s ease;
  box-shadow: 0 5px 10px rgb(0, 0, 0);
  z-index: 999;
  @media (max-width: 600px) {
    width: 100%;
  }
}
.cookie-wrapper .show {
  right: 20px;
}

.hidden {
  display: none;
}
header i {
  color: #6340a3;
  font-size: 32px;
  text-align: center;
}
header h2 {
  color: #6340a3;
  font-weight: 500;
  text-align: center;
}
.data {
  text-align: center;
}
.data p a {
  color: #6340a3;
  text-decoration: none;
  text-align: center !important;
}
.data p a:hover {
  text-decoration: underline;
}
.buttons {
  padding: 20px 0px;
  text-align: center;
}
.buttons .cookie-button {
  border: 2px solid #6340a3;
  color: #fff;
  padding: 8px 0;
  background: #6340a3;
  cursor: pointer;
  width: calc(100% / 2 - 10px);
  transition: all 0.5s ease;
  max-width: 150px;
  border-radius: 0;
}
.buttons #acceptBtn:hover {
  background-color: transparent;
  color: #6340a3;
}
#declineBtn {
  background-color: #fff;
  color: #6340a3;
}
#declineBtn:hover {
  background-color: #6340a3;
  color: #fff;
}
/* Footer Style */
.topics {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.topic_item {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}
.topic_item .card-text {
}
.topic__img {
  max-width: 181px;
  min-height: 181px;
  object-fit: cover;
}
.topic__name {
  font-size: 18px;
}
.topic__descr {
  max-width: 287px;
}
.topic__right {
  height: 911px;
}
@media (max-width: 1020px) {
  .topic__right {
    width: 100%;
    object-fit: cover;
  }
}
.about_1 {
}
.pluses {
  display: flex;
  flex-direction: row;
  gap: 50px;
}
@media (max-width: 680px) {
  .pluses {
    flex-wrap: wrap;
    /* flex-direction: column
    ; */
  }
}
.about__descr {
  max-width: 820px;
  margin: 0 auto;
}
.news__block .topic__name {
  color: #000000;
}
.news__block .card-text {
  color: #111a24;
}
.news__block .topics {
  display: flex;
  flex-direction: row;
}
@media (max-width: 680px) {
  .news__block .topics {
    flex-direction: column;
  }
}
.news__block .topic_item {
  align-items: start;
}

@media (max-width: 990px) {
  .mobile-no {
    display: none;
  }
  .topic_item {
    flex-direction: column;
  }
  .service-item {
    /* height: 460px; */
  }
  .testimonial-item div {
    flex-direction: column;
  }
  .testimonial-carousel .testimonial-item {
    padding: 30px 2px;
  }
}

/* --- Главный фон для экрана --- */
.main-screen {
  background: linear-gradient(135deg, #0e2172 0%, #6340a3 100%);
  color: #fff;
  padding: 160px 0;
}

/* --- Контейнер с контентом --- */
.main-screen .content-wrapper {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 40px;
  color: #333;
}

/* --- Заголовок --- */
.main-screen .main-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0e2172; /* акцентный цвет внутри блока */
}

/* --- Короткое описание --- */
.main-screen .short-description {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* --- Кнопка скачивания --- */
.main-screen .download-btn {
  background-color: #6340a3; /* второй акцентный цвет */
  border: none;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.main-screen .download-btn:hover {
  background-color: #0e2172;
  color: #fff;
  text-decoration: none;
}

/* --- Подзаголовок "Оценка и характеристики" --- */
.main-screen .sub-title {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #6340a3;
}

/* --- Список характеристик --- */
.main-screen .info-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}
.main-screen .info-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}
.main-screen .info-list li span {
  font-weight: 600;
  margin-right: 0.5rem;
  color: #333;
}

/* --- Пример стиля для иконки/изображения справа --- */
.main-screen .game-image {
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Адаптивность на мелких экранах --- */
@media (max-width: 767.98px) {
  .main-screen .content-wrapper {
    padding: 20px;
  }
  .main-screen .main-title {
    font-size: 1.5rem;
  }
}
/* --- Стили для блока «Особенности игры» на светлом фоне --- */
.features-block-light {
  background-color: #fff; /* Светлый фон */
  color: #333;
  padding: 60px 0;
}

.features-block-light .features-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: #0e2172; /* Акцентный цвет для заголовка */
  margin-bottom: 1.5rem;
}

.features-block-light .features-text {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.features-block-light .features-list li {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* Иконки в списке */
.features-block-light .features-icon {
  font-size: 1.8rem; /* Размер иконки */
  color: #6340a3;    /* Второй акцентный цвет */
  margin-right: 1rem;
}

/* Кнопка */
.features-block-light .btn-accent {
  background-color: #0e2172;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.features-block-light .btn-accent:hover {
  background-color: #6340a3;
  color: #fff;
  text-decoration: none;
}

/* Пример для изображения (скриншотов) */
.features-block-light .screenshot {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

@media (max-width: 767.98px) {
  .features-block-light .features-title {
    font-size: 1.4rem;
  }
  .features-block-light .features-text {
    font-size: 0.95rem;
  }
}



/* Общие стили для блоков */
.magic-brawl-section {
  background-color: #fff;
  padding: 60px 0;
  color: #333;
}
.magic-brawl-section h3 {
  color: #0e2172;
  font-weight: 700;
  margin-bottom: 1rem;
}
.magic-brawl-section p {
  font-size: 1rem;
  line-height: 1.6;
}
/* Изображения */
.magic-brawl-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* Разделение блоков */
.sub-section {
  margin-bottom: 3rem;
}
@media (max-width: 767.98px) {
  .sub-section {
    margin-bottom: 2rem;
  }
}

 /* Блок «Отзывы» */
 .reviews-block {
  background: #f9f9ff; /* Светлый фон с небольшим оттенком */
  padding: 60px 0;
}
.reviews-title {
  color: #0e2172;
  font-weight: 700;
  margin-bottom: 40px;
  font-size: 1.8rem;
}
.review-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid #6340a3; /* акцентная рамка */
}
.review-name {
  font-weight: 600;
  margin-bottom: 0;
  color: #0e2172;
}
.review-date {
  font-size: 0.85rem;
  color: #666;
}
.review-rating {
  margin: 10px 0;
}
.review-text {
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
}
/* Стили для звёзд рейтинга */
.review-stars i {
  color: #ffc107; /* жёлтый цвет звезды */
  font-size: 1.1rem;
  margin-right: 2px;
}
 /* Секция «Контакты» */
 .contact-block {
  background-color: #fafaff; /* очень светлый фон с голубым/фиолетовым оттенком */
  padding: 60px 0;
  color: #333;
}
.contact-block h2 {
  color: #0e2172;
  font-weight: 700;
  margin-bottom: 1rem;
}
.contact-block p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
/* Стили для списка контактов */
.contact-info {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
}
.contact-info h3 {
  color: #6340a3;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}
.contact-item i {
  color: #6340a3; /* акцентный цвет для иконки */
  font-size: 1.2rem;
  margin-right: 10px;
}
/* Раздел "Присоединяйся к миру Magic Brawl!" */
.join-block {
  margin-top: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
}
.join-block h2 {
  color: #0e2172;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}
.join-block p {
  font-size: 1rem;
  line-height: 1.5;
}
/* Стили для формы (пока пустая секция) */
.form-placeholder {
  margin-top: 20px;
  padding: 20px;
  border: 2px dashed #6340a3;
  border-radius: 8px;
  text-align: center;
  color: #6340a3;
}
