/* ===========================================================
   App Games Daily — Construction Arcade (dark)
   Full redesign · pt-PT · construction games
   =========================================================== */

:root {
  /* Portuguese gaming palette: flag green + red + gold */
  --bg: #0b1410;
  --bg-2: #0e1813;
  --panel: #13201a;
  --panel-2: #182a21;
  --panel-3: #20362b;
  --ink: #f3f8f4;
  --muted: #9fb3a6;
  --muted-2: #6b8276;
  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.17);
  --hazard: #ffcb05;        /* gold (stars / highlights) */
  --hazard-deep: #f0b400;
  --accent: #12b25a;        /* Portugal green (primary) */
  --accent-deep: #0a8f46;
  --accent-soft: rgba(18,178,90,0.16);
  --red: #ef3340;           /* Portugal red (badges / accents) */
  --red-soft: rgba(239,51,64,0.14);
  --orange: #ef3340;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px rgba(0,0,0,0.5);
  --glow-hazard: 0 0 0 1px rgba(255,203,5,0.35), 0 16px 40px rgba(240,180,0,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Karla', sans-serif;
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(1300px 640px at 82% -8%, rgba(18,178,90,0.16), transparent 60%),
    radial-gradient(1000px 540px at 4% 4%, rgba(239,51,64,0.10), transparent 55%),
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .site-logo {
  font-family: 'Archivo', sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
h3 { font-size: 1.18rem; margin-bottom: 8px; }
p { margin-bottom: 14px; }

/* full-width fluid — no fixed container */
.container { width: 100%; max-width: none; margin: 0; padding: 0 clamp(18px, 5vw, 96px); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #74bcff; }
.muted { color: var(--muted); font-size: 14px; }

/* eyebrow / kicker */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hazard);
  background: rgba(255,203,5,0.10);
  border: 1px solid rgba(255,203,5,0.30);
  padding: 6px 13px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-kicker.blue { color: var(--accent); background: var(--accent-soft); border-color: rgba(18,178,90,0.32); }
.section-head { max-width: 740px; margin-bottom: 38px; }
.section-head .muted { font-size: 16px; }

/* teaser line */
.tease {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-style: italic;
  color: var(--hazard); font-size: 15px; margin: 10px 0 0;
  display: inline-flex; align-items: center; gap: 8px;
}
.tease::before { content: "〰"; color: var(--accent); font-style: normal; font-size: 18px; }

section { padding: 84px 0; position: relative; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 13px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.14s, box-shadow 0.14s, background 0.14s;
  text-align: center;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(18,178,90,0.34); background: var(--accent-deep); }
.btn:active { transform: translateY(0); }
.btn-full { width: 100%; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: var(--ink); box-shadow: none; }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }

/* ===== Cookie banner ===== */
.cookie-banner {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  padding: 12px 0;
  font-size: 14px;
}
.cookie-banner a { color: var(--hazard); }
.cookie-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  background: rgba(12,14,19,0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-logo { display: inline-flex; align-items: center; gap: 11px; font-size: 1.32rem; color: var(--ink); text-transform: uppercase; }
.site-logo:hover { color: var(--ink); }
.site-logo .logo-mark {
  width: 40px; height: 40px;
  background: var(--hazard);
  border-radius: 11px;
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(255,179,0,0.30);
}
.site-logo .logo-mark svg { width: 23px; height: 23px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav ul { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.site-nav a { color: var(--muted); font-weight: 700; font-family: 'Archivo', sans-serif; font-size: 14px; }
.site-nav a:hover { color: var(--ink); }

/* ===== HERO (split + featured card) ===== */
.hero { padding: 70px 0 50px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .hl {
  background: linear-gradient(100deg, var(--accent), var(--red));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 1.16rem; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.chip .stars { color: var(--hazard); letter-spacing: 1px; }
.chip b { color: var(--ink); font-family: 'Archivo', sans-serif; }

/* featured floating card */
.featured {
  position: relative;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}
.featured::before {
  content: "EM DESTAQUE";
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 0.18em;
  color: #fff; background: var(--red); padding: 5px 10px; border-radius: 7px;
}
.featured-shot { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; display: block; border: 1px solid var(--line); }
.featured-row { display: flex; align-items: center; gap: 13px; margin-top: 16px; }
.featured-row img { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line); }
.featured-row .meta h3 { margin: 0; color: #fff; }
.featured-row .meta .sub { font-size: 13px; color: var(--muted); }
.featured-row .meta .stars { color: var(--hazard); font-size: 13px; letter-spacing: 1px; }
.featured .btn { margin-top: 16px; }

/* ===== Ticker / marquee ===== */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden; white-space: nowrap;
  padding: 0; position: relative;
}
.ticker__track { display: inline-flex; gap: 0; animation: ticker 26s linear infinite; }
.ticker__track span {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.06em;
  color: var(--muted-2); text-transform: uppercase; padding: 16px 18px;
}
.ticker__track span::after { content: "▰"; color: var(--hazard); font-size: 10px; }
@keyframes ticker { from { transform: translateX(0);} to { transform: translateX(-50%);} }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ===== BENTO ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}
.tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.18s, transform 0.18s;
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tile h3 { color: var(--ink); }
.tile p { font-size: 14.5px; margin: 0; }
.tile .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.tile .ico svg { width: 24px; height: 24px; }
.tile--hero {
  grid-column: span 2; grid-row: span 2;
  background: linear-gradient(150deg, rgba(18,178,90,0.18), var(--panel-2));
  border-color: rgba(18,178,90,0.28);
  display: flex; flex-direction: column; justify-content: space-between;
}
.tile--hero .big { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: clamp(3rem,7vw,5rem); color: #fff; line-height: 0.95; }
.tile--hero .big small { display: block; font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.tile--dark { background: var(--panel-3); }
.tile--steps ol { list-style: none; counter-reset: s; margin: 0; }
.tile--steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin-bottom: 12px; }
.tile--steps li::before { content: counter(s); flex: 0 0 26px; width: 26px; height: 26px; background: var(--accent); color: #fff; font-family: 'Archivo', sans-serif; font-weight: 700; border-radius: 8px; display: grid; place-items: center; font-size: 13px; }
.tile--steps li:last-child { margin-bottom: 0; }

/* ===== Games shelf (horizontal scroll) ===== */
.shelf-wrap { position: relative; }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.shelf-hint { font-size: 13px; color: var(--muted-2); display: inline-flex; align-items: center; gap: 7px; }
.shelf {
  display: flex; gap: 20px; overflow-x: auto; padding: 6px 4px 20px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--panel-3) transparent;
}
.shelf::-webkit-scrollbar { height: 8px; }
.shelf::-webkit-scrollbar-thumb { background: var(--panel-3); border-radius: 10px; }
.gcard {
  flex: 0 0 320px; scroll-snap-align: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.gcard:hover { transform: translateY(-5px); border-color: rgba(18,178,90,0.42); box-shadow: var(--shadow); }
.gcard__shot { position: relative; }
.gcard__shot img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.gcard__badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--red); color: #fff;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 7px;
}
.gcard__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.gcard__top { display: flex; gap: 12px; align-items: center; margin-top: 14px; margin-bottom: 12px; position: relative; }
.gcard__top img { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line); }
.gcard__top h3 { color: var(--ink); margin: 0; font-size: 1.08rem; }
.gcard__top .dev { font-size: 12.5px; color: var(--muted); }
.gcard__rating { font-size: 13px; color: var(--ink); margin-bottom: 8px; }
.gcard__rating .stars { color: var(--hazard-deep); letter-spacing: 1px; }
.gcard__desc { font-size: 14px; margin-bottom: 16px; flex: 1; }
.gcard .btn { margin-top: auto; }

/* ===== Spotlight (alternating big screenshot + copy) ===== */
.spotlight { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; margin-bottom: 64px; }
.spotlight:last-child { margin-bottom: 0; }
.spotlight.reverse .spot-media { order: 2; }
.spot-media { position: relative; }
.spot-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); display: block; }
.spot-media .tag {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--red); color: #fff; font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px;
}
.spot-body h3 { font-size: 1.8rem; color: var(--ink); margin-bottom: 12px; }
.spot-body .stars { color: var(--hazard-deep); letter-spacing: 2px; margin-bottom: 12px; display: block; }
.pros { list-style: none; margin: 16px 0 22px; }
.pros li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 9px; font-size: 15px; color: var(--ink); }
.pros li svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }

/* ===== Process timeline ===== */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 20px); }
.tstep { text-align: center; position: relative; }
.tstep .dot { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 15px; background: var(--accent); border: none; color: #fff; display: grid; place-items: center; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; position: relative; z-index: 1; box-shadow: 0 8px 22px rgba(18,178,90,0.32); }
.tstep h3 { color: var(--ink); }
.tstep p { font-size: 14.5px; max-width: 280px; margin: 0 auto; }

/* ===== Genres ===== */
.genres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.genre {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.genre:hover { transform: translateY(-4px); border-color: rgba(18,178,90,0.42); box-shadow: var(--shadow); }
.genre__idx {
  position: absolute; top: 6px; right: 14px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 4.4rem; line-height: 1;
  color: rgba(255,255,255,0.045); pointer-events: none;
}
.genre .ico { width: 50px; height: 50px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.genre .ico svg { width: 26px; height: 26px; }
.genre h3 { color: var(--ink); margin-bottom: 6px; }
.genre p { font-size: 14px; margin-bottom: 16px; flex: 1; }
.genre .count {
  align-self: flex-start;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--hazard); background: rgba(255,203,5,0.10); border: 1px solid rgba(255,203,5,0.28);
  padding: 5px 11px; border-radius: 100px; margin-bottom: 14px;
}
.genre__link { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.genre__link:hover { gap: 9px; color: var(--accent); }

/* ===== Console: FAQ + subscribe ===== */
.console { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: start; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 20px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--hazard); transition: transform 0.18s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item .faq-body { padding: 0 20px 18px; font-size: 14.5px; }

.signup {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 32px; position: sticky; top: 90px;
}
.signup h3 { font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.signup .lead { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 12px; font-weight: 700; font-family: 'Archivo', sans-serif; margin-bottom: 6px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 11px;
  font-size: 15px; outline: none; font-family: 'Karla', sans-serif; background: var(--bg-2); color: var(--ink);
  transition: border-color 0.16s, box-shadow 0.16s;
}
input::placeholder { color: var(--muted-2); }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18,178,90,0.20); }
.form-note { font-size: 12px; color: var(--muted-2); margin: -2px 0 14px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 2px 0 16px; cursor: pointer; line-height: 1.5; }
.form-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.form-consent a { color: var(--accent); }
.form-consent.invalid span { color: var(--red); }
.form-consent.invalid input { outline: 2px solid var(--red); outline-offset: 2px; }
.success-msg { margin-top: 14px; padding: 13px; background: var(--accent-soft); color: #b9f0cf; border: 1px solid rgba(18,178,90,0.34); border-radius: 11px; text-align: center; font-size: 14px; font-weight: 700; }
.hidden { display: none; }

/* ===== Offerings (.offer-grid + .card) ===== */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; margin-top: 26px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color 0.18s, transform 0.18s; }
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card h3 { color: var(--ink); }
.card p { font-size: 14.5px; margin: 0; }

/* ===== Legal ===== */
.legal-content { max-width: 820px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; }
.legal-content h1 { margin-bottom: 16px; }
.legal-content h2 { margin-top: 28px; color: var(--ink); }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { margin: 10px 0 16px 22px; }
.legal-content li { margin-bottom: 6px; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); color: var(--muted); padding: 0 0 30px; font-size: 14px; }
.site-footer .foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding: 46px 0 28px; border-bottom: 1px solid var(--line); }
.site-footer .foot-brand .site-logo { color: #fff; }
.site-footer .foot-brand p { color: var(--muted-2); font-size: 14px; max-width: 340px; margin-top: 12px; }
.site-footer .foot-contact { margin-top: 6px; }
.site-footer .foot-contact a { color: var(--hazard); font-weight: 700; }
.site-footer .foot-addr { color: var(--muted-2); font-size: 13px; margin-top: 8px; font-style: normal; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }
.site-footer .foot-nav a { color: var(--muted); font-family: 'Archivo', sans-serif; font-weight: 700; }
.site-footer .foot-nav a:hover { color: #fff; }
.site-footer .foot-bottom { padding-top: 22px; text-align: center; color: var(--muted-2); }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--hero { grid-column: span 2; grid-row: auto; }
  .genres { grid-template-columns: repeat(2, 1fr); }
  .console { grid-template-columns: 1fr; }
  .signup { position: static; }
}
@media (max-width: 760px) {
  section { padding: 56px 0; }
  .hero { padding: 44px 0 30px; }
  .spotlight, .spotlight.reverse { grid-template-columns: 1fr; gap: 24px; }
  .spotlight.reverse .spot-media { order: 0; }
  .timeline { grid-template-columns: 1fr; gap: 30px; }
  .timeline::before { display: none; }
  .genres { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile--hero { grid-column: auto; }
  .site-header { position: static; }
  .site-header .container { justify-content: center; text-align: center; }
  .site-nav { width: 100%; justify-content: center; }
  .site-nav ul { gap: 16px; font-size: 13px; }
}
