@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Nunito:regular,600,700,800&display=swap);

*:where(
    :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)
  ) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a,
button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  -moz-appearance: revert;
  appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
  all: revert;
}

/* reset default text opacity of input placeholder */
::-moz-placeholder {
  color: unset;
}
::placeholder {
  color: unset;
}

/* remove default dot (•) sign */
::marker {
  content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium and Safari
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element */
:where([contenteditable]:not([contenteditable='false'])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable='true']) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
}

html,
body {
  font-family: 'Nunito', sans-serif;
  color: #fff;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background: url('../img/banner.jpg') center/cover no-repeat;
}

body.lock {
  overflow: hidden;
}

p {
  line-height: 150%;
}

h1 {
  font-size: 38px;
  font-weight: 600;
  text-align: center;
  margin: 25px 0;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 20px 0;
  text-align: center;
}

h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 15px 0;
}

ul {
  list-style: square;
  padding: 15px 25px;
}

ul li::marker {
  font-size: 20px;
  color: #1dd1a1;
}

ol {
  list-style: none;
  counter-reset: custom-counter;
  padding-left: 0;
}

ol li {
  counter-increment: custom-counter;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

ol li::before {
  content: counter(custom-counter);
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    to left top,
    #094535,
    #0e6950,
    #159976,
    #18b68c,
    #1dd1a1
  );
  border-radius: 50%;
  margin-right: 10px;
  font-size: 24px;
  flex-shrink: 0;
}

table {
  width: 100%;
  margin: 20px 0;
  table-layout: auto;
}

table tr th {
  background-color: #cd6eaca3;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  white-space: normal;
  word-wrap: break-word;
}

table tr td,
table tr th {
  border: 1px solid #fff;
  padding: 15px 10px;
  vertical-align: middle;
}

table tr td {
  background-color: rgba(139, 49, 139, 0.4);
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
}

.container {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.main {
  min-height: 100vh;
  flex: 1 1 auto;
  padding: 50px 0 0 0;
}

.header {
  background-color: #120c39;
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
}

.header__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.header .logo {
  flex: 0 0 10%;
}

.header nav ul {
  display: flex;
  align-items: center;
  gap: 50px;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
}

.header nav ul a:hover {
  text-shadow: 1px 4px 4px rgba(255, 255, 255, 0.6549019608);
}

.main .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  min-width: 160px;
  background-color: #62da20;
  border-radius: 30px;
  text-decoration: none;
  color: #1d1d1d;
  font-weight: 700;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.main .btn:hover {
  background-color: #82ec49;
  transform: translateY(-2px);
}

.main .title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}

.main__cards {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main__card {
  display: grid;
  grid-template-columns: auto 1fr 2fr auto;
  gap: 15px;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(24, 1, 63, 0.65);
  border: 1px solid #486970;
  position: relative;
}

.main__card:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  border-top-left-radius: 10px;
  background-color: #62da20;
  color: #000;
}

.main .main__card:nth-child(1)::before {
  content: '1';
}
.main .main__card:nth-child(2)::before {
  content: '2';
}
.main .main__card:nth-child(3)::before {
  content: '3';
}
.main .main__card:nth-child(4)::before {
  content: '4';
}
.main .main__card:nth-child(5)::before {
  content: '5';
}
.main .main__card:nth-child(6)::before {
  content: '6';
}
.main .main__card:nth-child(7)::before {
  content: '7';
}
.main .main__card:nth-child(8)::before {
  content: '8';
}
.main .main__card:nth-child(9)::before {
  content: '9';
}
.main .main__card:nth-child(10)::before {
  content: '10';
}
.main .main__card:nth-child(11)::before {
  content: '11';
}
.main .main__card:nth-child(12)::before {
  content: '12';
}
.main .main__card:nth-child(13)::before {
  content: '13';
}
.main .main__card:nth-child(14)::before {
  content: '14';
}
.main .main__card:nth-child(15)::before {
  content: '15';
}

/* ИСПРАВЛЕННЫЙ БЛОК ДЛЯ ИЗОБРАЖЕНИЙ С ПРОЗРАЧНЫМ ФОНОМ */
.main .grid__img a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 126px;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}

.main .grid__img a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.main .grid__title {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.main .grid__title .stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.main .grid__title .stars .stars__title {
  font-size: 14px;
}

.main .grid__title .stars .stars__icons {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.main .grid__content ul {
  padding: 0;
  list-style: none;
}

.main .grid__content .grid__title::before {
  content: 'BONUS DE BIENVENUE';
}

.main .grid__content__payment {
  margin-top: 20px;
}

.main .grid__content__payment img {
  max-width: 50px;
  padding-top: 5px;
}

.main .grid__content__payment::before {
  content: 'MÉTHODES DE PAIEMENT';
}

.main .grid__button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main .content {
  margin-top: 30px;
  padding: 32px;
  background-color: rgba(2, 5, 60, 0.25);
}

.main .content img {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.main .soft {
  padding: 30px 0;
  background-color: #2c3357;
  margin-top: 30px;
}

.main .soft-items {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-around;
}

.main .soft-items img {
  height: auto;
}

.footer {
  padding: 30px 0;
  background-color: #080d3b;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.footer__nav a {
  transition: all 0.2s ease-in-out;
}

.footer__nav a:hover {
  text-decoration: underline;
}

.footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.footer__text {
  text-align: center;
}

.footer__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__icons img {
  height: 40px;
}

.date {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  max-width: fit-content;
}

.date img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.date:hover img {
  transform: rotate(180deg);
}

.updated {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.updated p {
  margin: 0;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.updated time {
  margin: 0;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
}

/* Version alternative avec fond plus visible */
.date.variant-solid {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(75, 0, 130, 0.2));
  border: 1px solid rgba(138, 43, 226, 0.3);
}

/* Version compacte */
.date.compact {
  padding: 8px 16px;
  gap: 8px;
}

.date.compact img {
  width: 16px;
  height: 16px;
}

.date.compact .updated {
  font-size: 13px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

/* Animation au survol */
.date {
  transition: all 0.3s ease;
}

.date:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(138, 43, 226, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

@media (max-width: 1199px) {
  .header nav {
    display: none;
  }
  .header nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #1d225c;
    transition: all 0.3s ease 0s;
  }
  .header nav.active ul {
    flex-direction: column;
    justify-content: center;
    flex: 1 1;
    padding: 0 16px;
    font-size: 20px;
  }
  .header__burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 3;
  }
  .header__burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease 0s;
    top: 9px;
  }
  .header__burger::after,
  .header__burger::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease 0s;
    border-radius: 10px;
  }
  .header__burger::after {
    bottom: 0;
  }
  .header__burger::before {
    top: 0;
  }
  .header__burger.active span {
    transform: scale(0);
  }
  .header__burger.active::before {
    transform: rotate(45deg);
    top: 9px;
  }
  .header__burger.active::after {
    transform: rotate(-45deg);
    bottom: 9px;
  }
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .grid__title {
    align-items: center;
  }
}

@media (max-width: 992px) {
  /* Адаптация таблицы для средних экранов */
  table tr th {
    font-size: 13px;
    padding: 12px 8px;
  }
  
  table tr td {
    font-size: 14px;
    padding: 12px 8px;
  }
}

@media (max-width: 768px) {
  /* Исправление контейнера */
  .container {
    max-width: 100%;
    padding: 0 12px;
  }
  
  h1 {
    font-size: 22px;
    margin: 15px 0;
    word-wrap: break-word;
    padding: 0 5px;
  }
  
  h2 {
    font-size: 20px;
    margin: 12px 0;
    word-wrap: break-word;
  }
  
  h3 {
    font-size: 18px;
    margin: 10px 0;
  }
  
  ol li::before {
    width: 35px;
    height: 35px;
    font-size: 18px;
    margin-right: 8px;
  }
  
  .header .logo {
    flex: 0 0 50%;
    max-width: 140px;
  }
  
  .header .logo img {
    max-width: 100%;
    height: auto;
  }
  
  .main {
    padding: 30px 0 0 0;
  }
  
  .main__body {
    max-width: 100%;
  }
  
  .main .content {
    padding: 16px 12px;
    margin-top: 20px;
  }
  
  .main .content img {
    max-width: 100%;
    height: auto;
  }
  
  /* Исправление карточек */
  .main__cards {
    margin: 15px 0;
    gap: 15px;
  }
  
  .main__card {
    display: flex;
    flex-direction: column;
    padding: 15px 12px;
    gap: 12px;
  }
  
  .main__card:before {
    width: 28px;
    height: 28px;
    font-size: 16px;
    line-height: 28px;
  }
  
  .main .grid__img {
    width: 100%;
  }
  
  /* ИСПРАВЛЕННЫЙ БЛОК ДЛЯ МОБИЛЬНЫХ С ПРОЗРАЧНЫМ ФОНОМ */
  .main .grid__img a {
    width: 100%;
    max-width: 280px;
    height: auto;
    min-height: 160px;
    margin: 0 auto;
    aspect-ratio: 180/125;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
  }
  
  .main .grid__img a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
  }
  
  .main .grid__title {
    font-size: 18px;
    text-align: center;
  }
  
  .main .grid__title .stars {
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .main .grid__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .main .grid__content ul {
    list-style: none;
    width: 100%;
  }
  
  .main .grid__content__payment {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
  }
  
  .main .grid__content__payment .icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .main .grid__content__payment img {
    max-width: 45px;
  }
  
  .main .grid__button {
    width: 100%;
    margin: 10px 0 0 0;
  }
  
  .main .btn {
    width: 100%;
    max-width: 250px;
    padding: 10px 20px;
    min-width: auto;
  }
  
  /* Карточный вид таблицы для мобильных устройств */
  table {
    display: block;
    width: 100%;
    margin: 15px 0;
    overflow-x: hidden;
  }
  
  table thead {
    display: none;
  }
  
  table tbody {
    display: block;
    width: 100%;
  }
  
  table tr {
    display: block;
    margin-bottom: 15px;
    border: 2px solid #fff;
    border-radius: 10px;
    background-color: rgba(139, 49, 139, 0.6);
    padding: 12px;
    width: 100%;
  }
  
  table td {
    display: block;
    text-align: right;
    padding: 8px 5px;
    border: none;
    background: transparent;
    position: relative;
    padding-left: 50%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: 30px;
  }
  
  table td::before {
    content: attr(data-label);
    position: absolute;
    left: 5px;
    width: 45%;
    padding-right: 10px;
    font-weight: 700;
    color: #cd6eac;
    text-align: left;
    font-size: 13px;
    word-wrap: break-word;
  }
  
  .footer {
    padding: 25px 12px;
  }
  
  .footer__nav {
    gap: 1rem;
    font-size: 14px;
  }
  
  .footer__icons img {
    height: 32px;
  }
  
  .main .soft {
    padding: 20px 12px;
    margin-top: 20px;
  }
  
  .main .soft-items {
    gap: 8px;
  }
  
  .main .soft-items img {
    max-width: 80px;
    height: auto;
  }
  
  /* Date блок */
  .date {
    padding: 8px 12px;
    gap: 8px;
    width: calc(100% - 24px);
    max-width: 100%;
    margin: 0 auto;
  }
  
  .date img {
    width: 16px;
    height: 16px;
  }
  
  .updated {
    font-size: 12px;
    flex-wrap: wrap;
  }
  
  .updated p,
  .updated time {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }
  
  h1 {
    font-size: 18px;
    margin: 12px 0;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 16px;
    margin: 10px 0;
  }
  
  .main__card {
    padding: 12px 8px;
  }
  
  .main .grid__title {
    font-size: 15px;
  }
  
  table td {
    font-size: 12px;
    padding: 7px 5px;
    padding-left: 48%;
  }
  
  table td::before {
    font-size: 11px;
    width: 43%;
  }
  
  table tr {
    padding: 10px 8px;
  }
  
  .main .btn {
    font-size: 14px;
    padding: 8px 16px;
  }
  
  .footer__nav {
    font-size: 12px;
  }
  
  .date {
    padding: 6px 10px;
    gap: 6px;
  }
  
  .date img {
    width: 14px;
    height: 14px;
  }
  
  .updated {
    font-size: 11px;
  }
  
  .updated p,
  .updated time {
    font-size: 11px;
  }
}

/* Дополнительная защита от горизонтальной прокрутки */
@media (max-width: 768px) {
  * {
    max-width: 100%;
  }
  
  img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Убираем лишние отступы */
  body {
    padding: 0;
    margin: 0;
  }
  
  .wrapper {
    padding: 0;
    margin: 0;
  }
}
