/* Dual-server gateway (algeriaroleplay.com/) */
.gateway-body {
  min-height: 100vh;
  overflow-x: hidden;
  background: #050302;
  font-family: 'Tajawal', 'Cinzel', system-ui, sans-serif;
}

.gateway {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px) 20px 40px;
  gap: 36px;
}

.gateway-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 18% 40%, rgba(184, 134, 11, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 55% at 82% 55%, rgba(139, 69, 245, 0.22), transparent 50%),
    linear-gradient(160deg, #050302 0%, #120a04 40%, #0b0713 100%);
}

.gateway-head,
.gateway-grid,
.gateway-foot {
  position: relative;
  z-index: 1;
}

.gateway-head {
  text-align: center;
  max-width: 720px;
}

.gateway-eyebrow {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  font-size: 12px;
  color: #b8860b;
  margin-bottom: 12px;
}

.gateway-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(28px, 5vw, 52px);
  color: #fbe8b0;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.gateway-sub {
  color: #a39582;
  font-size: clamp(15px, 2vw, 18px);
}

.gateway-grid {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.gateway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  min-height: 100%;
  padding: 28px 26px 30px;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid rgba(232, 194, 90, 0.22);
  background: rgba(18, 10, 4, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.gateway-card:hover {
  transform: translateY(-6px);
}

.gateway-card--numidia:hover {
  border-color: rgba(232, 194, 90, 0.55);
  box-shadow: 0 24px 60px rgba(184, 134, 11, 0.2);
}

.gateway-card--asq {
  border-color: rgba(139, 69, 245, 0.28);
  background: rgba(14, 8, 28, 0.78);
}

.gateway-card--asq:hover {
  border-color: rgba(185, 140, 255, 0.55);
  box-shadow: 0 24px 60px rgba(139, 69, 245, 0.28);
}

.gateway-card-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 55%;
  pointer-events: none;
  opacity: 0.55;
}

.gateway-card--numidia .gateway-card-glow {
  background: radial-gradient(circle at 50% 0%, rgba(232, 194, 90, 0.28), transparent 70%);
}

.gateway-card--asq .gateway-card-glow {
  background: radial-gradient(circle at 50% 0%, rgba(139, 69, 245, 0.35), transparent 70%);
}

.gateway-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* Match Numidia crest slot so both CTAs share the same baseline */
  min-height: clamp(160px, 22vw, 210px);
}

.gateway-logo {
  width: clamp(110px, 16vw, 160px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
  object-fit: contain;
}

/* Numidia crest sits in the same vertical slot as ASQ logo */
.gateway-card--numidia > .gateway-logo {
  min-height: clamp(160px, 22vw, 210px);
  object-fit: contain;
}

.gateway-logo--asq {
  width: clamp(140px, 20vw, 200px);
  /* Show full crest — do not crop the circular logo */
  max-height: clamp(160px, 22vw, 210px);
  object-fit: contain;
}

.gateway-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  text-align: center;
}

.gateway-tag {
  align-self: center;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e8c25a;
  border: 1px solid rgba(232, 194, 90, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
}

.gateway-tag--purple {
  color: #c9a8ff;
  border-color: rgba(185, 140, 255, 0.4);
}

.gateway-card h2 {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #fbe8b0;
  letter-spacing: 0.06em;
  margin: 4px 0 0;
}

.gateway-card-kicker {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.4em;
  color: #b8860b;
  font-size: 13px;
  margin-bottom: 4px;
}

.gateway-card-body > p:not(.gateway-card-kicker):not(.asq-season-line) {
  color: #a39582;
  font-size: 15px;
  line-height: 1.55;
  max-width: 36ch;
  margin: 0 auto 6px;
}

.gateway-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  align-self: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8c25a, #b8860b);
  color: #1a1004;
  font-weight: 700;
  font-size: 14px;
}

.gateway-cta--purple {
  background: linear-gradient(135deg, #b98cff, #6d28d9);
  color: #fff;
}

/* ASQ title preview on gateway card */
.asq-title-line {
  font-family: Anton, Impact, 'Arial Black', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.05 !important;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px 14px;
  color: #e6d6ff !important;
}

.asq-algerian {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  white-space: nowrap;
  font-size: clamp(24px, 3.6vw, 36px);
  text-transform: uppercase;
  filter: drop-shadow(0 2px 0 #2c0d57);
}

.asq-algerian .rest {
  background: linear-gradient(180deg, #f2eaff 0%, #c9a8ff 45%, #8b45f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.asq-algerian .purp {
  color: #b14cff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #b14cff;
  text-shadow: 0 0 18px rgba(177, 76, 255, 0.75);
}

.asq-state {
  font-family: Pacifico, cursive;
  font-size: clamp(24px, 3.6vw, 36px);
  text-transform: none;
  letter-spacing: 0.02em;
  color: #f3edff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
}

.asq-season-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: baseline;
  margin: 2px 0 8px !important;
  max-width: none !important;
}

.asq-quarantine {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(18px, 2.8vw, 26px);
  letter-spacing: 0.08em;
  color: #e01028;
  -webkit-text-fill-color: #e01028;
  text-shadow:
    0 2px 0 #4d0008,
    0 0 18px rgba(209, 15, 37, 0.55);
}

.asq-season {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(16px, 2.4vw, 22px);
  letter-spacing: 0.28em;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.7),
    0 0 28px rgba(255, 255, 255, 0.35);
}

.gateway-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  color: #6e6254;
  font-size: 13px;
}

.gateway-foot a {
  color: #b8860b;
  text-decoration: none;
}

@media (max-width: 820px) {
  .gateway-grid {
    grid-template-columns: 1fr;
  }
}
