:root {
  --bg: #22100a;
  --bg-2: #2a140d;
  --card: #341a11;
  --card-2: #3e2015;
  --border: #63382a;
  --text: #fdf3ec;
  --muted: #ecd3c3;
  --muted-2: #cfae9b;
  --blue: #ffcfa6;
  --blue-2: #ffdcbc;
  --blue-soft: rgba(255, 207, 166, 0.15);
  --green: #00b67a;
  --win: #ffb06e;
  --radius: 12px;
  --container: 1110px;
  --header-h: 64px;
  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: top; border: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #ffe9d6; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[role="button"] { cursor: pointer; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.pyramid-wrap { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

.pyramid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pyramid-btn--golden-sun { position: relative; overflow: hidden; background: var(--blue); color: #22100a; box-shadow: 0 6px 18px rgba(255, 207, 166, 0.25); }
.pyramid-btn--golden-sun:hover { background: var(--blue-2); color: #22100a; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 207, 166, 0.45); }
.pyramid-btn--golden-sun:active { transform: translateY(0) scale(0.98); box-shadow: 0 4px 12px rgba(255, 207, 166, 0.3); }
.pyramid-btn--golden-sun::after {
  content: "";
  position: absolute;
  top: -60%;
  left: 0;
  width: 38%;
  height: 220%;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-220%) skewX(-20deg);
  animation: btnShine 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0% { transform: translateX(-220%) skewX(-20deg); }
  45%, 100% { transform: translateX(420%) skewX(-20deg); }
}
.pyramid-btn--gold-pulse { animation: btnPulse 2.2s ease-out infinite; }
@keyframes btnPulse {
  0% { box-shadow: 0 6px 18px rgba(255, 207, 166, 0.25), 0 0 0 0 rgba(255, 207, 166, 0.55); }
  70% { box-shadow: 0 6px 18px rgba(255, 207, 166, 0.25), 0 0 0 14px rgba(255, 207, 166, 0); }
  100% { box-shadow: 0 6px 18px rgba(255, 207, 166, 0.25), 0 0 0 0 rgba(255, 207, 166, 0); }
}
.pyramid-btn--reed-edge { background: transparent; border-color: #ffcfa6; color: #ffe2c9; }
.pyramid-btn--reed-edge:hover { background: #ffcfa6; border-color: #ffcfa6; color: #22100a; }
.pyramid-btn--mini-size { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.pyramid-btn--monument-size { min-height: 52px; padding: 0 28px; font-size: 16px; }

.pyramid-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.pyramid-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.pyramid-logo { display: flex; align-items: center; }
.pyramid-logo img { height: 36px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.pyramid-nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; }
.pyramid-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pyramid-nav__list a,
.pyramid-nav__list [role="button"] {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}
.pyramid-nav__list a:hover,
.pyramid-nav__list [role="button"]:hover { background: var(--card-2); color: #fff; }
.pyramid-nav__actions { display: none; gap: 10px; }
.pyramid-header__actions { display: flex; gap: 10px; margin-left: auto; }
.pyramid-menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.pyramid-burger { display: none; width: 42px; height: 42px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--border); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.pyramid-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }

@media (max-width: 1023px) {
  .pyramid-header__inner { gap: 12px; }
  .pyramid-burger { display: flex; order: 3; }
  .pyramid-header__actions { margin-left: auto; order: 2; }
  .pyramid-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    padding: 24px 16px;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    overflow-y: auto;
    z-index: 40;
  }
  .pyramid-nav__list { flex-direction: column; width: 100%; gap: 2px; }
  .pyramid-nav__list a,
  .pyramid-nav__list [role="button"] { padding: 14px 12px; font-size: 18px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .pyramid-nav__actions { display: flex; width: 100%; }
  .pyramid-nav__actions .pyramid-btn { flex: 1 1 0; }
  .pyramid-menu-toggle:checked ~ .pyramid-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.22s ease, transform 0.22s ease; }
  .pyramid-menu-toggle:checked ~ .pyramid-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .pyramid-menu-toggle:checked ~ .pyramid-burger span:nth-child(2) { opacity: 0; }
  .pyramid-menu-toggle:checked ~ .pyramid-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.pyramid-menu-open { overflow: hidden; }
}
@media (max-width: 479px) {
  .pyramid-header__inner { gap: 8px; padding: 0 12px; }
  .pyramid-header__actions { gap: 6px; }
  .pyramid-header__actions .pyramid-btn--mini-size { min-height: 36px; padding: 0 10px; font-size: 13px; }
  .pyramid-logo img { height: 30px; max-width: 150px; }
  .pyramid-burger { width: 38px; height: 38px; }
}

.pyramid-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.pyramid-hero__bg {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
  background: url(../images/brand/cleobetra-hero-desktop.webp) center top / cover no-repeat;
}
.pyramid-hero__bg:focus-visible { outline-offset: -4px; }
.pyramid-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 16, 10, 0.2) 0%, rgba(34, 16, 10, 0.5) 60%, rgba(34, 16, 10, 0.93) 100%);
}
.pyramid-hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 16px 28px;
  display: flex;
  justify-content: center;
  pointer-events: none;}
.pyramid-hero__box { pointer-events: auto; }
.pyramid-hero__box {
  width: 100%;
  max-width: 640px;
  padding: 36px 32px;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.pyramid-hero h1 { font-size: 52px; margin-bottom: 12px; }
.pyramid-hero__text { font-size: 17px; color: #d4d7df; margin: 0 auto 22px; max-width: 520px; }
.pyramid-hero__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pyramid-hero__actions .pyramid-btn { min-width: 180px; }
.pyramid-hero__facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.pyramid-hero__facts li { display: flex; align-items: center; gap: 8px; }
.pyramid-hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
@media (max-width: 767px) {
  .pyramid-hero__bg { background-image: url(../images/brand/cleobetra-hero-mobile.webp); background-position: center top; }
  .pyramid-hero__inner { padding: 120px 12px 16px; }
  .pyramid-hero__box { padding: 26px 18px; }
  .pyramid-hero h1 { font-size: 36px; }
  .pyramid-hero__text { font-size: 15px; }
  .pyramid-hero__actions { flex-direction: column; }
  .pyramid-hero__actions .pyramid-btn { width: 100%; }
}

.atrium { max-width: var(--container); margin: 0 auto; padding: 48px 16px 0; }
.atrium-title { font-size: 32px; margin-bottom: 14px; }
.atrium-intro { color: var(--muted); margin-bottom: 24px; }
.atrium-subtitle { font-size: 22px; margin: 28px 0 14px; }
@media (max-width: 767px) {
  .atrium { padding-top: 36px; }
  .atrium-title { font-size: 26px; }
}

.gold-offers__list { display: flex; flex-direction: column; gap: 12px; }
.gold-offer {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.gold-offer:hover { border-color: #3c3f4a; transform: translateY(-2px); }
.gold-offer--sun-offer { background: linear-gradient(90deg, rgba(255, 207, 166, 0.16) 0%, var(--card) 55%); border-color: rgba(255, 207, 166, 0.55); }
.gold-offer__lead { display: flex; flex-direction: column; gap: 6px; padding-right: 24px; border-right: 1px solid var(--border); min-height: 72px; justify-content: center; }
.gold-offer__tag { align-self: flex-start; padding: 4px 10px; border-radius: 6px; background: var(--blue-soft); color: #ffe9d6; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.gold-offer--sun-offer .gold-offer__tag { background: var(--blue); color: #22100a; }
.gold-offer__amount { font-size: 24px; line-height: 1.15; font-weight: 800; color: var(--win); }
.gold-offer--sun-offer .gold-offer__amount { font-size: 28px; }
.gold-offer__title { font-size: 19px; margin-bottom: 6px; }
.gold-offer--sun-offer .gold-offer__title { font-size: 22px; }
.gold-offer__text { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.gold-offer__terms { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gold-offer__terms li { padding: 3px 9px; border-radius: 6px; background: var(--card-2); color: var(--muted); font-size: 12px; font-weight: 600; }
.gold-offer__cta { display: flex; flex-direction: column; align-items: stretch; }
.gold-offers__terms { margin: 18px 0 0; color: var(--muted-2); font-size: 12px; text-align: center; }
@media (max-width: 1023px) {
  .gold-offer { grid-template-columns: 190px minmax(0, 1fr); row-gap: 16px; }
  .gold-offer__cta { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .gold-offer { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .gold-offer__lead { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--border); min-height: 0; }
  .gold-offer__amount { font-size: 20px; text-align: right; }
  .gold-offer--sun-offer .gold-offer__amount { font-size: 22px; }
  .gold-offer__title { font-size: 17px; }
}

.pyramid-wins { padding-top: 28px; }
.pyramid-wins__box { border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.pyramid-wins__head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--card-2); }
.pyramid-wins__live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 20px; background: rgba(0, 182, 122, 0.15); border: 1px solid rgba(0, 182, 122, 0.4); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.pyramid-wins__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: winsPulse 1.6s ease-out infinite; }
@keyframes winsPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 182, 122, 0.6); } 100% { box-shadow: 0 0 0 7px rgba(0, 182, 122, 0); } }
.pyramid-wins__title { font-size: 16px; font-weight: 700; }
.pyramid-wins__list { list-style: none; margin: 0; padding: 0; }
.pyramid-wins__item { display: flex; align-items: center; gap: 14px; padding: 10px 20px; border-bottom: 1px solid var(--border); }
.pyramid-wins__item:last-child { border-bottom: 0; }
.pyramid-wins__item.is-pyramid-new { animation: winIn 0.5s ease-out; }
@keyframes winIn { 0% { opacity: 0; transform: translateY(-10px); background: var(--blue-soft); } 60% { background: var(--blue-soft); } 100% { opacity: 1; transform: none; background: transparent; } }
.pyramid-wins__slot { flex: 0 0 44px; width: 44px; height: 58px; border-radius: 6px; object-fit: cover; border: 1px solid var(--border); }
.pyramid-wins__body { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.pyramid-wins__nick { color: #fff; }
.pyramid-wins__amount { color: var(--win); font-size: 15px; }
.pyramid-wins__meta { font-size: 13px; }
.pyramid-wins__game { color: #fff; font-weight: 600; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.pyramid-wins__game:hover { color: #ffe9d6; border-bottom-color: rgba(255, 233, 214, 0.5); }
.pyramid-wins__provider { color: var(--muted-2); }
.pyramid-wins__time { flex: 0 0 auto; font-size: 12px; color: var(--muted-2); white-space: nowrap; }
@media (max-width: 767px) {
  .pyramid-wins__head { padding: 12px 14px; }
  .pyramid-wins__item { padding: 10px 14px; gap: 10px; }
  .pyramid-wins__body { flex-direction: column; align-items: flex-start; gap: 2px; }
  .pyramid-wins__time { align-self: flex-start; }
}

.pyramid-map { padding-top: 28px; }
.pyramid-map__box { border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.pyramid-map__head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 20px; background: var(--card-2); border: 0; text-align: left; }
.pyramid-map__title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.pyramid-map__title svg { width: 20px; height: 20px; color: var(--blue); }
.pyramid-map__toggle { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.pyramid-map__toggle svg { width: 14px; height: 14px; transition: transform 0.25s; }
.pyramid-map.is-pyramid-shut .pyramid-map__toggle svg { transform: rotate(-90deg); }
.pyramid-map__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.3s ease; }
.pyramid-map.is-pyramid-shut .pyramid-map__body { grid-template-rows: 0fr; }
.pyramid-map__body > * { overflow: hidden; min-height: 0; }
.pyramid-map__list { margin: 0; padding: 16px 20px 20px 40px; columns: 2; column-gap: 32px; }
.pyramid-map__list li { break-inside: avoid; padding: 4px 0; }
.pyramid-map__list a { color: var(--text); font-weight: 500; }
.pyramid-map__list a:hover { color: #ffe9d6; }
@media (max-width: 767px) { .pyramid-map__list { columns: 1; padding-left: 36px; } }

.tablet-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 15px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--card-2); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.015); }
td:first-child { font-weight: 600; color: #fff; white-space: nowrap; }
.tablet-note { margin: 12px 0 0; color: var(--muted-2); font-size: 13px; }
@media (max-width: 767px) {
  th, td { padding: 10px 12px; font-size: 14px; }
  .tablet-wide { min-width: 640px; }
  td:first-child { white-space: normal; }
}

.pyramid-text p { color: #d4d7df; }
.tablet-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0 8px; }
.tablet-fact { padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.tablet-fact__value { display: block; font-size: 28px; font-weight: 800; color: #fff; }
.tablet-fact__label { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.river { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 8px 0 22px; }
.river-step { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.river-step p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.river-step__num { flex: 0 0 34px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: #22100a; font-weight: 800; }
.pyramid-checks { list-style: none; padding: 0; margin: 0 0 20px; }
.pyramid-checks li { position: relative; padding-left: 28px; margin-bottom: 8px; color: #d4d7df; }
.pyramid-checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ffcfa6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pyramid-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 0; }
@media (max-width: 1023px) { .tablet-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .river { grid-template-columns: 1fr; } .pyramid-cta .pyramid-btn { flex: 1 1 0; } }

.pyramid-tiles { display: grid; gap: 14px; grid-template-columns: repeat(6, 1fr); }
.pyramid-tiles > [hidden] { display: none; }
@media (max-width: 1023px) { .pyramid-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) { .pyramid-tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; } }

.game-temple__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.game-temple__tab { padding: 9px 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-weight: 700; font-size: 14px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.game-temple__tab:hover { color: #fff; border-color: #3c3f4a; }
.game-temple__tab.is-pyramid-on { background: var(--blue); border-color: var(--blue); color: #22100a; }
.game-temple__grid { transition: opacity 0.15s; }
.game-temple__grid.is-pyramid-switch { opacity: 0; }
.game-relic { position: relative; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: var(--card); border: 1px solid var(--border); color: var(--text); transition: transform 0.2s, border-color 0.2s; }
.game-relic:hover { transform: translateY(-4px); border-color: var(--blue); color: var(--text); }
.game-relic__media { display: block; aspect-ratio: 360 / 472; overflow: hidden; }
.game-relic__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.game-relic:hover .game-relic__media img { transform: scale(1.05); }
.game-relic__play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(0.9); padding: 10px 22px; border-radius: 10px; background: var(--blue); color: #22100a; font-weight: 700; font-size: 14px; opacity: 0; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }
.game-relic:hover .game-relic__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.game-relic__body { display: flex; flex-direction: column; padding: 10px 12px 12px; }
.game-relic__name { font-weight: 700; font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-relic__provider { color: var(--muted-2); font-size: 12px; margin-top: 2px; }
@media (max-width: 639px) { .game-relic__body { padding: 8px 8px 10px; } .game-relic__name { font-size: 12px; } .game-relic__provider { font-size: 11px; } .game-relic__play { display: none; } }

.studio-scroll { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 96px; padding: 16px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); text-align: center; transition: border-color 0.2s, transform 0.2s; }
.studio-scroll:hover { border-color: #3c3f4a; transform: translateY(-2px); }
.studio-scroll__name { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.studio-scroll__logo { max-height: 40px; width: auto; }
.studio-scroll__meta { color: var(--muted-2); font-size: 12px; }
@media (max-width: 639px) { .studio-scroll { min-height: 84px; padding: 12px 8px; } .studio-scroll__name { font-size: 13px; } .studio-scroll__meta { font-size: 10px; } }

.coin-way { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 110px; padding: 16px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); text-align: center; transition: border-color 0.2s, transform 0.2s; }
.coin-way:hover { border-color: #3c3f4a; transform: translateY(-2px); }
.coin-way__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 36px; }
.coin-way__icon img { max-width: 44px; max-height: 32px; width: auto; height: auto; }
.coin-way__initial { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: var(--card-2); font-weight: 800; font-size: 16px; }
.coin-way__name { font-weight: 700; font-size: 14px; }
.coin-way__type { color: var(--muted-2); font-size: 11px; }
.coin-ways__table { margin-top: 8px; }
@media (max-width: 639px) { .coin-way { min-height: 96px; padding: 12px 6px; } .coin-way__name { font-size: 12px; } .coin-way__type { display: none; } }

.pyramid-app__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.pyramid-app__text p { color: #d4d7df; }
.pyramid-app__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.pyramid-app__badges a, .pyramid-footer__apps a,
.pyramid-app__badges [role="button"], .pyramid-footer__apps [role="button"] { display: flex; cursor: pointer; border-radius: 7px; transition: transform 0.2s, opacity 0.2s; }
.pyramid-app__badges a:hover, .pyramid-footer__apps a:hover,
.pyramid-app__badges [role="button"]:hover, .pyramid-footer__apps [role="button"]:hover { transform: translateY(-2px); opacity: 0.9; }
.pyramid-app__badges img, .pyramid-footer__apps img { height: 40px; width: auto; border-radius: 7px; border: 1px solid #3a3d46; }
.pyramid-stars { color: #f5b301; letter-spacing: 1px; }
@media (max-width: 767px) { .pyramid-app__grid { grid-template-columns: 1fr; gap: 20px; } }

.pyramid-help__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pyramid-help__card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.pyramid-help__card strong { font-size: 17px; }
.pyramid-help__card p { color: var(--muted); font-size: 14px; margin: 4px 0 14px; flex: 1 1 auto; }
.pyramid-help__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); color: #ffe9d6; margin-bottom: 6px; }
.pyramid-help__icon svg { width: 24px; height: 24px; }
.pyramid-help__meta { color: var(--muted-2); font-size: 12px; font-weight: 600; }
.pyramid-help__card .pyramid-btn { align-self: flex-start; }
@media (max-width: 1023px) { .pyramid-help__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .pyramid-help__grid { grid-template-columns: 1fr; } }

.papyrus-reviews__summary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 20px; padding: 16px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.papyrus-reviews__word { font-size: 22px; font-weight: 800; }
.papyrus-reviews__text { color: var(--muted); font-size: 14px; }
.papyrus-reviews__text strong { color: #fff; }
.sun-stars { display: inline-flex; gap: 3px; }
.sun-star { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: var(--green); border-radius: 3px; }
.sun-star svg { width: 18px; height: 18px; fill: #fff; }
.sun-star.is-pyramid-half { background: linear-gradient(90deg, var(--green) 50%, #4b4f5b 50%); }
.papyrus-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.papyrus-review { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: border-color 0.3s; }
.papyrus-review:hover { border-color: #3c3f4a; }
.papyrus-review__head { display: flex; align-items: center; gap: 12px; }
.papyrus-review__rating { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.papyrus-review__date { font-size: 12px; color: var(--muted-2); }
.sun-stars--pyramid-sm { gap: 2px; }
.sun-stars--pyramid-sm .sun-star { width: 20px; height: 20px; }
.sun-stars--pyramid-sm .sun-star svg { width: 13px; height: 13px; }
.sun-star.is-pyramid-empty { background: #3a3d46; }
.papyrus-review__verified { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green); }
.papyrus-review__verified svg { width: 14px; height: 14px; }
.papyrus-review__avatar { flex: 0 0 40px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #d4a24a, #8a5a12); }
.papyrus-review__avatar--2 { background: linear-gradient(135deg, #1f8a70, #00b67a); }
.papyrus-review__avatar--3 { background: linear-gradient(135deg, #b86a2a, #e09a52); }
.papyrus-review__avatar--4 { background: linear-gradient(135deg, #7b3fe4, #4b2bb0); }
.papyrus-review__meta { display: flex; flex-direction: column; }
.papyrus-review__name { font-weight: 700; }
.papyrus-review__sub { color: var(--muted-2); font-size: 12px; }
.papyrus-review__title { font-weight: 700; margin: 0; }
.papyrus-review__text { flex: 1 1 auto; color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 1023px) { .papyrus-reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .papyrus-reviews__grid { grid-template-columns: 1fr; } }

.pyramid-faq__list { display: flex; flex-direction: column; gap: 10px; }
.pyramid-faq__item { border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.pyramid-faq__question { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 20px; background: transparent; border: 0; text-align: left; font-weight: 700; font-size: 16px; }
.pyramid-faq__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--card-2); color: var(--muted); transition: transform 0.25s, background 0.25s, color 0.25s; }
.pyramid-faq__icon svg { width: 14px; height: 14px; }
.pyramid-faq__item.is-pyramid-open .pyramid-faq__icon { transform: rotate(180deg); background: var(--blue); color: #22100a; }
.pyramid-faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.pyramid-faq__item.is-pyramid-open .pyramid-faq__answer { grid-template-rows: 1fr; }
.pyramid-faq__answer-inner { overflow: hidden; min-height: 0; }
.pyramid-faq__answer p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.pyramid-update { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; padding: 16px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--blue); }
.pyramid-update__icon { flex: 0 0 44px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--blue-soft); color: #ffe9d6; }
.pyramid-update__icon svg { width: 24px; height: 24px; }
.pyramid-update__body { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.pyramid-update__label { color: var(--muted-2); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pyramid-update__date { font-size: 17px; font-weight: 800; color: #fff; }
.pyramid-update__note { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.pyramid-update__badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; background: rgba(0, 182, 122, 0.12); border: 1px solid rgba(0, 182, 122, 0.35); color: var(--green); font-size: 12px; font-weight: 700; }
.pyramid-update__badge svg { width: 16px; height: 16px; }
@media (max-width: 639px) {
  .pyramid-update { display: grid; grid-template-columns: 44px 1fr; gap: 10px 12px; padding: 14px 16px; }
  .pyramid-update__badge { grid-column: 2; justify-self: start; }
}

.pyramid-footer { margin-top: 64px; padding: 48px 16px 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.pyramid-footer__inner { max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; }
.pyramid-footer__logo img { height: 46px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.pyramid-footer__social-row { max-width: var(--container); margin: 28px auto 0; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.pyramid-socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pyramid-socials a { display: flex; transition: transform 0.25s; }
.pyramid-socials a:hover { transform: scale(1.1); }
.pyramid-socials img { width: 36px; height: 36px; }
.pyramid-footer__apps { display: flex; gap: 10px; }
.pyramid-footer__links { display: flex; gap: 48px; }
.pyramid-links ul { list-style: none; margin: 0; padding: 0; }
.pyramid-links li { margin-bottom: 10px; }
.pyramid-links a,
.pyramid-links [role="button"] { display: inline-block; color: var(--text); font-size: 15px; cursor: pointer; }
.pyramid-links a:hover,
.pyramid-links [role="button"]:hover { color: #ffe9d6; }
.pyramid-footer__badges { max-width: var(--container); margin: 36px auto 0; padding-top: 24px; border-top: 1px solid var(--border); }
.pyramid-footer__images { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 32px; }
.pyramid-footer__images a { display: flex; opacity: 0.85; transition: opacity 0.2s; }
.pyramid-footer__images a:hover { opacity: 1; }
.pyramid-footer__images img { height: auto; max-height: 56px; }
.pyramid-footer__bottom { max-width: var(--container); margin: 0 auto; padding: 24px 0 32px; color: var(--muted-2); font-size: 13px; }
@media (max-width: 767px) {
  .pyramid-footer { padding-top: 36px; }
  .pyramid-footer__inner { flex-direction: column; gap: 28px; }
  .pyramid-footer__links { gap: 32px; }
  .pyramid-footer__images img { max-height: 44px; }
  .pyramid-footer__images img[width="96"] { width: 80px; }
  .pyramid-footer__bottom { padding-bottom: 28px; }
}

.pyramid-offer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 12px 12px; transform: translateY(120%); transition: transform 0.35s ease; pointer-events: none; }
.pyramid-offer.is-pyramid-visible { transform: none; pointer-events: auto; }
.pyramid-offer__inner { position: relative; max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid rgba(255, 207, 166, 0.5); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pyramid-offer__logo { height: 30px; width: auto; max-width: 96px; object-fit: contain; }
.pyramid-offer__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.pyramid-offer__label { color: #ffe9d6; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pyramid-offer__title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pyramid-offer__close { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: var(--card-2); color: var(--muted); font-size: 22px; line-height: 1; }
.pyramid-offer__close:hover { color: #fff; }
body.has-pyramid-offer .pyramid-footer { padding-bottom: 84px; }
@media (max-width: 639px) {
  .pyramid-offer { padding: 0 8px 8px; }
  .pyramid-offer__inner { gap: 10px; padding: 10px 12px; }
  .pyramid-offer__logo { flex: 0 0 auto; width: auto; max-width: 84px; height: 40px; padding: 6px 8px; border-radius: 6px; background: var(--card-2); border: 1px solid var(--border); object-fit: contain; }
  .pyramid-offer__label { display: none; }
  .pyramid-offer__title { white-space: normal; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pyramid-offer__btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .pyramid-offer__close { position: absolute; top: -12px; right: -2px; width: 26px; height: 26px; font-size: 16px; }
}

.pyramid-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 70;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(180deg, #ffb469 0%, #ff9848 50%, #e8772a 100%);
  color: #1a0d05;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, background 0.2s ease, bottom 0.3s ease;
}
.pyramid-top.is-pyramid-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, bottom 0.3s ease; }
.pyramid-top:hover { background: linear-gradient(180deg, #ffc285 0%, #ffa65e 50%, #ef8538 100%); }
.pyramid-top svg { width: 22px; height: 22px; }
@media (max-width: 1199px) {
  body.has-pyramid-offer .pyramid-top { bottom: 100px; }
}
@media (max-width: 639px) {
  .pyramid-top { right: 12px; bottom: 16px; width: 42px; height: 42px; }
  body.has-pyramid-offer .pyramid-top { bottom: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.pyramid-hero__bg picture, .pyramid-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.papyrus-review__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

.pyramid-btn--golden-sun { background: linear-gradient(180deg, #ffb469 0%, #ff9848 50%, #e8772a 100%); color: #1a0d05; border: 0; box-shadow: 0 6px 18px rgba(255, 152, 72, 0.3); }
.pyramid-btn--golden-sun:hover { background: linear-gradient(180deg, #ffc285 0%, #ffa65e 50%, #ef8538 100%); color: #1a0d05; box-shadow: 0 8px 22px rgba(255, 152, 72, 0.45); }
.game-relic__play { background: linear-gradient(180deg, #3fdcf6 0%, #01baec 50%, #0193c4 100%); color: #22100a; }
.river-step__num, .game-temple__tab.is-pyramid-on, .pyramid-faq__item.is-pyramid-open .pyramid-faq__icon, .gold-offer--sun-offer .gold-offer__tag { background: #ffcfa6; border-color: #ffcfa6; color: #22100a; }
.papyrus-review__avatar { background: linear-gradient(135deg, #ff9848, #3fdcf6); }
