/* ============================================================
   Spacejeux — instant-games.css (instant-games.php)
   ============================================================ */

/* ---------- CATALOGUE ---------- */
.ig-catalogue { background: var(--white); padding: 64px 0 10px; }

.ig-intro { display: grid; gap: 8px; margin-bottom: 32px; }
.ig-intro h1 { font-size: 36px; font-weight: 700; line-height: 1.2; }
.ig-intro p { font-size: 16px; line-height: 1.5; color: var(--slate-500); }

.ig-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: 16px; row-gap: 32px;
}

/* game card */
.ig-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  display: grid; gap: 16px; align-content: start;
}
.ig-card hr { border-color: var(--border); }
.ig-card__name h3 { font-size: 16px; font-weight: 700; }
.ig-card__name p { margin-top: 4px; font-size: 12px; color: var(--slate-500); }
.ig-card__prize { display: grid; gap: 2px; }
.ig-card__prize span { font-size: 10px; text-transform: uppercase; color: var(--slate-500); }
.ig-card__prize strong {
  font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--teal);
}
.ig-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ig-card__foot p { font-size: 11px; color: var(--slate-500); }
.ig-card__foot .btn { height: 44px; flex: none; }

/* ---------- TICKET ARTWORK PANELS ---------- */
.ig-art {
  position: relative; height: 120px; border-radius: 8px; overflow: hidden;
  display: grid; place-items: center;
}
.ig-art::before, .ig-art::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(45px); pointer-events: none;
}
.ig-art::before { right: -80px; top: -80px; width: 320px; height: 320px; }
.ig-art::after  { left: -140px; bottom: -140px; width: 360px; height: 360px; }

.ig-art--northern { background: #0b1020; }
.ig-art--northern::before { background: #14b8a6; opacity: .18; }
.ig-art--northern::after  { background: #2dd4bf; opacity: .12; }

.ig-art--maple { background: #f5f1e8; }
.ig-art--maple::before { background: #f59e0b; opacity: .1; }
.ig-art--maple::after  { background: #ef4444; opacity: .08; }

.ig-art--grand { background: #0b2f1a; }
.ig-art--grand::before { background: #2dd4bf; opacity: .16; }
.ig-art--grand::after  { background: #0ea5e9; opacity: .1; }

.ig-art--quebec { background: #f7f1e8; }
.ig-art--quebec::before { background: #fde68a; opacity: .12; }
.ig-art--quebec::after  { background: #0b1020; opacity: .08; }

.ig-art--lucky { background: #0b1020; }
.ig-art--lucky::before { background: #14b8a6; opacity: .16; }
.ig-art--lucky::after  { background: #0ea5e9; opacity: .1; }

.ig-art--frost { background: #0b1020; }
.ig-art--frost::before { background: #2dd4bf; opacity: .14; }
.ig-art--frost::after  { background: #0ea5e9; opacity: .1; }

.ig-art--river { background: #0b1020; }
.ig-art--river::after { background: #14b8a6; opacity: .1; }

.ig-art--polar { background: #0b1020; }
.ig-art--polar::after { background: #0ea5e9; opacity: .1; }

.ig-art--b100 { background: #0b2f1a; }
.ig-art--b100::after { background: #0ea5e9; opacity: .1; }

/* decorative extras (topo/river/star/rings — CSS approximations of Figma vectors) */
.ig-deco { position: absolute; pointer-events: none; z-index: 1; }
.ig-deco--topo {
  left: -14%; width: 128%; top: 44px; height: 240px;
  border: 1px solid rgba(14, 165, 233, .16); border-radius: 50%;
}
.ig-deco--flow {
  left: -10%; width: 120%; top: 24px; height: 220px;
  border: 2px solid rgba(167, 243, 208, .22); border-radius: 50%;
}
.ig-deco--star {
  left: 50%; top: 50%; width: 70px; height: 70px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(167, 243, 208, .16);
}
.ig-deco--star::before {
  content: ''; position: absolute; inset: -1px;
  border: 1px solid rgba(167, 243, 208, .12); transform: rotate(45deg);
}
.ig-deco--dots { inset: 0; }
.ig-deco--dots::before, .ig-deco--dots::after {
  content: ''; position: absolute; top: 18px; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(167, 243, 208, .35);
  box-shadow: 0 78px 0 rgba(167, 243, 208, .35);
}
.ig-deco--dots::before { left: 18px; }
.ig-deco--dots::after  { right: 18px; }
.ig-deco--rings {
  left: 50%; top: 50%; width: 180px; height: 180px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(167, 243, 208, .12); border-radius: 50%;
}
.ig-deco--rings::before {
  content: ''; position: absolute; inset: 22px;
  border: 1px solid rgba(167, 243, 208, .1); border-radius: 50%;
}
.ig-deco--hundred {
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: 1;
  color: #0b2f1a; opacity: .08;
}

/* ---------- MINI TICKET ---------- */
.ig-tk {
  position: relative; z-index: 2;
  width: min(340px, 92%); height: 96px; overflow: hidden;
  border-radius: 10px; padding: 12px 14px;
  display: grid; gap: 10px; align-content: start;
  background: var(--tk-bg); border: 1px solid var(--tk-line); color: var(--tk-ink);
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .2), 0 4px 10px -4px rgba(0, 0, 0, .12);
}
.ig-tk--tall { width: 340px; height: auto; }
.ig-tilt-r { transform: rotate(5deg); }
.ig-tilt-l { transform: rotate(-5deg); }

/* ticket surface schemes */
.ig-tk--dark   { --tk-bg: #0f172a; --tk-line: #1e293b; --tk-ink: #ffffff; --tk-sub: #94a3b8; }
.ig-tk--light  { --tk-bg: #ffffff; --tk-line: #e5e7eb; --tk-ink: #111827; --tk-sub: #6b7280; }
.ig-tk--forest { --tk-bg: #0f2a14; --tk-line: #1e3a22; --tk-ink: #ffffff; --tk-sub: #a7f3d0; }

/* reveal-cell schemes */
.ig-tk--cdark   { --cell-bg: #0b1020; --cell-line: #1e293b; }
.ig-tk--clight  { --cell-bg: #f3f4f6; --cell-line: #e5e7eb; }
.ig-tk--cforest { --cell-bg: #0b2f1a; --cell-line: #1e3a22; }

/* muted symbol color inside cells */
.ig-glyph-teal { --cell-glyph: #14b8a6; }
.ig-glyph-red  { --cell-glyph: #ef4444; }
.ig-glyph-mint { --cell-glyph: #a7f3d0; }
.ig-glyph-gold { --cell-glyph: #fde68a; }
.ig-glyph-sky  { --cell-glyph: #0ea5e9; }

/* revealed value color override */
.ig-ink-gold { --cell-ink: #fde68a; }

.ig-tk__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ig-tk__head strong { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.ig-tk__head span { display: block; margin-top: 2px; font-size: 10px; font-weight: 600; color: var(--tk-sub); }
.ig-tk__head span.mint { color: #a7f3d0; }
.ig-tk__logo {
  flex: none; width: 28px; height: 28px; border-radius: 8px; color: #ffffff;
  display: grid; place-items: center;
}
.ig-tk__logo--teal  { background: #14b8a6; }
.ig-tk__logo--red   { background: #ef4444; }
.ig-tk__logo--sky   { background: #0ea5e9; }
.ig-tk__logo--frost { background: #2dd4bf; }
.ig-tk__logo--gold  { background: #fde68a; color: #0b1020; }

.ig-tk__grid { display: grid; grid-template-columns: repeat(3, 56px); gap: 6px; }
.ig-tk--cols4 .ig-tk__grid { grid-template-columns: repeat(4, 56px); }
.ig-tk__cell {
  height: 28px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--cell-bg); border: 1px solid var(--cell-line);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: var(--cell-ink, var(--tk-ink));
}
.ig-tk__cell svg { color: var(--cell-glyph); opacity: .35; }
.ig-tk__cell.is-teal  { color: #14b8a6; }
.ig-tk__cell.is-sky   { color: #0ea5e9; }
.ig-tk__cell.is-frost { color: #2dd4bf; }

/* ---------- DISCLAIMER ---------- */
.ig-disclaimer { padding: 32px 20px; }
.ig-disclaimer p { text-align: center; font-size: 13px; color: #666; max-width: 720px; margin-inline: auto; }

/* ---------- PLAY BRIGHT ---------- */
.ig-bright { background: var(--bg-tint); padding-block: 80px; }
.ig-bright__head { max-width: 680px; display: grid; gap: 12px; margin-bottom: 48px; }
.ig-bright__head h2 { font-size: 40px; font-weight: 700; line-height: 1.1; }
.ig-bright__head p { font-size: 16px; line-height: 1.5; color: var(--slate-700); }

.ig-help {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: grid; grid-template-columns: 1fr 320px; gap: 32px;
  padding: 24px 0 24px 38px;
  margin-bottom: 48px;
}
.ig-help::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--teal);
}
.ig-help__content { display: grid; gap: 16px; align-content: center; }
.ig-help__content h3 { font-size: 24px; font-weight: 700; }
.ig-help__content > p { font-size: 15px; line-height: 1.6; color: var(--slate-700); }
.ig-help__phone { display: flex; align-items: center; gap: 12px; }
.ig-help__phone-icon {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--teal); color: var(--white);
  display: grid; place-items: center;
}
.ig-help__phone a { font-size: 18px; font-weight: 700; color: var(--ink); }
.ig-help__content .btn { justify-self: start; padding-inline: 30px; }

/* support illustration */
.ig-support {
  position: relative; min-height: 220px; border-radius: var(--radius-lg);
  background-image: radial-gradient(circle, rgba(217, 226, 235, .45) 1px, transparent 1.2px);
  background-size: 24px 24px; background-position: 11px 11px;
}
.ig-support__line {
  position: absolute; left: 64px; right: 68px; top: 90px; height: 2px;
  background: rgba(9, 162, 159, .25); border-radius: 1px;
}
.ig-snode { position: absolute; display: grid; justify-items: center; width: 92px; text-align: center; }
.ig-snode--1 { left: 22px; top: 50px; }
.ig-snode--2 { left: 114px; top: 50px; }
.ig-snode--3 { right: 24px; top: 42px; }
.ig-snode__num { font-size: 9px; color: rgba(9, 162, 159, .55); margin-bottom: 4px; }
.ig-snode__circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); border: 1px solid rgba(97, 128, 163, .25);
  display: grid; place-items: center; color: rgba(28, 42, 74, .6);
}
.ig-snode__circle--accent {
  width: 48px; height: 48px;
  border: 1.5px solid rgba(9, 162, 159, .5); color: #09a29f;
  box-shadow: 0 0 0 6px rgba(9, 162, 159, .06), 0 0 0 12px rgba(9, 162, 159, .04);
}
.ig-snode__title {
  margin-top: 10px; font-size: 8px; font-weight: 600; letter-spacing: .6px;
  text-transform: uppercase; color: #1c2a4a;
}
.ig-snode__title.accent { color: #09a29f; }
.ig-snode__sub { font-size: 7.5px; color: rgba(97, 128, 163, .75); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-help { grid-template-columns: 1fr; padding: 24px 24px 24px 38px; }
  .ig-support { max-width: 360px; }
}

@media (max-width: 720px) {
  .ig-catalogue { padding: 32px 0; }
  .ig-intro { margin-bottom: 24px; }
  .ig-intro h1 { font-size: 28px; }
  .ig-intro p { font-size: 14px; }
  .ig-disclaimer { padding: 16px 20px 24px; }
  .ig-disclaimer p { font-size: 12px; color: var(--slate-700); }
  .ig-bright { padding-block: 40px; }
  .ig-bright__head { gap: 8px; margin-bottom: 24px; }
  .ig-bright__head h2 { font-size: 28px; line-height: 1.2; }
  .ig-bright__head p { font-size: 14px; }
  .ig-help { padding: 20px; margin-bottom: 24px; }
  .ig-help::before { display: none; }
  .ig-help__content { gap: 12px; }
  .ig-help__content h3 { font-size: 20px; }
  .ig-help__content > p { font-size: 13px; }
  .ig-help__phone a { font-size: 16px; }
  .ig-help__content .btn { justify-self: stretch; height: 42px; }
  .ig-support { display: none; }
}

@media (max-width: 640px) {
  .ig-grid { grid-template-columns: 1fr; row-gap: 16px; }
  .ig-card__foot .btn { height: 36px; border-radius: 6px; font-size: 13px; }
}
