:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1a2f77;
  --bg-card: #1a2235;
  --bg-card-hover: #222d45;
  --border-card: #2e3a5c;
  --text-primary: #fff;
  --text-body: rgba(255, 255, 255, .9);
  --text-muted: #94a3b8;
  --text-accent: #c4b5fd;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; overflow: hidden; }
body { font-family: Roboto, system-ui, sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.app_wrapper { display: flex; justify-content: center; align-items: stretch; height: 100vh; width: 100%; overflow: hidden; background: var(--bg-primary); }
.main_scroll_column { flex: 0 1 520px; width: 100%; max-width: 520px; height: 100vh; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; padding-bottom: 72px; }
.main_scroll_column::-webkit-scrollbar { display: none; }
.insuranceSection { display: flex; flex-direction: column; width: 100%; padding: 16px 14px 24px; }
.insuranceContainer { display: flex; flex-direction: column; align-items: stretch; gap: 18px; width: 100%; }
.insuranceDetailContainer { display: flex; flex-direction: column; gap: 20px; width: 100%; }

.rightSection { display: none; }
@media (min-width: 769px) {
  .app_wrapper { gap: 2rem; padding: 0 24px; }
  .rightSection { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.5rem; width: min(42vw, 480px); min-width: 320px; height: 100vh; position: sticky; top: 0; flex-shrink: 0; }
  .poster-image { width: 60%; }
  .welcomeText { text-align: center; font-weight: 700; font-size: 1.125rem; padding: 0 12px; }
  .welcomeText h4 { margin-top: 1rem; line-height: 1.4; }
  .welcomeSubtext { font-weight: 500; font-size: 1.35rem; line-height: 1.35; margin: 0 !important; }
}

/* ---------- Cards & text ---------- */
.flexContainer { display: flex; align-items: center; justify-content: center; }
.buttonContainer { gap: 40px; }
.redeem_box { display: flex; align-items: center; flex-direction: column; gap: 14px; padding: 18px 16px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 14px; width: 100%; }
.redeem_box_text { font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; text-align: center; }
.main_title_text { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.02em; text-align: center; padding: 0 4px; }
.blog_container { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 18px 16px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 14px; }
.global-finance-page .blog_container { background: transparent; border: none; border-radius: 0; padding: 0; }
.blog_paragraph_text { font-size: 18px; font-weight: 600; line-height: 26px; letter-spacing: -.01em; }
.blog_post_subtext { font-size: 15px; line-height: 24px; color: var(--text-body); }
.blog_post_subtext strong { font-weight: 700; }
.insurance_number { list-style: decimal; padding-left: 18px; }
.insurance_point { list-style: disc; padding-left: 18px; }
.insurance_number li, .insurance_point li { padding-bottom: 10px; font-size: 15px; line-height: 24px; color: var(--text-body); }

/* ---------- Buttons ---------- */
.relativeButtonContainer { position: relative; }
.ad_Text { position: absolute; top: 2px; right: -14px; font-size: 8px; color: var(--text-muted); }
.cusBtnOption { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--bg-secondary); font-size: 15px; font-weight: 500; line-height: 21px; padding: 10px 20px; border-radius: 10px; border: 1px solid var(--border-card); color: #fff !important; cursor: pointer; transition: background-color .2s, border-color .2s; }
.cusBtnOption:hover { background: #2341a0; border-color: #4a5f9a; }
.w-100 { width: 100%; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.justify-content-center { justify-content: center; }
.pt-3 { padding-top: 12px; }
.pb-4 { padding-bottom: 16px; }

/* ---------- Ad slots ---------- */
.header_space { text-align: center; margin: 4px 0; width: 100%; min-height: 270px; }
.gpt-display-slot { min-width: 300px; min-height: 50px; max-width: 100%; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.header_space.ad-slot-top .gpt-display-slot { min-height: 270px; }

/* ---------- Category / topic ---------- */
.carInsurance_Text { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.02em; padding: 0 2px; }
.carInsurance_Button_Container { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.topic-card-group { display: flex; flex-direction: column; gap: 10px; }
.carInsurance_Button_Container .buttonContainer { display: block; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 8px; padding: 22px 20px; width: 100%; cursor: pointer; transition: background-color .2s, border-color .2s; }
.carInsurance_Button_Container .buttonContainer:hover { background: var(--bg-card-hover); border-color: #3d4f78; }
.buttonWrapper { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.buttonWrapper p { font-size: 16px; font-weight: 500; line-height: 24px; }
.topic-excerpt { padding: 0 4px; }
.topic-footer-text { padding: 0 2px; }
.topic-chevron { display: block; width: 8px; height: 8px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(-45deg); flex-shrink: 0; }
.car-insurance-divider { border: none; border-top: 1px solid var(--border-card); margin: 4px 0 8px; }
.article-back { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.article-back:hover { color: var(--text-primary); }

/* ---------- Watch page ---------- */
.watch-video-box { width: 100%; padding: 8px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 14px; }
.watch-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; pointer-events: none; user-select: none; }
.watch-video-wrap { position: relative; }
.watch-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; padding-left: 4px; border-radius: 50%; color: #fff !important; background: linear-gradient(135deg, #ff3d6e 0%, #ff2d55 45%, #ff7a18 100%); box-shadow: 0 6px 22px rgba(255, 45, 85, .55); cursor: pointer; animation: watch-play-pop .25s ease-out, watch-pulse 2s ease-in-out .25s infinite; transition: transform .15s; }
.watch-video-play[hidden] { display: none; }
.watch-video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
@keyframes watch-play-pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* ---------- Footer ---------- */
.footer_bg { width: 100%; padding: 24px 0 32px; margin-top: 8px; }
.footer-content { display: flex; flex-direction: column; gap: 24px; }
.footer-text, .footer-copy { font-size: 14px; line-height: 22px; color: var(--text-muted); }
.footer-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { font-size: 14px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text-accent); }

/* ---------- Static pages ---------- */
.terms-container { width: 100%; }
.terms-title { padding: 6px 0 15px; font-size: 26px; font-weight: 600; }
.section { margin-bottom: 24px; }
.section-title { font-size: 20px; line-height: 30px; font-weight: 600; margin-bottom: 15px; }
.section p { margin-bottom: 15px; font-size: 16px; line-height: 24px; color: var(--text-body); }
.email_text { text-decoration: underline; }
.email_text:hover, .highlighted { color: var(--text-accent); }
.highlighted { font-weight: 600; }
.contact_us_list { list-style: disc; padding-left: 20px; color: var(--text-body); }
.contact_us_list li { margin-bottom: 8px; }
.five_blog_input, textarea#message { width: 100%; padding: 14px 12px; border-radius: 8px; border: 1px solid #d3e9f5; margin-bottom: 10px; outline: none; background: #fff; color: #1a1a2e; font: inherit; font-size: 15px; }
textarea#message { resize: none; height: 150px; }
.five_blog_btn { width: 100%; border-radius: 8px; background: var(--bg-secondary); color: #fff; border: 1px solid #404380; padding: 10px; font: inherit; font-size: 18px; margin-bottom: 15px; cursor: pointer; }
.five_blog_btn:hover { filter: brightness(1.1); }
.form-notice { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 15px; }
.form-notice--ok { background: #064e3b; border: 1px solid #10b981; }
.form-notice--error { background: #4c0519; border: 1px solid #f43f5e; }
.faq-item { border-radius: 8px; margin-bottom: 20px; border: 1px solid #404380; overflow: hidden; }
.faq-item label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; background: var(--bg-secondary); padding: 10px 15px; cursor: pointer; }
.faq-item .toggle { position: absolute; opacity: 0; pointer-events: none; }
.faq-item .content { max-height: 0; overflow: hidden; transition: all .3s ease; font-size: 16px; line-height: 24px; }
.faq-item .content a { color: var(--text-accent); text-decoration: underline; }
.faq-item .toggle:checked + label + .content { max-height: 400px; padding: 12px; border-top: 1px solid #404380; }
.faq-chevron { transform: rotate(45deg); transition: transform .2s; }
.faq-item .toggle:checked + label .faq-chevron { transform: rotate(225deg); }

@media (max-width: 768px) {
  .main_scroll_column { flex: 1 1 100%; max-width: 100%; }
  .insuranceSection { padding: 14px 12px 20px; }
  .redeem_box { padding: 16px 14px; }
  .redeem_box_text { font-size: 16px; line-height: 24px; }
  .blog_container { padding: 16px 14px; }
  .blog_paragraph_text { font-size: 17px; line-height: 24px; }
  .blog_post_subtext { font-size: 14px; line-height: 22px; }
  .carInsurance_Button_Container .buttonContainer { padding: 18px 16px; }
}

/* ---------- Rewarded-ad gate overlay ---------- */
body.reward-overlay-open .main_scroll_column,
body.reward-overlay-open .rightSection { filter: blur(10px); pointer-events: none; user-select: none; }
.reward-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.reward-overlay-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .6); backdrop-filter: blur(8px); }
.reward-overlay-card { position: relative; z-index: 1; width: min(100%, 440px); background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; padding: 32px 28px 24px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.08), 0 20px 40px -12px rgba(15,23,42,.18); color: #111827; text-align: center; }
.reward-overlay-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: none; background: transparent; color: #9ca3af; font-size: 22px; line-height: 1; cursor: pointer; border-radius: 8px; }
.reward-overlay-close:hover { background: #f3f4f6; color: #374151; }
.reward-overlay-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; margin-bottom: 12px; }
.reward-overlay-title { font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -.03em; margin-bottom: 14px; }
.reward-overlay-desc { font-size: 15px; line-height: 1.65; color: #4b5563; margin-bottom: 24px; }
.reward-overlay-desc strong { color: #111827; }
.reward-overlay-cta { display: block; width: 100%; padding: 14px 20px; font: inherit; font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(180deg, #2563eb, #1d4ed8); border: none; border-radius: 8px; box-shadow: 0 4px 14px rgba(37,99,235,.35); cursor: pointer; transition: opacity .2s, transform .15s; }
.reward-overlay-cta:hover:not(:disabled) { opacity: .95; transform: translateY(-1px); }
.reward-overlay-cta:disabled { opacity: .65; cursor: wait; }
.reward-overlay-card.is-landing { width: min(100%, 380px); padding: 40px 16px 16px; }
.reward-overlay-ad-label { position: absolute; top: 14px; right: 42px; font-size: 10px; font-weight: 500; line-height: 1; color: #9ca3af; }
.reward-overlay-image { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; margin-bottom: 16px; background: #f3f4f6; }
.btn-watch { position: relative; width: 100%; font-family: inherit; color: #fff !important; border: none; cursor: pointer; transition: opacity .2s, transform .15s; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 20px; font-size: 18px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; border-radius: 999px; background: linear-gradient(135deg, #ff3d6e 0%, #ff2d55 45%, #ff7a18 100%); box-shadow: 0 8px 24px rgba(255, 45, 85, .45); animation: watch-pulse 1.8s ease-in-out infinite; }
.btn-watch::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: watch-shine 2.6s ease-in-out infinite; }
.btn-watch:hover:not(:disabled) { opacity: 1; transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 30px rgba(255, 45, 85, .55); animation-play-state: paused; }
.btn-watch-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #ff2d55; padding-left: 2px; }
@keyframes watch-pulse { 0%, 100% { box-shadow: 0 8px 24px rgba(255,45,85,.45), 0 0 0 0 rgba(255,45,85,.5); } 50% { box-shadow: 0 8px 24px rgba(255,45,85,.45), 0 0 0 12px rgba(255,45,85,0); } }
@keyframes watch-shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn-watch, .btn-watch::after { animation: none; } }
.reward-overlay-footnote { margin-top: 16px; font-size: 12px; line-height: 1.5; color: #9ca3af; }

/* ---------- /watch/ download servers ---------- */
.servers-card { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; padding: 22px 16px 26px; background: #fff; color: #1f2937; border-radius: 6px; text-align: center; }
.servers-heading, .servers-sub { font-size: 16px; line-height: 24px; color: #1f2937; }
.servers-sub { margin-bottom: 6px; }
.servers-episode { font-size: 16px; font-weight: 700; color: #1f2937; margin-top: 4px; }
.server-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 170px; padding: 9px 16px; border: 2px solid #111; border-radius: 8px; font-family: "Courier New", Courier, monospace; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #fff !important; box-shadow: 0 2px 0 #111; transition: transform .12s, filter .15s; }
.server-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.server-btn:active { transform: translateY(0); }
.server-btn--fast { background: #a62bf2; }
.server-btn--drive { background: #e28c16; }
