/* Nicholson Charters - Social Gaming Platform (Canada CA)
   Theme: Light Blue, Cyan, Gold & Clean Ice White Aesthetic
   Modeled after dallasmarchforlife.com architecture
*/

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

:root {
  --primary: #0077b6;
  --primary-hover: #023e8a;
  --primary-light: #00b4d8;
  --primary-lighter: #90e0ef;
  --primary-pale: #e0f7fa;
  --accent-gold: #ffb703;
  --accent-gold-hover: #fb8500;
  --accent-cyan: #00f5d4;
  --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #ffffff 100%);
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-glass: rgba(255, 255, 255, 0.75);
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-color: rgba(186, 230, 253, 0.6);
  --border-hover: rgba(56, 189, 248, 0.8);
  --shadow-sm: 0 4px 12px rgba(2, 132, 199, 0.06);
  --shadow-md: 0 10px 25px rgba(2, 132, 199, 0.12);
  --shadow-lg: 0 20px 40px rgba(2, 132, 199, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-offset: 110px;
}

/* Accessibility & Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

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

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

button, input, select, textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--primary);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 10px;
  outline: 3px solid var(--accent-gold);
}

:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

/* Container & Grid Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}
.section-head h2 {
  font-size: 2.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-hover);
  letter-spacing: -0.02em;
}
.section-head p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 119, 182, 0.45);
  color: #ffffff;
}
.btn--ghost {
  background: var(--bg-card);
  color: var(--primary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  background: #ffffff;
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #0f172a;
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.4);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 183, 3, 0.55);
}
.btn--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
}

/* Top Geo & Age Disclaimer Bar */
.top-disclaimer-bar {
  background: #061e36;
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-disclaimer-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-disclaimer-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.badge-ca {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.badge-19 {
  background: rgba(255, 183, 3, 0.2);
  color: var(--accent-gold);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.75rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-hover);
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-name b {
  color: var(--primary-light);
}
.brand-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  display: block;
  font-weight: 700;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
  position: relative;
  padding: 0.4rem 0;
}
.nav a:hover,
.nav a.is-active {
  color: var(--primary);
}
.nav a.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cyan) 100%);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.coin-balance-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-pale);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--primary-hover);
  font-size: 0.9rem;
}
.coin-icon {
  color: var(--accent-gold);
  font-weight: 900;
}

.burger {
  display: none;
  background: transparent;
  border: none;
  width: 38px;
  height: 38px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Animations & Reveal */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.rv.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hm-hero {
  padding: 5.5rem 0 4.5rem;
  position: relative;
  background: linear-gradient(180deg, rgba(6, 24, 44, 0.84) 0%, rgba(2, 62, 138, 0.88) 100%), url('../images/hero_bg.jpg') center/cover no-repeat;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}
.hm-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0, 245, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hm-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hm-hero h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}
.hm-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #00f5d4 0%, #90e0ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hm-hero__sub {
  font-size: 1.25rem;
  color: #e0f2fe;
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.hm-hero__cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hm-hero__note {
  font-size: 0.9rem;
  color: #90e0ef;
  font-weight: 500;
}
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Why Choose Section */
.hm-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.why-card__media {
  position: relative;
  height: 110px;
  background: #0f172a;
  overflow: hidden;
}
.why-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.why-card:hover .why-card__media img {
  transform: scale(1.05);
}
.why-card__body {
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.why-card__body h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.why-card__body p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Games Grid & Cards */
.gm-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.gm-tabs button {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.gm-tabs button:hover,
.gm-tabs button.is-on {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.25);
}

.hm-games__grid,
.gm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.game-card__media {
  position: relative;
  aspect-ratio: 16/10;
  background: #0f172a;
  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.05);
}
.game-card__free {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #0f172a;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.game-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.game-card__body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.game-card__body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  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: var(--primary-pale);
  color: var(--primary-hover);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}
.game-card__play {
  width: 100%;
}
.hm-games__more {
  text-align: center;
  margin-top: 3rem;
}

/* Reviews Carousel */
.hm-reviews {
  background: rgba(224, 247, 250, 0.4);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.hm-reviews__frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.hm-reviews__track {
  display: flex;
  gap: 22px;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.review-card {
  flex: 0 0 calc(50% - 11px);
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.review-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}
.review-card__who h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
}
.review-card__stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.review-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.hm-reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.hm-reviews__nav button {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  font-weight: 700;
  transition: var(--transition);
}
.hm-reviews__nav button:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.hm-reviews__dots {
  display: flex;
  gap: 8px;
}
.hm-reviews__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}
.hm-reviews__dots button.is-on {
  background: var(--primary);
  width: 24px;
  border-radius: var(--radius-full);
}

/* Demo Game Frame Section */
.hm-demo__shell {
  width: 100%;
  max-width: 960px;
  height: 540px;
  margin: 0 auto;
  background: #070b14;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-color);
  position: relative;
}
.hm-demo__shell iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.hm-demo__poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #94a3b8;
  background: #0f172a;
}
.hm-demo__note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

/* Community & Responsible Gaming Banner */
.hm-community {
  background: linear-gradient(135deg, #023e8a 0%, #0077b6 100%);
  color: #ffffff;
  padding: 4.5rem 0 0;
  text-align: center;
}
.hm-community__inner {
  max-width: 800px;
  margin: 0 auto 3.5rem;
}
.hm-community h2 {
  color: #ffffff;
  font-size: 2.35rem;
  margin-bottom: 1rem;
}
.hm-community p {
  color: #e0f2fe;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.hm-community__rp {
  background: #061e36;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem 0;
  text-align: left;
}
.hm-community__rp h3 {
  color: var(--accent-gold);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hm-community__rp p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 1000px;
}

/* Footer */
.site-footer {
  background: #06182c;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
  margin-top: auto;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.site-footer__about p {
  margin: 1.25rem 0;
  line-height: 1.7;
}
.site-footer__social {
  display: flex;
  gap: 1rem;
}
.site-footer__social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.site-footer__social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.site-footer__nav h2,
.site-footer__legal h2 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}
.site-footer__nav ul,
.site-footer__legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.site-footer__nav a,
.site-footer__legal a {
  color: #94a3b8;
  transition: var(--transition);
}
.site-footer__nav a:hover,
.site-footer__legal a:hover {
  color: #ffffff;
}

.site-footer__rg {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
  margin-bottom: 2rem;
}
.site-footer__rg-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.rg-badge-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 1.1rem;
}
.rg-partner-name {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.site-footer__note {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #64748b;
}
.site-footer__bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

/* Game Modal (gmodal) */
.gmodal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.gmodal[hidden] {
  display: none !important;
}
.gmodal__panel {
  width: 100%;
  max-width: 1060px;
  height: 85vh;
  background: #0f172a;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gmodal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #06182c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.gmodal__bar h2 {
  color: #ffffff;
  font-size: 1.25rem;
}
.gmodal__close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}
.gmodal__close:hover {
  background: #ef4444;
}
.gmodal__frame {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  border: none;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 440px;
  background: #06182c;
  color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  z-index: 9999;

}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}
.cookie-banner a {
  color: var(--primary-lighter);
  text-decoration: underline;
}
.cookie-banner__acts {
  display: flex;
  gap: 0.75rem;
}

/* Support Chat Widget */
.chat-toggle {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  border-radius: 50%;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.45);
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
}
.chat-toggle:hover {
  transform: scale(1.08);
}
.chat-toggle__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.chat-panel {
  position: fixed;
  bottom: 6rem;
  right: 1.75rem;
  width: 360px;
  height: 480px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel[hidden] {
  display: none !important;
}
.chat-panel__head {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.chat-panel__who h2 {
  color: #ffffff;
  font-size: 1.05rem;
}
.chat-panel__who p {
  font-size: 0.75rem;
  color: #e0f2fe;
}
.chat-panel__close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2rem;
}

.chat-log {
  flex-grow: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #f8fafc;
}
.chat-msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.45;
}
.chat-msg--bot {
  background: #ffffff;
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.chat-msg--me {
  background: var(--primary);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-form {
  display: flex;
  padding: 0.75rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  gap: 0.5rem;
}
.chat-form input {
  flex-grow: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  outline: none;
}
.chat-form button {
  background: var(--primary);
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Custom Select & Form Elements */
.cselect {
  position: relative;
}
.cselect__btn {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.cselect__list {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 100;
  list-style: none;
  overflow: hidden;
}
.cselect__list li {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.cselect__list li:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

/* Content Pages (About, Contact, Legal) */
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}
.policy-content h2 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
  color: var(--primary-hover);
}
.policy-content p, .policy-content ul {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}
.policy-content ul {
  padding-left: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.ct-form form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ct-form input, .ct-form textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  outline: none;
  transition: var(--transition);
}
.ct-form input:focus, .ct-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.toastm {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.toastm[hidden] {
  display: none !important;
}
.toastm__panel {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  max-width: 400px;
}

/* Responsive Media Queries & Mobile Adaptations */
@media (max-width: 992px) {
  .hm-hero h1 { font-size: 2.4rem; }
  .site-footer__cols { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .review-card { flex: 0 0 100%; }
  .content-card { padding: 2rem; }
}

@media (max-width: 768px) {
  /* Prevent horizontal scroll globally */
  html, body {
    overflow-x: hidden;
  }
  
  /* Top Disclaimer Bar Mobile */
  .top-disclaimer-bar {
    padding: 0.4rem 0;
  }
  .top-disclaimer-bar .container {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    align-items: center;
  }

  /* Header & Navigation Drawer */
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-offset);
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1.75rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }
  .nav[data-open="true"] {
    transform: translateY(0);
  }
  .nav a {
    padding: 0.6rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    width: 100%;
  }

  /* Brand Logo & Actions Adjustments */
  .site-header__row {
    padding: 0.65rem 1rem;
    gap: 0.5rem;
  }
  .brand {
    gap: 0.5rem;
    max-width: calc(100% - 145px);
    flex-shrink: 1;
    min-width: 0;
  }
  .brand-logo-img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .brand-name {
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }
  .nav-actions {
    gap: 0.4rem;
    flex-shrink: 0;
  }
  .nav-actions .btn--sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* Hero Section Mobile */
  .hm-hero { padding: 2.5rem 0 2rem; }
  .hm-hero h1 { font-size: 1.95rem; line-height: 1.25; }
  .hm-hero__sub { font-size: 0.95rem; }

  /* Demo Frame & Content Cards */
  .hm-demo__shell { height: 320px; border-radius: var(--radius-sm); }
  .content-card { padding: 1.5rem 1.15rem; margin-bottom: 2.5rem; border-radius: var(--radius-md); }
  .policy-content h2 { font-size: 1.3rem; margin: 1.5rem 0 0.75rem; }

  /* Games Grid Mobile */
  .hm-games__grid, .gm-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.85rem;
  }
  .gm-card__body { padding: 0.85rem; }
  .gm-card__title { font-size: 0.95rem; }

  /* Modal, Cookie & Chat Mobile */
  .gmodal__panel { width: 95vw; height: 88vh; }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
  }
  .cookie-banner__acts { justify-content: center; }
  .chat-panel {
    width: calc(100vw - 1.5rem);
    right: 0.75rem;
    bottom: 4.5rem;
    height: 70vh;
    max-height: 500px;
  }
}

@media (max-width: 576px) {
  .site-header__row { padding-left: 0.65rem; padding-right: 0.65rem; }
  .brand-logo-img { width: 28px; height: 28px; }
  .brand-name { font-size: 0.88rem; }
  .brand-sub { display: none; }
  .nav-actions .btn--sm { font-size: 0.75rem; padding: 0.35rem 0.65rem; }

  .hm-why__grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    gap: 0.85rem;
  }
  .why-card__media { height: 130px; }
  .why-card__body { padding: 1rem; }
  .why-card__body h3 { font-size: 1.05rem; }
  .why-card__body p { font-size: 0.85rem; line-height: 1.45; }
}

@media (max-width: 380px) {
  .hm-games__grid, .gm-grid {
    grid-template-columns: 1fr;
  }
  .nav-actions .btn--sm { font-size: 0.72rem; padding: 0.3rem 0.55rem; }
}
