/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  color: #f5f5f5;
  line-height: 1.6;
  font-size: 16px;

  /* Фон: накладений градієнт + картинка */
  background-image:
    linear-gradient(rgba(8, 18, 36, 0.7), rgba(8, 18, 36, 0.7)),
    url('../images/bac.jpg');
  background-size: cover;
    /* ← важливо */
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
  }

  

/* === LINKS === */
a {
  color: #FFA000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === LIST RESET === */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* === CONTAINER === */
.container,
.jr-header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.jr-header {
  background: linear-gradient(to bottom, #441313 0%, rgba(28, 24, 0, 0.85) 80%, rgba(28, 24, 0, 0.3) 100%);
  padding: 0 0 40px 0;
}

.jr-header__menu-wrapper {
  width: 100%;
  background-color: #2b2b2b;
  /* або інший темний колір */
  padding: 0;
  background-color: #441313;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.jr-header__menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-flex {
  display: flex;
  align-items: center;
}

.jr-header__logo-wrapper img {
  max-height: 60px;
}

.jr-header__content {
  margin-top: 40px;
}
.jr-header__title {
  font-size: 3rem;
  /* було 2rem */
  font-weight: 700;
  color: #ffffff;
  /* білий заголовок */
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.jr-header__subtitle {
  font-size: 1.125rem;
  color: #e0e0e0;
  text-align: center;
  margin: 0 auto 32px auto;
  max-width: 900px;
  line-height: 1.6;
}

.jr-header__advantages {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 24px;
      justify-content: space-evenly;
}

.jr-header__advantage {
  display: flex;
  align-items: center;
  gap: 12px;

}
.jr-header__advantage-text {
  font-size: 1.3rem;
  font-weight: 700;
    background: linear-gradient(270deg, #ffffff, #ffffff, #ff8585d4, #832b2b);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: whiteGlowShift 8s ease infinite;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.8),
    0 0 12px rgba(255, 255, 255, 0.5);
  user-select: none;
  transition: text-shadow 0.3s ease;
}

.jr-header__advantage-text:hover {
  text-shadow:
    0 0 12px #ffffff,
    0 0 24px #ffffff;
  cursor: pointer;
}

@keyframes whiteGlowShift {
  0% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 50% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  75% {
    background-position: 50% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.faq {
  color: #eee;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.2);
}

.faq__title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
  color: #ff2b2b;
  /* Яскраво-червоний */
  text-shadow: 0 0 8px rgba(255, 43, 43, 0.7);
}

.faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq__item+.faq__item {
  margin-top: 20px;
  border-top: 1.5px solid #ff2b2b33;
  /* Напівпрозорий червоний */
  padding-top: 20px;
}

.faq__question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  padding: 16px 0;
  position: relative;
  transition: color 0.3s ease;
  user-select: none;
}

.faq__question:hover,
.faq__question:focus {
  color: #ff2b2b;
  outline: none;
  text-shadow: 0 0 10px #ff2b2bcc;
}

.faq__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: #ff2b2b;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq__question[aria-expanded="true"]::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
  color: #fff;
  text-shadow: 0 0 8px #ff2b2b;
}

.faq__answer {
  padding: 0 0 14px 0;
  color: #eee;
  font-size: 1.1rem;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__answer[hidden] {
  display: block;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.faq__answer:not([hidden]) {
  max-height: 600px;
  padding-top: 14px;
  padding-bottom: 14px;
  overflow: visible;
}
.jr-info {
  color: #eee;
  padding: 50px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.jr-info__container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.jr-info__content {
  flex: 1 1 600px;
  min-width: 320px;
}

.jr-info__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #FF2B2B;
  margin-bottom: 24px;
  text-shadow: 0 0 8px rgba(255, 43, 43, 0.5);
}

.jr-info__list {
  list-style: none;
  /* <--- прибираємо маркери */
  padding-left: 0;
  color: #f5f5f5;
  font-size: 1rem;
  line-height: 1.55;
}

.jr-info__item {
  margin-bottom: 14px;
  padding-left: 8px;
  border-left: 2px solid #FF2B2B;
}

/* Праворуч зображення */
.jr-info__image {
  flex: 1 1 380px;
  min-width: 280px;
  height: 420px;
  background: url('../images/sund.png') center/cover no-repeat;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(255, 69, 0, 0.4);
}

@media (max-width: 768px) {
  .jr-info__container {
    flex-direction: column;
    gap: 30px;
  }

  .jr-info__title {
    font-size: 2rem;
    text-align: center;
  }

  .jr-info__image {
    display: none;
  }
}

/* === FOOTER === */
.jr-footer {
  background-color: #1c1800;
  color: #f5f5f5;
  padding: 60px 20px 30px 20px;
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 3px solid #680202;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
}

.jr-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

/* Навігаційний заголовок */
.jr-footer__nav-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FF2B2B;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Меню списком */
.jr-footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.jr-footer__menu li {
  margin-bottom: 10px;
}

/* Горизонтальне меню в один рядок */
.jr-footer__menu-list {
  display: flex;
  gap: 24px;
  padding-left: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}

.jr-footer__menu-list li {
  margin: 0;
}

/* Посилання футера */
.jr-footer__menu-list a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
  display: inline-block;
}

/* Нова анімація наведення */
.jr-footer__menu-list a:hover,
.jr-footer__menu-list a:focus {
  color: #FF2B2B;
  text-shadow: 0 0 12px rgba(255, 43, 43, 0.9);
  transform: scale(1.1);
  outline: none;
}

/* Дисклеймер */
.jr-footer__disclaimer {
  flex: 1 1 100%;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #ccc;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 43, 43, 0.15);
  box-shadow: 0 0 12px rgba(255, 43, 43, 0.1);
}

/* Логотипи партнерів */
.jr-footer__logos {
  background-color: rgba(255, 43, 43, 0.1);
  /* світлий напівпрозорий червоний фон */
  padding: 15px 30px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  /* центруємо логотипи по горизонталі */
  gap: 24px;
  align-items: center;
  max-width: 600px;
  /* обмежуємо ширину для кращої презентації */
  margin: 0 auto 40px auto;
  /* центруємо блок і відступ знизу */
  box-shadow: 0 4px 12px rgba(255, 43, 43, 0.25);
  /* легка тінь для глибини */
  flex-wrap: wrap;
      background: #000000;
}

.jr-footer__logos img {
  width: 85px;
  filter: grayscale(100%) brightness(1.2);
  transition: filter 0.3s ease;
  cursor: pointer;
}

.jr-footer__logos img:hover,
.jr-footer__logos img:focus {
  filter: grayscale(0) brightness(10) contrast(1);
  outline: none;
}

/* Копірайт під блоком */
.jr-footer__copy {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  margin-top: 0;
  /* скидаємо маргін, щоб не було зайвих відступів */
  padding-top: 20px;
  border-top: 1px solid #333;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Адаптивність */
@media (max-width: 768px) {
  .jr-footer__container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }

  .jr-footer__nav {
    flex: 1 1 100%;
  }

  .jr-footer__logos {
    justify-content: center;
  }

  .jr-footer__menu-list {
    flex-direction: column;
    gap: 12px;
  }
}

.footer-100 {
  width: 100%;
}

.jr-main-content {
  max-width: 700px;
  margin: 60px auto 80px;
  padding: 40px 30px;
  background: rgba(255, 43, 43, 0.08);
  /* легкий червоний напівпрозорий фон */
  border-radius: 16px;
  box-shadow:
    0 8px 20px rgba(255, 43, 43, 0.3),
    inset 0 0 40px rgba(255, 255, 255, 0.15);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  user-select: text;
  transition: box-shadow 0.4s ease;
}

.jr-main-content:hover {
  box-shadow:
    0 12px 30px rgba(255, 43, 43, 0.6),
    inset 0 0 60px rgba(255, 255, 255, 0.3);
}

.jr-main-content__title {
  font-size: 3.2rem;
  font-weight: 900;
  color: #ff2b2b;
  margin-bottom: 32px;
  letter-spacing: 2px;
  text-shadow:
    0 0 12px #ff2b2b99,
    0 0 30px #ff2b2b55;
  user-select: none;
  position: relative;
  z-index: 1;
  cursor: default;
  transition: color 0.3s ease;
}

.jr-main-content__title::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff2b2b, transparent);
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-radius: 4px;
  box-shadow: 0 0 15px #ff2b2b88;
  transition: width 0.3s ease;
  z-index: 0;
}

.jr-main-content__title:hover::after {
  width: 150px;
}

.jr-main-content__paragraph {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #eee;
  margin-bottom: 22px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease;
  cursor: default;
}

.jr-main-content__paragraph:hover {
  color: #ff2b2b;
  text-shadow:
    0 0 12px #ff2b2b,
    0 0 20px #ff6b6b;
}

.jr-main-content__paragraph:last-child {
  margin-bottom: 0;
}

/* Адаптивність */
@media (max-width: 480px) {
  .jr-main-content {
    padding: 30px 20px;
    margin: 40px auto 60px;
  }

  .jr-main-content__title {
    font-size: 2.4rem;
    letter-spacing: 1.5px;
  }

  .jr-main-content__paragraph {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* === Контейнер списку карток === */
.jr-cards-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 95%;
  box-sizing: border-box;
}

.jr-card {
  display: flex;
  align-items: center;
  gap: 25px;
      justify-content: space-around;
}

/* === Картка === */
.jr-card-item {
  background: rgba(68, 19, 19, 0.95);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255, 43, 43, 0.5);
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.jr-card-item:hover,
.jr-card-item:focus {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 70, 70, 0.85);
  outline: none;
}

/* === Ліва частина картки (логотип + рейтинг) === */
.jr-card-left {
  display: flex;
  gap: 80px;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

/* Логотип */
.jr-card-logo img {
  width: 90px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(255, 43, 43, 0.8);
  transition: box-shadow 0.3s ease;
  object-fit: contain;
}

.jr-card-logo img:hover {
  box-shadow: 0 0 12px rgba(255, 70, 70, 1);
}

/* Рейтинг */
.jr-card-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: #ff3232;
  user-select: none;
}

.jr-card-rating-stars {
  display: flex;
  margin-top: 6px;
  gap: 5px;
  padding: 0;
  list-style: none;
}

.jr-card-rating-stars img {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 2px rgba(255, 43, 43, 0.7));
  user-select: none;
}

/* === Опис бонусу === */
.jr-card-bonus {
      font-weight: 600;
        font-size: 1.6rem;
        margin-bottom: 24px;
        color: #ffbaba;
        line-height: 1.3;
        max-width: 100%;
        user-select: none;
        display: flex;
        flex-direction: column;
        align-items: center;
}

.jr-card-bonus-top {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
  color: #ff4646;
  user-select: none;
}

/* === Текст бонусу === */
.jr-card-bonus-text {
  font-weight: 400;
  color: #f5d4d4;
  line-height: 1.4;
  user-select: none;
}

/* === Рядок “живих” виграшів === */
.jr-live-wins {
  background: rgba(255, 43, 43, 0.15);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 0.92rem;
  color: #fff;
  max-height: 130px;
  overflow-y: auto;
  margin-bottom: 24px;
  box-sizing: border-box;
  user-select: none;
}

.jr-live-wins li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.jr-live-wins li:last-child {
  margin-bottom: 0;
}

/* Прапори */
.jr-live-wins .flag {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  background-size: cover;
  flex-shrink: 0;
  user-select: none;
}

/* === Кнопка "Грати зараз" === */
.jr-card-button {
  align-self: center;
  background-color: #ff2b2b;
  color: #fff;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 28px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 14px rgba(255, 43, 43, 0.75);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  width: max-content;
  min-width: 160px;
  letter-spacing: 0.02em;
}

.jr-card-button:hover,
.jr-card-button:focus {
  background-color: #ff4646;
  box-shadow: 0 6px 22px rgba(255, 70, 70, 1);
  outline: none;
}

/* === Методи оплати === */
.jr-payment-methods {
    display: flex;
      flex-wrap: wrap;
      gap: 0px 15px;
      margin-top: 18px;
      justify-content: center;
      user-select: none;
      max-width: 220px;
    margin-top: 5px;
    }

.jr-payment-method {
  background: rgba(255, 43, 43, 0.35);
  color: #fff;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.jr-payment-method:hover {
  background-color: #ff4646;
  cursor: default;
}

/* === Адаптивність === */
@media (max-width: 700px) {
  .jr-cards-list {
    justify-content: center;
    gap: 24px;
  }

  .jr-card-item {
    width: 100%;
    max-width: 360px;
    padding: 20px 22px;
  }

  .jr-card-left {
    gap: 18px;
    margin-bottom: 18px;
    justify-content: center;
  }

  .jr-live-wins {
    max-height: 110px;
    font-size: 0.88rem;
  }

  .jr-payment-methods {
    justify-content: center;
  }
}

.jr-play-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff2b2b 0%, #ff4646 100%);
  color: #fff;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 18px rgba(255, 70, 70, 0.85);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
  user-select: none;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.03em;
  min-width: 160px;
}

.jr-play-btn:hover,
.jr-play-btn:focus {
  background: linear-gradient(90deg, #ff4646 0%, #ff2b2b 100%);
  box-shadow: 0 8px 26px rgba(255, 100, 100, 1);
  transform: translateY(-3px);
  outline: none;
}

.jr-play-btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(255, 43, 43, 0.7);
}

.jr-rating-stars {
  display: flex;
  gap: 10px;
}

.number-card {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 43, 43, 0.9);
  /* яскраво-червоний фон */
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 48px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 43, 43, 0.7);
  user-select: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  cursor: default;
}

.number-card:hover {
  box-shadow: 0 6px 20px rgba(255, 70, 70, 1);
  transform: scale(1.1);
}

.jr-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 0;
  list-style: none;
}

.jr-payment-methods li {
  background: linear-gradient(135deg, #ff2b2b 0%, #b30f0f 100%);
  color: #fff;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.7rem;
  box-shadow: 0 3px 8px rgba(255, 43, 43, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1px 5px;
  /* мінімальна підкладка, не сильно змінює розміри */
}

.jr-payment-methods li:hover {
  background: linear-gradient(135deg, #ff4646 0%, #d11919 100%);
  box-shadow: 0 6px 15px rgba(255, 70, 70, 0.9);
}

/* Для прихованих елементів */
.jr-payment-hidden {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(70%);
}

.jr-card-logo {
  width: 190px;
}

@media (max-width: 900px) {
  .jr-card-left {
    gap: 40px;
    justify-content: center;
  }

  .jr-card-logo {
    width: 150px;
  }

  .jr-card-bonus {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .jr-card-item {
    padding: 20px 24px;
  }

  .jr-payment-methods {
    max-width: 180px;
    gap: 10px;
  }

  .jr-payment-methods li {
    font-size: 0.75rem;
    padding: 2px 7px;
  }
}

@media (max-width: 700px) {
  .jr-cards-list {
    gap: 24px;
    max-width: 100%;
    padding: 0 12px;
  }

  .jr-card {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .jr-card-left {
    gap: 25px;
    margin-bottom: 16px;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .jr-card-logo {
    width: 120px;
  }

  .jr-card-bonus {
    font-size: 1.2rem;
    text-align: center;
  }

  .jr-card-item {
    max-width: 360px;
    padding: 18px 20px;
  }

  .jr-live-wins {
    max-height: 100px;
    font-size: 0.85rem;
  }

  .jr-payment-methods {
    max-width: 160px;
    justify-content: center;
    gap: 8px;
  }

  .jr-payment-methods li {
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  .jr-card-button,
  .jr-play-btn {
    min-width: 140px;
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .number-card {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    line-height: 40px;
    border-radius: 10px;
  }
}

@media (max-width: 450px) {
  .jr-card-left {
    flex-direction: column;
    gap: 15px;
  }

  .jr-card-logo {
    width: 100px;
  }

  .jr-card-bonus {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .jr-card-button,
  .jr-play-btn {
    min-width: 120px;
    padding: 10px 24px;
    font-size: 0.85rem;
  }

  .jr-payment-methods {
    max-width: 140px;
  }

  .jr-payment-methods li {
    font-size: 0.65rem;
    padding: 1px 5px;
  }

  .number-card {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    line-height: 36px;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: #fff;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  padding: 28px 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
  outline: none;
}

.modal-title {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.8rem;
  color: #2c2c2c;
}

.modal-description {
  margin-bottom: 24px;
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-input,
.modal-textarea {
  padding: 12px 14px;
  font-size: 1rem;
  border: 1.8px solid #ccc;
  border-radius: 8px;
  resize: vertical;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.modal-input:focus,
.modal-textarea:focus {
  border-color: #ff4646;
  outline: none;
  box-shadow: 0 0 6px rgba(255, 70, 70, 0.7);
}

.modal-textarea {
  min-height: 100px;
  max-height: 200px;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 10px;
}

.modal-btn {
  padding: 12px 28px;
  border-radius: 28px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  min-width: 120px;
}

.modal-btn-submit {
  background: linear-gradient(90deg, #ff2b2b 0%, #ff4646 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 70, 70, 0.85);
}

.modal-btn-submit:hover,
.modal-btn-submit:focus {
  background: linear-gradient(90deg, #ff4646 0%, #ff2b2b 100%);
  box-shadow: 0 8px 26px rgba(255, 100, 100, 1);
  outline: none;
  transform: translateY(-2px);
}

.modal-btn-close {
  background: #ddd;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-btn-close:hover,
.modal-btn-close:focus {
  background: #bbb;
  outline: none;
  transform: translateY(-1px);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
}

.modal-overlay.show {
  display: flex;
}

.modal-window {
  background: #fff;
  border-radius: 14px;
  max-width: 400px;
  width: 100%;
  padding: 30px 28px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
  outline: none;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.modal-title {
  margin: 0 0 28px;
  font-size: 1.7rem;
  color: #222;
  user-select: none;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.modal-btn {
  padding: 14px 38px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  user-select: none;
  border: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
  min-width: 120px;
}

.modal-btn-confirm {
  background: linear-gradient(90deg, #28a745 0%, #1e7e34 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(40, 167, 69, 0.85);
}

.modal-btn-confirm:hover,
.modal-btn-confirm:focus {
  background: linear-gradient(90deg, #1e7e34 0%, #28a745 100%);
  box-shadow: 0 8px 24px rgba(30, 126, 52, 1);
  outline: none;
  transform: translateY(-2px);
}

.modal-btn-cancel {
  background: linear-gradient(90deg, #dc3545 0%, #a71d2a 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(220, 53, 69, 0.85);
}

.modal-btn-cancel:hover,
.modal-btn-cancel:focus {
  background: linear-gradient(90deg, #a71d2a 0%, #dc3545 100%);
  box-shadow: 0 8px 24px rgba(167, 29, 42, 1);
  outline: none;
  transform: translateY(-2px);
}

.hidden {
  display: none !important;
}

#cookie-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 400px;
  background-color: rgba(68, 19, 19, 0.95);
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(255, 43, 43, 0.8);
  font-size: 0.9rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  user-select: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#cookie-banner p {
  margin: 0;
  line-height: 1.3;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.cookie-buttons button {
  cursor: pointer;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 28px;
  border: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  user-select: none;
}

.btn-accept {
  background: linear-gradient(90deg, #ff2b2b 0%, #ff4646 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 43, 43, 0.7);
}

.btn-accept:hover,
.btn-accept:focus {
  background: linear-gradient(90deg, #ff4646 0%, #ff2b2b 100%);
  box-shadow: 0 6px 18px rgba(255, 70, 70, 1);
  outline: none;
}

.btn-reject {
  background-color: #444;
  color: #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.btn-reject:hover,
.btn-reject:focus {
  background-color: #666;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.7);
  outline: none;
}