@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

:root {
  --curent-size: 1920;

  --f-font: "Philosopher", serif;
  --s-font: "Montserrat Alternates", serif;
}

body {
  background: #000;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
}

.container {
  width: calc((1600 / var(--curent-size)) * 100vw);
  margin: 0 auto;
}

.header-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc((10 / var(--curent-size)) * 100vw) 0;
}

.header-logo {
  display: flex;
}

.header-logo img {
  width: calc((200 / var(--curent-size)) * 100vw);
}

.header-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: calc((20 / var(--curent-size)) * 100vw);
}

.header-menu li a {
  color: #fff;
  text-decoration: none;
  font-family: var(--f-font);
  font-weight: 300;
  font-size: calc((22 / var(--curent-size)) * 100vw);
}

#hero {
  width: 100%;
  height: calc((900 / var(--curent-size)) * 100vw);
  padding-top: calc((140 / var(--curent-size)) * 100vw);
  position: relative;
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgb(0 0 0 / 0%) 0%,
    rgb(0 0 0 / 30%) 35%,
    rgb(0 0 0 / 82%) 75%,
    #000 100%
  );
}

#hero .container {
  height: 100%;
}

#hero {
  background: #000 url("../img/rubin-silk.png") center bottom / cover no-repeat;
}

.hero-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  height: 100%;
  justify-content: space-between;
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  pointer-events: none;
  left: 50%;
  top: calc(48% + 14.5vw);
  width: 28vw;
  height: 3.5vw;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(
      ellipse 39% 24% at 50% 48%,
      rgb(0 0 0 / 96%) 35%,
      transparent 100%
    ),
    radial-gradient(
      ellipse closest-side,
      rgb(0 0 0 / 80%) 28%,
      transparent 100%
    );
}

.hero-wrapper > h1 {
  color: #d75278;
  font-family: "Cormorant Garamond", serif;
  font-size: calc((100 / var(--curent-size)) * 100vw);
  display: flex;
  align-items: center;
  gap: calc((320 / var(--curent-size)) * 100vw);
}

.hero-img {
  width: calc((500 / var(--curent-size)) * 100vw);
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rubin-title {
  margin-top: calc((80 / var(--curent-size)) * 100vw);
}

.hero-btns {
  display: flex;
  align-items: flex-start;
  width: 100%;
  justify-content: center;
  gap: calc((600 / var(--curent-size)) * 100vw);
  margin-bottom: calc((30 / var(--curent-size)) * 100vw);
}

.hero-wrapper > h2 {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: calc((140 / var(--curent-size)) * 100vw);
  line-height: 1;
  background-image: linear-gradient(
    180deg,
    #ffe0c022 0%,
    #e0a080 24%,
    #a06040 48%,
    #f0c0a0 65%,
    #c0806023 82%,
    #80492f28 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-dop-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  width: 100%;
}

.hero-dop-text p {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((18 / var(--curent-size)) * 100vw);
  font-weight: 300;
}

.header-wrapper {
  position: relative;
}
.header-links {
  display: flex;
  align-items: center;
  gap: clamp(
    calc((6 / var(--curent-size)) * 100vw),
    0.7vw,
    calc((14 / var(--curent-size)) * 100vw)
  );
  color: #f1cfad;
  font-family: var(--f-font);
}
.header-links [hidden] {
  display: none;
}
.club-hours {
  color: #ffffff;
  font: 600 calc((12 / var(--curent-size)) * 100vw)/1.2 system-ui;
  letter-spacing: 0.08em;
}
.club-number {
  color: #f6dfcd;
  white-space: nowrap;
}
.club-call,
.club-toggle,
.club-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: calc((40 / var(--curent-size)) * 100vw);
  border: calc((1 / var(--curent-size)) * 100vw) solid #955e52;
  border-radius: calc((12 / var(--curent-size)) * 100vw);
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}
.club-call {
  padding: 0 calc((15 / var(--curent-size)) * 100vw);
  background: linear-gradient(145deg, #a51c42, #640c2a);
}
.club-toggle,
.club-burger {
  width: calc((40 / var(--curent-size)) * 100vw);
  background: #21141f;
}
.club-burger {
  display: none;
}
.club-panel {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: calc((8 / var(--curent-size)) * 100vw);
  width: calc((320 / var(--curent-size)) * 100vw);
  border: calc((1 / var(--curent-size)) * 100vw) solid #85092d;
  border-radius: calc((14 / var(--curent-size)) * 100vw);
  background: #191019;
  color: #ffffff;
  box-shadow: 0 calc((14 / var(--curent-size)) * 100vw)
    calc((30 / var(--curent-size)) * 100vw) #0009;
}
.club-panel a,
.club-empty {
  display: block;
  color: inherit;
  padding: calc((10 / var(--curent-size)) * 100vw)
    calc((12 / var(--curent-size)) * 100vw);
}
.club-panel a:hover {
  background: #422131;
  border-radius: calc((8 / var(--curent-size)) * 100vw);
}
.header-links :focus-visible {
  outline: calc((2 / var(--curent-size)) * 100vw) solid #85092d;
  outline-offset: calc((2 / var(--curent-size)) * 100vw);
}
@media (max-width: 1300px) {
  .club-number {
    display: none;
  }
}
@media (max-width: 900px) {
  .header-menu {
    display: none;
  }
  .club-burger {
    display: inline-flex;
  }
  .header-menu.is-open {
    display: grid;
    position: absolute;
    top: 100%;
    right: 0;
    padding: calc((12 / var(--curent-size)) * 100vw)
      calc((22 / var(--curent-size)) * 100vw);
    gap: 0;
    background: #191019;
    border: calc((1 / var(--curent-size)) * 100vw) solid #895848;
    border-radius: calc((14 / var(--curent-size)) * 100vw);
  }
  .header-menu.is-open a {
    display: block;
    padding: calc((10 / var(--curent-size)) * 100vw) 0;
    font-size: calc((16 / var(--curent-size)) * 100vw);
  }
  .header-wrapper {
    padding: calc((8 / var(--curent-size)) * 100vw) 0;
  }
  .header-logo img {
    width: clamp(
      calc((72 / var(--curent-size)) * 100vw),
      17vw,
      calc((145 / var(--curent-size)) * 100vw)
    );
  }
}
:root {
  --rubin-copper: linear-gradient(
    180deg,
    #f9bf92 0%,
    #f1b693 18%,
    #eca77f 38%,
    #e0946a 58%,
    #d08258 80%,
    #ce7d51 100%
  );
}

#hero .hero-wrapper > h1.rubin-title,
#hero .hero-wrapper > h2 {
  color: #e0946a;
  background: none;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  #hero .hero-wrapper > h1.rubin-title span,
  #hero .hero-wrapper > h2 {
    background-image: var(--rubin-copper);
    background-size: 100% 1cap;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #d08258;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.header-links {
  display: flex;
  align-items: center;
  gap: 0;

  padding: 0 calc((8 / var(--curent-size)) * 100vw);
  background: transparent;
  border: calc((1.5 / var(--curent-size)) * 100vw) solid #e92c58;
  box-shadow: 0 0 calc((12 / var(--curent-size)) * 100vw) rgb(208 18 65 / 32%);
  border-radius: calc((20 / var(--curent-size)) * 100vw);
}

.header-links.btn {
  height: fit-content;
  width: fit-content;
  margin: 0;
}

.header-links .club-hours {
  padding: 0 calc((9 / var(--curent-size)) * 100vw);
  font: inherit;
  color: #ffffff;
}
.header-links .club-number {
  display: none;
}
.header-links .club-call,
.header-links .club-toggle,
.header-links .club-burger {
  min-height: calc((42 / var(--curent-size)) * 100vw);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
}
.header-links .club-call {
  gap: calc((7 / var(--curent-size)) * 100vw);
  padding: 0 calc((12 / var(--curent-size)) * 100vw) 0
    calc((7 / var(--curent-size)) * 100vw);
}
.header-links .club-toggle {
  position: relative;
}
.header-links .club-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  height: calc((18 / var(--curent-size)) * 100vw);
  border-left: calc((1 / var(--curent-size)) * 100vw) solid #85092d;
}

.header-links :is(.club-call, .club-toggle, .club-burger):hover {
  color: #d75278;
}
.header-links [hidden] {
  display: none;
}
@media (max-width: 480px) {
  .header-links {
    padding: 0 calc((3 / var(--curent-size)) * 100vw);
  }
  .header-links .club-hours {
    padding: 0 calc((5 / var(--curent-size)) * 100vw);
  }
  .header-links .club-call {
    padding: 0 calc((5 / var(--curent-size)) * 100vw);
  }
}

.club-icon {
  width: calc((30 / var(--curent-size)) * 100vw);
  height: calc((30 / var(--curent-size)) * 100vw);
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.club-panel a {
  display: flex;
  align-items: center;
  gap: calc((12 / var(--curent-size)) * 100vw);
}
.club-panel .club-icon {
  color: #a60b37;
}

#stocks {
  width: 100%;
  padding: calc((90 / var(--curent-size)) * 100vw) 0;
  overflow: hidden;
  position: relative;
}

.right-rubin {
  position: absolute;
  top: 0;
  right: 0;
  width: calc((260 / var(--curent-size)) * 100vw);
  height: auto;
}

.left-rubin {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc((260 / var(--curent-size)) * 100vw);
  height: auto;
}

.stocks-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc((40 / var(--curent-size)) * 100vw);
}

.head-data {
  display: flex;
  align-items: flex-end;
  width: 100%;
  justify-content: space-between;
}

.title {
  color: #ffff;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  font-size: calc((70 / var(--curent-size)) * 100vw);
  margin: 0 auto;
}

.sub-title {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((22 / var(--curent-size)) * 100vw);
  font-weight: 300;
}

.stock-slider {
  width: 100%;
  overflow: visible !important;
}
.stock-items {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: calc((30 / var(--curent-size)) * 100vw);
  flex-wrap: wrap;
}

.stock-items .stock-slide {
  width: calc((377 / var(--curent-size)) * 100vw);
}

.stock-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: calc((500 / var(--curent-size)) * 100vw);
  background: transparent;

  box-shadow: 0 0 calc((12 / var(--curent-size)) * 100vw)
    rgba(208, 18, 66, 0.982);
  border-radius: calc((20 / var(--curent-size)) * 100vw);
  overflow: hidden;
}

.stock-slide:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
}

.stock-slide.ogg:after {
  content: none;
}

.crazy-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: calc((40 / var(--curent-size)) * 100vw);
}

.stock-slide > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#crazy-menu {
  background-image: url(/assets/img/mast.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding-top: calc((120 / var(--curent-size)) * 100vw);
}

.crazy-items {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
  gap: calc((60 / var(--curent-size)) * 100vw);
}

.crazy-item {
  display: flex;
  align-items: center;
  gap: calc((30 / var(--curent-size)) * 100vw);
  padding: calc((20 / var(--curent-size)) * 100vw);
  background: #0000007b;
  width: 48%;
  border-radius: calc((12 / var(--curent-size)) * 100vw);
  border: calc((1 / var(--curent-size)) * 100vw) solid #ffffff29;
}

.crazy-price {
  position: relative;
  width: calc((100 / var(--curent-size)) * 100vw);
  height: calc((100 / var(--curent-size)) * 100vw);
  flex-shrink: 0;
  margin-left: auto;
}

.crazy-item > p {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((22 / var(--curent-size)) * 100vw);
  font-weight: 400;
}

.crazy-price span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-font);
  color: #fff;
  font-size: calc((22 / var(--curent-size)) * 100vw);
  font-weight: 600;
  width: 100%;
  text-align: center;
}

.crazy-price img {
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.crazy-item .btn {
  margin: 0;
  width: calc((200 / var(--curent-size)) * 100vw);
  flex-shrink: 0;
  cursor: pointer;
}

.stock-slide-data {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  justify-content: space-between;
  padding: calc((16 / var(--curent-size)) * 100vw);
}

.slide-data-head {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.slide-data-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc((6 / var(--curent-size)) * 100vw);
  position: relative;
  z-index: 1;
}

.slide-data-text p {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((20 / var(--curent-size)) * 100vw);
  font-weight: 300;
}

.slide-data-text span {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((18 / var(--curent-size)) * 100vw);
  font-weight: 300;
  opacity: 0.7;
}

.slide-data-head svg {
  fill: #ffffff00;
  stroke: #fff;
  width: calc((35 / var(--curent-size)) * 100vw);
  height: calc((35 / var(--curent-size)) * 100vw);
  margin-left: auto;
}

.slide-data-head p {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((18 / var(--curent-size)) * 100vw);
  padding: calc((6 / var(--curent-size)) * 100vw)
    calc((12 / var(--curent-size)) * 100vw);
  border-radius: calc((12 / var(--curent-size)) * 100vw);
  background:
    radial-gradient(ellipse at 20% 0%, #e445643f, transparent 65%),
    linear-gradient(150deg, #a60b37 0%, #85092d 55%, #56091f 100%);
}

#hero {
  background:
    linear-gradient(to top, #000, transparent 9%),
    #180305 url("../img/rubin-gems.webp") center bottom / cover no-repeat;
}
.btn {
  position: relative;
  width: calc((320 / var(--curent-size)) * 100vw);
  height: calc((60 / var(--curent-size)) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((20 / var(--curent-size)) * 100vw);
  border-radius: calc((20 / var(--curent-size)) * 100vw);
}
.btn::after,
.ruby-game__face::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  top: 0;
  left: 12%;
  width: 20%;
  height: calc((1 / var(--curent-size)) * 100vw);
  background: linear-gradient(90deg, transparent, #ffe1d6, transparent);
  filter: none;
  transition: transform 0.45s ease;
}
.btn:is(:hover, :focus-visible)::after {
  transform: translateX(170%);
}
.btn:focus-visible {
  outline: calc((2 / var(--curent-size)) * 100vw) solid #ffe2c6;
  outline-offset: calc((4 / var(--curent-size)) * 100vw);
}

.accent-btn {
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 auto;
}
.btn,
.btn.accent-btn,
.ruby-game__face {
  border: calc((1 / var(--curent-size)) * 100vw) solid #741128;
  border-color: #ce5268 #84142e #4b091a #a22c43;

  box-shadow:
    inset 0 calc((1 / var(--curent-size)) * 100vw) 0 rgb(255 215 207 / 32%),
    inset 0 calc((-2 / var(--curent-size)) * 100vw)
      calc((2 / var(--curent-size)) * 100vw) rgb(49 0 15 / 55%),
    0 calc((2 / var(--curent-size)) * 100vw) 0 #650d25,
    0 calc((3 / var(--curent-size)) * 100vw) 0 #380713,
    0 calc((5 / var(--curent-size)) * 100vw)
      calc((6 / var(--curent-size)) * 100vw)
      calc((-2 / var(--curent-size)) * 100vw) rgb(0 0 0 / 80%),
    0 calc((3 / var(--curent-size)) * 100vw)
      calc((12 / var(--curent-size)) * 100vw) rgb(177 12 53 / 22%);
}
.btn,
.btn.accent-btn {
  background-color: #790c29;
  background-image:
    linear-gradient(
      180deg,
      rgb(255 206 197 / 8%),
      transparent 24%,
      transparent 70%,
      rgb(35 0 11 / 32%)
    ),
    url("../img/btn.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  color: #fff3eb;
  text-shadow: 0 calc((1 / var(--curent-size)) * 100vw)
    calc((2 / var(--curent-size)) * 100vw) rgb(34 0 10 / 80%);
  transition: transform 160ms ease;
  margin-top: calc((40 / var(--curent-size)) * 100vw);
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(calc((-1 / var(--curent-size)) * 100vw));
  }
}

.btn:active,
.btn.accent-btn:active {
  transform: translateY(calc((2 / var(--curent-size)) * 100vw));
  box-shadow:
    inset 0 calc((1 / var(--curent-size)) * 100vw)
      calc((3 / var(--curent-size)) * 100vw) rgb(45 0 13 / 45%),
    0 calc((1 / var(--curent-size)) * 100vw) 0 #520b1e,
    0 calc((2 / var(--curent-size)) * 100vw)
      calc((4 / var(--curent-size)) * 100vw) rgb(0 0 0 / 65%);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn::after {
    transition: none;
  }
}
#masters {
  overflow: hidden;
  margin-top: calc((120 / var(--curent-size)) * 100vw);
  background-image: url(../img/mast.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.masters-slider {
  width: 100%;
  padding-top: calc((100 / var(--curent-size)) * 100vw) !important;
  overflow: visible !important;
}

.master-slide {
  width: 100%;
}

.master-img {
  width: 100%;
  height: calc((400 / var(--curent-size)) * 100vw);
  position: relative;
  background-image: url(../img/card-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  border: calc((1 / var(--curent-size)) * 100vw) solid #a60b37;
  border-radius: calc((12 / var(--curent-size)) * 100vw);
}

.master-img p {
  position: absolute;
  bottom: calc((30 / var(--curent-size)) * 100vw);
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 2;
  color: #ffff;
  font-family: var(--f-font);
  text-transform: uppercase;
  font-size: calc((34 / var(--curent-size)) * 100vw);
  background: #000;
  border: calc((1.5 / var(--curent-size)) * 100vw) solid #e92c58;
  box-shadow: 0 0 calc((12 / var(--curent-size)) * 100vw) rgb(208 18 65 / 32%);
  color: #fff0df;
  width: 90%;
  text-align: center;
  padding: calc((4 / var(--curent-size)) * 100vw) 0;
  border-radius: calc((12 / var(--curent-size)) * 100vw);
}

.master-img img,
.master-img video {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: 0.3s ease;
  pointer-events: none;
}

.master-slide:hover img {
  transition: 0.3s ease;
  transform: translate(0, calc((-10 / var(--curent-size)) * 100vw));
}

.master-data {
  margin-top: calc((20 / var(--curent-size)) * 100vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc((20 / var(--curent-size)) * 100vw);
}

.master-data ul {
  display: flex;
  align-items: center;
  gap: calc((10 / var(--curent-size)) * 100vw);
  list-style: none;
  justify-content: space-between;
  width: 100%;
}

.master-data ul li {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((17 / var(--curent-size)) * 100vw);
  font-weight: 300;
}

.master-data-btns {
  display: flex;
  align-items: center;
  width: 100%;
  gap: calc((10 / var(--curent-size)) * 100vw);
}

.master-data-btns a {
  position: relative;
  background: transparent;
  border: calc((1.5 / var(--curent-size)) * 100vw) solid #e92c58;
  box-shadow: 0 0 calc((12 / var(--curent-size)) * 100vw) rgb(208 18 65 / 32%);
  color: #fff0df;
  width: 100%;
  height: calc((40 / var(--curent-size)) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../img/btn.png);
  background-repeat: no-repeat;
  background-size: cover;
  font-family: var(--s-font);
  font-size: calc((20 / var(--curent-size)) * 100vw);
  border-radius: calc((12 / var(--curent-size)) * 100vw);
}

.master-data-btns a::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: calc((-1 / var(--curent-size)) * 100vw);
  left: 14%;
  width: 26%;
  height: calc((2 / var(--curent-size)) * 100vw);
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    transparent,
    #ff507b,
    #ffe7ed,
    #ff507b,
    transparent
  );
  filter: drop-shadow(0 0 calc((3 / var(--curent-size)) * 100vw) #ff285e);
}

#programs {
  overflow: hidden;
  margin-top: calc((120 / var(--curent-size)) * 100vw);
}

#serf {
  overflow: hidden;
  margin-top: calc((120 / var(--curent-size)) * 100vw);
  background-image: url(../img/qwe.webp);
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: calc((60 / var(--curent-size)) * 100vw);
}

.serf-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.serf-wrapper > img {
  width: calc((800 / var(--curent-size)) * 100vw);
}

.serf-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.serf-text > img {
  display: none;
}

.serf-text > p {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((22 / var(--curent-size)) * 100vw);
  font-weight: 400;
  margin: calc((30 / var(--curent-size)) * 100vw) 0
    calc((40 / var(--curent-size)) * 100vw) 0;
}

.serf-text > ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: calc((20 / var(--curent-size)) * 100vw);
}

.serf-text > ul li {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((22 / var(--curent-size)) * 100vw);
  font-weight: 400;
  padding: calc((10 / var(--curent-size)) * 100vw)
    calc((20 / var(--curent-size)) * 100vw);
  border-radius: calc((20 / var(--curent-size)) * 100vw);
  background: #05050e;
  border: calc((1.5 / var(--curent-size)) * 100vw) solid #e92c58;
  box-shadow: 0 0 calc((12 / var(--curent-size)) * 100vw) rgb(208 18 65 / 32%);
  display: flex;
  align-items: center;
  gap: calc((10 / var(--curent-size)) * 100vw);
}

.serf-text > a {
  margin-top: calc((30 / var(--curent-size)) * 100vw);
}

#faq {
  padding-top: calc((120 / var(--curent-size)) * 100vw);
}

.faq-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  gap: calc((20 / var(--curent-size)) * 100vw);
  width: 100%;
}

.faq-item {
  border-radius: calc((0 / var(--curent-size)) * 100vw);
  padding: calc((20 / var(--curent-size)) * 100vw)
    calc((40 / var(--curent-size)) * 100vw);
  cursor: pointer;
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.3s ease;
  width: 100%;
  border-radius: calc((10 / var(--curent-size)) * 100vw);
  padding: calc((2 / var(--curent-size)) * 100vw);
  border: calc((1.5 / var(--curent-size)) * 100vw) solid #e92c58;
  box-shadow: 0 0 calc((12 / var(--curent-size)) * 100vw) rgb(208 18 65 / 32%);
  background: transparent;
  position: relative;
}

.faq-item::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: calc((-1 / var(--curent-size)) * 100vw);
  left: 14%;
  width: 26%;
  height: calc((2 / var(--curent-size)) * 100vw);
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    transparent,
    #ff507b,
    #ffe7ed,
    #ff507b,
    transparent
  );
  filter: drop-shadow(0 0 calc((3 / var(--curent-size)) * 100vw) #ff285e);
  transition: transform 0.45s ease;
}
.faq-item:is(:hover, :focus-visible)::after {
  transform: translateX(170%);
}
.faq-item:focus-visible {
  outline: calc((2 / var(--curent-size)) * 100vw) solid #ffe2c6;
  outline-offset: calc((4 / var(--curent-size)) * 100vw);
}

.faq-item-head {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  gap: calc((34 / var(--curent-size)) * 100vw);
  padding: 0 calc((20 / var(--curent-size)) * 100vw);
  border-radius: calc((8 / var(--curent-size)) * 100vw);
}

.faq-item-head p {
  font-weight: 500;
  font-size: calc((24 / var(--curent-size)) * 100vw);
  line-height: 100%;
  color: #fff;
  font-family: var(--s-font);
}

.faq-item-head span {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc((60 / var(--curent-size)) * 100vw);
  height: calc((60 / var(--curent-size)) * 100vw);
  border-radius: 50%;
  border: calc((0.5 / var(--curent-size)) * 100vw) solid var(--belyy);
}

.faq-item-head span svg {
  width: calc((24 / var(--curent-size)) * 100vw);
  height: calc((24 / var(--curent-size)) * 100vw);
  transition: 0.3s ease;
  transform: rotate(90deg);
}

.answer {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  margin-top: 0;
  font-family: var(--s-font);
  font-weight: 400;
  font-size: calc((20 / var(--curent-size)) * 100vw);
  color: #fff;
  border-radius: calc((8 / var(--curent-size)) * 100vw);
  padding: 0 calc((20 / var(--curent-size)) * 100vw);
  transition: 0.3s ease;
}

.faq-item.active {
  grid-template-rows: auto 1fr;
}

.faq-item.active .answer {
  visibility: visible;
  transition: 0.3s linear;
  border-radius: 0 0 calc((8 / var(--curent-size)) * 100vw)
    calc((8 / var(--curent-size)) * 100vw);
  padding: 0 calc((20 / var(--curent-size)) * 100vw)
    calc((20 / var(--curent-size)) * 100vw)
    calc((20 / var(--curent-size)) * 100vw);
}

.faq-item.active .faq-item-head {
  border-radius: calc((8 / var(--curent-size)) * 100vw)
    calc((8 / var(--curent-size)) * 100vw) 0 0;
}

.faq-item.active .faq-item-head span svg {
  transform: rotate(-90deg);
  transition: 0.3s ease;
}

.faq-wrapper {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: calc((60 / var(--curent-size)) * 100vw);
}

.faq-wrapper-text {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/**
 * Swiper 12.0.2
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2025 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: September 18, 2025
 */
.swiper {
  display: block;
  list-style: none;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  padding: 0;
  position: relative;
  z-index: 1;
}
.swiper-wrapper {
  box-sizing: initial;
  display: flex;
  height: 100%;
  position: relative;
  transition-property: transform;
  transition-timing-function: var(
    --swiper-wrapper-transition-timing-function,
    initial
  );
  width: 100%;
  z-index: 1;
}
.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translateZ(0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-slide {
  display: block;
  flex-shrink: 0;
  height: 100%;
  position: relative;
  transition-property: transform;
  width: 100%;
}
.swiper-backface-hidden .swiper-slide {
  backface-visibility: hidden;
  transform: translateZ(0);
}

.ruby-game {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: calc((80 / var(--curent-size)) * 100vw) 5vw;
  color: #fff1e3;
  background:
    linear-gradient(to bottom, #000, transparent 23%, transparent 72%, #000),
    radial-gradient(ellipse at 50% 62%, #6b102b66, #180009bb 62%),
    url("../img/rubin-silk.png") center bottom / cover;
  font-family: var(--s-font);
}
.ruby-game__label {
  color: #ec9f9d;
  font-size: max(
    calc((12 / var(--curent-size)) * 100vw),
    calc((14 / var(--curent-size)) * 100vw)
  );
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ruby-game h2 {
  color: #efbf9f;
}
.ruby-game__intro,
.ruby-game__result span {
  font-size: max(
    calc((16 / var(--curent-size)) * 100vw),
    calc((20 / var(--curent-size)) * 100vw)
  );
}
.ruby-game__stage {
  --card-width: clamp(
    calc((86.4 / var(--curent-size)) * 100vw),
    18vw,
    calc((224 / var(--curent-size)) * 100vw)
  );
  --radius: calc(var(--card-width) * 1.48);
  height: calc(var(--card-width) * 2);
  perspective: calc(var(--radius) * 5);
  display: grid;
  place-items: center;
}
.ruby-game__ring {
  width: var(--card-width);
  aspect-ratio: 4 / 5;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-9deg) rotateY(var(--turn, 0deg));
}
.ruby-game__slot {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(var(--angle)) translateZ(var(--radius));
}
.ruby-game__card {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.65s ease;
}
.ruby-game__card.is-open {
  transform: rotateY(180deg);
}
.ruby-game__face {
  position: absolute;
  inset: 0;
  border-radius: calc((12.8 / var(--curent-size)) * 100vw);
  display: grid;
  place-content: center;
  grid-template-columns: 100%;
  justify-items: center;
  backface-visibility: hidden;
  background: radial-gradient(
    ellipse at 50% 55%,
    #630d29,
    #210813 58%,
    #100509
  );
}
.ruby-game__face img {
  width: 62%;
  filter: drop-shadow(
    0 calc((8 / var(--curent-size)) * 100vw)
      calc((7.2 / var(--curent-size)) * 100vw) #18020a
  );
}

.masters-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc((90 / var(--curent-size)) * 100vw);
}

.masters-items {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: calc((120 / var(--curent-size)) * 100vw)
    calc((30 / var(--curent-size)) * 100vw);
  flex-wrap: wrap;
}

.masters-items .master-slide {
  width: calc((377 / var(--curent-size)) * 100vw);
}

.ruby-game__back {
  transform: rotateY(180deg);
  color: #ffd9bc;
  padding: 10%;
  gap: 0.3em;
  font:
    600
      clamp(
        calc((12.48 / var(--curent-size)) * 100vw),
        1.65vw,
        calc((29.6 / var(--curent-size)) * 100vw)
      )/1.05
      "Cormorant Garamond",
    serif;
}
.ruby-game__back img {
  width: 38%;
}
.ruby-game__result {
  margin-top: calc((40 / var(--curent-size)) * 100vw);

  min-height: 3em;
  margin-bottom: calc((16 / var(--curent-size)) * 100vw);
}
.ruby-game__result strong,
.ruby-game__result span {
  display: block;
}
.ruby-game__result strong {
  color: #ffd1ac;
  font-size: max(calc((18.4 / var(--curent-size)) * 100vw), 1.5vw);
}
.ruby-game__start:disabled {
  cursor: no-drop;
  opacity: 0.3;
}
.ruby-game__start {
  margin: 0 auto;
  gap: 0.65em;
  width: max(
    calc((208 / var(--curent-size)) * 100vw),
    calc((285 / var(--curent-size)) * 100vw)
  );
  height: max(
    calc((44.8 / var(--curent-size)) * 100vw),
    calc((58 / var(--curent-size)) * 100vw)
  );
  font-size: max(
    calc((16 / var(--curent-size)) * 100vw),
    calc((20 / var(--curent-size)) * 100vw)
  );
  cursor: pointer;
}

.single-master-wrapper {
  width: calc((1200 / var(--curent-size)) * 100vw);
  margin: 0 auto;
}

.program-slider {
  width: 100%;
}

.program-slide {
  width: 100%;
  height: calc((550 / var(--curent-size)) * 100vw);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc((20 / var(--curent-size)) * 100vw);
}

.program-img {
  width: 100%;
  height: calc((500 / var(--curent-size)) * 100vw);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: calc((20 / var(--curent-size)) * 100vw);
  overflow: hidden;
  border-radius: calc((12 / var(--curent-size)) * 100vw);
  border: calc((1 / var(--curent-size)) * 100vw) solid #741128;
  border-color: #ce5268 #84142e #4b091a #a22c43;
  box-shadow:
    inset 0 calc((1 / var(--curent-size)) * 100vw) 0 rgb(255 215 207 / 32%),
    inset 0 calc((-2 / var(--curent-size)) * 100vw)
      calc((2 / var(--curent-size)) * 100vw) rgb(49 0 15 / 55%),
    0 calc((2 / var(--curent-size)) * 100vw) 0 #650d25,
    0 calc((3 / var(--curent-size)) * 100vw) 0 #380713,
    0 calc((5 / var(--curent-size)) * 100vw)
      calc((6 / var(--curent-size)) * 100vw)
      calc((-2 / var(--curent-size)) * 100vw) rgb(0 0 0 / 80%),
    0 calc((3 / var(--curent-size)) * 100vw)
      calc((12 / var(--curent-size)) * 100vw) rgb(177 12 53 / 22%);
}

.programs-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc((30 / var(--curent-size)) * 100vw);
  width: 100%;
}

.program-img > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.program-img > p {
  position: relative;
  z-index: 2;
  font-family: var(--f-font);
  text-transform: uppercase;
  font-size: calc((24 / var(--curent-size)) * 100vw);
  background: #000000bf;
  border: calc((1.5 / var(--curent-size)) * 100vw) solid #e92c58;
  box-shadow: 0 0 calc((12 / var(--curent-size)) * 100vw) rgb(208 18 65 / 32%);
  color: #fff0df;
  width: 100%;
  text-align: center;
  padding: calc((4 / var(--curent-size)) * 100vw) 0;
  border-radius: calc((12 / var(--curent-size)) * 100vw);
}

.price-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2;
}

.price-time div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc((10 / var(--curent-size)) * 100vw);
  background: #00000085;
  border: calc((1.5 / var(--curent-size)) * 100vw) solid #e92c58;
  box-shadow: 0 0 calc((12 / var(--curent-size)) * 100vw) rgb(208 18 65 / 32%);
  text-align: center;
  padding: calc((4 / var(--curent-size)) * 100vw);
  border-radius: calc((12 / var(--curent-size)) * 100vw);
}

.price-time div svg {
  width: calc((30 / var(--curent-size)) * 100vw);
  height: calc((30 / var(--curent-size)) * 100vw);
}

.price-time div p {
  font-family: var(--s-font);
  font-size: calc((16 / var(--curent-size)) * 100vw);
  color: #fff;
}

.program-items {
  display: flex;
  align-items: flex-start;
  width: 100%;
  flex-wrap: wrap;
  gap: calc((30 / var(--curent-size)) * 100vw);
}

.program-items .program-slide {
  width: calc((377 / var(--curent-size)) * 100vw);
}

@media (max-width: 700px) {
  .ruby-game {
    --curent-size: 390;
    padding: calc((48 / var(--curent-size)) * 100vw)
      calc((16 / var(--curent-size)) * 100vw);
  }
  .ruby-game__start {
    margin-top: calc((16 / var(--curent-size)) * 100vw);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ruby-game__card {
    transition: none;
  }
}

@media (max-width: 900px) {
  header {
    --curent-size: 900;
  }
  .header-links button,
  .header-links .club-call {
    min-height: calc((44 / var(--curent-size)) * 100vw);
    min-width: calc((44 / var(--curent-size)) * 100vw);
  }
  .club-icon {
    min-width: calc((16 / var(--curent-size)) * 100vw);
    min-height: calc((16 / var(--curent-size)) * 100vw);
  }
  .header-menu.is-open a,
  .club-panel {
    font-size: calc((16 / var(--curent-size)) * 100vw);
  }
}
@media (max-width: 480px) {
  header {
    --curent-size: 390;
  }
}

.swiper .swiper-notification {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  z-index: -1000;
}

@media (max-width: 700px) {
  .ruby-game__stage {
    --card-width: calc((90 / var(--curent-size)) * 100vw);
  }
  .ruby-game h2 {
    font-size: calc((38 / var(--curent-size)) * 100vw);
  }
  .ruby-game__intro,
  .ruby-game__result span {
    font-size: calc((16 / var(--curent-size)) * 100vw);
  }
  .ruby-game__back {
    font-size: calc((14 / var(--curent-size)) * 100vw);
  }
  .ruby-game__start {
    height: calc((52 / var(--curent-size)) * 100vw);
  }
  .ruby-game__start {
    width: calc((225 / var(--curent-size)) * 100vw);
  }
  .ruby-game__start {
    font-size: calc((18 / var(--curent-size)) * 100vw);
  }
}

#contacts {
  margin-top: calc((90 / var(--curent-size)) * 100vw);
}

.contacts-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: calc((60 / var(--curent-size)) * 100vw);
}

.contacts-content {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: calc((60 / var(--curent-size)) * 100vw);
}

.contacts-data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.contacts-data ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  gap: calc((20 / var(--curent-size)) * 100vw);
}

.contacts-data ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contacts-data ul li > span {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((22 / var(--curent-size)) * 100vw);
  font-weight: 400;
  opacity: 0.7;
}

.contacts-data ul li p,
.contacts-data ul li a {
  font-family: var(--f-font);
  color: #fff;
  font-size: calc((28 / var(--curent-size)) * 100vw);
  font-weight: 400;
}

.contacts-data ul li div {
  display: flex;
  align-items: center;
  gap: calc((30 / var(--curent-size)) * 100vw);
}

.contacts-data ul li div a {
  display: flex;
  align-items: center;
  gap: calc((20 / var(--curent-size)) * 100vw);
}

.contacts-data ul li div a svg {
  width: calc((40 / var(--curent-size)) * 100vw);
  height: calc((40 / var(--curent-size)) * 100vw);
}

.contacts-data ul li div a svg {
  stroke: #fff;
}

.contacts-data ul li .btn {
  margin: 0;
}

#map {
  width: 100%;
  height: auto;
  background: #080808;
}

#map ymaps [class*="ymaps-2"][class*="-ground-pane"] {
  filter: grayscale(1) invert(100%);
}
#map ymaps [class*="ymaps-2"][class*="-inner-panes"] {
  background: #181818;
}
.ymaps-2-1-79-map-copyrights-promo,
.ymaps-2-1-79-copyright,
.ymaps-2-1-79-controls__control,
.ymaps-2-1-79-controls__toolbar {
  display: none !important;
}

footer {
  padding: calc((40 / var(--curent-size)) * 100vw) 0;
  background-image: url(/assets/img/mast.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 30%;
  width: 100%;
  height: calc((200 / var(--curent-size)) * 100vw);
  margin-top: calc((90 / var(--curent-size)) * 100vw);
}

.policy-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.policy-wrapper > h1 {
  color: #ffff;
  font-family: var(--s-font);
  font-size: calc((30 / var(--curent-size)) * 100vw);
}

.policy-text {
  font-family: var(--s-font);
  color: #ffff;
  font-size: calc((16 / var(--curent-size)) * 100vw);
}

footer .container {
  height: 100%;
}

.footer-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  position: relative;
  height: 100%;
}

.logo-footer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer-wrapper img {
  width: calc((260 / var(--curent-size)) * 100vw);
}

.footer-wrapper a,
.footer-wrapper p {
  font-family: var(--s-font);
  color: #fff;
  font-size: calc((20 / var(--curent-size)) * 100vw);
  font-weight: 400;
}

/* Мобильная навигация клуба */
.club-shade,
.club-drawer {
  display: none;
}
html.club-nav-open,
.club-nav-open body {
  overflow: hidden;
}
@media (max-width: 900px) {
  header > .container {
    position: relative;
    z-index: 2;
  }
  header.menu-open > .container {
    pointer-events: none;
  }
  header.menu-open .club-burger {
    pointer-events: auto;
  }
  .club-burger svg path {
    transform-origin: center;
    transform-box: view-box;
    transition:
      transform 0.28s ease,
      opacity 0.18s ease;
  }
  .club-burger[aria-expanded="true"] path:first-child {
    transform: rotate(45deg) translateY(25%);
  }
  .club-burger[aria-expanded="true"] path:nth-child(2) {
    opacity: 0;
  }
  .club-burger[aria-expanded="true"] path:last-child {
    transform: rotate(-45deg) translateY(-25%);
  }
  .club-shade,
  .club-drawer {
    position: fixed;
    inset: 0;
    display: block;
    visibility: hidden;
  }
  .club-shade {
    background: #0009;
    opacity: 0;
    transition:
      opacity 0.32s,
      visibility 0s 0.32s;
  }
  .club-drawer {
    left: auto;
    width: min(100%, 36em);
    box-sizing: border-box;
    padding: max(14vh, calc((105 / var(--curent-size)) * 100vw)) 8vw 8vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      linear-gradient(145deg, #100407f5 25%, #21050fce 72%, #16030acd),
      url("../img/rubin-silk.png") center / cover;
    transform: translateX(100%);
    transition:
      transform 0.36s cubic-bezier(0.22, 0.72, 0.16, 1),
      visibility 0s 0.36s;
  }
  .menu-open .club-drawer,
  .menu-open .club-shade {
    visibility: visible;
    transition-delay: 0s;
  }
  .menu-open .club-shade {
    opacity: 1;
  }
  .menu-open .club-drawer {
    transform: translateX(0);
  }
  .club-drawer ul {
    list-style: none;
  }
  .club-drawer a {
    display: block;
    padding: 0.5em 0;
    border-bottom: thin solid #ce526844;
    color: #f6d1b5;
    font:
      500 clamp(1.45em, 5vw, 2.5em)/1.2 "Cormorant Garamond",
      serif;
  }
  .club-drawer a:is(:hover, :focus-visible) {
    color: white;
  }
  main section[id] {
    scroll-margin-top: 12vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .club-burger svg path,
  .club-drawer,
  .club-shade {
    transition: none;
  }
}

.master-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  margin-top: calc((40 / var(--curent-size)) * 100vw);
}
.master-description:only-child {
  grid-column: 1 / -1;
}
.master-gallery,
.master-description {
  min-width: 0;
}

.master-description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.master-description > p {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((22 / var(--curent-size)) * 100vw);
  font-weight: 400;
  margin: 0 0 calc((40 / var(--curent-size)) * 100vw) 0;
}

.master-specs {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.master-specs svg {
  stroke: #fff;
  width: calc((24 / var(--curent-size)) * 100vw);
  height: calc((24 / var(--curent-size)) * 100vw);
}

.master-specs dd {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((22 / var(--curent-size)) * 100vw);
  font-weight: 400;
}

.master-specs p {
  color: #fff;
  font-family: var(--s-font);
  font-size: calc((20 / var(--curent-size)) * 100vw);
  font-weight: 400;
  opacity: 0.5;
}

.master-photos img,
.master-gallery video {
  display: block;
  width: 100%;
  border-radius: 12px;
}

#single-master {
  padding-top: calc((90 / var(--curent-size)) * 100vw);
}

.master-photos img {
  aspect-ratio: 4 / 6;
  object-fit: contain;
  background: #171417;
}
.master-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.master-thumbnails button {
  width: 64px;
  height: 76px;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.master-thumbnails button[aria-pressed="true"] {
  border-color: #bb3755;
}
.master-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.master-photos ~ video {
  margin-top: 16px;
}
.master-description dl > div {
  display: flex;
  gap: 1em;
  justify-content: space-between;
  padding: 0.65em 0;
  border-bottom: 1px solid currentColor;
}
.master-description dl {
  margin: 1em 0;
}
@media (max-width: 767px) {
  .master-profile {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media all and (max-width: 768px) {
  :root {
    --curent-size: 375;
  }

  .container {
    width: calc((355 / var(--curent-size)) * 100vw);
  }

  .header-menu {
    display: none;
  }

  .header-logo img {
    width: calc((120 / var(--curent-size)) * 100vw);
  }

  .club-call p {
    display: none;
  }

  .hero-img {
    width: calc((320 / var(--curent-size)) * 100vw);
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -43%);
  }

  .hero-wrapper > h1 {
    color: #d75278;
    font-family: "Cormorant Garamond", serif;
    font-size: calc((30 / var(--curent-size)) * 100vw);
    display: flex;
    align-items: center;
    gap: calc((10 / var(--curent-size)) * 100vw);
  }

  .program-img > p {
    font-size: calc((24 / var(--curent-size)) * 100vw);
  }

  .program-slide {
    height: calc((450 / var(--curent-size)) * 100vw);
  }

  .price-time div svg {
    width: calc((20 / var(--curent-size)) * 100vw);
    height: calc((20 / var(--curent-size)) * 100vw);
  }

  .price-time div p {
    font-size: calc((14 / var(--curent-size)) * 100vw);
  }
  .hero-btns {
    display: flex;
    align-items: flex-start;
    width: 100%;
    justify-content: center;
    gap: calc((20 / var(--curent-size)) * 100vw);
    margin-bottom: calc((30 / var(--curent-size)) * 100vw);
  }

  #hero {
    height: calc((540 / var(--curent-size)) * 100vw);
    padding-top: calc((80 / var(--curent-size)) * 100vw);
  }

  .rubin-title {
    margin-top: calc((00 / var(--curent-size)) * 100vw);
  }

  .btn {
    width: calc((300 / var(--curent-size)) * 100vw);
    height: calc((40 / var(--curent-size)) * 100vw);
    font-size: calc((14 / var(--curent-size)) * 100vw);
  }

  .hero-wrapper > h2 {
    position: absolute;
    bottom: calc((60 / var(--curent-size)) * 100vw);
    left: 50%;
    transform: translate(-50%, 0);
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    font-size: calc((60 / var(--curent-size)) * 100vw);
    line-height: 1;
    background-image: linear-gradient(
      180deg,
      #ffe0c022 0%,
      #e0a080 24%,
      #a06040 48%,
      #f0c0a0 65%,
      #c0806023 82%,
      #80492f28 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .title {
    font-size: calc((30 / var(--curent-size)) * 100vw);
  }

  .stock-slide {
    height: calc((450 / var(--curent-size)) * 100vw);
    border-radius: calc((12 / var(--curent-size)) * 100vw);
    box-shadow: none;
  }

  .stock-slide-data {
    padding: calc((20 / var(--curent-size)) * 100vw);
  }

  .slide-data-text p {
    font-size: calc((17 / var(--curent-size)) * 100vw);
  }

  .slide-data-text span {
    font-size: calc((16 / var(--curent-size)) * 100vw);
  }

  .btn,
  .btn.accent-btn {
    margin-top: 0;
  }

  .stocks-wrapper {
    gap: calc((20 / var(--curent-size)) * 100vw);
  }

  .right-rubin {
    width: calc((190 / var(--curent-size)) * 100vw);
  }

  .left-rubin {
    width: calc((170 / var(--curent-size)) * 100vw);
  }

  .masters-slider {
    width: 100%;
    padding-top: calc((40 / var(--curent-size)) * 100vw) !important;
    overflow: visible !important;
  }

  .master-img {
    width: 100%;
    height: calc((330 / var(--curent-size)) * 100vw);
    position: relative;
    background-image: url(../img/card-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border: calc((1 / var(--curent-size)) * 100vw) solid #a60b37;
    border-radius: calc((12 / var(--curent-size)) * 100vw);
  }

  .master-data ul li {
    font-size: calc((12 / var(--curent-size)) * 100vw);
  }

  .master-img p {
    bottom: calc((10 / var(--curent-size)) * 100vw);
    font-size: calc((22 / var(--curent-size)) * 100vw);
    background: #0000008c;
  }

  .master-data-btns a {
    height: calc((36 / var(--curent-size)) * 100vw);
    font-size: calc((14 / var(--curent-size)) * 100vw);
  }

  .masters-wrapper > a {
    margin-top: calc((20 / var(--curent-size)) * 100vw) !important;
  }

  .serf-wrapper > img {
    display: none;
  }

  .serf-text > img {
    display: flex;
    width: calc((355 / var(--curent-size)) * 100vw);
  }

  .serf-text > p {
    font-size: calc((16 / var(--curent-size)) * 100vw);
    margin: calc((30 / var(--curent-size)) * 100vw) 0
      calc((40 / var(--curent-size)) * 100vw) 0;
  }

  .serf-text > ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style: none;
    gap: calc((20 / var(--curent-size)) * 100vw);
    width: 100%;
  }

  .serf-text > ul li {
    font-size: calc((16 / var(--curent-size)) * 100vw);
    font-weight: 400;
    padding: calc((10 / var(--curent-size)) * 100vw)
      calc((20 / var(--curent-size)) * 100vw);
    border-radius: calc((20 / var(--curent-size)) * 100vw);
    background: #05050e98;
    border: calc((1.5 / var(--curent-size)) * 100vw) solid #e92c589c;
    box-shadow: 0 0 calc((12 / var(--curent-size)) * 100vw) rgb(208 18 65 / 32%);
    gap: calc((10 / var(--curent-size)) * 100vw);
  }

  .serf-text > a {
    width: 100%;
  }

  #serf {
    margin-top: calc((30 / var(--curent-size)) * 100vw);
    padding-bottom: calc((30 / var(--curent-size)) * 100vw);
  }

  .faq-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: calc((60 / var(--curent-size)) * 100vw);
  }

  #faq {
    padding-top: calc((30 / var(--curent-size)) * 100vw);
  }

  .faq-item-head p {
    font-size: calc((16 / var(--curent-size)) * 100vw);
  }

  .answer {
    font-size: calc((14 / var(--curent-size)) * 100vw);
  }

  .faq-wrapper-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* .faq-item-head {
    padding: 0 calc((14 / var(--curent-size)) * 100vw);
  } */

  .sub-title {
    font-size: calc((15 / var(--curent-size)) * 100vw);
  }

  .faq-wrapper {
    gap: calc((30 / var(--curent-size)) * 100vw);
  }

  .faq-items {
    gap: calc((10 / var(--curent-size)) * 100vw);
  }

  .faq-item-head span {
    width: calc((40 / var(--curent-size)) * 100vw);
    height: calc((40 / var(--curent-size)) * 100vw);
  }

  .faq-item-head span svg {
    width: calc((18 / var(--curent-size)) * 100vw);
    height: calc((18 / var(--curent-size)) * 100vw);
  }

  .contacts-content {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: calc((30 / var(--curent-size)) * 100vw);
  }

  #map {
    width: 100%;
    height: calc((240 / var(--curent-size)) * 100vw);
    background: #4b091a;
  }

  .contacts-data ul li > span {
    font-size: calc((16 / var(--curent-size)) * 100vw);
  }

  .contacts-data ul li {
    width: 100%;
  }

  .contacts-data {
    width: 100%;
  }

  .contacts-data ul {
    width: 100%;
  }

  .contacts-data ul li p,
  .contacts-data ul li a {
    font-size: calc((20 / var(--curent-size)) * 100vw);
  }

  .contacts-data ul li div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc((30 / var(--curent-size)) * 100vw);
    width: 100%;
  }

  .contacts-data ul li div a {
    width: 100%;
    gap: calc((10 / var(--curent-size)) * 100vw);
  }

  .contacts-data ul li a {
    width: 100%;
  }

  .contacts-data ul li div a svg {
    width: calc((30 / var(--curent-size)) * 100vw);
    height: calc((30 / var(--curent-size)) * 100vw);
  }

  .footer-wrapper {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    position: relative;
    height: 100%;
  }

  .logo-footer {
    order: 2;
    position: static;

    transform: unset;
  }

  .logo-footer img {
    width: calc((160 / var(--curent-size)) * 100vw);
  }

  .footer-wrapper a,
  .footer-wrapper p {
    font-family: var(--s-font);
    color: #fff;
    font-size: calc((14 / var(--curent-size)) * 100vw);
    font-weight: 400;
    text-align: center;
  }

  .footer-wrapper p {
    opacity: 0.6;
  }

  footer {
    padding: calc((40 / var(--curent-size)) * 100vw) 0;
    background-image: url(/assets/img/mast.png);
    background-repeat: no-repeat;
    background-size: 200%;
    background-position: center 30%;
    width: 100%;
    height: calc((200 / var(--curent-size)) * 100vw);
    margin-top: calc((0 / var(--curent-size)) * 100vw);
  }

  .header-links.btn {
    height: calc((40 / var(--curent-size)) * 100vw);
    width: fit-content;
    margin: 0;
  }

  .club-icon {
    width: calc((24 / var(--curent-size)) * 100vw);
    height: calc((24 / var(--curent-size)) * 100vw);
  }

  #programs {
    overflow: hidden;
    margin-top: calc((60 / var(--curent-size)) * 100vw);
  }

  #masters {
    margin-top: calc((0 / var(--curent-size)) * 100vw);
  }

  #masters.page {
    padding-top: calc((80 / var(--curent-size)) * 100vw);
  }

  .masters-items {
    justify-content: center;
  }

  .masters-items .master-slide {
    width: calc((330 / var(--curent-size)) * 100vw);
  }

  .program-items {
    justify-content: center;
  }

  .program-items .program-slide {
    width: calc((320 / var(--curent-size)) * 100vw);
  }

  .crazy-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: calc((10 / var(--curent-size)) * 100vw);
    padding: calc((10 / var(--curent-size)) * 100vw);
    background: #0000007b;
    width: 100%;
    flex-wrap: wrap;
    border-radius: calc((12 / var(--curent-size)) * 100vw);
    border: calc((1 / var(--curent-size)) * 100vw) solid #ffffff29;
  }

  .crazy-price {
    position: relative;
    width: calc((100 / var(--curent-size)) * 100vw);
    height: calc((100 / var(--curent-size)) * 100vw);
    flex-shrink: 0;
    margin-left: 0;
  }

  .crazy-item > p {
    font-size: calc((18 / var(--curent-size)) * 100vw);
    text-align: center;
  }

  .crazy-items {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: calc((20 / var(--curent-size)) * 100vw);
  }

  .crazy-item .btn {
    margin: 0;
    width: 100%;
    flex-shrink: 0;
    cursor: pointer;
  }

  #crazy-menu {
    background-image: url(/assets/img/mast.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding-top: calc((90 / var(--curent-size)) * 100vw);
  }

  .single-master-wrapper {
    width: calc((355 / var(--curent-size)) * 100vw);
    margin: 0 auto;
  }

  .master-specs {
    flex-wrap: wrap;
  }

  .master-description > p {
    font-size: calc((16 / var(--curent-size)) * 100vw);
    margin: 0 0 calc((20 / var(--curent-size)) * 100vw) 0;
  }

  .master-profile {
    margin-top: calc((20 / var(--curent-size)) * 100vw);
  }

  .master-profile {
    margin-top: calc((20 / var(--curent-size)) * 100vw) !important;
  }

  .master-description > p {
    color: #fff;
    font-family: var(--s-font);
    font-size: calc((16 / var(--curent-size)) * 100vw);
    font-weight: 400;
    margin: 0;
  }

  .master-specs p {
    font-size: calc((16 / var(--curent-size)) * 100vw);
  }

  .master-specs dd {
    font-size: calc((18 / var(--curent-size)) * 100vw);
  }

  .policy-wrapper > h1 {
    font-size: calc((24 / var(--curent-size)) * 100vw);
  }

  .policy-text ol {
    padding-left: calc((18 / var(--curent-size)) * 100vw);
  }

  .policy-text {
    font-size: calc((14 / var(--curent-size)) * 100vw);
  }
}

.rubin-interior,
.rubin-jobs > section:first-child {
  padding-block: clamp(48px, 6vw, 96px);
}
.rubin-interior-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: repeat(2, clamp(140px, 16vw, 290px));
  gap: clamp(8px, 1vw, 18px);
  margin-top: calc((30 / var(--curent-size)) * 100vw);
}
.rubin-interior-grid a {
  display: block;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #87583e;
  border-radius: 8px;
}
.rubin-interior-grid a:first-child {
  grid-row: span 2;
}
.rubin-interior-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rubin-jobs h2 {
  font-size: clamp(24px, 3vw, 42px);
}
.rubin-benefits,
.rubin-roles {
  display: grid;
  gap: 12px;
  margin: 24px 0 48px;
}
.rubin-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
}
.rubin-roles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rubin-benefits li,
.rubin-roles article {
  padding: clamp(18px, 2.4vw, 36px);
  background: #211b19;
  color: #fff;
  border: 1px solid #664838;
  border-radius: 8px;
}
.rubin-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(16px, 1.4vw, 22px);
}
.rubin-benefits svg {
  width: 30px;
  height: 30px;
  flex: none;
  fill: none;
  stroke: #eca77f;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.rubin-roles h3 {
  margin-bottom: 20px;
  font-size: clamp(22px, 2vw, 32px);
}
@media (max-width: 767px) {
  .rubin-interior-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .rubin-interior-grid a {
    aspect-ratio: 4 / 3;
  }
  .rubin-interior-grid a:first-child {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  .rubin-benefits,
  .rubin-roles {
    grid-template-columns: 1fr;
  }
}
