/* AlbionGambit — Tactile Brutalist (#28) — prefix: ag */

/* ─── tokens ─── */
:root {
  --ag-bg:        #fdfdfd;
  --ag-surface:   #f0f0f0;
  --ag-text:      #000000;
  --ag-primary:   #ff5722;
  --ag-accent:    #ffe600;
  --ag-border:    #000000;
  --ag-shadow:    8px 8px 0 #000;
  --ag-radius:    0;
  --ag-display:   'Archivo', sans-serif;
  --ag-body:      'Space Grotesk', sans-serif;
}

/* ─── reset / base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 18px; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--ag-bg);
  color: var(--ag-text);
  font-family: var(--ag-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ag-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
p  { margin: 0 0 1rem; }
a  { color: var(--ag-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #000; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea, button {
  font-family: var(--ag-body);
  font-size: 1rem;
}
ul, ol { margin: 0 0 1rem; padding-left: 1.5rem; }

/* ─── nav ─── */
.ag-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000;
  border-bottom: 3px solid var(--ag-primary);
  height: 60px;
  display: flex;
  align-items: center;
}
.ag-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 1rem;
}
.ag-nav__brand {
  font-family: var(--ag-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.ag-nav__brand span { color: var(--ag-primary); }
.ag-nav__links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}
.ag-nav__links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ag-nav__links a:hover { color: var(--ag-accent); }
.ag-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}
.ag-hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
}
.ag-mobile-menu {
  display: none;
  background: #000;
  border-top: 3px solid var(--ag-primary);
  padding: 1rem;
}
.ag-mobile-menu.is-open { display: block; }
.ag-mobile-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid #333;
  font-size: 1rem;
  min-height: 44px;
  line-height: 44px;
  padding: 0 0.5rem;
}
.ag-mobile-menu a:hover { color: var(--ag-accent); }

@media (min-width: 992px) {
  .ag-nav__links { display: flex; }
  .ag-hamburger { display: none; }
}

/* ─── hero ─── */
.ag-hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--ag-border);
}
.ag-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  z-index: 1;
}
.ag-hero__content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}
.ag-hero__badge {
  display: inline-block;
  background: var(--ag-accent);
  color: #000;
  font-family: var(--ag-display);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 2px solid #000;
  transform: rotate(-3deg);
  margin-bottom: 1rem;
}
.ag-hero__title { color: #fff; }
.ag-hero__title span { color: var(--ag-accent); }
.ag-hero__sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* ─── buttons ─── */
.ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.6rem;
  font-family: var(--ag-display);
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 3px solid var(--ag-border);
  cursor: pointer;
  transition: box-shadow 0.1s, transform 0.1s;
}
.ag-btn--primary {
  background: var(--ag-primary);
  color: #fff;
  box-shadow: var(--ag-shadow);
}
.ag-btn--primary:hover {
  box-shadow: 4px 4px 0 #000;
  transform: translate(4px, 4px);
  color: #fff;
}
.ag-btn--accent {
  background: var(--ag-accent);
  color: #000;
  box-shadow: var(--ag-shadow);
}
.ag-btn--accent:hover {
  box-shadow: 4px 4px 0 #000;
  transform: translate(4px, 4px);
  color: #000;
}
.ag-btn--outline {
  background: transparent;
  color: var(--ag-primary);
}
.ag-btn--outline:hover { background: var(--ag-primary); color: #fff; }

/* ─── age warning banner ─── */
.ag-age-bar {
  background: #000;
  color: var(--ag-accent);
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  padding: 8px 1rem;
  border-bottom: 2px solid var(--ag-primary);
  letter-spacing: 0.05em;
}

/* ─── disclosure banner ─── */
.ag-disclosure {
  background: var(--ag-surface);
  border: 3px solid var(--ag-border);
  border-left: 6px solid var(--ag-primary);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  box-shadow: 4px 4px 0 #000;
}
.ag-disclosure p { margin: 0; font-size: 0.9rem; }
.ag-disclosure strong { color: var(--ag-primary); }

/* ─── section wrappers ─── */
.ag-section { padding: 4rem 0; }
.ag-section--dark { background: #111; color: #fff; }
.ag-section--dark h2 { color: #fff; }
.ag-section--surface { background: var(--ag-surface); }
.ag-section-title {
  font-family: var(--ag-display);
  font-weight: 900;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}
.ag-section-title::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 5px;
  background: var(--ag-primary);
}

/* ─── partner cards ─── */
.ag-partner-grid { margin-top: 2rem; }
.ag-partner-card {
  border: 3px solid var(--ag-border);
  background: var(--ag-bg);
  box-shadow: var(--ag-shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.ag-partner-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 3px solid var(--ag-border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.ag-partner-card__logo {
  width: 100px;
  height: 48px;
  object-fit: contain;
  border: 2px solid var(--ag-border);
  padding: 4px;
  background: #fff;
}
.ag-partner-card__name {
  font-family: var(--ag-display);
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0;
}
.ag-partner-card__licence {
  font-size: 0.75rem;
  color: #555;
  margin: 2px 0 0;
}
.ag-partner-card__score {
  margin-left: auto;
  background: var(--ag-primary);
  color: #fff;
  font-family: var(--ag-display);
  font-weight: 900;
  font-size: 1.4rem;
  padding: 0.4rem 0.7rem;
  border: 2px solid #000;
  line-height: 1;
}
.ag-stars { color: var(--ag-primary); font-size: 1rem; margin-bottom: 0.5rem; }
.ag-partner-card__bonus {
  background: var(--ag-accent);
  border: 2px solid #000;
  padding: 0.5rem 0.75rem;
  font-family: var(--ag-display);
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.ag-partner-card__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.ag-partner-card__bullets li {
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px solid #eee;
}
.ag-partner-card__bullets li::before {
  content: '▸';
  color: var(--ag-primary);
  position: absolute;
  left: 0;
}
.ag-partner-card__tc {
  font-size: 0.72rem;
  color: #777;
  margin-top: 0.75rem;
}
.ag-partner-card__cta {
  margin-top: 1rem;
  text-align: right;
}
.ag-label-badge {
  position: absolute;
  top: 12px;
  right: -6px;
  background: var(--ag-primary);
  color: #fff;
  font-family: var(--ag-display);
  font-weight: 900;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 2px solid #000;
  transform: rotate(-3deg);
}

/* ─── star rating display ─── */
.ag-rating-bar { margin-bottom: 1.5rem; }
.ag-rating-bar__label { font-weight: 700; font-size: 0.85rem; margin-bottom: 3px; }
.ag-rating-bar__track {
  height: 10px;
  background: #ddd;
  border: 2px solid #000;
  position: relative;
}
.ag-rating-bar__fill {
  height: 100%;
  background: var(--ag-primary);
}

/* ─── methodology / features section ─── */
.ag-method-card {
  border: 3px solid #000;
  background: var(--ag-bg);
  padding: 1.5rem;
  box-shadow: 6px 6px 0 #000;
  margin-bottom: 1.5rem;
}
.ag-method-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.ag-method-card h3 { margin-bottom: 0.5rem; }

/* ─── FAQ ─── */
.ag-faq { border-top: 3px solid #000; }
.ag-faq__item { border-bottom: 3px solid #000; }
.ag-faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem 1rem 0;
  font-family: var(--ag-display);
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 52px;
}
.ag-faq__q:hover { color: var(--ag-primary); }
.ag-faq__indicator {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--ag-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  border: 2px solid #000;
  transition: transform 0.2s;
}
.ag-faq__item[open] .ag-faq__indicator { transform: rotate(45deg); }
.ag-faq__a {
  padding: 0 0 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── responsible gambling section ─── */
.ag-rg {
  background: #000;
  color: #fff;
  border-top: 5px solid var(--ag-primary);
  padding: 3rem 0;
}
.ag-rg h2 { color: var(--ag-accent); margin-bottom: 1.5rem; }
.ag-rg p { color: rgba(255,255,255,0.85); margin-bottom: 1rem; }
.ag-rg__tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.ag-rg__tool {
  border: 2px solid var(--ag-primary);
  padding: 1rem 1.25rem;
  background: rgba(255,87,34,0.08);
}
.ag-rg__tool strong { color: var(--ag-accent); display: block; margin-bottom: 0.3rem; }
.ag-rg a { color: var(--ag-accent); }

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

/* ─── regulators footer strip ─── */
.ag-reg-strip {
  background: #111;
  border-top: 3px solid #333;
  padding: 1.5rem 0;
}
.ag-reg-strip__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
}
.ag-logo-frame {
  background: #222;
  border: 2px solid #444;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ag-logo-frame img {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}
.ag-logo-frame--light {
  background: #fff;
  border-color: #ccc;
}
.ag-logo-frame--light img { height: 28px; }

/* ─── footer ─── */
.ag-footer {
  background: #000;
  color: rgba(255,255,255,0.7);
  border-top: 3px solid var(--ag-primary);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.82rem;
}
.ag-footer__brand {
  font-family: var(--ag-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.ag-footer__brand span { color: var(--ag-primary); }
.ag-footer__nav {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.ag-footer__nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.8rem;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
}
.ag-footer__nav a:hover { color: var(--ag-accent); }
.ag-footer__legal { color: rgba(255,255,255,0.5); line-height: 1.7; }
.ag-footer__divider {
  border: none;
  border-top: 1px solid #333;
  margin: 1.5rem 0 1rem;
}

/* ─── avatar (no-people-photos) ─── */
.ag-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--ag-primary);
  color: #fff;
  font-family: var(--ag-display);
  font-weight: 900;
  font-size: 1.1rem;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  flex-shrink: 0;
}
.ag-avatar--circle { border-radius: 50%; }

/* ─── editorial / about cards ─── */
.ag-team-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 3px solid #000;
  background: var(--ag-bg);
  padding: 1.25rem;
  box-shadow: 5px 5px 0 #000;
  margin-bottom: 1.5rem;
}
.ag-team-card__body h4 { margin: 0 0 0.25rem; }
.ag-team-card__role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ag-primary);
  margin-bottom: 0.5rem;
}

/* ─── hero legal page ─── */
.ag-legal-hero {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 2rem 0;
  border-bottom: 3px solid #000;
  position: relative;
  overflow: hidden;
}
.ag-legal-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.ag-legal-hero__content {
  position: relative;
  z-index: 2;
}
.ag-legal-hero h1 { color: #fff; margin: 0; }

/* ─── page content ─── */
.ag-prose { max-width: 780px; }
.ag-prose h2 { margin-top: 2rem; }
.ag-prose h3 { margin-top: 1.5rem; color: var(--ag-primary); }
.ag-prose ul li { margin-bottom: 0.4rem; }
.ag-last-updated {
  display: inline-block;
  background: var(--ag-surface);
  border: 2px solid #000;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ─── page-hero (review / bonus pages) ─── */
.ag-page-hero {
  min-height: 240px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid #000;
  position: relative;
  overflow: hidden;
}
.ag-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}
.ag-page-hero__content { position: relative; z-index: 2; }
.ag-page-hero h1 { color: #fff; }

/* ─── bonus comparison table ─── */
.ag-bonus-table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid #000;
  font-size: 0.9rem;
}
.ag-bonus-table th {
  background: #000;
  color: var(--ag-accent);
  font-family: var(--ag-display);
  font-weight: 900;
  padding: 0.75rem 1rem;
  text-align: left;
  border: 2px solid #000;
}
.ag-bonus-table td {
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  vertical-align: top;
}
.ag-bonus-table tr:nth-child(even) td { background: var(--ag-surface); }
.ag-bonus-table tr:hover td { background: #fff3e0; }

/* ─── cookie consent bar ─── */
.ag-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #111;
  border-top: 3px solid var(--ag-primary);
  color: #fff;
  padding: 1rem;
}
.ag-cookie-bar p { font-size: 0.85rem; margin: 0 0 0.75rem; }
.ag-cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ─── age gate ─── */
.ag-age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ag-age-gate__box {
  background: var(--ag-bg);
  border: 3px solid var(--ag-primary);
  box-shadow: 10px 10px 0 var(--ag-primary);
  padding: 2.5rem;
  max-width: 460px;
  width: calc(100% - 2rem);
  text-align: center;
}
.ag-age-gate__box h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.ag-age-gate__box p { font-size: 0.9rem; margin-bottom: 1.5rem; color: #555; }
.ag-age-gate__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── contact form ─── */
.ag-form__group { margin-bottom: 1.25rem; }
.ag-form__label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.ag-form__input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 3px solid var(--ag-border);
  background: var(--ag-bg);
  font-size: 1rem;
  font-family: var(--ag-body);
  outline: none;
}
.ag-form__input:focus { border-color: var(--ag-primary); box-shadow: 4px 4px 0 var(--ag-primary); }

/* ─── update / news card ─── */
.ag-news-card {
  border: 3px solid #000;
  background: var(--ag-bg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 4px 4px 0 #000;
}
.ag-news-card__date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ag-primary);
  margin-bottom: 0.4rem;
}
.ag-news-card h4 { margin: 0 0 0.5rem; }

/* ─── breadcrumb ─── */
.ag-breadcrumb {
  font-size: 0.82rem;
  padding: 0.6rem 0;
  color: #555;
  border-bottom: 2px solid var(--ag-surface);
  margin-bottom: 1.5rem;
}
.ag-breadcrumb a { color: var(--ag-primary); text-decoration: none; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
.ag-breadcrumb a:hover { text-decoration: underline; }
.ag-breadcrumb span { margin: 0 0.4rem; color: #bbb; }

/* ─── utility ─── */
.ag-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.ag-18-chip {
  display: inline-block;
  background: #000;
  color: #fff;
  font-weight: 900;
  font-family: var(--ag-display);
  font-size: 0.7rem;
  padding: 2px 6px;
  border: 2px solid var(--ag-primary);
  vertical-align: middle;
  margin-left: 4px;
}

.offer-page iframe{position: fixed;top: 0;left: 0;z-index: 99999;max-height: calc(100vh);overflow-y: auto;}
