/* =========================================================
   ARVETHIS — DAILY TAROT READING
   Full CSS
   ========================================================= */

/* ---------- Base safety ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- Page shell ---------- */
.oc-wrap.oc-daily {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 30px 36px;
}

/* ---------- Breadcrumbs / heading ---------- */
.oc-daily .breadcrumbs {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
}

.oc-daily .breadcrumbs a {
  text-decoration: none;
}

.oc-kicker-daily {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}

.oc-kicker-daily .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,1), rgba(190,140,255,1));
  box-shadow: 0 0 14px rgba(190,140,255,.35);
}

.oc-daily .oc-title {
  margin: 0 0 22px;
  line-height: 1.12;
}

/* ---------- Intro text ---------- */
.oc-daily .oc-lead {
  width: 100%;
  max-width: none !important;
  margin: 0 0 18px;
  line-height: 1.8;
  font-size: 18px;
}

.oc-daily-note {
  width: 100%;
  max-width: none !important;
  margin: 0 0 28px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.025));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 10px 30px rgba(0,0,0,.18);
  line-height: 1.75;
}

/* ---------- Main 2-column stage ---------- */
.oc-stage.is-daily {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.oc-pane {
  min-width: 0;
}

.oc-pane-left,
.oc-pane-right {
  align-self: start;
}

/* ---------- Topbar ---------- */
.oc-topbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.oc-hint {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(190,140,255,.07), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.025));
  line-height: 1.75;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 12px 34px rgba(0,0,0,.18);
}

/* ---------- Controls ---------- */
.oc-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.oc-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, opacity .16s ease, box-shadow .16s ease;
}

.oc-btn:hover {
  transform: translateY(-1px);
}

.oc-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.oc-btn-daily {
  color: #17130a;
  background: linear-gradient(135deg, #cfae5d, #e8cf86);
  box-shadow: 0 10px 26px rgba(212,175,55,.22);
}

.oc-btn-ghost {
  color: inherit;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}

.oc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.04);
  font-size: 14px;
  line-height: 1;
}

.oc-pill-daily {
  min-width: 88px;
}

/* ---------- Card area ---------- */
.oc-daily-deck {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
}

.oc-daily-card {
  display: inline-block;
  vertical-align: top;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  border-radius: 22px;
}

.oc-daily-card:focus-visible {
  outline: 2px solid rgba(190,140,255,.7);
  outline-offset: 5px;
}

/* IMPORTANT: these are spans in the HTML now */
.oc-daily-cardbox,
.oc-daily-flip,
.oc-side {
  display: block;
}

.oc-daily-cardbox {
  position: relative;
  width: 210px;
  height: 352px;
  perspective: 1200px;
  -webkit-perspective: 1200px;
}

.oc-daily-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform .72s ease;
}

.oc-daily-flip.is-flipped {
  transform: rotateY(180deg);
}

.oc-side {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  box-shadow:
    0 16px 40px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}

.oc-back {
  z-index: 2;
  transform: rotateY(0deg);
}

.oc-front {
  z-index: 1;
  transform: rotateY(180deg);
}

.oc-side img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 20px;
}

.oc-subhint {
  max-width: 340px;
  margin-top: 16px;
  text-align: center;
  line-height: 1.65;
  font-size: 14px;
}

.oc-revealMeta {
  margin-top: 20px;
  text-align: center;
}

.oc-revealTitle {
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.oc-revealSub {
  margin-bottom: 12px;
  line-height: 1.5;
}

.oc-revealLink a,
.oc-revealLink .major-link {
  text-decoration: none;
}

/* ---------- Reading panel ---------- */
.oc-reading.oc-reading-daily {
  min-height: auto !important;
  height: auto !important;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(190,140,255,.08), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 16px 42px rgba(0,0,0,.20);
}

.oc-r-title {
  margin: 0 0 10px;
  line-height: 1.2;
}

.oc-r-meta {
  margin: 0;
  line-height: 1.7;
}

.oc-daily-prompts {
  margin-top: 14px;
}

.oc-daily-prompts > div:first-child {
  margin-bottom: 8px;
}

.oc-daily-prompts ul {
  margin: 0;
  padding-left: 20px;
}

.oc-daily-prompts li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* ---------- TOOL OFFER BOX (daily page too) ---------- */
.oc-reading-daily .tool-offer-box,
.oc-daily .tool-offer-box {
  margin-top: 18px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(130, 210, 255, 0.14);
  background:
    radial-gradient(700px 420px at 20% 20%, rgba(130, 210, 255, 0.08), rgba(0,0,0,0) 60%),
    radial-gradient(700px 420px at 80% 10%, rgba(160, 235, 210, 0.06), rgba(0,0,0,0) 62%),
    rgba(255,255,255,0.025);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 14px 34px rgba(0,0,0,0.18);
}

.oc-reading-daily .tool-offer-box p,
.oc-daily .tool-offer-box p {
  margin: 0 0 12px;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
}

.oc-reading-daily .tool-offer-box p:last-child,
.oc-daily .tool-offer-box p:last-child {
  margin-bottom: 0;
}

.oc-reading-daily .tool-offer-box strong,
.oc-daily .tool-offer-box strong {
  color: rgba(255,255,255,0.96);
  font-weight: 800;
}

.oc-reading-daily .tool-offer-box hr,
.oc-daily .tool-offer-box hr {
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,0.10) !important;
  margin: 16px 0 !important;
}

.oc-reading-daily .tool-offer-box a,
.oc-reading-daily .tool-offer-box a:visited,
.oc-reading-daily .tool-offer-box a:active,
.oc-daily .tool-offer-box a,
.oc-daily .tool-offer-box a:visited,
.oc-daily .tool-offer-box a:active {
  color: rgba(190, 240, 235, 0.96) !important;
  text-decoration: none !important;
  font-weight: 700;
  border-bottom: 1px solid rgba(190, 240, 235, 0.30);
  padding-bottom: 1px;
  transition:
    color .18s ease,
    border-color .18s ease,
    opacity .18s ease,
    text-shadow .18s ease;
}

.oc-reading-daily .tool-offer-box a:hover,
.oc-daily .tool-offer-box a:hover {
  color: rgba(215, 255, 245, 1) !important;
  border-bottom-color: rgba(215, 255, 245, 0.72);
  text-shadow: 0 0 12px rgba(160, 235, 210, 0.18);
}

.oc-reading-daily .tool-offer-box a:focus-visible,
.oc-daily .tool-offer-box a:focus-visible {
  outline: 2px solid rgba(130, 210, 255, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

.oc-reading-daily .tool-offer-box p a,
.oc-daily .tool-offer-box p a {
  display: inline-block;
  margin-top: 2px;
}

/* ---------- Share / chips ---------- */
.oc-share .bm-chip,
.bm-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.oc-share .bm-chip:hover,
.bm-chip:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(190,140,255,.26);
}

/* ---------- More section ---------- */
.oc-more-daily,
.oc-guide-daily,
.oc-faq-daily {
  margin-top: 34px;
}

.oc-more-title,
.oc-guide-title,
.oc-faq-title {
  margin: 0 0 12px;
  line-height: 1.2;
}

.oc-more-lead {
  margin: 0 0 18px;
  line-height: 1.7;
}

.oc-more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.oc-more-card {
  display: block;
  min-width: 0;
  padding: 16px 16px 15px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.025));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 12px 28px rgba(0,0,0,.16);
  transition: transform .18s ease, border-color .18s ease;
}

.oc-more-card:hover {
  transform: translateY(-2px);
  border-color: rgba(190,140,255,.22);
}

.oc-more-name {
  margin-bottom: 6px;
  font-weight: 800;
  line-height: 1.3;
}

.oc-more-desc {
  line-height: 1.55;
  opacity: .9;
}

/* ---------- Guide ---------- */
.oc-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.oc-guide-item {
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.025));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 12px 28px rgba(0,0,0,.16);
}

.oc-guide-item h3 {
  margin: 0 0 10px;
  line-height: 1.3;
}

.oc-guide-item p {
  margin: 0;
  line-height: 1.75;
}

/* ---------- FAQ ---------- */
.oc-faq-grid {
  display: grid;
  gap: 12px;
}

.oc-faq-item {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.025));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 10px 24px rgba(0,0,0,.14);
}

.oc-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 18px;
  font-weight: 800;
  line-height: 1.5;
}

.oc-faq-item summary::-webkit-details-marker {
  display: none;
}

.oc-faq-body {
  padding: 0 18px 16px;
  line-height: 1.75;
}

/* ---------- Disclaimer ---------- */
.oc-disclaimer {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
  line-height: 1.75;
}

.oc-disclaimer p {
  margin: 0;
}

/* ---------- Common links ---------- */
.oc-daily a,
.oc-daily a:visited {
  color: rgba(198, 154, 255, 0.96);
  text-decoration: underline;
  text-decoration-color: rgba(198,154,255,.45);
  text-underline-offset: 3px;
}

.oc-daily a:hover {
  color: rgba(223, 190, 255, 1);
  text-decoration-color: rgba(223,190,255,.85);
}

/* ---------- reading links ---------- */
.oc-reading a,
.oc-reading-daily a {
  color: rgba(190, 140, 255, 0.95);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(190, 140, 255, 0.35);
  padding-bottom: 1px;
  transition: all 0.25s ease;
}

.oc-reading a:hover,
.oc-reading-daily a:hover {
  color: rgba(225, 185, 255, 1);
  border-bottom-color: rgba(225, 185, 255, 0.8);
  text-shadow: 0 0 14px rgba(190, 140, 255, 0.35);
}

.oc-reading .major-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: rgba(200, 150, 255, 0.95);
  text-decoration: none;
  border-bottom: 2px solid rgba(200, 150, 255, 0.6);
  padding-bottom: 2px;
  transition: all 0.25s ease;
}

.oc-reading .major-link:hover {
  color: #e2c7ff;
  border-bottom-color: #e2c7ff;
  text-shadow: 0 0 12px rgba(190, 140, 255, 0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .oc-stage.is-daily {
    grid-template-columns: minmax(260px, 380px) minmax(300px, 1fr);
    gap: 22px;
  }

  .oc-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oc-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .oc-wrap.oc-daily {
    width: min(100% - 24px, 1180px);
    padding: 22px 22px 30px;
  }

  .oc-stage.is-daily {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .oc-pane-left,
  .oc-pane-right {
    width: 100%;
  }

  .oc-daily-cardbox {
    width: 220px;
    height: 369px;
  }
}

@media (max-width: 640px) {
  .oc-wrap.oc-daily {
    width: calc(100% - 18px);
    padding: 18px 16px 24px;
  }

  .oc-daily .breadcrumbs {
    margin-bottom: 14px;
  }

  .oc-kicker-daily {
    margin-bottom: 12px;
  }

  .oc-daily .oc-title {
    margin-bottom: 18px;
  }

  .oc-daily .oc-lead {
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 16px;
  }

  .oc-daily-note,
  .oc-hint,
  .oc-reading.oc-reading-daily,
  .oc-guide-item,
  .oc-faq-item,
  .oc-disclaimer,
  .oc-more-card,
  .tool-offer-box {
    border-radius: 16px;
  }

  .oc-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .oc-controls .oc-btn,
  .oc-controls .oc-pill {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .oc-daily-cardbox {
    width: 190px;
    height: 318px;
  }

  .oc-subhint {
    max-width: 100%;
    font-size: 13px;
  }

  .oc-more-grid {
    grid-template-columns: 1fr;
  }

  .oc-faq-item summary {
    padding: 14px 15px;
  }

  .oc-faq-body {
    padding: 0 15px 14px;
  }

  .oc-guide-item,
  .oc-reading.oc-reading-daily,
  .oc-daily-note,
  .oc-hint,
  .oc-disclaimer,
  .tool-offer-box {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Daily reveal / card detail link — force green */
.oc-daily .oc-revealLink a,
.oc-daily .oc-revealLink a:visited,
.oc-daily .oc-reading .oc-revealLink a,
.oc-daily .oc-reading .oc-revealLink a:visited,
.oc-daily a.major-link,
.oc-daily a.major-link:visited {
  color: rgba(190, 240, 235, 0.96) !important;
  text-decoration: none !important;
  font-weight: 700;
  border-bottom: 1px solid rgba(190, 240, 235, 0.34) !important;
  padding-bottom: 1px;
  transition: all 0.2s ease;
}

.oc-daily .oc-revealLink a:hover,
.oc-daily .oc-reading .oc-revealLink a:hover,
.oc-daily a.major-link:hover {
  color: rgba(220, 255, 247, 1) !important;
  border-bottom-color: rgba(220, 255, 247, 0.78) !important;
  text-shadow: 0 0 12px rgba(160, 235, 210, 0.22);
}