/* ============================================================
   GAME CODES DAILY — games.vedicvibe.online
   One stylesheet for the whole site. No external fonts, no
   external images — system font stacks only, so pages stay
   fast everywhere. Dark gaming theme, electric violet accent
   with a neon-green secondary for code chips.
   ============================================================ */

:root {
  --bg: #0b0b12;
  --bg-soft: #14141f;
  --bg-card: #191926;
  --line: #2b2b3d;
  --text: #f1f0fa;
  --text-soft: #b3b1c4;
  --accent: #9d6bff;        /* electric violet */
  --accent-dark: #4c2a99;
  --green: #2ee06f;         /* neon green — code chips, ticks */
  --max: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .headline {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .5em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ---------- Lead images (our own generated artwork) ---------- */
.lead-img, .hero-img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.lead-img { margin: 0 0 24px; }
.hero-img { margin: 0 0 22px; }
.card img.thumb-img {
  display: block; width: 100%; height: 150px; object-fit: cover;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 18px; }

/* ---------- Masthead ---------- */
.masthead {
  border-bottom: 3px solid var(--accent);
  background: #07070c;
}
.masthead .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 6px 16px; padding-top: 18px; padding-bottom: 14px;
}
.logo {
  font-size: 2rem; font-weight: 800; letter-spacing: .04em;
  color: var(--text); text-transform: uppercase;
}
.logo .accent { color: var(--accent); }
.logo:hover { text-decoration: none; }
.tagline { color: var(--text-soft); font-size: .92rem; margin: 0; }

/* ---------- Category nav ---------- */
.catnav { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.catnav .wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 10px; padding-bottom: 10px; }
.catnav a {
  color: var(--text); font-size: .95rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.catnav a:hover { color: var(--accent); text-decoration: none; }

/* ---------- Hero / top section ---------- */
.hero {
  margin: 26px 0 8px;
  border-radius: var(--radius);
  padding: 42px 30px;
  background: linear-gradient(135deg, #241145 0%, #120b24 55%, #0b0b12 100%);
  border: 1px solid var(--line);
}
.hero .kicker, .kicker {
  display: inline-block;
  color: #0b0b12; background: var(--green);
  font-size: .78rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
  margin-bottom: 14px;
}
.hero h1 { font-size: 2.1rem; max-width: 22em; }
.hero p.dek { color: var(--text-soft); font-size: 1.08rem; max-width: 44em; }
.hero a.read { font-weight: 700; }

/* ---------- Section headings ---------- */
.section-title {
  font-size: 1.45rem; margin: 34px 0 16px;
  padding-bottom: 8px; border-bottom: 2px solid var(--line);
}
.section-title .accent { color: var(--accent); }

/* ---------- Grid / cards ---------- */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  margin-bottom: 10px;
}
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card .thumb {
  min-height: 110px; padding: 16px;
  display: flex; align-items: flex-end;
  font-size: 1.25rem; font-weight: 800; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.thumb-violet { background: linear-gradient(135deg, #4c2a99, #170b33); }
.thumb-green  { background: linear-gradient(135deg, #0d5c2c, #06230f); }
.thumb-orange { background: linear-gradient(135deg, #8a4a08, #2b1704); }
.thumb-blue   { background: linear-gradient(135deg, #14365e, #060d1c); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.12rem; margin: 0; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.card p { color: var(--text-soft); font-size: .95rem; margin: 0; flex: 1; }
.card .meta { color: var(--text-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- How-it-works strip ---------- */
.how-strip {
  display: grid; gap: 14px; grid-template-columns: 1fr;
  margin: 8px 0 6px;
}
@media (min-width: 760px) { .how-strip { grid-template-columns: 1fr 1fr 1fr; } }
.how-step {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.how-step .step-no {
  display: inline-block; background: var(--accent); color: #0b0b12;
  font-weight: 800; border-radius: 999px; padding: 2px 11px;
  font-size: .85rem; margin-bottom: 10px;
}
.how-step h3 { font-size: 1.05rem; margin: 0 0 6px; }
.how-step p { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* ---------- Article / codes page ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 28px 18px 10px; }
.article .meta-line { color: var(--text-soft); font-size: .9rem; margin-bottom: 18px; }
.article-hero {
  border-radius: var(--radius); padding: 46px 28px; margin-bottom: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #241145 0%, #120b24 60%, #0b0b12 100%);
}
.article-hero.green  { background: linear-gradient(135deg, #0d4423 0%, #071f10 60%, #0b0b12 100%); }
.article-hero.orange { background: linear-gradient(135deg, #57300a 0%, #241204 60%, #0b0b12 100%); }
.article-hero.blue   { background: linear-gradient(135deg, #0f2a4d 0%, #081426 60%, #0b0b12 100%); }
.article-hero h1 { font-size: 2rem; margin: 0; }
.article h2 { font-size: 1.5rem; margin: 1.4em 0 .5em; }
.article p { margin: 0 0 1.05em; }
.article .standfirst { font-size: 1.13rem; color: var(--text); }
.updated-line {
  display: inline-block; background: var(--bg-soft);
  border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0; padding: 8px 14px;
  font-size: .95rem; color: var(--text); margin: 0 0 1.2em;
}
.est-note {
  background: var(--bg-soft); border-left: 4px solid var(--accent);
  padding: 12px 16px; border-radius: 0 8px 8px 0;
  color: var(--text-soft); font-size: .95rem; margin: 0 0 1.4em;
}

/* Codes table */
.codes-table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .98rem; }
.codes-table th, .codes-table td {
  border: 1px solid var(--line); padding: 10px 12px; text-align: left;
  vertical-align: top;
}
.codes-table th { background: var(--bg-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.codes-table td { background: var(--bg-card); color: var(--text-soft); }
.code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 700; color: var(--green); white-space: nowrap;
  font-size: 1rem;
}
.status { color: var(--text); font-weight: 600; }

/* Steps list */
.steps { margin: 0 0 1.2em; padding-left: 1.3em; }
.steps li { margin-bottom: .55em; }

/* FAQ block */
.faq { margin: 30px 0 6px; }
.faq h2 { margin-bottom: 12px; }
.faq details {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 8px 0 2px; color: var(--text-soft); }

/* Share line */
.share {
  margin: 26px 0; padding: 14px 16px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  font-size: .95rem; color: var(--text-soft);
}
.share a { font-weight: 700; margin-right: 14px; }

/* Related */
.related { max-width: 760px; margin: 0 auto; padding: 0 18px 8px; }

/* ---------- Footer ---------- */
footer {
  margin-top: 44px; background: #07070c;
  border-top: 1px solid var(--line);
  color: var(--text-soft); font-size: .92rem;
}
footer .wrap { padding-top: 26px; padding-bottom: 30px; }
footer .foot-logo {
  font-size: 1.25rem; color: var(--text); font-weight: 800;
  text-transform: uppercase;
}
footer .foot-logo .accent { color: var(--accent); }
footer p { margin: 6px 0; max-width: 46em; }
footer nav { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer nav a { color: var(--text-soft); }
footer nav a:hover { color: var(--accent); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 70px 18px; }
.notfound h1 { font-size: 3rem; color: var(--accent); }
