*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg-1: #07111f;
  --bg-2: #0b1728;
  --bg-3: #0f2138;
  --surface: rgba(16, 28, 48, 0.78);
  --surface-strong: rgba(12, 22, 38, 0.92);
  --border: rgba(124, 163, 255, 0.16);
  --border-strong: rgba(124, 163, 255, 0.28);
  --text-main: #e9f1ff;
  --text-soft: #b5c3df;
  --text-dim: #88a0c6;
  --accent: #7c9cff;
  --accent-2: #67e8f9;
  --accent-3: #9b7cff;
  --danger: #ff6b81;
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 12% 12%, rgba(103, 232, 249, 0.08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(155, 124, 255, 0.10), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(124, 156, 255, 0.10), transparent 38%),
    linear-gradient(180deg, #06101d 0%, #0a1323 40%, #0c1830 100%);
  background-attachment: fixed;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 14, 26, 0.72);
  border-bottom: 1px solid rgba(124, 163, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(103, 232, 249, 0.08));
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding: 8px;
  border-radius: 999px;
  background: rgba(17, 30, 50, 0.52);
  border: 1px solid rgba(124, 163, 255, 0.10);
}

.site-nav__link {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #dce8ff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav__link:hover {
  background: rgba(124, 156, 255, 0.14);
  color: #ffffff;
  transform: translateY(-1px);
}

/* RIGHT SIDE */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* BUTTONS */
.header-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-btn:hover {
  transform: translateY(-2px);
}

.header-btn--ghost {
  color: #dce8ff;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(124, 163, 255, 0.18);
}

.header-btn--ghost:hover {
  background: rgba(124, 156, 255, 0.10);
}

.header-btn--main {
  color: #08111e;
  background: linear-gradient(135deg, #67e8f9, #7c9cff 55%, #9b7cff);
  box-shadow: 0 12px 30px rgba(103, 232, 249, 0.22);
}

/* BURGER */
.burger {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #67e8f9, #7c9cff);
  box-shadow: 0 14px 28px rgba(103, 232, 249, 0.22);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger:hover {
  transform: translateY(-2px);
}

.burger span {
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: #07111f;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 16, 29, 0.98), rgba(9, 20, 36, 0.98));
  transition: max-height 0.35s ease;
  border-top: 1px solid rgba(124, 163, 255, 0.1);
}

.mobile-menu.is-open {
  max-height: 560px;
}

.mobile-menu__inner {
  padding-top: 16px;
  padding-bottom: 24px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(124, 163, 255, 0.12);
  font-size: 16px;
  font-weight: 700;
  color: #dce8ff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-nav__link:hover {
  transform: translateX(2px);
  background: rgba(124, 156, 255, 0.10);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.mobile-menu__actions .header-btn {
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

/* HERO */
.hero-ra {
  position: relative;
  z-index: 1;
  padding: 34px 0 24px;
}

.hero-ra__banner {
  position: relative;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: stretch;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 20, 36, 0.86), rgba(16, 28, 48, 0.70)),
    rgba(11, 23, 40, 0.85);
  border: 1px solid rgba(124, 163, 255, 0.16);
  box-shadow: var(--shadow-lg);
}

.hero-ra__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.34;
  filter: saturate(1.05) contrast(1.02);
}

.hero-ra__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 14, 26, 0.96) 0%, rgba(7, 14, 26, 0.86) 34%, rgba(7, 14, 26, 0.56) 62%, rgba(7, 14, 26, 0.18) 100%),
    radial-gradient(circle at 15% 20%, rgba(103, 232, 249, 0.10), transparent 22%),
    radial-gradient(circle at 70% 70%, rgba(155, 124, 255, 0.12), transparent 28%);
  z-index: 1;
}

.hero-ra__content {
  position: relative;
  z-index: 2;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 780px;
}

.hero-ra__eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 36px;
  padding: 0 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(103, 232, 249, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.16);
  color: #bdf7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-ra__title {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: 60px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #f5f9ff;
}

.hero-ra__text {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-soft);
}

.hero-ra__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-ra__btn {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-ra__btn:hover {
  transform: translateY(-2px);
}

.hero-ra__btn--primary {
  color: #08111e;
  background: linear-gradient(135deg, #67e8f9, #7c9cff 58%, #9b7cff);
  box-shadow: 0 16px 34px rgba(103, 232, 249, 0.22);
}

.hero-ra__btn--secondary {
  color: #e7f0ff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(124, 163, 255, 0.16);
}

.hero-ra__side {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 26px;
}

.hero-ra__side-card {
  width: 100%;
  padding: 22px;
  border-radius: 24px;
  background: rgba(9, 18, 32, 0.62);
  border: 1px solid rgba(124, 163, 255, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.hero-ra__side-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(155, 124, 255, 0.12);
  color: #ddd1ff;
  font-size: 12px;
  font-weight: 800;
}

.hero-ra__side-list {
  display: grid;
  gap: 14px;
}

.hero-ra__side-item {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(124, 163, 255, 0.10);
}

.hero-ra__side-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-ra__side-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.3;
  color: #f4f8ff;
}

.hero-ra__side-item span {
  display: block;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}

.hero-ra__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hero-ra__stat {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(17, 30, 50, 0.88), rgba(12, 22, 38, 0.88));
  border: 1px solid rgba(124, 163, 255, 0.14);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-ra__stat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #67e8f9, #7c9cff, #9b7cff);
  opacity: 0.9;
}

.hero-ra__stat span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.hero-ra__stat strong {
  display: block;
  font-size: 20px;
  line-height: 1.35;
  color: #f4f8ff;
}

/* GAME FRAME */
.game-frame-section {
  padding: 24px 0 34px;
  position: relative;
  z-index: 1;
}

.game-frame-box {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(14, 25, 43, 0.96), rgba(9, 18, 32, 0.98));
  border: 1px solid rgba(124, 163, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.game-frame-head {
  margin-bottom: 18px;
}

.game-frame-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(103, 232, 249, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.14);
  color: #bdf7ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.game-frame-head h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
  color: #f4f8ff;
}

.game-frame-head p {
  margin: 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
}

.game-frame-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(124, 163, 255, 0.16);
  background: #030813;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.game-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 680px;
  border: 0;
  background: #000;
}

/* CONTENT SECTION */
.content-section {
  position: relative;
  z-index: 1;
  padding: 26px 0 34px;
}

.content-box {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(13, 24, 42, 0.92), rgba(9, 18, 32, 0.96));
  border: 1px solid rgba(124, 163, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.content-main {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.content-main > *:first-child {
  margin-top: 0;
}

.content-main > *:last-child {
  margin-bottom: 0;
}

/* HEADINGS */
.content-main h1,
.content-main h2,
.content-main h3,
.content-main h4 {
  margin-top: 0;
  color: #f4f8ff;
  letter-spacing: -0.03em;
}

.content-main h1 {
  margin-bottom: 22px;
  font-size: 46px;
  line-height: 1.04;
  font-weight: 900;
}

.content-main h2 {
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.10;
  font-weight: 900;
}

.content-main h3 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.content-main h4 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

/* TEXT */
.content-main p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.82;
  color: var(--text-soft);
}

.content-main strong {
  color: #ffffff;
  font-weight: 800;
}

.content-main em {
  color: #c7d6ff;
  font-style: italic;
}

.content-main a {
  color: #8adfff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-main a:hover {
  color: #c5f3ff;
}

/* LISTS */
.content-main ul,
.content-main ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.content-main li {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--text-soft);
}

.content-main li::marker {
  color: #7c9cff;
  font-weight: 700;
}

/* BLOCKQUOTE */
.content-main blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(124, 156, 255, 0.10), rgba(103, 232, 249, 0.04));
  border: 1px solid rgba(124, 163, 255, 0.14);
  box-shadow: var(--shadow-md);
}

.content-main blockquote p {
  margin: 0;
  font-size: 18px;
  line-height: 1.76;
  color: #dfe9ff;
}

/* IMAGES */
.content-main img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 30px auto;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(124, 163, 255, 0.12);
}

/* TABLE */
.content-main table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 28px;
  border-collapse: collapse;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(124, 163, 255, 0.12);
  -webkit-overflow-scrolling: touch;
}

.content-main thead {
  background: rgba(124, 156, 255, 0.10);
}

.content-main tr {
  border-bottom: 1px solid rgba(124, 163, 255, 0.08);
}

.content-main tr:last-child {
  border-bottom: 0;
}

.content-main th,
.content-main td {
  min-width: 180px;
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.6;
}

.content-main th {
  font-weight: 800;
  color: #f4f8ff;
  white-space: nowrap;
  width: 1%;
}

.content-main td {
  color: var(--text-soft);
}

/* HR */
.content-main hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid rgba(124, 163, 255, 0.12);
}

/* SPACING LOGIC */
.content-main p + h2,
.content-main ul + h2,
.content-main ol + h2,
.content-main blockquote + h2,
.content-main table + h2,
.content-main img + h2 {
  margin-top: 46px;
}

.content-main p + h3,
.content-main ul + h3,
.content-main ol + h3,
.content-main blockquote + h3,
.content-main table + h3,
.content-main img + h3 {
  margin-top: 34px;
}

/* AUTHOR */
.author-box-section {
  padding: 14px 0 34px;
  position: relative;
  z-index: 1;
}

.author-box {
  padding: 26px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 27, 46, 0.92), rgba(9, 18, 32, 0.96));
  border: 1px solid rgba(124, 163, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.author-box__tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-bottom: 20px;
}

.author-box__tab {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: #aebddb;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(124, 163, 255, 0.10);
}

.author-box__tab--active {
  background: linear-gradient(135deg, #67e8f9, #7c9cff);
  color: #07111f;
  border-color: transparent;
}

.author-box__body {
  padding: 0;
}

.author-box__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 14px;
}

.author-box__name {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  color: #f4f8ff;
}

.author-box__date {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  color: #8ea7cf;
}

.author-box__text {
  margin: 0;
  max-width: 1080px;
  font-size: 18px;
  line-height: 1.82;
  color: var(--text-soft);
}

/* FOOTER */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 16px 0 30px;
}

.site-footer__box {
  padding: 32px 30px 24px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(11, 21, 38, 0.96), rgba(7, 15, 27, 0.98));
  border: 1px solid rgba(124, 163, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.site-footer__brand {
  min-width: 0;
}

.site-footer__logo {
  display: inline-flex;
  margin-bottom: 18px;
}

.site-footer__logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.site-footer__description {
  margin: 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
}

.site-footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.site-footer__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(124, 156, 255, 0.10);
  border: 1px solid rgba(124, 163, 255, 0.12);
  color: #dbe6ff;
  font-size: 13px;
  font-weight: 800;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.site-footer__col h3,
.site-footer__license h3 {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: #f4f8ff;
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col li + li {
  margin-top: 10px;
}

.site-footer__col a,
.site-footer__col span {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer__col a:hover {
  color: #ffffff;
}

.site-footer__license {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(124, 163, 255, 0.10);
}

.site-footer__license p {
  margin: 0;
  max-width: 1100px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

.site-footer__license strong {
  color: #ffffff;
}

.site-footer__bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(124, 163, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-nav,
  .header-actions .header-btn {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .burger {
    display: inline-flex;
    margin-left: auto;
  }

  .hero-ra {
    padding: 24px 0 22px;
  }

  .hero-ra__banner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-ra__overlay {
    background:
      linear-gradient(180deg, rgba(7, 14, 26, 0.78) 0%, rgba(7, 14, 26, 0.88) 46%, rgba(7, 14, 26, 0.96) 100%),
      radial-gradient(circle at 16% 18%, rgba(103, 232, 249, 0.08), transparent 24%);
  }

  .hero-ra__content {
    padding: 34px 24px 22px;
    max-width: 100%;
  }

  .hero-ra__title {
    font-size: 42px;
  }

  .hero-ra__text {
    font-size: 17px;
  }

  .hero-ra__side {
    padding: 0 24px 24px;
    justify-content: stretch;
  }

  .hero-ra__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-frame-head h2 {
    font-size: 28px;
  }

  .game-frame-head p {
    font-size: 16px;
  }

  .game-frame-wrap iframe {
    height: 560px;
  }

  .content-box {
    padding: 22px;
    border-radius: 24px;
  }

  .content-main h1 {
    font-size: 38px;
  }

  .content-main h2 {
    font-size: 30px;
  }

  .content-main h3 {
    font-size: 23px;
  }

  .content-main h4 {
    font-size: 19px;
  }

  .content-main p,
  .content-main li,
  .content-main blockquote p,
  .author-box__text {
    font-size: 17px;
  }

  .author-box__name {
    font-size: 27px;
  }
}

@media (min-width: 981px) {
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }

  .header-inner {
    min-height: 74px;
  }

  .site-logo img {
    height: 44px;
  }

  .burger {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .hero-ra__banner,
  .content-box,
  .author-box,
  .site-footer__box {
    border-radius: 20px;
  }

  .hero-ra__content {
    padding: 26px 18px 18px;
  }

  .hero-ra__title {
    font-size: 32px;
  }

  .hero-ra__text {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-ra__actions {
    flex-direction: column;
  }

  .hero-ra__btn {
    width: 100%;
  }

  .hero-ra__side {
    padding: 0 18px 18px;
  }

  .hero-ra__side-card {
    padding: 18px;
    border-radius: 18px;
  }

  .hero-ra__stats {
    grid-template-columns: 1fr;
  }

  .hero-ra__stat {
    border-radius: 18px;
    padding: 18px;
  }

  .game-frame-section,
  .content-section {
    padding: 20px 0 28px;
  }

  .game-frame-box {
    padding: 16px;
    border-radius: 20px;
  }

  .game-frame-head h2 {
    font-size: 24px;
  }

  .game-frame-head p {
    font-size: 15px;
    line-height: 1.65;
  }

  .game-frame-wrap {
    border-radius: 16px;
  }

  .game-frame-wrap iframe {
    height: 420px;
  }

  .content-box {
    padding: 16px;
  }

  .content-main h1 {
    font-size: 30px;
  }

  .content-main h2 {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .content-main h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 21px;
  }

  .content-main h4 {
    font-size: 18px;
  }

  .content-main p,
  .content-main li,
  .content-main blockquote p,
  .author-box__text {
    font-size: 16px;
    line-height: 1.68;
  }

  .content-main ul,
  .content-main ol {
    padding-left: 20px;
  }

  .content-main blockquote {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .content-main img {
    margin: 22px auto;
    border-radius: 16px;
  }

  .content-main th,
  .content-main td {
    min-width: 150px;
    padding: 14px;
    font-size: 15px;
  }

  .author-box-section {
    padding: 12px 0 28px;
  }

  .author-box {
    padding: 18px 16px;
  }

  .author-box__tabs {
    gap: 6px;
    margin-bottom: 14px;
  }

  .author-box__tab {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .author-box__name {
    font-size: 23px;
  }

  .author-box__date {
    font-size: 13px;
  }

  .site-footer {
    padding: 18px 0 24px;
  }

  .site-footer__box {
    padding: 20px 16px 16px;
  }

  .site-footer__logo img {
    height: 46px;
  }

  .site-footer__description,
  .site-footer__license p {
    font-size: 15px;
    line-height: 1.7;
  }
}