:root {
  --brand-orange: #f36f21;
  --brand-orange-dark: #c95714;
  --brand-orange-soft: #fff1e8;
  --ink: #1f2937;
  --muted: #667085;
  --line: #eadfd6;
  --surface: #ffffff;
  --surface-warm: #fff8f2;
  --shadow-sm: 0 10px 28px rgba(63, 46, 36, 0.08);
  --shadow-md: 0 20px 45px rgba(63, 46, 36, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fffaf6;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  padding-top: 82px;
}

a {
  color: var(--brand-orange-dark);
}

a:hover {
  color: #92380d;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: absolute;
  top: -56px;
  z-index: 2000;
}

.skip-link:focus {
  top: 12px;
}

.navbar-orange.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(243, 111, 33, 0.16);
  box-shadow: 0 12px 32px rgba(63, 46, 36, 0.08);
  backdrop-filter: blur(14px);
}

.navbar-orange .navbar-brand.brand-mark {
  align-items: center;
  color: var(--ink) !important;
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 850;
  gap: 10px;
  letter-spacing: 0;
}

.brand-icon {
  align-items: center;
  background: var(--brand-orange);
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(243, 111, 33, 0.28);
  color: #fff;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand-kicker {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.navbar-orange .navbar-toggler {
  border-color: rgba(243, 111, 33, 0.35);
  border-radius: 12px;
}

.navbar-orange .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f36f21' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-orange .nav-link {
  color: #344054 !important;
  font-size: 0.94rem;
  font-weight: 750;
  margin: 2px;
  padding: 0.58rem 0.78rem;
}

.navbar-orange .nav-link:hover,
.navbar-orange .nav-link:focus {
  background: var(--brand-orange-soft);
  color: var(--brand-orange-dark) !important;
  transform: none;
}

.nav-facebook {
  align-items: center;
  background: #f2f4f7;
  border-radius: 999px;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  min-width: 38px;
}

.showcase {
  margin-bottom: 56px;
  margin-top: 0;
}

.hero-panel {
  background:
    radial-gradient(circle at top right, rgba(243, 111, 33, 0.18), transparent 34%),
    linear-gradient(135deg, #fffaf6 0%, #ffffff 56%, #fff3ea 100%);
  border: 1px solid rgba(243, 111, 33, 0.18);
  border-radius: 0 0 32px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  overflow: hidden;
  padding: 42px 22px 34px;
  position: relative;
}

.hero-panel h1 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

.hero-panel .lead {
  color: #475467;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  margin: 16px auto 0;
  max-width: 760px;
}

.eyebrow {
  color: var(--brand-orange-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.btn-brand,
.btn-warning {
  background: var(--brand-orange);
  border: 1px solid var(--brand-orange);
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
}

.btn-brand:hover,
.btn-warning:hover {
  background: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  color: #fff;
}

.btn-soft {
  background: #fff;
  border: 1px solid rgba(243, 111, 33, 0.28);
  border-radius: 999px;
  color: var(--brand-orange-dark);
  font-weight: 850;
}

.section-heading {
  margin-bottom: 22px;
  max-width: 800px;
}

.section-heading h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  margin: 10px 0 0;
}

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

.zodiac-card,
.feature-card,
.daily-card {
  background: var(--surface);
  border: 1px solid rgba(234, 223, 214, 0.95);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.zodiac-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.zodiac-card:hover {
  border-color: rgba(243, 111, 33, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.zodiac-card-top {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.zodiac-card img,
.daily-sign-image {
  background: var(--brand-orange-soft);
  border-radius: 18px;
  flex: 0 0 auto;
  height: 82px;
  object-fit: contain;
  padding: 8px;
  width: 82px;
}

.zodiac-card h3,
.daily-card h2,
.feature-card h3 {
  color: var(--ink);
  font-weight: 900;
}

.zodiac-card h3 {
  font-size: 1.18rem;
  margin: 0 0 6px;
}

.zodiac-card p {
  color: #475467;
  margin: 0;
}

.zodiac-card .btn {
  margin-top: 16px;
}

.feature-band {
  background: #ffffff;
  border-top: 1px solid var(--line);
  margin: 48px calc(50% - 50vw) 0;
  padding: 46px max(16px, calc(50vw - 660px));
}

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

.feature-card,
.daily-card {
  padding: 22px;
}

.feature-card h3,
.daily-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.feature-card p,
.daily-card p {
  color: #475467;
  margin-bottom: 0;
}

.daily-hero {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 120px minmax(0, 1fr);
  text-align: left;
}

.daily-sign-image {
  height: 112px;
  width: 112px;
}

.share-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.share-actions small {
  color: var(--muted);
  font-weight: 750;
}

.share-actions .btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.lucky-number {
  color: var(--brand-orange);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.day-nav {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.affiliate-section {
  background: var(--surface-warm);
  border-top: 1px solid rgba(243, 111, 33, 0.18);
  padding: 42px 0 34px;
}

.affiliate-heading {
  margin-bottom: 24px;
  max-width: 780px;
}

.affiliate-label {
  color: var(--brand-orange-dark);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.affiliate-heading h2 {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

.affiliate-heading p {
  color: var(--muted);
  margin: 8px 0 0;
}

.offer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.offer-card {
  background: #fff;
  border: 1px solid #ffe0cc;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.offer-card:hover {
  border-color: rgba(243, 111, 33, 0.45);
  box-shadow: 0 18px 34px rgba(127, 56, 13, 0.12);
  transform: translateY(-3px);
}

.offer-image-link,
.offer-card a {
  text-decoration: none;
}

.offer-image-wrap {
  aspect-ratio: 1 / 1;
  background: var(--brand-orange-soft);
  overflow: hidden;
  position: relative;
}

.offer-image-wrap img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.offer-pill {
  background: var(--brand-orange);
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  left: 10px;
  padding: 5px 9px;
  position: absolute;
  top: 10px;
  z-index: 1;
}

.offer-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
}

.offer-store {
  color: var(--brand-orange-dark);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.offer-body h3 {
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.28;
  margin: 0;
}

.offer-body h3 a {
  color: var(--ink);
}

.offer-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
}

.offer-button {
  align-items: center;
  background: var(--brand-orange);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 850;
  justify-content: center;
  margin-top: auto;
  min-height: 40px;
  padding: 9px 12px;
}

.offer-button:hover {
  background: var(--brand-orange-dark);
  color: #fff;
}

.loader,
.offers-loader,
.offers-end,
.offer-error,
.end-message {
  color: var(--muted);
  font-weight: 750;
  padding: 18px 0 0;
  text-align: center;
}

.spinner {
  border-top-color: var(--brand-orange);
}

.offers-sentinel {
  height: 20px;
}

.affiliate-disclaimer {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 22px 0 0;
}

.site-footer {
  background: #1f2937;
  color: #f8fafc;
  padding: 32px 0;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffd8c2;
}

.privacy-page {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 42px;
  padding: clamp(22px, 4vw, 44px);
}

.privacy-page h1,
.privacy-page h2 {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 1199px) {
  .navbar-orange .nav-link {
    font-size: 0.88rem;
    padding: 0.52rem 0.56rem;
  }
}

@media (max-width: 991px) {
  body {
    padding-top: 76px;
  }

  .navbar-collapse {
    padding: 12px 0 8px;
  }

  .navbar-orange .nav-link {
    border-radius: 12px;
    margin: 2px 0;
  }

  .zodiac-grid,
  .feature-grid,
  .daily-grid,
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 72px;
  }

  .hero-panel {
    border-radius: 0 0 22px 22px;
    padding: 32px 16px 26px;
  }

  .hero-actions,
  .day-nav {
    align-items: stretch;
    display: flex;
    flex-direction: column;
  }

  .zodiac-grid,
  .feature-grid,
  .daily-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .zodiac-card-top,
  .daily-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .zodiac-card-top {
    align-items: center;
    flex-direction: column;
  }

  .daily-sign-image {
    justify-self: center;
  }

  .share-actions {
    justify-content: center;
  }
}
