@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Montserrat:wght@700;800&display=swap");

:root {
  --bg: #050807;
  --bar: #0a0f0d;
  --text: #eaf4ef;
  --muted: #a8c3b8;
  --line: rgba(255, 255, 255, .08);
  --green: #34e07a;
  --green2: #18c964;
  --shadow: 0 24px 80px rgba(0, 0, 0, .60);
  --radius: 16px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 50% -200px, rgba(52, 224, 122, .13), transparent 60%),
    radial-gradient(700px 450px at 10% 0%, rgba(110, 255, 200, .06), transparent 55%),
    radial-gradient(700px 450px at 90% 0%, rgba(70, 180, 255, .05), transparent 55%),
    linear-gradient(180deg, #050807, #050807);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }

/* container */
.rn-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* header */
.rn-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10, 15, 13, .92), rgba(10, 15, 13, .70));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.rn-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 26px;
  opacity: .18;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .75), transparent),
    repeating-conic-gradient(from 180deg at 14px 100%, rgba(0, 0, 0, 0) 0 18deg, rgba(0, 0, 0, .75) 18deg 36deg);
  mask: linear-gradient(#000, transparent 85%);
}
.rn-header::after {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 520px; height: 120px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 30%, rgba(52, 224, 122, .18), transparent 32%);
  filter: blur(2px);
}

/* inner */
.rn-header__inner {
  position: relative;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
}
.rn-left { display: flex; align-items: center; gap: 14px; min-width: 260px; }

/* brand (НЕ ТРОГАЮ) */
.rn-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 222;
}
.rn-brand__img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35));
}

/* nav */
.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-link {
  position: relative;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-size: 13px;
  color: rgba(234, 244, 239, .92);
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nav-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .10);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .20);
}
.nav-link.is-active {
  background: rgba(52, 224, 122, .10);
  border-color: rgba(52, 224, 122, .20);
  box-shadow: 0 10px 26px rgba(52, 224, 122, .10);
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(52, 224, 122, .95), transparent);
}

/* actions */
.rn-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  justify-content: flex-end;
}
.rn-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  border: 1px solid transparent;
  transition: transform .18s ease, filter .18s ease, background .18s ease, box-shadow .18s ease;
}
.rn-btn:active { transform: translateY(1px); }
.rn-btn--primary {
  background: linear-gradient(180deg, var(--green), var(--green2));
  color: #061d12;
  box-shadow: 0 16px 36px rgba(52, 224, 122, .20);
}
.rn-btn--primary:hover { filter: brightness(1.06); box-shadow: 0 18px 44px rgba(52, 224, 122, .26); }
.rn-btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .10);
}
.rn-btn--ghost:hover {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(52, 224, 122, .20);
}

/* burger */
.rn-burger {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .06);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.rn-burger:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}
.rn-burger span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(234, 244, 239, .96);
  transition: transform .22s ease, opacity .14s ease, width .22s ease;
}
.rn-burger span:nth-child(2) { width: 14px; opacity: .9; }
.rn-burger:hover span:nth-child(2) { width: 18px; }
.rn-burger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.rn-burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(.6); }
.rn-burger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* drawer */
.rn-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.rn-drawer.is-open { opacity: 1; pointer-events: auto; }
.rn-drawer__panel {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: min(92vw, 400px);
  padding: 16px;
  background:
    radial-gradient(520px 260px at 20% 0%, rgba(52, 224, 122, .18), transparent 60%),
    radial-gradient(520px 260px at 90% 30%, rgba(70, 180, 255, .10), transparent 60%),
    linear-gradient(180deg, rgba(14, 20, 17, .98), rgba(8, 11, 10, .98));
  border-right: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
  border-top-right-radius: 22px;
  border-bottom-right-radius: 22px;
  transform: translateX(-102%);
  transition: transform .20s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}
.rn-drawer.is-open .rn-drawer__panel { transform: translateX(0); }
.rn-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.rn-drawer__title {
  font-family: "Montserrat", "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(223, 247, 234, .95);
}
.rn-drawer__close {
  width: 46px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .18s ease;
}
.rn-drawer__close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .10);
}
.rn-drawer__close span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(234, 244, 239, .96);
}
.rn-drawer__close span:nth-child(1) { transform: rotate(45deg); }
.rn-drawer__close span:nth-child(2) { transform: rotate(-45deg); }
.rn-drawer__brand {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}
.rn-drawer__sub {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(168, 195, 184, .90);
}
.rn-drawer__nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 12px 0 0;
}
.rn-drawer__nav .nav-link {
  height: 50px;
  width: 100%;
  justify-content: space-between;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(234, 244, 239, .96);
}
.rn-drawer__nav .nav-link.is-active {
  background: rgba(52, 224, 122, .12);
  border-color: rgba(52, 224, 122, .22);
}
.rn-drawer__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.rn-btn--full { width: 100%; }
.rn-drawer__hint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(168, 195, 184, .80);
  text-align: center;
}

/* responsive */
@media (max-width: 980px) {
  .rn-nav { display: none; }
  .rn-left, .rn-actions { min-width: auto; }
}
@media (max-width: 520px) {
  .rn-header::after{ display: none; }
  .rn-header__inner { height: 66px; }
  .rn-actions .rn-btn--ghost { display: none; }
  .rn-brand__img { height: 22px; } /* НЕ ТРОГАЮ */
}

/* =========================
   SLIDER (НЕ ТРОГАЮ)
   ========================= */

.rn-hero{ padding: 18px 0 8px; }

.rn-slider{ position: relative; }
.rn-slider__viewport{
  overflow: hidden;
  border-radius: 18px;
}

.rn-slider__track{
  display:flex;
  gap: 14px;
  will-change: transform;
  transition: transform .28s ease;
}

.rn-slide{
  position: relative;
  flex: 0 0 calc((100% - 23px) / 2);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  background: #0b0f0e;
  aspect-ratio: 16 / 6.5;
  min-height: 278px;
}

.rn-slide__bg{
  position:absolute;
  inset:0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(1.03) contrast(1.04);
}

.rn-slide::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(700px 250px at 15% 50%, rgba(0,0,0,.25), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.40), rgba(0,0,0,.08) 55%, rgba(0,0,0,.25));
}

.rn-slide{
  transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}
.rn-slide:hover{
  transform: translateY(-2px);
  border-color: rgba(52,224,122,.18);
}

.rn-slider__btn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.07);
  color: rgba(234,244,239,.92);
  cursor:pointer;
  z-index: 5;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 26px;
  backdrop-filter: blur(10px);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
}
.rn-slider__btn:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(52,224,122,.22);
  transform: translateY(-50%) translateY(-1px);
}
.rn-slider__btn:active{
  transform: translateY(-50%) translateY(1px);
}
.rn-slider__btn--prev{ left: 8px; }
.rn-slider__btn--next{ right: 8px; }

.rn-slider__progress{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:center;
}
.rn-seg{
  height: 4px;
  width: 54px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
  cursor:pointer;
}
.rn-seg > i{
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(90deg, #34e07a, #18c964);
  box-shadow: 0 0 18px rgba(52,224,122,.22);
  transition: width .28s ease;
}
.rn-seg.is-active > i{ width:100%; }

@media (max-width: 980px){
  .rn-slide{
    flex-basis: 100%;
    aspect-ratio: 16 / 8;
    min-height: 200px;
  }
}
@media (max-width: 520px){
  .rn-slide{
    aspect-ratio: 16 / 9;
    min-height: 190px;
    border-radius: 16px;
  }
  .rn-seg{ width: 40px; }
}

/* =========================
   CATEGORIES (исправлено)
   ========================= */

.rn-cats{ padding: 12px 0 6px; }

.rn-cats__bar{
  position: relative;
  overflow: visible; /* важно, чтобы dropdown не обрезался */
}

.rn-cats__toggle{
  display:none;
  align-items:center;
  gap:10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(234,244,239,.94);
  font-weight: 900;
  cursor:pointer;
  backdrop-filter: blur(10px);
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.rn-cats__toggle:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(52,224,122,.20);
  transform: translateY(-1px);
}
.rn-cats__toggle-ico{
  width: 26px; height: 26px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 10px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.08);
}
.rn-cats__chev{ opacity:.75; }

.rn-cats__nav{
  display:flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
}

.rn-cat{
  flex: 0 0 auto;
  height: 44px;
  min-width: 92px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  color: rgba(234,244,239,.92);
  text-decoration:none;
  backdrop-filter: blur(10px);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.rn-cat:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(52,224,122,.20);
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
}
.rn-cat__ico{
  width: 24px;
  height: 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  background: rgba(0,0,0,.26);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
}
.rn-cat__txt{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* dropdown */
.rn-cats__drop{
  display:none;
  position:absolute;
  left: 0;
  top: calc(100% + 10px);
  width: min(520px, 92vw);
  padding: 12px;
  border-radius: 18px;
  background:
    radial-gradient(500px 220px at 15% 0%, rgba(52,224,122,.14), transparent 60%),
    linear-gradient(180deg, rgba(14,20,17,.98), rgba(8,11,10,.98));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 80px rgba(0,0,0,.60);
  z-index: 999; /* важно */
}
.rn-cats__drop.is-open{ display:block; }

/* ВАЖНО: когда nav переехал внутрь drop — принудительно grid */
.rn-cats__drop .rn-cats__nav{
  display:grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
@media (max-width:520px){
  .rn-cats__drop .rn-cats__nav{ grid-template-columns: 1fr !important; }
}

/* =========================
   SLOTS BLOCK (Rino theme)
   ========================= */

.slotsBlock{
  padding: 14px 0 8px;
}

.slotsBlock__container{
  /* совместимо с твоим rn-container */
}

.slotsBlock__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.slotsBlock__left{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

.slotsBlock__badge{
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: .95;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
}

.slotsBlock__title{
  font-size: 28px;
  font-weight: 950;
  letter-spacing: .2px;
  color: rgba(234,244,239,.96);
  white-space: nowrap;
}

.slotsBlock__more{
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 900;
  font-size: 13px;
  color: rgba(234,244,239,.86);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.slotsBlock__more:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(52,224,122,.22);
}
.slotsBlock__more:active{ transform: translateY(0); }

/* grid */
.slotsGrid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

/* card */
.slotCard{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 26px rgba(0,0,0,.30);
  transform: translateZ(0);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.slotCard:hover{
  transform: translateY(-2px);
  border-color: rgba(52,224,122,.22);
  box-shadow: 0 20px 44px rgba(0,0,0,.42), 0 0 0 1px rgba(52,224,122,.10);
}

.slotCard__img{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
  transition: filter .22s ease, transform .22s ease;
}

/* hover overlay */
.slotCard__hover{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  opacity: 0;
  background: rgba(6, 10, 9, .10);
  transition: opacity .18s ease, background .18s ease;
}

.slotCard__hover::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(520px 260px at 50% 20%, rgba(52,224,122,.18), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
  opacity: 0;
  transition: opacity .18s ease;
}

.slotCard__actions{
  position: relative;
  display:flex;
  gap: 10px;
  transform: translateY(10px);
  transition: transform .18s ease;
}

.slotCard:hover .slotCard__img{
  filter: blur(2.2px) brightness(.70);
  transform: scale(1.04);
}
.slotCard:hover .slotCard__hover{
  opacity: 1;
  background: rgba(6, 10, 9, .18);
}
.slotCard:hover .slotCard__hover::before{ opacity: 1; }
.slotCard:hover .slotCard__actions{ transform: translateY(0); }

/* buttons */
.slotBtn{
  text-decoration:none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 13px;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(234,244,239,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, filter .16s ease;
}

.slotBtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(52,224,122,.22);
  box-shadow: 0 0 0 1px rgba(52,224,122,.12), 0 14px 28px rgba(0,0,0,.30);
}
.slotBtn:active{ transform: translateY(0) scale(.99); }

.slotBtn--play{
  color: #061d12;
  border-color: rgba(52,224,122,.55);
  background: linear-gradient(180deg, var(--green), var(--green2));
  box-shadow: 0 16px 36px rgba(52,224,122,.20);
}
.slotBtn--play:hover{ filter: brightness(1.06); }

.slotBtn--demo{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

/* keyboard focus */
.slotBtn:focus-visible,
.slotsBlock__more:focus-visible{
  outline: 2px solid rgba(52,224,122,.55);
  outline-offset: 2px;
}

/* responsive */
@media (max-width: 1100px){
  .slotsGrid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .slotsBlock__title{ font-size: 24px; }
}

@media (max-width: 900px){
  .slotsGrid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .slotsGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .slotsBlock__title{ font-size: 20px; }
  .slotsBlock__badge{ width: 28px; height: 28px; }
  .slotsBlock__more{ display:none; }
}

/* =========================
   FOOTER (Rino)
   ========================= */

.rn-footer{
  margin-top: 26px;
  background: rgba(8, 11, 10, .92);
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative;
}

.rn-footer::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  background:
    radial-gradient(900px 360px at 20% 0%, rgba(52,224,122,.10), transparent 55%),
    radial-gradient(700px 320px at 85% 25%, rgba(70,180,255,.06), transparent 60%);
  opacity: .9;
}

.rn-footer__container{
  position: relative;
  padding: 34px 16px 18px;
}

.rn-footer__top{
  display:grid;
  grid-template-columns: 260px 1fr 1fr 420px;
  gap: 28px;
  align-items: start;
}

/* left */
.rn-footer__logo{
  display:inline-flex;
  text-decoration:none;
  margin-bottom: 16px;
}
.rn-footer__logo img{
  height: 42px;
  width: auto;
  display:block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}

.rn-footer__join{
  margin: 0 0 14px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  color: rgba(234,244,239,.84);
}

.rn-footer__tg{
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  text-decoration:none;
  background: rgba(255, 204, 0, .10);
  border: 2px solid rgba(255, 204, 0, .70);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
.rn-footer__tg:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(0,0,0,.32);
  filter: brightness(1.03);
}
.rn-footer__tg:active{ transform: translateY(0) scale(.99); }

.rn-footer__tg-ico{
  font-size: 22px;
  line-height: 1;
  color: #ffd84a;
  text-shadow: 0 0 18px rgba(255, 204, 0, .25);
}

/* links */
.rn-footer__list{
  margin: 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 12px;
}

.rn-footer__link{
  text-decoration:none;
  font-weight: 800;
  font-size: 15px;
  color: rgba(234,244,239,.78);
  transition: transform .16s ease, color .16s ease, text-shadow .16s ease;
}
.rn-footer__link:hover{
  color: rgba(234,244,239,.96);
  transform: translateX(2px);
  text-shadow: 0 0 18px rgba(52,224,122,.18);
}

/* right */
.rn-footer__right{
  display:grid;
  gap: 14px;
  justify-items: start;
}

.rn-footer__bot{
  width: 100%;
  max-width: 420px;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration:none;
  background:
    radial-gradient(280px 120px at 20% 20%, rgba(52,224,122,.22), transparent 70%),
    linear-gradient(180deg, rgba(14,20,17,.92), rgba(8,11,10,.92));
  border: 1px solid rgba(52,224,122,.20);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.rn-footer__bot:hover{
  transform: translateY(-2px);
  border-color: rgba(52,224,122,.30);
  box-shadow: 0 24px 60px rgba(0,0,0,.34);
}
.rn-footer__bot:active{ transform: translateY(0) scale(.99); }

.rn-footer__bot-img{
  width: 54px;
  height: 40px;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 auto;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.08);
}

.rn-footer__bot-txt{ flex: 1 1 auto; min-width: 0; }
.rn-footer__bot-t1{
  font-weight: 800;
  font-size: 14px;
  color: rgba(234,244,239,.86);
  line-height: 1.05;
}
.rn-footer__bot-t2{
  font-weight: 950;
  font-size: 14px;
  color: rgba(234,244,239,.96);
  line-height: 1.05;
  letter-spacing: .2px;
}

.rn-footer__bot-ico{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(234,244,239,.92);
  flex: 0 0 auto;
}

.rn-footer__copy{
  font-weight: 800;
  font-size: 15px;
  color: rgba(234,244,239,.82);
  display:grid;
  gap: 6px;
}

/* legal */
.rn-footer__legal{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(234,244,239,.70);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1100px){
  .rn-footer__top{
    grid-template-columns: 240px 1fr 1fr;
  }
  .rn-footer__right{
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 820px){
  .rn-footer__top{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* 2 колонки ссылок как на норм мобиле */
  .rn-footer__links .rn-footer__list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
  }

  .rn-footer__bot{
    max-width: 100%;
  }
}

@media (max-width: 460px){
  .rn-footer__links .rn-footer__list{
    grid-template-columns: 1fr;
  }

  .rn-footer__logo img{ height: 38px; }
  .rn-footer__join{ font-size: 15px; }
  .rn-footer__copy{ font-size: 14px; }
}

/* =========================
   CONTENT BLOCK (Rino)
   Only inside .rn-content
   ========================= */

.rn-content{
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 16px 44px;
  color: rgba(234,244,239,.86);
}

/* vertical rhythm */
.rn-content > *{
  margin: 0 0 14px;
}

/* headings */
.rn-content h1,
.rn-content h2,
.rn-content h3{
  color: rgba(234,244,239,.96);
  letter-spacing: .2px;
}

.rn-content h1{
  font-size: 34px;
  font-weight: 950;
  line-height: 1.12;
  margin-top: 6px;
  margin-bottom: 12px;
}

.rn-content h2{
  font-size: 24px;
  font-weight: 900;
  margin-top: 18px;
  margin-bottom: 10px;
}

.rn-content h3{
  font-size: 18px;
  font-weight: 900;
  margin-top: 16px;
  margin-bottom: 8px;
}

/* text */
.rn-content p{
  font-size: 16px;
  line-height: 1.65;
  color: rgba(234,244,239,.82);
}

.rn-content strong{
  color: rgba(234,244,239,.96);
  font-weight: 900;
}

.rn-content em{
  color: rgba(210, 255, 232, .92);
  font-style: italic;
}

/* lists */
.rn-content ul,
.rn-content ol{
  padding-left: 22px;
  color: rgba(234,244,239,.84);
}

.rn-content li{
  margin: 8px 0;
  line-height: 1.6;
}

/* images */
.rn-content img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

/* blockquote */
.rn-content blockquote{
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background:
    radial-gradient(600px 220px at 15% 30%, rgba(52,224,122,.10), transparent 60%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  color: rgba(234,244,239,.88);
  font-weight: 700;
  line-height: 1.6;
}

/* tables with safe horizontal scroll */
.rn-content table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);

  /* главное: не ломаем верстку */
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rn-content thead th{
  width: 1%;
  text-align: left;
  font-weight: 950;
  font-size: 13px;
  letter-spacing: .2px;
  padding: 12px 12px;
  color: rgba(234,244,239,.92);
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.10);
  white-space: nowrap;
}

.rn-content tbody td{
  padding: 12px 12px;
  font-size: 14px;
  color: rgba(234,244,239,.82);
  border-bottom: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
}

.rn-content tbody tr:hover td{
  background: rgba(255,255,255,.04);
}

.rn-content tbody tr:last-child td{
  border-bottom: 0;
}

/* make scroll hint nicer (optional) */
.rn-content table::-webkit-scrollbar{
  height: 10px;
}
.rn-content table::-webkit-scrollbar-track{
  background: rgba(255,255,255,.04);
  border-radius: 999px;
}
.rn-content table::-webkit-scrollbar-thumb{
  background: rgba(52,224,122,.22);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
}

/* responsive */
@media (max-width: 640px){
  .rn-content{
    padding: 16px 16px 34px;
  }

  .rn-content h1{ font-size: 24px; }
  .rn-content h2{ font-size: 20px; }
  .rn-content p{ font-size: 15px; }

  .rn-content thead th{ font-size: 12px; }
  .rn-content tbody td{ font-size: 13px; }
}
