/*
Theme Name: GiftCardVibe
Theme URI: https://www.giftcardvibe.com/
Author: GiftCardVibe
Description: Dark editorial theme for Nigerian gift card rates, reviews, and safety guides.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: giftcardvibe
*/

:root {
  --gcv-bg: #070a12;
  --gcv-panel: #101624;
  --gcv-soft: #0d1320;
  --gcv-line: #243047;
  --gcv-text: #eef4ff;
  --gcv-muted: #9ca9c4;
  --gcv-green: #36ff8f;
  --gcv-cyan: #35cfff;
  --gcv-purple: #8b5cf6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--gcv-bg);
  color: var(--gcv-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 18, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.site-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #061018;
  background: linear-gradient(135deg, var(--gcv-green), var(--gcv-cyan));
  border-radius: 8px;
}

.main-menu,
.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.main-menu a {
  color: #cbd7ef;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.main-menu a:hover {
  color: var(--gcv-green);
}

.site-main {
  min-height: 70vh;
}

.content-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 68px;
}

.archive-header {
  margin-bottom: 26px;
}

.archive-header h1,
.entry-title {
  color: #fff;
  font-size: clamp(34px, 6vw, 70px);
  line-height: 1;
  margin: 0 0 14px;
}

.archive-header p,
.entry-excerpt {
  color: var(--gcv-muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 740px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(16, 22, 36, .98), rgba(12, 18, 31, .98));
  text-decoration: none;
}

.post-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
}

.post-card p {
  color: var(--gcv-muted);
  line-height: 1.6;
}

.post-card-meta {
  color: var(--gcv-green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.entry-content {
  color: #dbe6fb;
  font-size: 18px;
  line-height: 1.75;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: #fff;
  line-height: 1.12;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.entry-content table {
  width: 100%;
}

.gcv-wrap {
  background: var(--gcv-bg);
  color: var(--gcv-text);
  margin: 0 calc(50% - 50vw);
  padding: 0 0 56px;
  width: 100vw;
}

.gcv-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.gcv-hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 10, 18, .94), rgba(7, 10, 18, .78)),
    url(https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1800&q=80) center / cover;
}

.gcv-kicker {
  color: var(--gcv-green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}

.gcv-h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: .96;
  margin: 14px 0 18px;
  max-width: 980px;
  color: #fff;
}

.gcv-sub {
  font-size: 20px;
  line-height: 1.6;
  color: #c9d5ee;
  max-width: 760px;
}

.gcv-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gcv-span-3 {
  grid-column: span 3;
}

.gcv-span-4 {
  grid-column: span 4;
}

.gcv-span-5 {
  grid-column: span 5;
}

.gcv-span-6 {
  grid-column: span 6;
}

.gcv-span-7 {
  grid-column: span 7;
}

.gcv-span-8 {
  grid-column: span 8;
}

.gcv-span-12 {
  grid-column: span 12;
}

.gcv-card {
  background: rgba(16, 22, 36, .92);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
}

.gcv-calc {
  margin-top: 28px;
  max-width: 920px;
}

.gcv-calc-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 12px;
}

.gcv-input,
.gcv-select {
  background: #070a12;
  border: 1px solid #2e3b55;
  color: #fff;
  border-radius: 6px;
  padding: 14px 12px;
  width: 100%;
  font-size: 15px;
}

.gcv-btn {
  background: linear-gradient(135deg, var(--gcv-green), var(--gcv-cyan));
  border: 0;
  border-radius: 6px;
  color: #061018;
  cursor: pointer;
  font-weight: 900;
  padding: 14px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gcv-result {
  margin-top: 14px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.gcv-ticker {
  border-top: 1px solid #1c2740;
  border-bottom: 1px solid #1c2740;
  background: #0b101b;
  overflow: hidden;
  white-space: nowrap;
}

.gcv-ticker div {
  display: inline-block;
  padding: 14px 0;
  animation: gcv-marquee 26s linear infinite;
}

.gcv-ticker span {
  margin-right: 34px;
  color: #cfd8ee;
}

.gcv-ticker b {
  color: var(--gcv-green);
}

@keyframes gcv-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.gcv-section {
  padding: 58px 0;
}

.gcv-section h2 {
  font-size: 34px;
  margin: 0 0 12px;
  color: #fff;
}

.gcv-section p,
.gcv-section li {
  color: var(--gcv-muted);
  line-height: 1.7;
}

.gcv-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: #0d1320;
  border-radius: 8px;
  overflow: hidden;
}

.gcv-table th,
.gcv-table td {
  padding: 14px;
  border-bottom: 1px solid #243047;
  text-align: left;
}

.gcv-table th {
  color: #061018;
  background: linear-gradient(135deg, var(--gcv-green), var(--gcv-cyan));
  font-weight: 900;
}

.gcv-table td {
  color: #e6edff;
}

.gcv-badge {
  display: inline-flex;
  border: 1px solid #31415f;
  border-radius: 999px;
  padding: 6px 10px;
  color: #c9d5ee;
  margin: 4px 6px 4px 0;
}

.gcv-score {
  font-size: 36px;
  color: var(--gcv-green);
  font-weight: 900;
}

.gcv-callout {
  border-left: 4px solid var(--gcv-green);
  background: #0d1724;
  padding: 18px;
  border-radius: 8px;
  color: #dce7ff;
}

.gcv-warning {
  border: 1px solid rgba(255, 204, 102, .45);
  background: rgba(255, 204, 102, .09);
  border-radius: 8px;
  color: #ffe4a6;
  padding: 16px 18px;
}

.gcv-tool-output {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.gcv-range {
  border: 1px solid #26334c;
  background: #0b1220;
  border-radius: 8px;
  padding: 16px;
}

.gcv-range span {
  display: block;
  color: var(--gcv-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.gcv-range strong {
  display: block;
  color: #fff;
  font-size: 24px;
  margin-top: 8px;
}

.gcv-mini-link {
  color: var(--gcv-green);
  display: inline-block;
  font-weight: 800;
  margin-top: 12px;
  text-decoration: none;
}

.gcv-scorecards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gcv-scorecard {
  background: #0d1320;
  border: 1px solid #26334c;
  border-radius: 8px;
  padding: 22px;
}

.gcv-scorecard h2 {
  margin-top: 0;
}

.gcv-meter {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.gcv-meter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  color: #dbe6fb;
  border-bottom: 1px solid #1d2940;
  padding-bottom: 8px;
}

.gcv-evidence {
  margin: 16px 0 0;
  padding-left: 18px;
}

.gcv-evidence li {
  color: var(--gcv-muted);
  margin-bottom: 8px;
}

.gcv-trust-strip {
  background: #0b101b;
  border-top: 1px solid #1c2740;
  border-bottom: 1px solid #1c2740;
  padding: 18px 0;
}

.gcv-trust-strip .gcv-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gcv-trust-item {
  color: #c9d5ee;
  font-size: 14px;
}

.gcv-trust-item strong {
  color: var(--gcv-green);
  display: block;
  margin-bottom: 4px;
}

.gcv-log {
  border-left: 1px solid #26334c;
  margin: 18px 0;
  padding-left: 18px;
}

.gcv-log p {
  margin: 0 0 12px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #060914;
  color: var(--gcv-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 34px 20px;
}

.footer-grid h2,
.footer-grid h3 {
  color: #fff;
  margin-top: 0;
}

.footer-grid a {
  color: #cbd7ef;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .post-grid,
  .footer-grid,
  .gcv-grid,
  .gcv-tool-output,
  .gcv-scorecards,
  .gcv-trust-strip .gcv-inner {
    grid-template-columns: 1fr;
  }

  .gcv-hero {
    min-height: 720px;
  }

  .gcv-calc-row {
    grid-template-columns: 1fr;
  }

  .gcv-card {
    padding: 18px;
  }

  .gcv-table,
  .gcv-table thead,
  .gcv-table tbody,
  .gcv-table th,
  .gcv-table td,
  .gcv-table tr {
    display: block;
  }

  .gcv-table thead {
    display: none;
  }

  .gcv-table tr {
    border: 1px solid #26334c;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
  }

  .gcv-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .gcv-table td::before {
    content: attr(data-label);
    color: var(--gcv-green);
    font-weight: 800;
  }

  .gcv-h1 {
    font-size: 42px;
  }

  .gcv-span-3,
  .gcv-span-4,
  .gcv-span-5,
  .gcv-span-6,
  .gcv-span-7,
  .gcv-span-8,
  .gcv-span-12 {
    grid-column: 1;
  }
}
