/********** Template CSS **********/
:root {
  --primary: #611660;
  --light: #d1feb8;
  --dark: #111a24;
  --bg-color: #F9FAF8;
  --text-color: #4d4d4d;
  --accent-color: #611660;
  --accent-color-2: #3c3077;
}


.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 {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 20px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-brand {
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand div {
  position: relative;
  padding: 5px 10px;
}

.navbar-brand div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--primary);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-brand:hover div::before {
  opacity: 1;
}

.logo-text {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 10px;
}

.logo-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--primary);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-brand:hover .logo-text::after {
  opacity: 1;
}

@media (max-width: 991.98px) {
  .logo-text {
    font-size: 21px;
  }
  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
  
  .navbar-dark .navbar-nav .nav-link::after {
    bottom: 5px;
  }
}


/* 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: #611660;
  font-size: 32px;
  text-align: center;
}
header h2 {
  color: #611660;
  font-weight: 500;
  text-align: center;
}
.data {
  text-align: center;
}
.data p a {
  color: #611660;
  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 #611660;
  color: #fff;
  padding: 8px 0;
  background: #611660;
  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: #611660;
}
#declineBtn {
  background-color: #fff;
  color: #611660;
}
#declineBtn:hover {
  background-color: #611660;
  color: #fff;
}


/* footer  */


/* Стилі для футера */
.footer-section {
  background: linear-gradient(135deg, #3c3077 0%, #720b96 100%);
  color: #fff;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}



.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-3px);
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: #d1feb8;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background: rgba(255,255,255,0.3);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-contact-icon {
  margin-right: 15px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
}

.footer-link {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-link::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #fff;
  padding-left: 15px;
  transform: translateX(5px);
}

.footer-link:hover::before {
  opacity: 1;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Адаптивні стилі */
@media (max-width: 991.98px) {
  .footer-section {
    padding: 60px 0 30px;
  }
  
  .footer-logo {
    font-size: 1.8rem;
  }
  
  .footer-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .footer-section {
    padding: 40px 0 20px;
  }
  
  .footer-logo {
    font-size: 1.6rem;
  }
  
  .footer-title {
    font-size: 1rem;
  }
  
  .footer-contact-item {
    font-size: 0.95rem;
  }
  
  .footer-link {
    font-size: 0.95rem;
  }
}

/* new styles  */
/* Стилі для блоку "Контактная информация" */
.contact-info {
  padding: 6rem 0;
  background: linear-gradient(to right, rgba(97, 22, 96, 0.05), rgba(21, 72, 97, 0.05));
}

.contact-container {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.contact-details {
  flex: 1;
}

.contact-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  margin-right: 1rem;
  color: var(--accent-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-text {
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-info-text strong {
  display: block;
  color: var(--accent-color-2);
  margin-bottom: 0.2rem;
}

.contact-map {
  flex: 1.2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  height: 450px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Стилі для блоку "Форма заявки" */
.contact-form {
  padding: 6rem 0;
  background-color: var(--bg-color);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  padding: 3rem;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-title {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.form-subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--accent-color-2);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(97, 22, 96, 0.1);
  outline: none;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
  display: block;
}

.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
}

.form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(97, 22, 96, 0.1);
  outline: none;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: block;
  width: 100%;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: var(--accent-color-2);
  transform: translateY(-3px);
}

.submit-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
}

/* Адаптивність */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }
  
  .contact-map {
    width: 100%;
    height: 350px;
  }
  
  .form-container {
    padding: 2.5rem;
  }
  
  .form-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .contact-info,
  .contact-form {
    padding: 4rem 0;
  }
  
  .contact-text {
    font-size: 1rem;
  }
  
  .contact-info-text {
    font-size: 1rem;
  }
  
  .form-container {
    padding: 2rem;
  }
  
  .form-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .form-container {
    padding: 1.5rem;
  }
  
  .form-title {
    font-size: 1.6rem;
  }
  
  .submit-btn {
    padding: 0.8rem 1.5rem;
  }
}

/* new styles  */
/* Загальні стилі */
:root {
  --primary: #611660;
  --light: #d1feb8;
  --dark: #111a24;
  --bg-color: #F9FAF8;
  --text-color: #4d4d4d;
  --accent-color: #611660;
  --accent-color-2: #3c3077;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Повторювані класи */
.section-padding {
  padding: 7rem 0;
}

.btn-game {
  background-color: var(--accent-color);
  color: white;
  border-radius: 50px;
  padding: 0.8rem 2.5rem;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(97, 22, 96, 0.3);
}

.btn-game:hover {
  background-color: var(--accent-color-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(21, 72, 97, 0.4);
  color: white;
}

.game-title {
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.game-subtitle {
  color: var(--text-color);
  font-weight: 400;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* Стилі для блоку Hero */
.hero-section {
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-color);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  border-radius: 0 0 0 100px;
  box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-blob {
  position: absolute;
  bottom: -50px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--light);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}

.hero-accent {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--light);
  color: var(--accent-color);
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Медіа запити для адаптивності */
@media (max-width: 991.98px) {
  .hero-image {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    border-radius: 100px 100px 0 0;
    opacity: 0.3;
  }
  
  .hero-content {
    text-align: center;
    padding-bottom: 60%;
  }
  
  .hero-blob {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .hero-content {
    padding-bottom: 70%;
  }
}
/* Стилі для нових блоків */
.section-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 4px;
  width: 60px;
  background-color: var(--light);
  border-radius: 2px;
}

.card-game {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  padding: 10px;
}

.card-game:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-game .card-title {
  color: var(--accent-color);
  font-weight: 600;
}

.card-game .card-text {
  color: var(--text-color);
}

.date-label {
  font-size: 0.85rem;
  color: var(--accent-color-2);
  font-weight: 500;
}

.news-section {
  background: linear-gradient(135deg, var(--light) 0%, rgba(97, 22, 96, 0.1) 100%);
  border-radius: 20px;
}

.news-item {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.news-item:last-child {
  border-bottom: none;
}

.top-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  margin-right: 10px;
  font-weight: bold;
}

.img-cover {
  object-fit: cover;
  height: 100%;
}

/* Стилі для головного екрану додаткової сторінки */
.about-hero {
  position: relative;
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--bg-color) 0%, rgba(97, 22, 96, 0.05) 100%);
  overflow: hidden;
  z-index: 1;
}

.about-decoration {
  position: absolute;
  border-radius: 50%;
  background-color: var(--light);
  opacity: 0.5;
  z-index: -1;
}

.about-decoration:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -50px;
  background: radial-gradient(circle, var(--light) 0%, rgba(97, 22, 96, 0.2) 70%);
  animation: float 8s infinite ease-in-out;
}

.about-decoration:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: 10%;
  background: radial-gradient(circle, var(--accent-color-2) 0%, rgba(21, 72, 97, 0.1) 70%);
  animation: float 6s infinite ease-in-out reverse;
}

.about-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.about-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  background-color: var(--accent-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@media (max-width: 767.98px) {
  .about-hero {
    padding: 5rem 0;
  }
  
  .about-title {
    font-size: 2.5rem;
  }
  
  .about-decoration:nth-child(1) {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -50px;
  }
  
  .about-decoration:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 5%;
  }
}