:root {
  --primary: #0f1c2e;
  --secondary: #c41e3a;
  --secondary-rgb: 196, 30, 58;
  --white: #ffffff;
  --header-offset: 88px;
  --section-space: 4rem;
  --section-space-mobile: 2.5rem;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 30px rgba(15, 28, 46, 0.12);
  --glow: 0 0 20px rgba(var(--secondary-rgb), 0.25);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

*:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--secondary);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  padding-top: var(--header-offset);
  font-family: var(--font-sans);
  color: var(--primary);
  background:
    radial-gradient(circle at 5% -10%, rgba(var(--secondary-rgb), 0.12), transparent 35%),
    radial-gradient(circle at 95% 10%, rgba(15, 28, 46, 0.06), transparent 30%),
    linear-gradient(180deg, #fafafa 0%, var(--white) 100%);
  line-height: 1.65;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(10, 20, 34, 0.97) 0%, rgba(18, 32, 52, 0.98) 55%, rgba(28, 22, 40, 0.98) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(var(--secondary-rgb), 0.38);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.nav-wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 88px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  transition: transform 0.2s ease;
}

.logo:hover,
.logo:focus-visible {
  transform: translateY(-1px);
}

.logo-mark {
  display: block;
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1.75rem;
  min-width: 0;
  width: 100%;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-group-pages {
  grid-column: 2;
  justify-content: center;
  justify-self: center;
}

.nav-group-actions {
  grid-column: 3;
  justify-self: end;
  gap: 0.55rem;
  margin-left: 2.25rem;
}

.nav-group a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-group-pages a {
  padding: 0.55rem 0.2rem;
  border-radius: 0;
}

.nav-group a:hover,
.nav-group a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-group-pages a:hover,
.nav-group-pages a:focus-visible {
  background: transparent;
}

.nav-group a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--secondary-rgb), 0.1), rgba(var(--secondary-rgb), 0.95), rgba(var(--secondary-rgb), 0.1));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-group-pages a::after {
  left: 0;
  right: 0;
  bottom: -0.2rem;
}

.nav-group a:hover::after,
.nav-group a:focus-visible::after,
.nav-group a.active::after {
  transform: scaleX(1);
}

.nav-group a.active {
  color: var(--white);
}

.nav-group-pages a.active {
  background: transparent;
}

.btn-nav {
  min-height: 38px;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.nav-group-actions .btn-nav {
  color: var(--white);
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.nav-group-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.96);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.nav-group-actions .btn-outline:hover,
.nav-group-actions .btn-outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
}

.nav-group-actions .btn-primary {
  background: linear-gradient(135deg, #ff4d6d 0%, #c41e3a 55%, #8f1328 100%);
  color: var(--white);
}

.nav-group-actions .btn-primary:hover,
.nav-group-actions .btn-primary:focus-visible {
  box-shadow: 0 16px 28px rgba(var(--secondary-rgb), 0.3);
}

.nav-group-actions .btn-nav::after {
  display: none;
}

.nav-separator {
  width: 1px;
  height: 24px;
  background: rgba(15, 28, 46, 0.12);
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  border: 0;
  background: linear-gradient(180deg, var(--secondary), #a01830);
  color: var(--white);
  border-radius: 999px;
  padding: 0.5rem 0.92rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle:hover {
  box-shadow: var(--glow);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: 2.5rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 235, 238, 0.98) 0%, rgba(255, 248, 249, 0.95) 40%, rgba(255, 242, 244, 0.98) 100%),
    radial-gradient(ellipse 120% 90% at 30% -10%, rgba(var(--secondary-rgb), 0.18), transparent 55%),
    radial-gradient(ellipse 90% 70% at 100% 40%, rgba(var(--secondary-rgb), 0.1), transparent 50%),
    radial-gradient(ellipse 70% 60% at 0% 90%, rgba(var(--secondary-rgb), 0.08), transparent 45%);
  pointer-events: none;
}

.hero-inner.container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 3rem);
  min-width: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 28, 46, 0.06);
  box-shadow:
    0 24px 56px rgba(15, 28, 46, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.hero-content {
  min-width: 0;
}

.hero-content .hero-title,
.hero-content .hero-lead,
.hero-content .hero-text {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.hero-content .hero-title { margin-bottom: 1.25rem; }
.hero-content .hero-lead { margin-bottom: 1.1rem; }
.hero-content .hero-text { margin-bottom: 1rem; }
.hero-content .hero-text:last-of-type { margin-bottom: 0; }

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--primary);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
}

.hero-text {
  margin-bottom: 1rem;
  color: rgba(15, 28, 46, 0.88);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-visual {
  margin: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(15, 28, 46, 0.12),
    0 0 0 3px rgba(var(--secondary-rgb), 0.15),
    0 8px 24px rgba(var(--secondary-rgb), 0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.4), rgba(var(--secondary-rgb), 0.1), rgba(255, 255, 255, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-visual:hover .hero-image-wrap {
  box-shadow:
    0 28px 60px rgba(15, 28, 46, 0.15),
    0 0 0 3px rgba(var(--secondary-rgb), 0.25),
    0 12px 32px rgba(var(--secondary-rgb), 0.18);
  transform: translateY(-2px);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.page-hero {
  padding: var(--section-space) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  line-height: 1.2;
  margin: 0 0 0.8rem;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 700;
  padding-left: 1rem;
  border-left: 4px solid var(--secondary);
}

h3 {
  font-weight: 600;
  color: var(--primary);
}

p {
  margin: 0 0 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
}

.btn {
  border: 0;
  border-radius: var(--radius-sm);
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--glow), 0 8px 24px rgba(15, 28, 46, 0.2);
}

.btn-primary {
  background: linear-gradient(180deg, var(--secondary), #a01830);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(var(--secondary-rgb), 0.4);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.section-action {
  margin-top: 1.25rem;
}

.hero-points {
  margin: 0;
  padding-left: 1.2rem;
}

.hero-card {
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--primary), rgba(15, 28, 46, 0.92));
  color: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.highlight-list {
  display: grid;
  gap: 1rem;
}

.highlight-list article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
}

.highlight-list h3 {
  color: var(--secondary);
  margin-bottom: 0.3rem;
  font-size: 1.4rem;
}

.section {
  padding: var(--section-space) 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(var(--secondary-rgb), 0.06) 0%, rgba(var(--secondary-rgb), 0.02) 100%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
    var(--white);
}

.section-text {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.card-grid,
.blog-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.game-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.game-card {
  border-radius: var(--radius);
  border: 1px solid rgba(15, 28, 46, 0.1);
  border-left: 4px solid var(--secondary);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 28, 46, 0.12), 0 0 0 1px rgba(var(--secondary-rgb), 0.1);
}

.game-card__media {
  aspect-ratio: 16 / 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(var(--secondary-rgb), 0.14), rgba(15, 28, 46, 0.08)),
    linear-gradient(180deg, #f8f8f8, #ffffff);
  color: rgba(15, 28, 46, 0.7);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.game-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.game-card__body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.game-card__body h3 {
  margin-bottom: 0.55rem;
}

.game-card__body p {
  margin: 0;
}

.card,
.blog-card,
.about-grid article,
.mini-cards article,
.timeline article,
.form-card {
  border-radius: var(--radius);
  border: 1px solid rgba(15, 28, 46, 0.1);
  border-left: 4px solid var(--secondary);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.25rem 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.blog-card:hover,
.about-grid article:hover,
.mini-cards article:hover,
.timeline article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 28, 46, 0.12), 0 0 0 1px rgba(var(--secondary-rgb), 0.1);
}

.card h3,
.blog-card h3,
.about-grid h3,
.mini-cards h3,
.timeline h3 {
  margin-bottom: 0.45rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.meta {
  font-size: 0.88rem;
  color: rgba(15, 28, 46, 0.75);
}

.blog-card a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.blog-item-card {
  border-radius: var(--radius);
  border: 1px solid rgba(15, 28, 46, 0.1);
  border-left: 4px solid var(--secondary);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 28, 46, 0.12), 0 0 0 1px rgba(var(--secondary-rgb), 0.1);
}

.blog-item-card__media {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-item-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-item-card__body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
}

.blog-item-card__body h2 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
  padding-left: 0;
}

.blog-item-card__body h2 a {
  color: var(--primary);
  text-decoration: none;
}

.blog-item-card__body p {
  margin: 0 0 0.2rem;
  flex-grow: 1;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.blog-detail-main h2 {
  padding-left: 0;
}

.blog-detail-main,
.blog-detail-sidebar {
  min-width: 0;
}

.blog-detail-hero {
  margin: 0 0 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(15, 28, 46, 0.08);
}

.blog-detail-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-detail-lead {
  display: none;        /* ← yeh line add karo */
  margin: 0.75rem 0 0;
  max-width: 65ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(15, 28, 46, 0.82);
}

.blog-detail-body {
  min-width: 0;
}

.blog-detail-body :first-child {
  margin-top: 0;
}

.blog-detail-body h2,
.blog-detail-body h3 {
  padding-left: 0;
  margin-top: 1.35rem;
  margin-bottom: 0.65rem;
}

.blog-detail-body p,
.blog-detail-body ul,
.blog-detail-body ol {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.blog-detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.blog-detail-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 1rem 0;
}

.blog-detail-body table td,
.blog-detail-body table th {
  border: 1px solid rgba(15, 28, 46, 0.12);
  padding: 0.5rem 0.65rem;
  text-align: left;
}

.blog-detail-body a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-side-card h2 {
  padding-left: 0;
  margin-bottom: 0.8rem;
}

.blog-detail-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.blog-status {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(var(--secondary-rgb), 0.08);
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.blog-recent-list--sidebar {
  list-style: none;
  padding: 0;
}

.blog-recent-list {
  margin: 0;
  padding-left: 1.1rem;
}

.blog-recent-list li + li {
  margin-top: 0.6rem;
}

.blog-recent-list a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.blog-author-box {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.blog-author-box img {
  border-radius: 50%;
  border: 1px solid rgba(15, 28, 46, 0.14);
  flex-shrink: 0;
}

.blog-author-name {
  margin: 0 0 0.2rem;
  font-weight: 700;
}

.blog-author-bio {
  margin: 0;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.blog-post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 28, 46, 0.1);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blog-post-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.blog-post-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  flex: 1;
}

.blog-meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(15, 28, 46, 0.7);
}

.blog-post-body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.blog-post-card__excerpt {
  margin: 0;
  color: rgba(15, 28, 46, 0.85);
  flex: 1;
}

.blog-post-card__readmore {
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-pagination {
  margin-top: 1rem;
}

.pager-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.pager-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  background: var(--secondary);
  color: var(--white);
  cursor: pointer;
}

.pager-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.blog-sidebar-item {
  list-style: none;
}

.blog-sidebar-item + .blog-sidebar-item {
  margin-top: 0.75rem;
}

.blog-sidebar-item__link {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.blog-sidebar-item__thumb img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

.blog-sidebar-item__title {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

.blog-sidebar-item__date {
  display: block;
  font-size: 0.82rem;
  color: rgba(15, 28, 46, 0.68);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

/* Content + image split: content left, image right (or reversed with --reverse) */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  margin-top: 1.25rem;
}

.split-block__content {
  min-width: 0;
}

.split-block__content h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.split-block__content h3:first-child {
  margin-top: 0;
}

.split-block__content p,
.split-block__content ul {
  margin-bottom: 0.9rem;
}

.split-block__content p:last-child,
.split-block__content ul:last-child {
  margin-bottom: 0;
}

.split-block__visual {
  margin: 0;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.split-block__visual img {
  width: 100%;
  max-width: 320px;
  height: auto;
  max-height: 70vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(15, 28, 46, 0.12), 0 0 0 1px rgba(15, 28, 46, 0.06);
  object-fit: contain;
}

.split-block__visual--featured img {
  width: clamp(260px, 38vw, 460px);
  max-width: 460px;
  max-height: 62vh;
}

.split-block__visual--app img {
  width: clamp(300px, 44vw, 540px);
  max-width: 540px;
  max-height: 70vh;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.split-block__visual--app {
  align-items: center;
}

.split-block--app-rows {
  align-items: center;
}

.split-block__visual--register img,
.split-block__visual--login img {
  width: clamp(340px, 48vw, 600px);
  max-width: 600px;
  max-height: 78vh;
}

.split-block__visual--plain img {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.split-block--reverse .split-block__content {
  order: 2;
}

.split-block--reverse .split-block__visual {
  order: 1;
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 0;
  list-style: none;
}

.feature-list li {
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(var(--secondary-rgb), 0.3);
}

.content-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border-radius: var(--radius);
  border: 2px solid rgba(var(--secondary-rgb), 0.2);
  box-shadow: var(--shadow);
}

.content-table {
  min-width: 320px;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.content-table th,
.content-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 28, 46, 0.08);
}

.content-table th {
  background: linear-gradient(180deg, rgba(var(--secondary-rgb), 0.15), rgba(var(--secondary-rgb), 0.08));
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.5px;
}

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

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid rgba(15, 28, 46, 0.1);
  border-left: 4px solid var(--secondary);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 1.25rem;
  font: inherit;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
}

.faq-question:hover,
.faq-question:focus-visible {
  background: rgba(var(--secondary-rgb), 0.06);
}

.faq-arrow {
  flex: 0 0 auto;
  width: 0.8rem;
  height: 0.8rem;
  border-right: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 0.2rem;
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(-135deg);
}

.faq-answer {
  padding: 0 1.25rem 1.2rem;
}

.faq-answer p {
  margin: 0;
}

.form-card {
  display: grid;
  gap: 0.55rem;
  border-left: 4px solid var(--secondary);
}

.contact-form-shell {
  display: flex;
  justify-content: center;
}

.contact-form-card {
  width: 65%;
  min-width: 320px;
}

.contact-form-card .btn {
  width: 30%;
  min-width: 170px;
}

.form-card h2 {
  margin-bottom: 0.4rem;
}

.form-card label {
  font-weight: 500;
  font-size: 0.95rem;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid rgba(15, 28, 46, 0.2);
  border-radius: 10px;
  padding: 0.72rem 0.78rem;
  font: inherit;
  color: var(--primary);
  background: var(--white);
}

.form-card input:focus,
.form-card textarea:focus {
  outline: 2px solid rgba(var(--secondary-rgb), 0.35);
  border-color: var(--secondary);
}

.small-text {
  margin-top: 0.3rem;
  font-size: 0.88rem;
}

.small-text a {
  color: var(--secondary);
  text-decoration: none;
}

.mini-cards,
.timeline {
  display: grid;
  gap: 0.9rem;
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(var(--secondary-rgb), 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(135deg, #0a1422 0%, #122034 55%, #1a1527 100%);
  color: var(--white);
  padding: 2.6rem 0 1rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(var(--secondary-rgb), 0.35);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.22);
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.footer-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.footer-logo-mark {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-brand p {
  margin-top: 0.8rem;
  margin-bottom: 0;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 0.65rem;
  font-size: 1rem;
  color: var(--white);
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
}

.footer-link-grid a {
  width: fit-content;
}

.footer-contact p {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--secondary);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.2s ease;
}

.card,
.blog-card,
.about-grid article,
.mini-cards article,
.timeline article,
.form-card {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.8s ease forwards;
}

.card:nth-child(2),
.blog-card:nth-child(2),
.about-grid article:nth-child(2),
.mini-cards article:nth-child(2),
.timeline article:nth-child(2) {
  animation-delay: 0.08s;
}

.card:nth-child(3),
.blog-card:nth-child(3),
.about-grid article:nth-child(3),
.mini-cards article:nth-child(3),
.timeline article:nth-child(3) {
  animation-delay: 0.15s;
}

.card:nth-child(4),
.blog-card:nth-child(4),
.timeline article:nth-child(4) {
  animation-delay: 0.23s;
}

.card:nth-child(5),
.blog-card:nth-child(5) {
  animation-delay: 0.3s;
}

.card:nth-child(6),
.blog-card:nth-child(6) {
  animation-delay: 0.37s;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 940px) {
  .hero-grid,
  .split-grid,
  .split-block,
  .card-grid,
  .blog-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .split-block--reverse .split-block__content,
  .split-block--reverse .split-block__visual {
    order: unset;
  }

  .blog-list-grid,
  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .split-block__visual {
    margin-top: 0.5rem;
  }

  .split-block {
    gap: 1.25rem;
    margin-top: 1rem;
  }

  .split-block__visual img {
    max-width: 280px;
    max-height: 65vh;
    margin: 0 auto;
    display: block;
  }

  .hero {
    padding: 1.5rem 0 4rem;
  }

  .hero-inner.container {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 1.75rem clamp(1rem, 4vw, 1.5rem);
  }

  .hero-visual {
    margin-top: 1.5rem;
    max-width: 100%;
    order: 2;
  }

  .hero-content {
    order: 1;
  }

  .section {
    padding: 3rem 0;
  }

  h2 {
    font-size: clamp(1.35rem, 4vw, 2rem);
    padding-left: 0.75rem;
  }

  h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 1.5rem);
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .hero-inner.container {
    padding: 1.5rem 0.875rem;
  }

  .hero-title {
    font-size: clamp(1.4rem, 5.5vw, 1.75rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .btn {
    min-height: 44px;
    padding: 0.6rem 1.1rem;
    font-size: 0.95rem;
  }

  .split-block__content h3 {
    margin-top: 1rem;
    font-size: 1.05rem;
  }

  .split-block__visual img {
    max-width: 260px;
  }
}

@media (max-width: 800px) {
  :root {
    --header-offset: 68px;
  }

  .nav-wrap {
    display: flex;
    min-height: 68px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logo {
    width: auto;
    height: auto;
    justify-content: flex-start;
  }

  .logo-mark {
    height: 56px;
    width: auto;
    max-width: 220px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem 1rem;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    width: auto;
    margin: 0;
    max-width: calc(100vw - 2rem);
    background: rgba(14, 24, 40, 0.98);
    border: 1px solid rgba(var(--secondary-rgb), 0.25);
    border-radius: 14px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.75rem;
    margin: 0;
    display: none;
  }

  .nav-links.open {
    display: flex;
    animation: navDrop 0.22s ease;
  }

  .nav-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  .nav-group-pages,
  .nav-group-actions {
    grid-column: auto;
    justify-content: stretch;
  }

  .nav-group-actions {
    margin-left: 0;
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-separator {
    width: 100%;
    height: 1px;
  }

  .nav-group a {
    width: 100%;
    min-height: 44px;
    padding: 0.62rem 0.7rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
  }

  .nav-group a:hover,
  .nav-group a:focus-visible {
    background: rgba(var(--secondary-rgb), 0.22);
    color: var(--white);
  }

  .nav-group a.active {
    color: var(--white);
  }

  .nav-group a::after {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.3rem;
  }

  .nav-group-actions .btn-nav {
    width: 100%;
    justify-content: center;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-link-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 2rem 0 1rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    width: min(1100px, calc(100% - 1rem));
  }

  .hero-title {
    font-size: clamp(1.65rem, 6vw, 2.5rem);
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-inner .hero-title,
  .hero-inner .hero-lead,
  .hero-inner .hero-text {
    max-width: 100%;
  }

  .game-card-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .timeline article,
  .mini-cards article,
  .form-card {
    padding: 1rem 1rem 1rem 0.9rem;
    border-left-width: 3px;
  }

  .content-table th,
  .content-table td {
    padding: 0.5rem 0.65rem;
    font-size: 0.85rem;
  }

  .content-table-wrap {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    border-radius: 10px;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem;
  }

  .split-block {
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .split-block__visual img {
    max-width: 260px;
    max-height: 60vh;
  }

  .form-card input,
  .form-card textarea {
    padding: 0.65rem 0.7rem;
  }

  .btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }

  .page-hero {
    padding: 3rem 0;
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }
}

@media (max-width: 480px) {
  :root {
    --header-offset: 60px;
  }

  .container {
    width: calc(100% - 1.5rem);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero {
    padding: 1.25rem 0 3rem;
  }

  .hero-inner.container {
    width: 100%;
    padding: 1.25rem 0.75rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    margin-top: 1.25rem;
  }

  .hero-image-wrap {
    border-radius: 10px;
  }

  .hero-image {
    max-height: 50vh;
    object-fit: contain;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .section {
    padding: var(--section-space-mobile) 0;
  }

  .page-hero {
    padding: var(--section-space-mobile) 0;
  }

  .contact-form-card {
    width: 100%;
    min-width: 0;
  }

  .contact-form-card .btn {
    width: 100%;
    min-width: 0;
  }

  .split-block {
    gap: 1.25rem;
    margin-top: 1rem;
  }

  .split-block__content p,
  .split-block__content ul {
    margin-bottom: 0.75rem;
  }

  .split-block__content h3 {
    margin-top: 1rem;
    font-size: 1rem;
  }

  .split-block__visual {
    margin-top: 0.75rem;
  }

  .split-block__visual img {
    max-width: 240px;
    max-height: 55vh;
  }

  h2 {
    font-size: 1.25rem;
    padding-left: 0.5rem;
    border-left-width: 3px;
  }

  h3 {
    font-size: 1.05rem;
  }

  .logo-mark {
    height: 48px;
    max-width: 180px;
  }

  .nav-wrap {
    min-height: 60px;
  }

  .footer-brand p {
    font-size: 0.9rem;
  }

  .footer-link-grid a {
    font-size: 0.9rem;
  }

  .content-table th,
  .content-table td {
    padding: 0.45rem 0.5rem;
    font-size: 0.8rem;
  }

  .content-table-wrap {
    margin-left: 0;
    margin-right: 0;
  }

  .feature-list,
  .section p,
  .hero-content p,
  .split-block__content p,
  .split-block__content li {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 1rem);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .hero-inner.container {
    padding: 1rem 0.5rem;
  }

  .hero-title {
    font-size: 1.35rem;
  }

  .logo-mark {
    max-width: 140px;
    height: 42px;
  }

  .split-block {
    gap: 1rem;
    margin-top: 0.75rem;
  }

  .split-block__visual img {
    max-width: 200px;
    max-height: 50vh;
  }

  .split-block__content h3 {
    font-size: 0.95rem;
  }

  h2 {
    font-size: 1.15rem;
  }
}
