/* Olympic Traders — extra styles for the static site (nav, brokers, calculator, payment).
   Uses the site's own theme tokens from callback.css (:root). */

/* ---------- Top navigation ---------- */
.ot-desktop-links .ot-navlink { padding: .5rem .6rem !important; white-space: nowrap; }
.ot-desktop-links .ot-navlink-active { background: var(--secondary); color: var(--accent); font-weight: 700; border-bottom: 2px solid var(--accent); }

/* Eight tabs need room: below 1180px use the menu button instead. */
@media (max-width: 1180px) {
  .ot-desktop-links { display: none !important; }
  #mobile-menu-btn { display: block !important; }
}
#mobile-menu.ot-open { display: block !important; opacity: 1 !important; transform: scale(1) !important; pointer-events: auto !important; }
.ot-mlinks { display: flex; flex-direction: column; gap: 2px; }
.ot-mlink { display: block; padding: .5rem .75rem; border-radius: .375rem; font-size: .875rem; font-weight: 500; color: var(--foreground); }
.ot-mlink:hover { color: var(--accent); background: rgba(212,165,116,.08); }
.ot-mlink-active { color: var(--accent); font-weight: 700; background: var(--secondary); }

/* ---------- Shared building blocks ---------- */
.ot-section { margin-bottom: 3rem; }
.ot-eyebrow { color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .5rem; }
.ot-title { font-size: 1.75rem; font-weight: 700; color: var(--foreground); margin-bottom: .5rem; }
.ot-sub { color: var(--muted-foreground); max-width: 44rem; margin-bottom: 1.75rem; }
.ot-card { background: var(--card); border: 1px solid var(--border); border-radius: .75rem; padding: 1.5rem; }
.ot-card-gold { border-color: rgba(212,165,116,.55); box-shadow: 0 0 0 1px rgba(212,165,116,.15), 0 10px 30px rgba(0,0,0,.25); }
.ot-grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 900px) { .ot-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.ot-badge { display: inline-block; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: rgba(212,165,116,.15); color: var(--accent); border: 1px solid rgba(212,165,116,.4); }
.ot-btn { display: block; width: 100%; text-align: center; padding: .8rem 1rem; border-radius: .5rem; font-weight: 700; font-size: .95rem; transition: all .2s; text-decoration: none; }
.ot-btn-primary { background: var(--primary); color: #fff; }
.ot-btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ot-btn-gold { background: var(--accent); color: var(--accent-foreground); }
.ot-btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ot-btn-wa { background: #1fa855; color: #fff; }
.ot-btn-wa:hover { background: #178f47; transform: translateY(-1px); }
.ot-btn-lg { padding: 1.05rem 1.25rem; font-size: 1.1rem; }

/* ---------- Brokers ---------- */
.ot-broker { display: flex; flex-direction: column; gap: 1rem; }
.ot-broker h3 { font-size: 1.35rem; font-weight: 700; color: var(--foreground); }
.ot-broker p { color: var(--muted-foreground); font-size: .95rem; line-height: 1.6; }
.ot-broker ul { color: var(--foreground); font-size: .9rem; display: grid; gap: .35rem; }
.ot-broker ul li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.ot-code { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: var(--background); border: 1px dashed rgba(212,165,116,.5); border-radius: .5rem; padding: .55rem .75rem; }
.ot-code span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent); font-weight: 700; word-break: break-all; }
.ot-code small { color: var(--muted-foreground); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.ot-copy { background: transparent; border: 1px solid var(--border); color: var(--foreground); border-radius: .375rem; padding: .25rem .6rem; font-size: .75rem; cursor: pointer; }
.ot-copy:hover { border-color: var(--accent); color: var(--accent); }
.ot-broker .ot-actions { margin-top: auto; display: grid; gap: .6rem; }

/* ---------- Payment ---------- */
.ot-free { background: linear-gradient(135deg, rgba(31,168,85,.16), rgba(212,165,116,.12)); border: 1px solid rgba(31,168,85,.5); border-radius: .75rem; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.ot-free h3 { color: #15803d; font-size: 1.2rem; font-weight: 800; margin-bottom: .5rem; }
.ot-schedule { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: .75rem; }
@media (min-width: 640px) { .ot-schedule { grid-template-columns: 1fr 1fr; } }
.ot-schedule div { background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem; padding: .75rem 1rem; color: #111827; }
.ot-schedule strong { display: block; font-size: 1rem; }
.ot-schedule .ot-tag-free { color: #15803d; font-weight: 800; }
.ot-schedule .ot-tag-paid { color: #c41e3a; font-weight: 800; }
.ot-steps { counter-reset: s; display: grid; gap: .6rem; margin: 1.25rem 0; color: #374151; font-size: .95rem; }
.ot-steps li { counter-increment: s; display: flex; gap: .75rem; align-items: flex-start; }
.ot-steps li::before { content: counter(s); flex: 0 0 1.75rem; height: 1.75rem; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.ot-pkg { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border: 1px solid #e5e7eb; border-radius: .5rem; padding: .9rem 1rem; color: #111827; }
.ot-pkg small { display: block; color: #6b7280; font-size: .78rem; }
.ot-pkg b { white-space: nowrap; }

/* ---------- Calculator ---------- */
.ot-calc { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 960px) { .ot-calc { grid-template-columns: 3fr 2fr; } }
.ot-fields { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .ot-fields { grid-template-columns: 1fr 1fr; } }
.ot-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--foreground); margin-bottom: .35rem; }
.ot-field input, .ot-field select { width: 100%; background: var(--background); color: var(--foreground); border: 1px solid var(--border); border-radius: .5rem; padding: .65rem .75rem; font-size: .95rem; outline: none; }
.ot-field input:focus, .ot-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,165,116,.2); }
.ot-field .ot-hint { font-size: .75rem; color: var(--muted-foreground); margin-top: .3rem; }
.ot-results { display: grid; gap: .75rem; }
.ot-result { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.ot-result:last-child { border-bottom: 0; }
.ot-result span { color: var(--muted-foreground); font-size: .9rem; }
.ot-result b { color: var(--foreground); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.ot-result.ot-hero b { color: var(--accent); font-size: 1.9rem; }
.ot-note { font-size: .8rem; color: var(--muted-foreground); margin-top: 1rem; line-height: 1.5; }
.ot-hidden { display: none !important; }

/* ---------- Pass 3: currency switcher, locked challenges, calendar ---------- */
.ot-cur { background: var(--card); color: var(--foreground); border: 1px solid var(--border); border-radius: .375rem; padding: .3rem .4rem; font-size: .8rem; font-weight: 600; margin-right: .5rem; cursor: pointer; max-width: 6.5rem; }
.ot-cur:focus { outline: none; border-color: var(--accent); }
.ot-money { white-space: nowrap; }
.ot-locked { position: relative; opacity: .55; filter: grayscale(.6); }
.ot-locked:hover { opacity: .7; }
.ot-lock-badge { display: inline-block; margin-bottom: .75rem; padding: .3rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(90,74,66,.6); color: var(--foreground); border: 1px solid var(--border); }
.ot-btn-disabled { cursor: not-allowed !important; opacity: .7; pointer-events: none; background: var(--secondary) !important; color: var(--muted-foreground) !important; }
.ot-live-badge { display: inline-block; margin-bottom: .75rem; padding: .3rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(31,168,85,.18); color: #34d17a; border: 1px solid rgba(31,168,85,.5); }
.ot-free-note { color: var(--muted-foreground); font-size: .85rem; margin-bottom: 1.5rem; }
.ot-prize-list { display: grid; gap: .4rem; margin-top: 1rem; color: #111827; font-size: .95rem; }
.ot-prize-list div { display: flex; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid #e5e7eb; border-radius: .5rem; padding: .55rem .9rem; }

.ot-cal-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1rem; }
.ot-cal-title { font-size: 1.35rem; font-weight: 700; color: #111827; }
.ot-cal-top p { color: #4b5563; font-size: .9rem; }
.ot-legend { display: flex; gap: .5rem; flex-wrap: wrap; }
.ot-imp { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: .375rem; font-size: .78rem; font-weight: 700; color: #111827; background: #f3f4f6; border: 1px solid #e5e7eb; }
.ot-imp::before { content: ""; width: .7rem; height: .9rem; border-radius: 2px; }
.ot-imp-high::before { background: #dc2626; }
.ot-imp-med::before { background: #f97316; }
.ot-imp-low::before { background: #eab308; }
.ot-cal-tabs { display: flex; gap: .5rem; margin-bottom: .75rem; }
.ot-cal-tabs button { padding: .45rem 1rem; border-radius: .5rem; font-size: .85rem; font-weight: 600; background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; cursor: pointer; }
.ot-cal-tabs button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.ot-cal-frame { border: 1px solid #e5e7eb; border-radius: .75rem; overflow: hidden; background: #fff; }
.ot-cal-frame iframe { display: block; width: 100%; height: 720px; border: 0; }
.ot-cal-src { font-size: .78rem; color: #6b7280; margin-top: .6rem; }
@media (max-width: 480px) {
  .ot-cur { max-width: 4.8rem; font-size: .72rem; padding: .25rem .3rem; margin-right: .4rem; }
  header nav a.text-2xl { font-size: 1.1rem !important; }
  header nav { gap: .5rem !important; }
}

/* ---------- Pass 4 ---------- */
/* Home "Learn More" button on the cream section */
.ot-btn-dark { background: #1A1A1A !important; color: #fff !important; border: 1px solid #111111 !important; }
.ot-btn-dark:hover { background: #111111 !important; }

/* Rank badges (replace medal emojis) */
.ot-rank { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .8rem; letter-spacing: .02em; vertical-align: middle; }
.ot-rank svg { width: 1.35rem; height: 1.35rem; }
.ot-rank b { padding: .1rem .45rem; border-radius: .3rem; color: #1a1410; }
.ot-rank-ribbon { fill: #c41e3a; }
.ot-rank-1 .ot-rank-disc { fill: #d4a017; stroke: #f5d76e; stroke-width: 1.2; }
.ot-rank-1 b { background: linear-gradient(135deg, #f5d76e, #c99a1a); }
.ot-rank-2 .ot-rank-disc { fill: #a8adb4; stroke: #e3e6ea; stroke-width: 1.2; }
.ot-rank-2 b { background: linear-gradient(135deg, #eef0f3, #9aa0a8); }
.ot-rank-3 .ot-rank-disc { fill: #b0703a; stroke: #e0a46c; stroke-width: 1.2; }
.ot-rank-3 b { background: linear-gradient(135deg, #e7b07c, #9c5a26); color: #fff; }
.ot-ico-warn { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.15em; color: #ef4444; }

/* Calendar: instant schedule + skeleton */
.ot-skel-wrap { padding: .5rem 0; }
.ot-cal-frame.ot-loaded .ot-skel-wrap { display: none; }
.ot-cal-frame iframe { min-height: 720px; }
.ot-skel-row { height: 2.6rem; margin: .45rem .9rem; border-radius: .4rem; background: linear-gradient(90deg, #f3f4f6 25%, #e9eaee 37%, #f3f4f6 63%); background-size: 400% 100%; animation: ot-shimmer 1.3s ease infinite; }
@keyframes ot-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.ot-ff { width: 100%; border-collapse: collapse; font-size: .88rem; color: #111827; }
.ot-ff th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; background: #f9fafb; padding: .6rem .7rem; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; }
.ot-ff td { padding: .6rem .7rem; border-bottom: 1px solid #f0f1f3; vertical-align: middle; }
.ot-ff tr.ot-ff-day td { background: #fdf6ee; font-weight: 800; color: #7c2d12; font-size: .8rem; letter-spacing: .03em; }
.ot-ff tr.ot-ff-past td { opacity: .5; }
.ot-ff .ot-ff-cur { font-weight: 800; }
.ot-ff .ot-ff-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ot-ff-scroll { max-height: 720px; overflow: auto; -webkit-overflow-scrolling: touch; }
.ot-dot { display: inline-block; width: .7rem; height: .95rem; border-radius: 2px; vertical-align: middle; }
.ot-dot-High { background: #dc2626; } .ot-dot-Medium { background: #f97316; } .ot-dot-Low { background: #eab308; } .ot-dot-Holiday, .ot-dot-Non-Economic { background: #9ca3af; }
.ot-ff-empty { padding: 2rem 1rem; text-align: center; color: #4b5563; }
@media (max-width: 640px) {
  .ot-ff th:nth-child(5), .ot-ff td:nth-child(5) { display: none; } /* Actual column lives in the Live tab on phones */
  .ot-ff td, .ot-ff th { padding: .5rem .4rem; font-size: .78rem; }
}

/* Scroll-reveal animations */
html.ot-anim .ot-reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--ot-d, 0ms); will-change: opacity, transform; }
html.ot-anim .ot-reveal.ot-left { transform: translateX(-34px); }
html.ot-anim .ot-reveal.ot-right { transform: translateX(34px); }
html.ot-anim .ot-reveal.ot-zoom { transform: scale(.94); }
html.ot-anim .ot-reveal.ot-in { opacity: 1; transform: none; }

/* Heading styles */
.ot-h-type { display: inline-block; clip-path: inset(0 100% 0 0); position: relative; }
.ot-split-in .ot-h-type { animation: ot-type 1.6s steps(28, end) .1s forwards; }
.ot-h-type::after { content: ""; position: absolute; right: 0; top: .1em; bottom: .1em; width: .08em; background: #dc2626; opacity: 0; }
.ot-split-in .ot-h-type::after { opacity: 1; animation: ot-caret .8s step-end infinite, ot-fadeout .3s 2.2s forwards; }
@keyframes ot-type { to { clip-path: inset(0 0 0 0); } }
@keyframes ot-caret { 50% { opacity: 0; } }
@keyframes ot-fadeout { to { opacity: 0; } }
.ot-w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); filter: blur(4px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease; transition-delay: calc(var(--i) * 70ms); }
.ot-c { display: inline-block; opacity: 0; transform: translateY(.9em) scale(.7); transition: opacity .45s ease, transform .45s cubic-bezier(.3,1.4,.4,1); transition-delay: calc(var(--i) * 28ms); white-space: pre; }
.ot-split-in .ot-w, .ot-split-in .ot-c { opacity: 1; transform: none; filter: none; }
.ot-line { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.ot-line > span { display: inline-block; transform: translateY(110%); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.ot-split-in .ot-line > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.ot-anim .ot-reveal, .ot-w, .ot-c, .ot-line > span { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .ot-h-type { clip-path: none; animation: none; } .ot-h-type::after { display: none; }
}

/* ---------- Mobile polish (phones 320–430px) ---------- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, video, iframe, table { max-width: 100%; }
main { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .ot-field input, .ot-field select, .ot-cur { min-height: 44px; font-size: 16px; } /* 16px stops iOS zooming into inputs */
  .ot-cur { min-height: 36px; font-size: .75rem; }
  .ot-btn { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .ot-card { padding: 1.1rem; }
  .ot-title { font-size: 1.4rem; }
  .ot-cal-tabs { flex-wrap: wrap; }
  .ot-cal-tabs button { flex: 1 1 auto; min-height: 42px; }
  .ot-cal-frame iframe { min-height: 640px; }
  .ot-code { flex-wrap: wrap; }
  .ot-copy { min-height: 36px; padding: .4rem .8rem; }
  .ot-result.ot-hero b { font-size: 1.5rem; }

  main h1 { font-size: 2rem !important; line-height: 1.15 !important; }
  main a[class*="px-8"] { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
}
@media (max-width: 640px) {
  .ot-prize-list div { flex-wrap: wrap; align-items: center; }
  .ot-prize-list .ot-money, .ot-pkg .ot-money { white-space: normal; }
  .ot-free { padding: 1rem; }
  .ot-pkg { flex-wrap: wrap; }
  html.ot-anim .ot-reveal.ot-right { transform: translateY(26px); } /* no sideways slide on phones */
}

/* ---------- Pass 5: mobile hero slideshow + founder link ---------- */
.ot-mslides { display: none; }
@media (max-width: 767px) {
  .ot-mslides { display: block; position: absolute; inset: 0; z-index: 20; overflow: hidden; background: #1a1410; }
  .ot-mslides ~ video { display: none !important; }
  .ot-mslide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: ot-mslide 18s linear infinite; will-change: opacity, transform; }
  .ot-mslide:first-child { opacity: 1; }
  .ot-mslides-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,7,5,.55) 0%, rgba(10,7,5,.62) 55%, rgba(10,7,5,.8) 100%); }
}
@keyframes ot-mslide {
  0% { opacity: 0; transform: scale(1.08); }
  6% { opacity: 1; }
  25% { opacity: 1; }
  31% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .ot-mslide { animation: none; } .ot-mslide:not(:first-child) { display: none; } }
.ot-founder-link { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ot-founder-link:hover { color: #e8bf8c; }
@media (max-width: 767px) {
  section:has(.ot-mslides) p { color: #f1e9e2 !important; text-shadow: 0 1px 10px rgba(0,0,0,.65); }
  section:has(.ot-mslides) h1 { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
}

/* ---------- Pass 6: bright phone hero, entry rules, countdown note ---------- */
.ot-mhero { display: none; }
@media (max-width: 767px) {
  .ot-mhero { display: block; position: absolute; inset: 0; z-index: 20; background: #faf8f4; }
  .ot-mhero svg { width: 100%; height: 100%; display: block; }
  .ot-mhero ~ video { display: none !important; }
  section:has(.ot-mhero) .gradient-overlay { display: none !important; }
  section:has(.ot-mhero) h1, section:has(.ot-mhero) h1 * { color: #111111 !important; -webkit-text-fill-color: #111111 !important; background: none !important; text-shadow: none !important; }
  section:has(.ot-mhero) p { color: #2b2b2b !important; text-shadow: none !important; }
}
.ot-rules-sum h3 { color: #111827; font-size: 1.15rem; font-weight: 800; margin-bottom: .75rem; }
.ot-rule { background: #fff; border: 1px solid #e5e7eb; border-left: 4px solid var(--accent); border-radius: .5rem; padding: .75rem 1rem; margin-bottom: .6rem; color: #374151; font-size: .92rem; line-height: 1.55; }
.ot-rule b { display: block; color: #111827; margin-bottom: .2rem; }
.ot-rules-cards { margin-top: 1rem; }
.ot-rc-title { color: var(--foreground); font-size: 1.25rem; font-weight: 700; margin: .75rem 0 .5rem; }
.ot-rc-text { color: var(--muted-foreground); font-size: .95rem; line-height: 1.6; }
.ot-rc-text strong { color: var(--foreground); }
.ot-cd-note { margin-top: 1.75rem; color: var(--muted-foreground); font-size: .95rem; line-height: 1.6; max-width: 36rem; margin-left: auto; margin-right: auto; }

/* ---------- Pass 7: forced bright phone hero (no :has(), works on older phone browsers) ---------- */
@media (max-width: 768px) {
  .ot-hero { background: #FFFFFF !important; background-image: none !important; }
  .ot-hero video, .ot-hero .gradient-overlay, .ot-hero .ot-mslides, .ot-hero [style*="background-image"]:not(.ot-mph) { display: none !important; background-image: none !important; }
  .ot-hero .ot-mhero { display: block !important; position: absolute; inset: 0; z-index: 5; background: #FFFFFF; pointer-events: none; }
  .ot-hero .ot-mhero svg { width: 100%; height: 100%; display: block; }
  .ot-hero h1, .ot-hero h1 * { color: #111111 !important; -webkit-text-fill-color: #111111 !important; background: none !important; text-shadow: none !important; }
  .ot-hero p, .ot-hero p * { color: #111111 !important; text-shadow: none !important; }
  .ot-hero .ot-h-type::after { background: #DC2626; }
}
/* Broker participation guide */
.ot-steps-dark { counter-reset: st; display: grid; gap: 1rem; }
.ot-steps-dark > li { counter-increment: st; display: flex; gap: 1rem; background: var(--card); border: 1px solid var(--border); border-radius: .75rem; padding: 1.25rem; }
.ot-steps-dark > li::before { content: counter(st); flex: 0 0 2.4rem; height: 2.4rem; border-radius: .6rem; background: linear-gradient(135deg, var(--accent), var(--primary)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.ot-steps-dark h3 { color: var(--foreground); font-weight: 700; font-size: 1.1rem; margin-bottom: .4rem; }
.ot-steps-dark p { color: var(--muted-foreground); font-size: .95rem; line-height: 1.6; }
.ot-steps-dark p strong { color: var(--foreground); }
.ot-steps-dark a:not(.ot-btn) { color: var(--accent); text-decoration: underline; word-break: break-all; }
.ot-switch { display: grid; gap: .75rem; margin-top: .6rem; }
@media (min-width: 900px) { .ot-switch { grid-template-columns: repeat(3, 1fr); } }
.ot-switch > div { background: var(--background); border: 1px solid var(--border); border-radius: .6rem; padding: .9rem; }
.ot-switch b { color: var(--accent); display: block; margin-bottom: .3rem; }
.ot-code-inline { font-family: ui-monospace, Menlo, monospace; color: var(--accent); font-weight: 700; background: rgba(212,165,116,.12); padding: .05rem .35rem; border-radius: .25rem; }
.ot-fineprint { font-size: .8rem !important; margin-top: .6rem; opacity: .85; }
.ot-btn-inline { display: inline-flex; width: auto; margin-top: .9rem; padding: .75rem 1.25rem; }
.ot-group-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; border-color: rgba(31,168,85,.5); }
.ot-group-note > div { flex: 1 1 22rem; }
.ot-group-note .ot-btn { width: auto; padding: .8rem 1.4rem; }
@media (max-width: 640px) { .ot-steps-dark > li { flex-direction: column; padding: 1rem; } .ot-btn-inline, .ot-group-note .ot-btn { width: 100%; } }

/* ---------- Pass 8: weekly prize strip (home) + prize showcase (rules) ---------- */
.ot-prize-strip { margin: .5rem auto 0; max-width: 40rem; }
.ot-ps-label { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.ot-ps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.ot-ps-card { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .8rem .5rem; border-radius: .75rem; background: rgba(26,20,16,.72); border: 1px solid rgba(212,165,116,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ot-ps-1 { border-color: #d4a017; box-shadow: 0 0 0 1px rgba(212,160,23,.35), 0 8px 24px rgba(212,160,23,.18); }
.ot-ps-place { font-size: .72rem; font-weight: 700; color: #d9cfc6; text-transform: uppercase; letter-spacing: .06em; }
.ot-ps-amt { font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1.15; }
.ot-ps-1 .ot-ps-amt { color: #f5d76e; }
.ot-ps-usd { font-size: .72rem; color: #c9bdb3; }
.ot-ps-card .ot-rank b { font-size: .7rem; }
@media (min-width: 768px) { .ot-ps-amt { font-size: 1.45rem; } .ot-ps-card { padding: 1rem .75rem; } }
@media (max-width: 768px) {
  /* On the white phone hero: crisp light cards with dark figures. */
  .ot-hero .ot-ps-card { background: #FFFFFF; border-color: #e5dccf; box-shadow: 0 6px 18px rgba(15,23,42,.08); backdrop-filter: none; }
  .ot-hero .ot-ps-1 { border-color: #d4a017; }
  .ot-hero .ot-ps-place { color: #6b5d52 !important; }
  .ot-hero .ot-ps-amt, .ot-hero .ot-ps-amt * { color: #111111 !important; }
  .ot-hero .ot-ps-1 .ot-ps-amt, .ot-hero .ot-ps-1 .ot-ps-amt * { color: #a16207 !important; }
  .ot-hero .ot-ps-usd, .ot-hero .ot-ps-usd * { color: #4b5563 !important; }
  .ot-hero .ot-ps-label { color: #b45309; }
}
@media (max-width: 380px) { .ot-ps-amt { font-size: 1rem; } .ot-ps-row { gap: .4rem; } .ot-ps-card { padding: .65rem .3rem; } }

.ot-prize-show .ot-grid-3 { align-items: stretch; }
.ot-prize-card { text-align: center; border-radius: 1rem; padding: 1.75rem 1.25rem; background: var(--card); border: 1px solid var(--border); position: relative; overflow: hidden; }
.ot-prize-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; }
.ot-prize-card-1 { background: linear-gradient(160deg, rgba(212,160,23,.22), var(--card) 60%); border-color: #d4a017; transform: translateY(-4px); }
.ot-prize-card-1::before { background: linear-gradient(90deg, #f5d76e, #c99a1a); }
.ot-prize-card-2 { background: linear-gradient(160deg, rgba(168,173,180,.2), var(--card) 60%); }
.ot-prize-card-2::before { background: linear-gradient(90deg, #eef0f3, #9aa0a8); }
.ot-prize-card-3 { background: linear-gradient(160deg, rgba(176,112,58,.22), var(--card) 60%); }
.ot-prize-card-3::before { background: linear-gradient(90deg, #e7b07c, #9c5a26); }
.ot-prize-card .ot-rank { justify-content: center; margin-bottom: .5rem; }
.ot-prize-card .ot-rank svg { width: 2rem; height: 2rem; }
.ot-prize-card h3 { color: var(--foreground); font-weight: 700; font-size: 1.1rem; margin-bottom: .4rem; }
.ot-pc-amt { font-size: 2rem; font-weight: 800; color: var(--foreground); line-height: 1.1; }
.ot-prize-card-1 .ot-pc-amt { color: #f5d76e; }
.ot-pc-usd { color: var(--muted-foreground); font-size: .95rem; margin-top: .25rem; }
.ot-pc-extra { margin-top: .75rem; font-size: .82rem; font-weight: 700; color: var(--accent); }
@media (max-width: 640px) { .ot-prize-card-1 { transform: none; } .ot-pc-amt { font-size: 1.7rem; } }

/* ---------- Pass 9: phone hero photo slideshow (your 4 photos) ---------- */
/* 4 slides x 4.5s = 18s loop; each photo uses a different entrance/exit. */
@media (max-width: 768px) {
  .ot-hero .ot-mhero.ot-mphotos { background: #f4f1ec; overflow: hidden; }
  .ot-mph { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; will-change: opacity, transform, filter; animation-duration: 18s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
  .ot-mph-1 { animation-name: ot-mph-zoomin; animation-delay: 0s; opacity: 1; }
  .ot-mph-2 { animation-name: ot-mph-slide; animation-delay: 4.5s; }
  .ot-mph-3 { animation-name: ot-mph-zoomout; animation-delay: 9s; }
  .ot-mph-4 { animation-name: ot-mph-blur; animation-delay: 13.5s; }
  /* Light veil keeps the dark headline, prize cards and buttons crisp over every photo. */
  .ot-mph-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.55) 38%, rgba(255,255,255,.82) 62%, rgba(255,255,255,.9) 100%); }
}
@keyframes ot-mph-zoomin  { 0% { opacity: 1; transform: scale(1); } 6% { opacity: 1; } 25% { opacity: 1; transform: scale(1.12); } 31% { opacity: 0; transform: scale(1.14); } 100% { opacity: 0; transform: scale(1); } }
@keyframes ot-mph-slide   { 0% { opacity: 0; transform: translateX(6%) scale(1.06); } 6% { opacity: 1; } 25% { opacity: 1; transform: translateX(-3%) scale(1.06); } 31% { opacity: 0; transform: translateX(-6%) scale(1.06); } 100% { opacity: 0; transform: translateX(6%) scale(1.06); } }
@keyframes ot-mph-zoomout { 0% { opacity: 0; transform: scale(1.18); } 6% { opacity: 1; } 25% { opacity: 1; transform: scale(1.02); } 31% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18); } }
@keyframes ot-mph-blur    { 0% { opacity: 0; filter: blur(10px); transform: scale(1.08) translateY(3%); } 7% { opacity: 1; filter: blur(0); } 25% { opacity: 1; transform: scale(1.04) translateY(-2%); } 31% { opacity: 0; filter: blur(6px); } 100% { opacity: 0; filter: blur(10px); transform: scale(1.08) translateY(3%); } }
@media (prefers-reduced-motion: reduce) { .ot-mph { animation: none !important; } .ot-mph:not(.ot-mph-1) { display: none; } }
