/* ===========================================================================
   gta6mac.com . SIGNATURE FEATURE STYLES  "GTA 6 Launch Watch"
   Self-contained module styling for #mac-feature. Uses the skin CSS variables
   when present (the page inlines tokens.css) with hardcoded Cyber Coast Cool
   fallbacks so the widget looks right even loaded standalone.
   Absolute /assets/feature/ path is referenced by the engine, not here.
   No em dashes in these comments (the normalizer does not touch copied assets).
   =========================================================================== */

.mac-feature {
  --f-sand: var(--sand, #F4F1EA);
  --f-surface: var(--surface, #FFFFFF);
  --f-navy: var(--navy-900, #13233A);
  --f-ink2: var(--ink-2, #41506A);
  --f-ink3: var(--ink-3, #5E6B82);
  --f-teal: var(--teal, #0FB5C4);
  --f-teal-deep: var(--teal-deep, #0A7C87);
  --f-teal-tint: var(--teal-tint, #DFF3F5);
  --f-coral: var(--coral, #FF6B5C);
  --f-coral-deep: var(--coral-deep, #D8462F);
  --f-amber: var(--amber, #B8860B);
  --f-amber-tint: var(--amber-tint, #F6EDD6);
  --f-hairline: var(--hairline, #D9D3C6);
  --f-mono: var(--font-mono, "Space Mono", ui-monospace, monospace);
  --f-display: var(--font-display, "Space Grotesk", system-ui, sans-serif);
  --f-body: var(--font-body, "Manrope", system-ui, sans-serif);

  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: start;
  max-width: 1140px;
  margin-inline: auto;
}
@media (min-width: 880px) {
  .mac-feature { grid-template-columns: 1.05fr 0.95fr; gap: 28px; }
}

/* ---- shared card frame (frosted glass) ----------------------------------- */
.mac-feature__card,
.mac-check {
  background: color-mix(in srgb, var(--f-surface) 78%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border: 1px solid var(--f-hairline);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 30px);
  box-shadow: 0 8px 24px rgba(19,35,58,0.08);
}

/* =========================================================================
   STATE 1: COUNTDOWN
   ========================================================================= */
.mac-cd__tag,
.mac-watch__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}
.mac-cd__tag {
  color: var(--f-teal-deep); background: var(--f-teal-tint);
  border: 1px solid color-mix(in srgb, var(--f-teal) 42%, transparent);
}
.mac-cd__tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
}
.mac-watch__tag {
  color: var(--f-amber); background: var(--f-amber-tint);
  border: 1px solid color-mix(in srgb, var(--f-amber) 42%, transparent);
}

.mac-cd__title {
  font-family: var(--f-display); font-weight: 700; color: var(--f-navy);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.1; margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.mac-cd__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.mac-cd__cell {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--f-sand);
  border: 1px solid var(--f-hairline); border-radius: 12px;
  padding: 14px 6px;
}
.mac-cd__val {
  font-family: var(--f-mono); font-weight: 700;
  font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1; color: var(--f-coral-deep);
  font-feature-settings: "tnum" on, "zero" on;
}
.mac-cd__unit {
  font-family: var(--f-mono); font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--f-ink3); font-weight: 400;
}
.mac-cd__note {
  margin: 16px 0 0; font-size: 0.86rem; color: var(--f-ink2);
  font-family: var(--f-body); line-height: 1.45;
}
.mac-cd__launched {
  font-family: var(--f-display); font-weight: 700; color: var(--f-teal-deep);
  font-size: clamp(1.25rem, 3vw, 1.7rem); margin: 0 0 14px; line-height: 1.15;
}

/* =========================================================================
   STATE 2: PC RELEASE WATCH
   ========================================================================= */
.mac-watch__title {
  font-family: var(--f-display); font-weight: 700; color: var(--f-navy);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0 0 8px; letter-spacing: -0.02em;
}
.mac-watch__intro {
  margin: 0 0 18px; font-size: 0.9rem; color: var(--f-ink2);
  font-family: var(--f-body); line-height: 1.5;
}
.mac-watch__meter {
  background: var(--f-sand); border: 1px solid var(--f-hairline);
  border-radius: 12px; padding: 16px 18px;
}
.mac-watch__big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mac-watch__bignum {
  font-family: var(--f-mono); font-weight: 700; font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1; color: var(--f-teal-deep);
}
.mac-watch__biglbl {
  font-family: var(--f-mono); font-size: 0.74rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--f-ink3);
}
.mac-watch__bar {
  height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--f-teal) 16%, var(--f-surface));
  overflow: hidden; margin: 14px 0 8px;
}
.mac-watch__fill {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--f-teal), var(--f-teal-deep));
}
.mac-watch__marker {
  font-family: var(--f-mono); font-size: 0.78rem; color: var(--f-ink3); margin: 0;
  text-align: right;
}
.mac-watch__note {
  margin: 14px 0 0; font-size: 0.82rem; color: var(--f-ink2);
  font-family: var(--f-body); line-height: 1.45; font-style: italic;
}

/* =========================================================================
   CHECKLIST
   ========================================================================= */
.mac-check__title {
  font-family: var(--f-display); font-weight: 700; color: var(--f-navy);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin: 0 0 8px; letter-spacing: -0.02em;
}
.mac-check__intro {
  margin: 0 0 16px; font-size: 0.88rem; color: var(--f-ink2);
  font-family: var(--f-body); line-height: 1.5;
}
.mac-check__progress { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mac-check__bar {
  flex: 1; height: 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--f-teal) 16%, var(--f-surface));
  overflow: hidden;
}
.mac-check__fill {
  display: block; height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--f-coral), var(--f-coral-deep));
  transition: width 220ms ease;
}
.mac-check__pct {
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 700;
  color: var(--f-ink2); white-space: nowrap; min-width: 64px; text-align: right;
}
.mac-check__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mac-check__item {
  display: flex; align-items: flex-start; gap: 11px;
  background: var(--f-sand); border: 1px solid var(--f-hairline);
  border-radius: 10px; padding: 11px 13px;
  transition: border-color 160ms ease, background 160ms ease;
}
.mac-check__item.is-done {
  border-color: color-mix(in srgb, var(--f-teal) 45%, transparent);
  background: color-mix(in srgb, var(--f-teal-tint) 60%, var(--f-sand));
}
.mac-check__box {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 20px; height: 20px; margin-top: 1px;
  border: 2px solid var(--f-hairline); border-radius: 6px;
  background: var(--f-surface); cursor: pointer; position: relative;
  transition: border-color 160ms ease, background 160ms ease;
}
.mac-check__box:checked { background: var(--f-teal); border-color: var(--f-teal); }
.mac-check__box:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.mac-check__box:focus-visible { outline: 3px solid var(--f-teal); outline-offset: 2px; }
.mac-check__label {
  font-family: var(--f-body); font-size: 0.9rem; color: var(--f-navy);
  line-height: 1.4; cursor: pointer;
}
.mac-check__item.is-done .mac-check__label { color: var(--f-ink2); }
.mac-check__reset {
  margin-top: 16px; font-family: var(--f-mono); font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--f-ink3); background: none; border: 0; cursor: pointer; padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.mac-check__reset:hover { color: var(--f-coral-deep); border-bottom-color: var(--f-coral-deep); }

@media (prefers-reduced-motion: reduce) {
  .mac-check__fill, .mac-check__box, .mac-check__item { transition: none; }
}
