
.rk-new-hero {
  --rk-accent: #bff747;
  --tile-size: 94px;
  --tile-gap: 20px;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000000;
  color: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rk-new-hero *,
.rk-new-hero *::before,
.rk-new-hero *::after {
  box-sizing: border-box;
}

.rk-new-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
  background: none;
}

.rk-new-hero-bg::before {
  content: none;
}

.rk-new-hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
  display: none;
}

.rk-hero-glow-a {
  width: 420px;
  height: 420px;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  background: transparent;
}

.rk-hero-glow-b {
  width: 300px;
  height: 300px;
  right: 11%;
  bottom: 6%;
  background: transparent;
}

.rk-new-hero-shell {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1680px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 58px;
  display: grid;
  grid-template-columns: 42% 44% 14%;
  align-items: end;
  gap: 0;
}

.rk-new-hero-left {
  align-self: end;
  position: relative;
  z-index: 20;
  max-width: 760px;
}

.rk-new-hero-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(191,247,71,.18);
  background: rgba(191,247,71,.075);
  color: var(--rk-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rk-new-hero-left h1 {
  margin: 0;
  color: #fff;
  white-space: nowrap;
  font-size: clamp(42px, 4.35vw, 72px);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 650;
}

.rk-new-hero-left p {
  white-space: nowrap;
  margin: 12px 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(15px, 1.18vw, 19px);
  line-height: 1.35;
  font-weight: 500;
}

.rk-new-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.rk-new-hero-btn {
  min-height: 46px;
  padding: 0 23px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 760;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, color .24s ease;
}

.rk-btn-primary {
  background: var(--rk-accent);
  color: #091108;
  border: 1px solid var(--rk-accent);
  box-shadow: 0 0 24px rgba(191,247,71,.16);
}

.rk-btn-secondary {
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rk-new-hero-btn:hover {
  transform: translateY(-2px);
}

.rk-btn-secondary:hover {
  border-color: rgba(191,247,71,.38);
  color: var(--rk-accent);
}

.rk-new-hero-center {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  width: min(920px, 58vw);
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  z-index: 8;
  pointer-events: none;
}

.rk-media-columns-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  justify-items: center;
  gap: 22px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 0;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

.rk-media-columns-wrap::before,
.rk-media-columns-wrap::after {
  display: none !important;
  content: none !important;
}

.rk-media-col {
  --col-height: calc((var(--visible-count) * var(--tile-size)) + ((var(--visible-count) - 1) * var(--tile-gap)));
  position: relative;
  width: var(--tile-size);
  height: var(--col-height);
  overflow: hidden;
  display: flex;
  justify-content: center;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.18) 8%, black 22%, black 78%, rgba(0,0,0,.18) 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.18) 8%, black 22%, black 78%, rgba(0,0,0,.18) 92%, transparent 100%);
}

.rk-media-col::before,
.rk-media-col::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
}

.rk-media-track {
  display: flex;
  flex-direction: column;
  gap: var(--tile-gap);
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  animation: rk-hero-logos-up var(--rk-track-duration, 25s) linear infinite;
}

.rk-move-down .rk-media-track {
  animation-name: rk-hero-logos-down;
}

@keyframes rk-hero-logos-up {
  to { transform: translate3d(0, calc(-50% - (var(--tile-gap) / 2)), 0); }
}

@keyframes rk-hero-logos-down {
  from { transform: translate3d(0, calc(-50% - (var(--tile-gap) / 2)), 0); }
  to { transform: translate3d(0, 0, 0); }
}

.rk-media-tile {
  width: var(--tile-size);
  height: var(--tile-size);
  flex: 0 0 var(--tile-size);
  border-radius: 27px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.012) !important;
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 10px 32px rgba(0,0,0,.18);
  /* A translucent fill gives the same glass impression without repainting blur. */
}

.rk-media-tile img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
  filter: none;
}

.rk-brand-tile {
  background: rgba(191,247,71,.035) !important;
  border-color: rgba(191,247,71,.16);
}

.rk-brand-tile span {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--rk-accent);
  color: #0a1109;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.06em;
  box-shadow: 0 0 24px rgba(191,247,71,.30);
}

.rk-new-hero-right {
  position: absolute;
  right: 58px;
  bottom: 42px;
  z-index: 20;
}

.rk-new-hero-socials {
  display: inline-flex;
  align-items: center;
  height: 58px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.rk-new-hero-socials a {
  width: 54px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  opacity: .9;
  transition: color .24s ease, transform .24s ease, opacity .24s ease;
}

.rk-new-hero-socials a:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.16);
}

.rk-new-hero-socials a:hover {
  color: var(--rk-accent);
  transform: translateY(-2px);
  opacity: 1;
}

.rk-new-hero-socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 1280px) {
  .rk-new-hero {
    --tile-size: 82px;
    --tile-gap: 17px;
  }

  .rk-new-hero-shell {
    padding: 38px 32px 34px;
    grid-template-columns: 43% 43% 14%;
  }

  .rk-new-hero-center {
    width: min(800px, 58vw);
  }

  .rk-media-columns-wrap {
    gap: 16px;
  }

  .rk-new-hero-left h1 {
    font-size: clamp(38px, 4.1vw, 62px);
  }

  .rk-new-hero-left p {
    font-size: clamp(14px, 1.08vw, 17px);
  }

  .rk-new-hero-right {
    right: 32px;
    bottom: 34px;
  }
}

@media (max-width: 1100px) {
  .rk-new-hero-left h1,
  .rk-new-hero-left p {
    white-space: normal;
  }

  .rk-new-hero-center {
    width: min(720px, 62vw);
    opacity: .9;
  }
}

@media (max-width: 900px) {
  .rk-new-hero {
    --tile-size: 68px;
    --tile-gap: 14px;
    min-height: 860px;
  }

  .rk-new-hero-shell {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 860px;
    padding: 30px 20px 34px;
  }

  .rk-new-hero-center {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    min-height: 360px;
    order: 1;
    opacity: .86;
    overflow: hidden;
  }

  .rk-new-hero-left {
    order: 2;
    max-width: 100%;
  }

  .rk-new-hero-left h1 {
    font-size: 44px;
    white-space: normal;
  }

  .rk-new-hero-left p {
    font-size: 16px;
    white-space: normal;
  }

  .rk-new-hero-right {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 18px;
    order: 3;
  }

  .rk-media-columns-wrap {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }

  .rk-media-col:nth-child(1),
  .rk-media-col:nth-child(7) {
    display: none;
  }

  .rk-new-hero-actions {
    width: 100%;
  }

  .rk-new-hero-btn {
    flex: 1;
    min-width: 160px;
  }
}

@media (max-width: 520px) {
  .rk-new-hero {
    --tile-size: 62px;
    --tile-gap: 13px;
    min-height: 820px;
  }

  .rk-media-columns-wrap {
    grid-template-columns: repeat(4, 1fr);
  }

  .rk-media-col:nth-child(2),
  .rk-media-col:nth-child(6) {
    display: none;
  }

  .rk-new-hero-left h1 {
    font-size: 39px;
  }

  .rk-new-hero-socials {
    height: 54px;
  }

  .rk-new-hero-socials a {
    width: 48px;
  }
}

/* Final Hero buttons: identical sizing/system to header buttons */
.rk-new-hero .rk-new-hero-btn {
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  letter-spacing: -0.01em !important;
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    color 0.24s ease !important;
}

/* Same as header Telegram button */
.rk-new-hero .rk-btn-primary {
  color: #050805 !important;
  background: #bff747 !important;
  border: 1px solid rgba(191,247,71,0.86) !important;
  box-shadow:
    0 14px 34px rgba(191,247,71,0.20),
    inset 0 1px 0 rgba(255,255,255,0.36) !important;
}

.rk-new-hero .rk-btn-primary:hover {
  transform: translateY(-2px) !important;
  background: #caff62 !important;
  border-color: rgba(191,247,71,0.96) !important;
  color: #050805 !important;
  box-shadow:
    0 18px 44px rgba(191,247,71,0.28),
    inset 0 1px 0 rgba(255,255,255,0.38) !important;
}

/* Same as header Contact button */
.rk-new-hero .rk-btn-secondary {
  color: #ffffff !important;
  background: rgba(0,0,0,0.42) !important;
  border: 1px solid rgba(255,255,255,0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 12px 30px rgba(0,0,0,0.22) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.rk-new-hero .rk-btn-secondary:hover {
  transform: translateY(-2px) !important;
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(191,247,71,0.42) !important;
  color: #bff747 !important;
}


/* Final restore: default first Hero logo animation system */
.rk-new-hero .rk-new-hero-center {
  top: 36.5% !important;
  width: min(920px, 58vw) !important;
  min-height: 560px !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.rk-new-hero .rk-new-hero-center::before,
.rk-new-hero .rk-new-hero-center::after {
  content: none !important;
  display: none !important;
}

.rk-new-hero .rk-media-columns-wrap {
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 22px !important;
  width: 100% !important;
  padding: 8px 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rk-new-hero .rk-media-col {
  width: var(--tile-size) !important;
  height: var(--col-height) !important;
  overflow: hidden !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.18) 8%, black 22%, black 78%, rgba(0,0,0,.18) 92%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.18) 8%, black 22%, black 78%, rgba(0,0,0,.18) 92%, transparent 100%) !important;
}

.rk-new-hero .rk-media-col::before,
.rk-new-hero .rk-media-col::after {
  content: none !important;
  display: none !important;
}

.rk-new-hero .rk-media-track {
  gap: var(--tile-gap) !important;
}

.rk-new-hero .rk-media-tile {
  width: var(--tile-size) !important;
  height: var(--tile-size) !important;
  flex: 0 0 var(--tile-size) !important;
  border-radius: 27px !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(255,255,255,.012) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 10px 32px rgba(0,0,0,.18) !important;
  backdrop-filter: blur(7px) !important;
  -webkit-backdrop-filter: blur(7px) !important;
}

.rk-new-hero .rk-media-tile img {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  filter: none !important;
}

.rk-new-hero .rk-brand-tile {
  background: rgba(191,247,71,.035) !important;
  border-color: rgba(191,247,71,.16) !important;
}

.rk-new-hero .rk-brand-tile span {
  width: 40px !important;
  height: 40px !important;
  border-radius: 13px !important;
  display: grid !important;
  place-items: center !important;
  background: var(--rk-accent) !important;
  color: #0a1109 !important;
  font-size: 22px !important;
  font-weight: 950 !important;
  letter-spacing: -.06em !important;
  box-shadow: 0 0 24px rgba(191,247,71,.30) !important;
}

/* Keep mobile default behavior */
@media (max-width: 900px) {
  .rk-new-hero .rk-new-hero-center {
    top: auto !important;
    width: 100% !important;
    min-height: 360px !important;
  }

  .rk-new-hero .rk-media-columns-wrap {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 520px) {
  .rk-new-hero .rk-media-columns-wrap {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* End final restore default Hero logo animation system */

.rk-new-hero:not(.is-in-viewport) .rk-media-track,
html.rk-page-hidden .rk-media-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .rk-media-track { animation: none !important; }
  .rk-new-hero-btn { transition: none; }
}

