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

:root {
  --bg-dark: #090d16;
  --bg-card: #12182b;
  --bg-card-hover: #1a233d;
  --bg-surface: #0e1424;
  --bg-overlay: rgba(5, 8, 16, 0.92);

  --color-primary: #00e5ff;
  --color-primary-hover: #33ebff;
  --color-accent: #ff6b35;
  --color-accent-hover: #ff8554;
  --color-gold: #ffd166;

  --text-main: #f0f4fc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.25);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.5);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

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

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

ul,
ol {
  list-style: none;
}

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

svg {
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-head h2 {
  margin-bottom: 0.75rem;
}

.section-head p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.page-tag {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 0.4rem 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #050810;
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  color: #000000;
  transform: translateY(-2px);
}

.btn--accent {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn--accent:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(0, 229, 255, 0.05);
}

.btn--sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(9, 13, 22, 0.96);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.brand svg {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--color-primary);
}

.brand-name b {
  color: var(--color-primary);
}

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

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav a:hover,
.nav a.is-active {
  color: #ffffff;
}

.nav a.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hm-hero {
  position: relative;
  padding: 7rem 0 6rem;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.65) 0%, rgba(9, 13, 22, 0.92) 85%, var(--bg-dark) 100%), url('/assets/img/hero-bg.webp') center/cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.hm-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto;
}

.hm-hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.hm-hero__sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hm-hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.hm-hero__note {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.hm-why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.why-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.why-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background-color: rgba(0, 229, 255, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.why-card__icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.why-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.hm-games__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.game-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.game-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
}

.game-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #050810;
  overflow: hidden;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.game-card__free {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-primary);
  color: #050810;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  z-index: 2;
}

.game-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-card__body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.game-card__body p {
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.game-card__tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.game-card__tags span {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.game-card__play {
  width: 100%;
}

.hm-games__more {
  text-align: center;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--color-primary);
  color: #050810;
  border-color: var(--color-primary);
}

.search-box {
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.search-box input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: #ffffff;
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--color-primary);
}

.search-box svg {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.hm-reviews {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.hm-reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.review-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background-color: rgba(0, 229, 255, 0.15);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glow);
  flex-shrink: 0;
}

.review-card__who h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.review-card__stars {
  color: var(--color-gold);
  display: flex;
  gap: 0.2rem;
}

.review-card p {
  font-size: 0.975rem;
  color: var(--text-muted);
}

.hm-demo__shell {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.hm-demo__shell iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.hm-demo__poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  color: var(--text-muted);
}

.hm-demo__poster svg {
  width: 3rem;
  height: 3rem;
  color: var(--color-primary);
}

.hm-demo__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.hm-community {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 5rem 0;
}

.hm-community__inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.hm-community__rp {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hm-community__rp h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.hm-community__rp p {
  text-align: center;
  margin-bottom: 1.5rem;
}

.rg-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.rg-link-item {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.rg-link-item:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.contact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-group--checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.form-group--checkbox label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.form-error {
  color: var(--color-accent);
  font-size: 0.8rem;
  display: none;
}

.form-feedback-msg {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  background-color: rgba(56, 239, 125, 0.12);
  border: 1px solid rgba(56, 239, 125, 0.3);
  color: #38ef7d;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.info-item__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background-color: rgba(0, 229, 255, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.info-item__text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.map-frame {
  width: 100%;
  height: 300px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.page-header {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.75) 0%, rgba(9, 13, 22, 0.95) 100%), url('/assets/img/hero-bg.webp') center/cover no-repeat;
  text-align: center;
}

.page-header p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-subtle);
}

.legal-content--mt {
  margin-top: 3.5rem;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content ul li {
  list-style-type: disc;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.legal-content ol li {
  list-style-type: decimal;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.site-footer {
  background-color: #060911;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
  padding-top: 4.5rem;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.site-footer__about p {
  font-size: 0.925rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.site-footer__social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.825rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: rgba(0, 229, 255, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.site-footer__nav h2,
.site-footer__legal h2,
.site-footer__newsletter h2 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.site-footer__nav ul,
.site-footer__legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__nav a,
.site-footer__legal a {
  color: var(--text-muted);
  font-size: 0.925rem;
  transition: color var(--transition-fast);
}

.site-footer__nav a:hover,
.site-footer__legal a:hover {
  color: var(--color-primary);
}

.footer-news-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-news-form input {
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
}

.footer-news-form input:focus {
  border-color: var(--color-primary);
}

.site-footer__rg {
  background-color: #04060c;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
}

.site-footer__rg-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.rg-18 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__note {
  padding: 2.5rem 0;
  font-size: 0.875rem;
  color: var(--text-dim);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.site-footer__note p {
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.6;
}

.site-footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--bg-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.age-gate[hidden] {
  display: none;
}

.age-gate__panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.age-gate__badge {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent);
  border: 3px solid var(--color-accent);
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-gate__acts {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  z-index: 9000;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.cookie-banner strong {
  color: #ffffff;
}

.cookie-banner__acts {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.gmodal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background-color: rgba(5, 8, 16, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gmodal[hidden] {
  display: none;
}

.gmodal__panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1100px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gmodal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.gmodal__bar h2 {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.gmodal__close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.gmodal__close:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.gmodal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  flex-grow: 1;
}

.chat-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 8500;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #050810;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast);
}

.chat-toggle:hover {
  transform: scale(1.06);
}

.chat-toggle svg {
  width: 1.6rem;
  height: 1.6rem;
}

.chat-panel {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  z-index: 8500;
  width: 360px;
  max-width: calc(100vw - 4rem);
  height: 480px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel[hidden] {
  display: none;
}

.chat-panel__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.chat-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #050810;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-panel__who h2 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.chat-panel__who p {
  font-size: 0.75rem;
  color: #38ef7d;
}

.chat-panel__close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.chat-log {
  flex-grow: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg {
  max-width: 80%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.4;
}

.chat-msg--bot {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-msg--user {
  background-color: var(--color-primary);
  color: #050810;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  font-weight: 500;
}

.chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-surface);
}

.chat-form input {
  flex-grow: 1;
  background-color: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  color: #ffffff;
  font-size: 0.875rem;
  outline: none;
}

.chat-form button {
  background-color: var(--color-primary);
  color: #050810;
  border: none;
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-success {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background-color: var(--bg-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-success[hidden] {
  display: none;
}

.modal-success__panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.modal-success__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(56, 239, 125, 0.15);
  color: #38ef7d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.modal-success__icon svg {
  width: 2rem;
  height: 2rem;
}

@media (max-width: 1024px) {
  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .hm-why__grid,
  .hm-games__grid,
  .hm-reviews__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .legal-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section-pad {
    padding: 3.5rem 0;
  }

  .hm-hero {
    padding: 4rem 0 3.5rem;
  }

  .hm-hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hm-hero__cta .btn {
    width: 100%;
  }

  .age-gate__acts {
    flex-direction: column;
  }

  .age-gate__panel {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 14px;
  }

  .brand {
    font-size: 1.15rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
  }
}