@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,600&family=JetBrains+Mono:wght@500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-paper: #F7F5F0;
  --bg-card: #FFFFFF;
  --ink: #111814;
  --ink-muted: #3F4943;
  --emerald: #0F4C3A;
  --emerald-hover: #093528;
  --emerald-light: #E0F2EA;
  --amber: #F59E0B;
  --amber-light: #FEF3C7;
  --coral: #D94E34;
  --coral-hover: #B83D26;
  --border-ink: 2px solid #111814;
  --shadow-lg: 5px 5px 0px #111814;
  --shadow-sm: 3px 3px 0px #111814;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-paper);
  background-image: radial-gradient(#d5cfc0 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif-title {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: var(--emerald);
  text-decoration: underline;
  text-thickness: 2px;
  text-underline-offset: 3px;
  transition: all 0.15s ease;
}

a:hover {
  color: var(--coral);
}

/* LIVE BANNER */
.live-banner {
  background-color: var(--ink);
  color: #FFFFFF;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 16px;
  text-align: center;
  border-bottom: var(--border-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.03em;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #22C55E;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* HEADER & NAVIGATION */
.site-header {
  background-color: var(--bg-paper);
  border-bottom: var(--border-ink);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo:hover {
  color: var(--ink);
}

.brand-icon {
  background-color: var(--amber);
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  background-color: var(--emerald-light);
  color: var(--emerald);
  border: 1.5px solid var(--ink);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  background-color: var(--bg-card);
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.nav-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
  background-color: var(--amber-light);
  color: var(--ink);
}

.nav-btn.primary {
  background-color: var(--emerald);
  color: #FFFFFF;
}

.nav-btn.primary:hover {
  background-color: var(--emerald-hover);
  color: #FFFFFF;
}

/* CONTAINER & HERO */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-section {
  padding: 48px 0 36px;
}

.hero-card {
  background-color: var(--bg-card);
  border: var(--border-ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
  position: relative;
}

.editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  background-color: var(--emerald-light);
  color: var(--emerald);
  border: var(--border-ink);
  border-radius: 6px;
  padding: 5px 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 900px;
}

.marker-highlight {
  background: linear-gradient(104deg, rgba(245, 158, 11, 0) 0.9%, rgba(245, 158, 11, 0.55) 2.4%, rgba(245, 158, 11, 0.45) 5.8%, rgba(245, 158, 11, 0.35) 93%, rgba(245, 158, 11, 0.6) 96%, rgba(245, 158, 11, 0) 98%), linear-gradient(183deg, rgba(245, 158, 11, 0) 0%, rgba(245, 158, 11, 0.3) 7.9%, rgba(245, 158, 11, 0) 15%);
  padding: 0 8px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 820px;
  margin-bottom: 28px;
}

/* SEARCH & FILTER BAR */
.controls-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.search-box {
  position: relative;
  max-width: 640px;
}

.search-input {
  width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 18px;
  background-color: var(--bg-paper);
  color: var(--ink);
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.search-input:focus {
  background-color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  background-color: var(--bg-card);
  color: var(--ink);
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.12s ease;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--emerald);
  color: #FFFFFF;
  transform: translate(-1px, -1px);
}

/* CARDS GRID */
.offers-section {
  padding: 20px 0 56px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: var(--border-ink);
  padding-bottom: 12px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.offer-card {
  background-color: var(--bg-card);
  border: var(--border-ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.15s ease;
}

.offer-card:hover {
  transform: translate(-2px, -2px);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-frame {
  width: 54px;
  height: 54px;
  background-color: #FFFFFF;
  border: var(--border-ink);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 6px;
}

.logo-frame.lg {
  width: 72px;
  height: 72px;
  padding: 8px;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-cat-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  background-color: var(--bg-paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 4px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.card-title a {
  text-decoration: none;
  color: var(--ink);
}

.card-title a:hover {
  color: var(--emerald);
}

.bonus-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  background-color: var(--emerald-light);
  color: var(--emerald);
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* COUPON / TICKET BOX */
.ticket-box {
  background-color: var(--amber-light);
  border: 2px dashed var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ticket-code-wrap {
  display: flex;
  flex-direction: column;
}

.ticket-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}

.ticket-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  word-break: break-all;
}

.copy-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  background-color: var(--amber);
  color: var(--ink);
  border: var(--border-ink);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: all 0.12s ease;
}

.copy-btn:hover {
  background-color: #FBBF24;
  transform: translate(-1px, -1px);
}

.direct-link-box {
  background-color: var(--emerald-light);
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.btn-cta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  background-color: var(--coral);
  color: #FFFFFF;
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.12s ease;
}

.btn-cta:hover {
  background-color: var(--coral-hover);
  color: #FFFFFF;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  background-color: var(--bg-paper);
  color: var(--ink);
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--amber-light);
  color: var(--ink);
}

/* DETAIL PAGE & BLOG ARTICLE LAYOUT */
.breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  margin: 24px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 32px;
  margin-bottom: 64px;
  align-items: start;
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

.content-card {
  background-color: var(--bg-card);
  border: var(--border-ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 36px;
}

.content-card h2 {
  font-size: 1.65rem;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}

.content-card h3 {
  font-size: 1.25rem;
  margin: 22px 0 10px;
}

.content-card p {
  margin-bottom: 16px;
}

.content-card ul, .content-card ol {
  margin: 0 0 20px 22px;
}

.content-card li {
  margin-bottom: 10px;
}

.sticky-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-box {
  background-color: var(--bg-card);
  border: var(--border-ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}

/* TABLE STYLING */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  border: var(--border-ink);
  box-shadow: var(--shadow-sm);
}

.spec-table th, .spec-table td {
  border: 1.5px solid var(--ink);
  padding: 12px 14px;
  text-align: left;
  font-size: 0.95rem;
}

.spec-table th {
  background-color: var(--bg-paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}

/* STEPS LIST */
.steps-list {
  list-style: none !important;
  margin-left: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-item {
  background-color: var(--bg-paper);
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  background-color: var(--emerald);
  color: #FFFFFF;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* FAQ ACCORDION */
.faq-item {
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  background-color: var(--bg-paper);
  margin-bottom: 12px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* PARTNER CALLOUT */
.partner-callout {
  background-color: var(--amber-light);
  border: var(--border-ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin: 24px 0;
}

/* TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background-color: var(--ink);
  color: #FFFFFF;
  border: 2px solid var(--amber);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 14px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  transform: translateY(150%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-container.show {
  transform: translateY(0);
}

/* FOOTER */
.site-footer {
  background-color: #FFFFFF;
  border-top: var(--border-ink);
  padding: 52px 0 36px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--emerald);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1.5px dashed var(--ink);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

@media (max-width: 640px) {
  .hero-card, .content-card {
    padding: 24px 18px;
  }
  .offers-grid {
    grid-template-columns: 1fr;
  }
}
