@font-face {
    font-family: "Tektur";
    src: url(./Tektur.ttf);
}
#space-bg {
      position: absolute;
      top: 0; left: 0;
      z-index: -1;
      pointer-events: none;
      display: block;
      /* НЕ задаём здесь height:100% ! Размеры ставит JS */
    }

body {
    margin: 0;
    height: 100%;
    font-family: "Tektur";
    overflow-x: hidden;
}
p {
    color: #fff;
    margin: 0;
}

.header {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 3, 20, 0.25);
    padding-bottom: 24px;
    gap: 24px;
    justify-content: center;
    align-items: center;
        padding-left: 40px;
    padding-right: 40px;
}

.header p {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.upperheader {
    display: flex;
    width: 100%;
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.logomenu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;

}

.headerlogo {
    height: 72px;
    width: auto;
    flex-shrink: 0;
}

.headerlogo img{
    height: 100%;
    width: 100%;
}

.menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1096px;
    gap:36px;
}

.menu a {
    color: #ffffff;
    
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: 0.3s;
}

.menu a:hover 
{
    color: #fff;
    transition: 0.3s;
    transform: scale(102%);
    text-shadow: 1px 1px 20px #6205E4,1px 1px 40px #6205E4;
}

.main {
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 32px;
}

.main p {
    text-align: center;
    font-size: 28px;
    font-weight: 500;
}

.offers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

  gap: 16px;
  max-width: 1320px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;   
}

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 250px;
  max-width: 312px;
  width: 100%;
  gap: 20px;

  border-radius: 48px;
  background: linear-gradient(rgba(5, 0, 58, 0.5), rgba(0, 26, 75, 0.5));
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
}

.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px; /* толщина рамки = толщина твоей border */
  border-radius: inherit;
  background: linear-gradient(135deg, #0241A7, #3D1F95, #031475);
  pointer-events: none;

  /* оставляем только обводку, вырезая середину */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.plank {
    height: 0px;
}

.offer img {
    height: 127px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 32px;
    background-color: #fff;
}

.conditions {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.condition1, .condition2 {
    padding-top: 6px;
    padding-bottom: 6px;
    text-align: center;
}

.condition1 p, .condition2 p {
font-size: 16px;
color: #fff;
}


.condition1 a, .condition2 a {
font-size: 16px;
color: #fff;
}

.static-block {
  width: 100%;
  height: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.highlight {
  font-weight: 700;
}

.offerbutton {
    display: flex;
    padding: 12px 16px;
    background-color: #6205E4;
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
    transition: 0.3s;
    margin-top: auto;
}

.offerbutton:hover {
    background-color: #fff;
    color: #6205E4;
    transition: 0.3s;
    box-shadow: 0 0 16px rgba(98, 5, 228, 1);
}

.footer {
    background-color: rgba(0, 3, 20, 0.25);
    display: flex;
    padding: 60px 40px;
    align-items: center;
    justify-content: center;
}

.footer p {
    color:#fff;
}

.footer a {
    color:#fff;
    text-decoration: none;
}

.footerblocks {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: space-between;
}

.footerblock {
    width: 100%;
    max-width: 310px;
    display: flex;
    flex-direction: column;
    gap:24px;
}

.footerblock p {
    font-size: 24px;
    font-weight: 500;
}

.footerlinks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.footerlinks a{
    font-size: 18px;
}

.footerlinks p {
        font-size: 18px;
        font-weight: 400;
}

.text p{
    font-size: 18px;
    text-align: left;
}

.text b {
    font-size: 28px;
    text-align: left;
}

@media screen  and (max-width: 900px){ 
    .header {
    padding-left: 20px;
    padding-right: 20px;
}

.headerlogo {
    height: 60px;
    width: auto;
}

.upperheader {
    padding-top: 16px;
    padding-bottom: 16px;
}

.menu {
    display: none;
}

.main {
    padding: 20px;
    gap: 20px;
}

.main p {
    font-size: 24px;
}

.offers {
  display: grid;

    align-items: start;
}

.offer {
  min-width: 200px;
  max-width: 400px;
}

.offer img {
    max-width: 272px;
}

.condition1 {
    padding: 8px 20px;
}

.condition1 p {
font-size: 20px;
}

.condition2 {
    padding: 8px 20px;
}

.condition2 p {
font-size: 20px;
}

.condition1 a {
font-size: 20px;
}

.condition2 a {
font-size: 20px;
}

.offerbutton {
    padding: 16px 12px;
    font-size: 22px;
}

.footer {
    padding: 36px 20px;
}

.footerblocks {
    gap: 36px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footerblock {
    max-width: 420px;
    gap:20px;
}

.text p{
    font-size: 16px;
}

.text b {
    font-size: 24px;
}

}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  display: block;
  border-radius: 2px;
}

/* Мобільне меню */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #6205E4;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  text-align: center;
}

.mobile-menu a:hover {
      color: #6205E4;
      background-color: #fff;
      transition: 0.3s;
}
.mobile-menu a:last-child {
  border-bottom: none;
}


.close-menu {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}


@media screen and (max-width: 900px) {
  .burger {
    display: flex;
  }

  .menu {
    display: none;
  }

  .mobile-menu.active {
    display: flex;
  }
}

@media screen and (max-width: 600px) {
.offers {  
  place-items: center;
}
}







.topbar {
  background-color: #FFF5EA;
  color: #212121;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 6px 12px;
  flex-wrap: wrap;
}

.topbar span {
  white-space: nowrap;
}

@media screen and (max-width: 900px) {
  .topbar {
    font-size: 12px;
    gap: 12px;
    text-align: center;
  }
  .topbar span {
    white-space: normal;
  }
}


.description {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #1D1915;
}

.description p {
  margin: 8px 0;
}

.description em {
  color: #6205E4;
  font-style: normal;
  font-weight: 500;
}



.platform-advantages {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 40px;
  text-align: left;
  background-color: rgba(0, 136, 255, 0.1);
  border: 1px solid #6205E4;
  border-radius: 12px;
}

.platform-advantages h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.platform-advantages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platform-advantages li {
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
}


.reviews {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reviews h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1D1915;
}

.review {
  background: #fff;
  border: 1px solid #F9D2A5;
  border-radius: 12px;
  padding: 16px;
}

.review p {
  font-size: 16px;
  margin: 6px 0;
}


.disclaimer {
  width: 100%;
  max-width: 1320px;
  margin:0;
  border-top: 1px solid rgba(255,255,255,0.3);
}

.disclaimer h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 600;
}

.disclaimer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.disclaimer li {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

h4 {
    margin-top: 0;
}

li {
  color: #fff;
}

 .promo {
position: fixed; 
bottom: 16px;
right: 16px;
width: 100px;
height: 100px;
 }

.promo img {
  width: 100px;
  height: 100px;
  transform: rotate(-25deg);
  transition: 0.1s ease-in-out;
}

.promo img:hover {
  transform: rotate(0);
  transform: scale(110%);
    transition: 0.1s ease-in-out;
}

