@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;500;600;700&display=swap');

:root {
  --black: #000000;
  --red: #f5142b;
  --dark-red: #8d000e;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.3);
  --muted: rgba(255, 255, 255, 0.5);
  --maxw: 1200px;
  /* Distance from the screen edge to the centered container edge */
  --edge: max(0px, calc((100vw - var(--maxw)) / 2));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Unbounded', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.page {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

.glow {
  position: absolute;
  width: 838px;
  height: 838px;
  pointer-events: none;
  z-index: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 60px;
  padding: 24px 60px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.88;
}

.site-header {
  padding: 10px 60px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 400;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--red);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: -4px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.menu-toggle img {
  width: 26px;
  height: 14px;
  object-fit: contain;
}

.divider {
  height: 1px;
  width: 100%;
  background: var(--line);
  margin-top: 15px;
}

.hero {
  position: relative;
  width: 100%;
  background: #ffffff url(/wp-content/themes/brontklynelorza/assets/images/hero-bg.png) center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 627px;
}

.hero-title {
  position: absolute;
  left: 60px;
  top: 60px;
  width: 842px;
  max-width: calc(100% - 120px);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-text {
  position: absolute;
  top: 212px;
  right: 60px;
  width: 516px;
  max-width: calc(100% - 120px);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  text-align: justify;
}

.hero-text p + p {
  margin-top: 1.4em;
}

.hero-btn {
  position: absolute;
  left: 60px;
  top: 502px;
}

.hero-quote {
  position: absolute;
  top: 467px;
  right: 60px;
  width: 516px;
  max-width: calc(100% - 120px);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.about {
  position: relative;
  display: flex;
  align-items: center;
  gap: 27px;
  padding: 60px 60px 60px 0;
  overflow: hidden;
}

.about > *:not(.glow) {
  position: relative;
  z-index: 1;
}

.glow-about {
  left: 721px;
  top: -141px;
}

.about-img {
  flex: 0 0 495px;
  width: 495px;
  height: 577px;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 40px 40px 0;
}

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-body {
  display: flex;
  align-items: flex-end;
  gap: 38px;
}

.about-text {
  flex: 1;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.about-text p + p {
  margin-top: 1.4em;
}

.about-heart {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.why {
  position: relative;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.why > *:not(.glow) {
  position: relative;
  z-index: 1;
}

.glow-why {
  left: -334px;
  top: -123px;
}

.why-title {
  width: 100%;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.why-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.why-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.feature-card {
  width: 330px;
  border: 1px solid var(--white);
  border-radius: 28px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  overflow: hidden;
}

.feature-content {
  width: 310px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.feature-pill {
  width: 310px;
  max-width: 100%;
  border: 1px solid var(--white);
  border-radius: 60px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-pill span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
}

.feature-desc {
  width: 100%;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
}

.feature-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.testimonials {
  position: relative;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.testimonials > *:not(.glow) {
  position: relative;
  z-index: 1;
}

.glow-testimonials {
  left: 731px;
  top: -131px;
}

.ts-head {
  width: 1080px;
  max-width: calc(100% - 120px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ts-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.ts-subtitle {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.ts-row {
  width: 100%;
  max-width: var(--maxw);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
}

.ts-cluster {
  flex: 0 0 509px;
  width: 509px;
  height: 457px;
  position: relative;
  overflow: hidden;
}

.ts-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 509px;
  height: 457px;
  transform-origin: top left;
}

.av {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
}

.av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.av1 { left: 305px; top: 190px; width: 204px; height: 204px; }
.av2 { left: -55px; top: 253px; width: 204px; height: 204px; }
.av3 { left: -45px; top: 0; width: 204px; height: 204px; }
.av4 { left: 141px; top: 173px; width: 163px; height: 163px; }
.av5 { left: 223px; top: 5px; width: 156px; height: 156px; }
.dot1 { left: 407px; top: 83px; width: 73px; height: 73px; }
.dot2 { left: 196.5px; top: 336px; width: 90px; height: 90px; }

.ts-quotes {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ts-quote .name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1em;
}

.ts-quote .text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
}

.ts-photo {
  flex: 0 0 250px;
  width: 250px;
  height: 507px;
}

.ts-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px 0 0 40px;
}

.catalog-hero {
  display: flex;
  align-items: center;
  gap: 27px;
  padding: 60px 0 60px 60px;
  overflow: hidden;
}

.catalog-hero-content {
  flex: 0 0 618px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.catalog-hero-title {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.catalog-hero-text {
  width: 100%;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.catalog-hero-text p + p {
  margin-top: 1.4em;
}

.catalog-hero-heart {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.catalog-hero-img {
  flex: 0 0 495px;
  width: 495px;
  height: 577px;
}

.catalog-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px 0 40px 40px;
}

.games {
  position: relative;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.games > *:not(.glow) {
  position: relative;
  z-index: 1;
}

.glow-games {
  left: -334px;
  top: -123px;
}

.games-title {
  width: 1080px;
  max-width: 100%;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.games-grid {
  width: 1080px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.games-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.games-row-bottom {
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
}

.games-heart {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  object-fit: contain;
}

.games-row-cards {
  display: flex;
  align-items: center;
  gap: 20px;
}

.game-card {
  display: block;
  width: 224px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-page {
  display: flex;
  align-items: center;
  gap: 27px;
  padding: 60px;
  overflow: hidden;
}

.game-page-side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.game-page-image {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
}

.game-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-page-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 275px;
  height: 65px;
  padding: 24px 60px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 60px;
  transition: opacity 0.2s ease;
}

.game-page-cta:hover {
  opacity: 0.88;
}

.game-page-main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 27px;
}

.game-page-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.game-page-title {
  flex: 1 1 0;
  min-width: 0;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  word-break: break-word;
}

.game-page-icon {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.game-page-desc {
  width: 100%;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.game-page-desc p + p {
  margin-top: 1.4em;
}

.policy {
  position: relative;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.policy > *:not(.glow) {
  position: relative;
  z-index: 1;
}

.glow-policy {
  left: -334px;
  top: -123px;
}

.policy-title {
  width: 1080px;
  max-width: calc(100% - 120px);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.policy-body {
  width: 1080px;
  max-width: calc(100% - 120px);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.policy-body p,
.policy-body ul {
  margin-bottom: 10px;
}

.policy-body p:last-child,
.policy-body ul:last-child {
  margin-bottom: 0;
}

.policy-body ul {
  padding-left: 21px;
  list-style: disc;
}

.policy-body li {
  line-height: 1.5;
}

.policy-body a {
  color: inherit;
  text-decoration: underline;
  word-break: break-word;
}

.policy-body a:hover {
  color: var(--red);
}

.contact {
  padding: 60px;
  display: flex;
  justify-content: center;
}

.contact-box {
  width: 100%;
  max-width: 1080px;
  background: var(--dark-red);
  border-radius: 40px;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.contact-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contact-pill {
  width: 310px;
  max-width: 100%;
  border: 1px solid var(--white);
  border-radius: 60px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer {
  position: relative;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.site-footer > *:not(.glow) {
  position: relative;
  z-index: 1;
}

.glow-footer {
  left: 181px;
  top: -156px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 400;
}

.footer-nav a {
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--red);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.socials a {
  display: block;
  width: 59px;
  height: 59px;
  transition: transform 0.2s ease;
}

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

.socials img {
  width: 100%;
  height: 100%;
}

.copyright {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 991px) {
  .site-header {
    padding: 10px 20px 0;
    position: relative;
  }

  .header-inner {
    height: 36px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 18px;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle:hover,
  .site-header.open .menu-toggle {
    background: rgba(255, 255, 255, 0.12);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    background: #111111;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 24px;
    z-index: 20;
  }

  .site-header.open .main-nav {
    display: flex;
  }

  .hero-inner {
    min-height: 627px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .hero-title,
  .hero-text,
  .hero-quote,
  .hero-btn {
    position: static;
    width: 100%;
    max-width: 100%;
  }

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

  .hero-btn {
    width: 100%;
    padding: 24px 20px;
  }

  .hero-quote {
    font-size: 20px;
  }

  .about {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 40px 20px;
  }

  .about-img {
    flex: none;
    width: 100%;
    height: 300px;
  }

  .about-img img {
    border-radius: 40px;
  }

  .about-content {
    width: 100%;
    gap: 20px;
  }

  .about-title {
    font-size: 28px;
  }

  .about-body {
    gap: 10px;
  }

  .about-heart {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
  }

  .why {
    padding: 40px 20px;
    gap: 20px;
  }

  .why-title {
    font-size: 28px;
  }

  .why-rows {
    gap: 20px;
  }

  .why-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .feature-card {
    width: 100%;
  }

  .feature-content {
    width: 100%;
  }

  .testimonials {
    padding: 40px 20px;
    gap: 20px;
  }

  .ts-head {
    width: 100%;
    max-width: 100%;
  }

  .ts-title {
    font-size: 28px;
  }

  .ts-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .ts-cluster {
    flex: none;
    width: 390px;
    max-width: 100%;
    height: 350px;
  }

  .ts-stage {
    transform: scale(0.766);
  }

  .ts-quotes {
    width: 100%;
    gap: 10px;
  }

  .ts-photo {
    flex: none;
    width: 100%;
    height: 300px;
  }

  .ts-photo img {
    border-radius: 40px;
  }

  .catalog-hero {
    flex-direction: column;
    align-items: stretch;
    padding: 40px 20px;
    gap: 20px;
  }

  .catalog-hero-content {
    display: contents;
  }

  .catalog-hero-title {
    order: 1;
    font-size: 28px;
  }

  .catalog-hero-img {
    order: 2;
    flex: none;
    width: 100%;
    height: 300px;
  }

  .catalog-hero-img img {
    border-radius: 40px;
  }

  .catalog-hero-text {
    order: 3;
  }

  .catalog-hero-heart {
    order: 4;
  }

  .games {
    padding: 40px 20px;
    gap: 20px;
  }

  .games-title {
    font-size: 28px;
  }

  .games-grid {
    align-items: center;
    gap: 20px;
  }

  .games-row {
    gap: 5.636px;
    width: auto;
  }

  .games-row-bottom {
    display: contents;
  }

  .games-row-top {
    order: 3;
  }

  .games-heart {
    order: 2;
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
  }

  .games-row-cards {
    order: 1;
    gap: 5.636px;
  }

  .game-card {
    width: 126.243px;
    height: 123.988px;
    border-radius: 11.272px;
  }

  .game-page {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 40px 20px;
  }

  .game-page-side {
    align-self: center;
  }

  .game-page-main {
    width: 100%;
    align-items: stretch;
    gap: 20px;
  }

  .game-page-head {
    align-items: center;
  }

  .game-page-title {
    font-size: 28px;
    line-height: 1.15;
  }

  .policy {
    padding: 40px 0;
    gap: 20px;
  }

  .policy-title {
    width: 100%;
    max-width: calc(100% - 40px);
    font-size: 28px;
  }

  .policy-body {
    width: 100%;
    max-width: calc(100% - 40px);
  }

  .contact {
    padding: 40px 20px;
  }

  .contact-box {
    padding: 20px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-pills {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .contact-pill {
    width: 100%;
  }

  .site-footer {
    padding: 40px 20px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .copyright {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 34px;
  }

  .footer-nav {
    font-size: 12px;
  }

  .ts-cluster {
    width: 100%;
  }
}

/* ============================================================
   Scroll reveal animations
   ============================================================ */
.has-js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.about-heart,
.games-heart,
.catalog-hero-heart {
  animation: float-soft 4.5s ease-in-out infinite;
}

/* ============================================================
   Hover effects
   ============================================================ */
.btn {
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(245, 20, 43, 0.3);
}

.brand-logo {
  transition: transform 0.4s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.08) rotate(-6deg);
}

.about-img,
.catalog-hero-img,
.ts-photo {
  overflow: hidden;
}

.about-img img,
.catalog-hero-img img,
.ts-photo img,
.game-page-image img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-img:hover img,
.catalog-hero-img:hover img,
.ts-photo:hover img,
.game-page-image:hover img {
  transform: scale(1.06);
}

.feature-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 12px 30px rgba(245, 20, 43, 0.18);
}

.feature-icon {
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(8deg);
}

.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(245, 20, 43, 0.28);
}

.game-card img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.game-card:hover img {
  transform: scale(1.07);
}

.game-page-icon {
  transition: transform 0.4s ease;
}

.game-page-icon:hover {
  transform: scale(1.1) rotate(6deg);
}

.contact-pill {
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.contact-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--red);
  transform: translateY(-2px);
}

.av {
  transition: transform 0.4s ease;
}

.av:hover {
  transform: scale(1.06);
  z-index: 2;
}

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  display: flex;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

.cookie-card {
  pointer-events: auto;
  width: 100%;
  max-width: 1080px;
  background: var(--white);
  color: var(--black);
  border-radius: 40px;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  transform: translateY(160%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.cookie-banner.is-visible .cookie-card {
  transform: translateY(0);
  opacity: 1;
}

.cookie-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--black);
}

.cookie-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--black);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-btn {
  border: none;
  cursor: pointer;
  min-width: 195px;
  font-family: inherit;
}

@media (max-width: 991px) {
  .cookie-banner {
    justify-content: flex-start;
    padding: 16px;
  }

  .cookie-card {
    max-width: 420px;
    padding: 30px;
    gap: 18px;
    border-radius: 24px;
  }

  .cookie-title {
    font-size: 32px;
  }

  .cookie-actions {
    width: 100%;
    gap: 14px;
  }

  .cookie-btn {
    flex: 1;
    min-width: 0;
    padding: 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-heart,
  .games-heart,
  .catalog-hero-heart {
    animation: none;
  }

  .cookie-card {
    transition: opacity 0.3s ease;
  }
}

/* ============================================================
   Full-bleed sections (desktop)
   The page stays in a 1200px container, but sections whose
   background/glow or edge image should reach the screen edges
   break out to the full viewport width, while their text and
   cards stay aligned to the container.
   ============================================================ */
@media (min-width: 992px) {
  .hero,
  .about,
  .why,
  .testimonials,
  .catalog-hero,
  .games {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  /* Hero: background image fills the screen, content recentered */
  .hero-inner {
    max-width: var(--maxw);
    margin-left: auto;
    margin-right: auto;
  }

  /* About: image bleeds to the left edge, text stays in the container */
  .about {
    padding: 60px 0;
  }

  .about-img {
    flex: 0 0 calc(495px + var(--edge));
    width: calc(495px + var(--edge));
  }

  .about-content {
    padding-right: calc(var(--edge) + 60px);
  }

  .glow-about {
    left: calc(721px + var(--edge));
  }

  /* Why: ambient glow reaches the screen edge, cards stay centered */
  .why-title,
  .why-rows {
    max-width: var(--maxw);
  }

  .glow-why {
    left: calc(-334px + var(--edge));
  }

  /* Testimonials: avatar cluster bleeds to the left edge */
  .ts-cluster {
    flex: 0 0 calc(509px + var(--edge));
    width: calc(509px + var(--edge));
    margin-left: calc(-1 * var(--edge));
  }

  /* Testimonials: featured photo bleeds to the right edge */
  .ts-photo {
    flex: 0 0 calc(250px + var(--edge));
    width: calc(250px + var(--edge));
    margin-right: calc(-1 * var(--edge));
  }

  .glow-testimonials {
    left: calc(731px + var(--edge));
  }

  /* Catalog hero: image bleeds to the right edge */
  .catalog-hero {
    padding: 60px 0 60px calc(var(--edge) + 60px);
  }

  .catalog-hero-img {
    flex: 0 0 calc(495px + var(--edge));
    width: calc(495px + var(--edge));
  }

  /* Games: ambient glow reaches the screen edge */
  .glow-games {
    left: calc(-334px + var(--edge));
  }
}
