@keyframes rotate360 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== FONTS ===== */
@font-face {
  font-family: 'Philosopher';
  src: url('../fonts/Philosopher-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Philosopher';
  src: url('../fonts/Philosopher-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Code Pro';
  src: url('../fonts/CodePro-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SF-Pro-Display-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SF-Pro-Display-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SF-Pro-Display-Light-Italic.OTF') format('opentype');
  /* font-weight: 300; */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('../fonts/SF-Pro-Display-Thin.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* GENERAL SETTINGS */

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
  margin: 0;
  padding: 0 auto;
  background-size: cover;
  background-image: url('../images/bg/bg.png');
  background-position: center;
  background-attachment: fixed;
}

.container-wrapper {
    margin: 0;
    padding: 0;
}

/* MAIN CONTAINER */

.container-content {
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

/* LEFT CONTAINER */

.container-content-main {
    display: flex;
    flex-direction: column;
    padding-top: 150px;

    order: 1;
}

/* RIGHT CONTAINER */

.container-content-slider {
    display: flex;
    flex-direction: row;
    gap: 7px;
    align-items: flex-end;
    justify-content: flex-end;
    margin-left: 80px;
    padding-bottom: 120px;

    position: relative;
    order: 2;
}

/* TITLE & LINES */

.title {
    display: flex;
    flex-direction: column;

    font-family: 'Philosopher', sans-serif;
    font-weight: 700;
    font-size: 105px;
    line-height: 105.6px;
    margin: 0;
}

.title-part1 { color: #000000; }
.title-part2 { color: #960CFF; }

.subtitle {
  font-family: 'Code Pro', monospace;
  font-weight: 300;
  font-size: 35px;
  line-height: 48.65px;
  color: #000000;
  width: 412px;
  margin-top: 30px;
  margin-bottom: 0;
}

/* BUTTONS */

.buttons-container {
  margin-top: 60px;
}

.first-row {
  display: flex;
  align-items: center;
}

.logo-wrapper {
  position: relative;
  width: 105px;
  height: 105px;
  flex-shrink: 0;
  filter: drop-shadow(0 15px 12px rgba(109, 6, 186, 0.33));
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../images/logo/logo-bg-circle.png');
}

.logo-wrapper-mobile {
    display: none;
}

.logo-bg {
  /* position: absolute; */
  width: 100%;
  height: 100%;
  background-image: url('../images/logo/logo-text.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: rotate360 10s linear infinite;
}

.logo-main {
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  z-index: 2;
}

.complex-button {
  display: inline-block;
  text-decoration: none;
}

.button-outer {
  width: 429px;
  height: 115px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid #C5C5C5;
  border-radius: 57.5px;
  box-shadow: inset 0 2.73px 12.63px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.button-outer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.945), transparent);
  transition: left 0.8s ease-out;
  z-index: 1;
  pointer-events: none;
}

.button-outer:hover::after { left: 100%; }
.button-outer:hover { transform: translateY(-3px); }
.button-outer:active { transform: translateY(1px) scale(0.98); }

.button-inner {
  position: relative;
  z-index: 2;
  width: 406px;
  height: 89px;
  background: linear-gradient(135deg, #9200FF, #BD68FF) !important;
  box-shadow: inset 0 2.73px 12.63px 0 rgba(255, 255, 255, 0.1);
  border-radius: 44.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.button-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.button-mask1 {
  background-image: url('../images/btn/btn-mask1.png');
  mix-blend-mode: overlay;
  opacity: 0.7;
  z-index: 1;
}

.button-mask2 {
  background-image: url('../images/btn/btn-mask2.png');
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  top: -5px;
  left: -5px;
  background-size: cover;
  background-position: center;
  z-index: 2;
}

.button-text {
  position: relative;
  z-index: 3;
  font-family: 'SF Pro Display', sans-serif;
  font-weight: 200;
  font-size: 33px;
  color: #FFFFFF;
  text-transform: uppercase;
}

.second-button {
  width: 427px;
  height: 87px;
  border: 1px solid #9205FF;
  border-radius: 43.5px;
  box-shadow: inset 0 2.73px 12.63px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 9px;
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
}

.second-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(146, 5, 255, 0.2), transparent);
  transition: all 0.8s ease;
  z-index: 1;
}

.second-button:hover::before { left: 100%; }
.second-button:hover { border-color: #BD68FF; }
.second-button:hover .second-button-text {
  color: #BD68FF;
  text-shadow: 0 0 8px rgba(189, 104, 255, 0.4);
}

.second-button-text {
  font-family: 'SF Pro Display', sans-serif;
  font-weight: 100;
  font-size: 33px;
  color: #9911FF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}

/* SLIDER & COUNTER */

.slider-wrapper {
    display: flex;
    flex-direction: row;
    gap: 7px;

    position: relative;
}

.slider-wrapper * {
    box-sizing: border-box;
}

.slide {
    width: 145px;
    height: 145px;

    box-sizing: border-box;

    background: rgba(222, 222, 222, 0.64);
    border: 1px solid #CFCFCF;
    border-radius: 40px;

    backdrop-filter: blur(15px);
    filter: drop-shadow(0px 45px 24.3px rgba(33, 21, 42, 0.28));

    /* Анимационные свойства */
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease-out;
}

.slide:not(.active) {
    display: none;
}

.slide-img {
    width: 125px;
    height: 125px;

    margin: 10px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 30px;
}

.counter-slide {
    width: 270px;
    height: 145px;

    box-sizing: border-box;

    background: rgba(222, 222, 222, 0.64);
    border: 1px solid #CFCFCF;
    border-radius: 40px;

    backdrop-filter: blur(15px);
    filter: drop-shadow(0px 21px 24.3px rgba(33, 21, 42, 0.28));

    display: flex;
    flex-direction: column;
}

.counter-number {
    padding: 30px 0 0 37px;

    color: #000;
    font-family: 'Philosopher', sans-serif;
    font-weight: 700;
    font-size: 47px;
    line-height: 1.05;

    font-variant-numeric: tabular-nums;

    transition: all 0.7s ease;
}

.counter-label {
    padding: 0 0 0 37px;
    margin-top: 4px;

    color: #960CFF;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.05;
}