/* Bar-Sportiv - bar-sportiv.com */
/* @pawel: base styles v2.4 - merged from old kasyno-mvp, don't nuke before July */
/* FIXME: consolidate .main-header + .header after Safari sticky fix lands @mike 18.06 */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #1e3a8a;
  --blue-dark: #172554;
  --red: #dc2626;
  --gold: #eab308;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --shadow: 0 4px 20px rgba(30, 58, 138, 0.15);
  --shadow-lg: 0 10px 40px rgba(30, 58, 138, 0.2);
  --radius: 12px;
  --header-h: 80px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

.section:not(.hero):not(.page-hero):not(.theme-hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}
h4 {
  font-size: 1.125rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.section {
  padding: 80px 0;
}

.section--gradient {
  background: linear-gradient(
    135deg,
    var(--blue-dark) 0%,
    var(--blue) 50%,
    #2563eb 100%
  );
  color: var(--white);
}

.section--gradient h2 {
  color: var(--white);
}

.section--light {
  background: var(--gray-50);
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__header p {
  margin-top: 12px;
  color: var(--gray-600);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section--gradient .section__header p {
  color: rgba(255, 255, 255, 0.85);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--gold {
  background: var(--gold);
  color: var(--blue-dark);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: #ca8a04;
  border-color: #ca8a04;
  color: var(--blue-dark);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--blue);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--blue:hover {
  background: var(--blue-dark);
  color: var(--white);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.header__logo img {
  width: 40px;
  height: 40px;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  list-style: none;
  gap: 24px;
}

.header__nav-link {
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray-800);
  font-weight: 400;
  position: relative;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--red);
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}

.header__contact {
  display: none;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
}

.header__contact a {
  color: var(--gray-800);
  white-space: nowrap;
}

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

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-menu.is-open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--white);
  padding: 100px 32px 32px;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__list {
  list-style: none;
}

.mobile-menu__link {
  display: block;
  padding: 14px 0;
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-200);
}

.mobile-menu__contact {
  margin-top: 24px;
  font-size: 0.9rem;
}

.mobile-menu__contact p {
  margin-bottom: 8px;
}

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: none;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Slider */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  margin-top: var(--header-h);
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.85) 0%,
    rgba(220, 38, 38, 0.6) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 20px;
  color: var(--white);
}

.hero__content h1,
.hero__content h2 {
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 600px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.hero__nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--blue-dark);
}

.hero__nav--prev {
  left: 20px;
}
.hero__nav--next {
  right: 20px;
}

.hero__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.hero__dot.is-active,
.hero__dot:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.cards-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.card h3 {
  margin-bottom: 8px;
}

/* Tabs */
.tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.tabs__btn {
  padding: 12px 24px;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gray-800);
}

.tabs__btn:hover,
.tabs__btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.tabs__panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.tabs__panel.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tabs__content {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.tabs__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.tabs__gallery figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tabs__gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition);
}

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

.game-card__img {
  position: relative;
  aspect-ratio: 370/250;
  width: 100%;
  overflow: hidden;
}

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

.game-card__body {
  padding: 20px;
}

.game-card__body h3 {
  margin-bottom: 8px;
}

.game-card__body p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.game-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
}

.game-card--placeholder {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  color: var(--white);
  text-align: center;
  padding: 32px;
}

.game-card--placeholder h3 {
  color: var(--gold);
  margin-bottom: 12px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  transition: background var(--transition);
}

.faq-item__question:hover {
  background: var(--gray-50);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform var(--transition);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}

.faq-item.is-open .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer-inner {
  padding: 0 24px 20px;
  color: var(--gray-600);
}

/* Masonry Gallery */
.masonry {
  columns: 1;
  column-gap: 16px;
}

.masonry__item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  position: relative;
}

.masonry__item img {
  width: 100%;
  transition: transform var(--transition);
}

.masonry__item:hover img {
  transform: scale(1.03);
}

.masonry__caption {
  padding: 12px 16px;
  background: var(--white);
}

.masonry__caption h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.masonry__caption time {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
  padding: 20px;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-800);
}

.lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  text-align: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
}

.section--gradient .form__group label {
  color: #fff;
}

.form__group input,
.form__group textarea,
.form__group select {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--blue);
}

.form__group input:invalid:not(:placeholder-shown),
.form__group textarea:invalid:not(:placeholder-shown) {
  border-color: var(--red);
}

.form__group--error input,
.form__group--error textarea {
  border-color: var(--red);
}

.form__error {
  font-size: 0.8rem;
  color: var(--red);
  display: none;
}

.form__group--error .form__error {
  display: block;
}

.form__required {
  color: var(--red);
}

.contact-info {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-info h3 {
  color: var(--gold);
  margin-bottom: 24px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-info a {
  color: var(--white);
}

.contact-info a:hover {
  color: var(--gold);
}

.contact-info__map {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-info__map img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.contact-info__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.contact-info__social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition);
}

.contact-info__social a:hover {
  background: var(--gold);
  color: var(--blue-dark);
}

/* Footer */
.footer {
  background: var(--blue-dark);
  color: var(--white);
}

.footer__top {
  padding: 60px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer h3,
.footer h4 {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__newsletter {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer__newsletter input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.75rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card__number {
  font-family: "Oswald", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__label {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Page hero */
.page-hero {
  margin-top: var(--header-h);
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--blue-dark) 0%,
    var(--blue) 60%,
    var(--red) 100%
  );
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  margin-top: 12px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.two-col--60-40 {
  grid-template-columns: 1fr;
}

.two-col__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

/* Location cards */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.location-card h3 {
  margin-bottom: 12px;
  color: var(--red);
}

.location-card address {
  font-style: normal;
  color: var(--gray-600);
  margin-bottom: 12px;
}

/* Theme landing */
.theme-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  margin-top: var(--header-h);
  overflow: hidden;
}

.theme-hero__media {
  position: absolute;
  inset: 0;
}

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

.theme-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(23, 37, 84, 0.9) 0%,
    rgba(30, 58, 138, 0.5) 100%
  );
}

.theme-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  text-align: center;
  padding: 60px 20px;
  color: var(--white);
}

.theme-hero__content h1 {
  color: var(--white);
  margin-bottom: 12px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
  border-top: 4px solid var(--gold);
  transition: transform var(--transition);
}

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

.pricing-card--featured {
  border-top-color: var(--red);
  transform: scale(1.02);
}

.pricing-card h3 {
  margin-bottom: 8px;
}

.pricing-card__price {
  font-family: "Oswald", sans-serif;
  font-size: 2.5rem;
  color: var(--red);
  margin: 16px 0;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 20px 0;
}

.pricing-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}

.pricing-card li::before {
  content: "✓ ";
  color: var(--gold);
  font-weight: 700;
}

/* Gallery 3x3 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.gallery-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Offer list */
.offer-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.offer-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.offer-list__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Game page */
.game-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.game-sidebar {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 24px;
}

.game-sidebar img {
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.game-tips {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.game-steps {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.game-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.game-step__num {
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA block */
.cta-block {
  background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-block h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-block p {
  margin-bottom: 24px;
  opacity: 0.9;
}

.cta-block__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}

.cta-block__contacts a {
  color: var(--gold);
  font-size: 1.125rem;
  font-weight: 700;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.legal-content h2 {
  margin: 32px 0 16px;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin: 24px 0 12px;
  font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
  margin-bottom: 12px;
  color: var(--gray-600);
}

.legal-content ul,
.legal-content ol {
  margin: 12px 0 12px 24px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
  padding: 20px;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition);
}

.modal.is-open .modal__dialog {
  transform: scale(1);
}

.modal__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--white);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2500;
  background: var(--blue-dark);
  color: var(--white);
  padding: 16px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

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

.cookie-banner.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.cookie-banner p {
  font-size: 0.9rem;
  text-align: center;
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner .btn--outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.cookie-banner .btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* Map embed */
.map-embed {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius);
}

.map-embed--full {
  height: 60vh;
  min-height: 400px;
}

/* Recaptcha placeholder */
.recaptcha-placeholder {
  padding: 16px;
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  text-align: center;
  color: var(--gray-600);
  font-size: 0.85rem;
}

/* Quote */
blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  margin: 24px 0;
  font-style: italic;
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--gray-600);
}

/* Responsive */
@media (min-width: 768px) {
  .faq-grid {
    /* grid-template-columns: repeat(2, 1fr); */
  }

  .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .masonry {
    columns: 2;
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .two-col--60-40 {
    grid-template-columns: 3fr 2fr;
  }

  .game-layout {
    grid-template-columns: 3fr 2fr;
  }

  .cookie-banner__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .cookie-banner p {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .masonry {
    columns: 3;
  }

  .header__nav {
    display: block;
  }

  .header__contact {
    display: flex;
  }

  .header__burger {
    display: none;
  }
}

@media (min-width: 1200px) {
  .header__nav-list {
    gap: 32px;
  }
}

/* --- legacy / quick-fix aliases (ProjectX leftovers) --- */
.main-header {
  position: relative;
}

.hero-baner {
  position: relative;
}

.secton-dark {
  /* use with .section--gradient in markup */
}

.section-dark {
  /* @pawel: same intent as secton-dark, legal pages typo variant */
  background: linear-gradient(
    135deg,
    var(--blue-dark) 0%,
    var(--blue) 50%,
    #2563eb 100%
  );
  color: var(--white);
}

.pricin-card {
  /* pair with .pricing-card in HTML */
}

.card-fix-2026 {
  box-shadow: 0 6px 24px rgba(30, 58, 138, 0.18);
}

/* mw- prefix = "mobile web" from first sprint — ticker removed 2026-07 */

/* app- utils added in hurry before launch */
.app-cardBtn {
  /* alias for .game-card__link — rename post-launch */
  font-family: "Oswald", sans-serif;
  font-weight: 700;
}

.ui-badgeHot {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-dark);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  vertical-align: middle;
}
