/* Modern site theme - layered dark background, gold accents, soft motion */
:root {
  --mx-accent: #E4AB35;
  --mx-accent-2: #C98A1C;
  --mx-bg: #0d0f13;
  --mx-panel: #15181e;
  --mx-line: rgba(228,171,53,.18);
  --mx-text: #e9eaed;
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(228,171,53,.13), transparent 62%),
    radial-gradient(900px 520px at 100% 4%, rgba(228,171,53,.07), transparent 60%),
    linear-gradient(180deg, #0c0e12 0%, #12161c 45%, #0c0e12 100%) !important;
  color: var(--mx-text) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#outer-wrap, #wrap, .site-main { background: transparent !important; }

/* subtle ambient grid overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

#outer-wrap { position: relative; z-index: 1; }

/* headings: modern type with gold accent */
#main .elementor-heading-title {
  letter-spacing: .3px;
  color: #f3f4f6 !important;
}
#main .elementor-heading-title em,
#main .elementor-heading-title strong {
  color: var(--mx-accent);
}

/* borderless editorial style */
#main .elementor-widget-container {
  transition: color .25s ease, transform .25s ease;
}
/* no widget frames: clean content with a slim gold accent rule */
#main .elementor-widget-image .elementor-widget-container,
#main .elementor-widget-testimonial .elementor-widget-container,
#main .elementor-widget-icon-box .elementor-widget-container,
.elementor-image-box-wrapper {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 10px 0 !important;
}
#main .elementor-widget-heading .elementor-widget-container {
  position: relative;
  padding-bottom: 8px !important;
}
#main .elementor-widget-heading .elementor-widget-container::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, #E4AB35, transparent);
}
#main .elementor-widget-image:hover .elementor-widget-container,
#main .elementor-widget-icon-box:hover .elementor-widget-container,
#main .elementor-widget-testimonial:hover .elementor-widget-container,
.elementor-image-box-wrapper:hover {
  transform: translateX(4px);
}
.elementor-image-box-title {
  position: relative;
  padding-left: 12px !important;
}
.elementor-image-box-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background: linear-gradient(#E4AB35, #C98A1C);
}
/* links: smooth modern interaction */
#main a { transition: color .2s ease, text-shadow .2s ease; }
#main a:hover { color: var(--mx-accent) !important; }

/* reveal animation for content blocks */
@keyframes mxFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
#main > div > .elementor-element {
  animation: mxFadeUp .55s ease both;
}
#main > div > .elementor-element:nth-child(2) { animation-delay: .06s; }
#main > div > .elementor-element:nth-child(3) { animation-delay: .12s; }
#main > div > .elementor-element:nth-child(4) { animation-delay: .18s; }

/* match table panel */
.skyexch-tbl {
  border: 1px solid var(--mx-line) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.35) !important;
}

/* footer polish */
.sky-footer-links { border-top: 1px solid var(--mx-line) !important; }
.sky-footer-links a { transition: color .2s ease, padding .2s ease !important; }
.sky-footer-links a:hover { color: var(--mx-accent) !important; padding-left: 4px !important; }
.sky-footer-dropdown { transition: border-color .2s ease, box-shadow .2s ease !important; }
.sky-footer-dropdown:hover { border-color: var(--mx-line) !important; box-shadow: 0 6px 18px rgba(0,0,0,.35) !important; }

/* modern scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b0d10; }
::-webkit-scrollbar-thumb { background: linear-gradient(#E4AB35, #C98A1C); border-radius: 10px; border: 2px solid #0b0d10; }
::-webkit-scrollbar-thumb:hover { background: #f0bc55; }

::selection { background: rgba(228,171,53,.35); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  #main > div > .elementor-element { animation: none; }
  html { scroll-behavior: auto; }
}

/* Blog / post readability on the dark theme */
body.single-post #main p,
body.single-post #main li,
body.single-post #main .wp-block-paragraph,
body.single-post #main .elementor-widget-theme-post-content {
  color: #d9dbe0 !important;
}
body.single-post #main h1,
body.single-post #main h2,
body.single-post #main h3,
body.single-post #main h4,
body.single-post #main h5,
body.single-post #main h6,
body.single-post #main strong {
  color: #f3f4f6 !important;
}
body.single-post #main a { color: var(--mx-accent) !important; }
body.single-post #main .elementor-widget-theme-post-content,
body.single-post #main .entry-content {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 10px 0 !important;
  box-shadow: none !important;
}
body.single-post #main img { border-radius: 10px !important; }
body.single-post #main blockquote {
  border-left: 3px solid var(--mx-accent) !important;
  background: rgba(228,171,53,.06) !important;
  padding: 12px 16px !important;
  border-radius: 0 10px 10px 0 !important;
}

/* Affiliate section - unified with site theme */
html #main .sky-affiliate-section {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(228,171,53,.12), transparent 60%),
    linear-gradient(180deg, #101318, #0b0d10) !important;
  border-top: 1px solid var(--mx-line) !important;
  border-bottom: 1px solid var(--mx-line) !important;
}
html #main .sky-affiliate-badge {
  background: linear-gradient(135deg, #E4AB35, #C98A1C) !important;
  color: #141414 !important;
  border-radius: 6px !important;
  letter-spacing: .6px !important;
  font-weight: 800 !important;
}
html #main .sky-affiliate-header h2 span { color: #f3f4f6 !important; }
html #main .sky-affiliate-intro { color: #c9cbd0 !important; }
html #main .sky-commission-card,
html #main .sky-step-card {
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015)) !important;
  border: 1px solid var(--mx-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.3) !important;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease !important;
}
html #main .sky-commission-card:hover,
html #main .sky-step-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(228,171,53,.45) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.4), 0 0 18px rgba(228,171,53,.1) !important;
}
html #main .sky-card-icon {
  background: linear-gradient(135deg, #E4AB35, #C98A1C) !important;
  color: #141414 !important;
  border-radius: 10px !important;
}
html #main .sky-highlight { color: #E4AB35 !important; }

/* Feature / image-box frames - borderless editorial style */
.elementor-image-box-wrapper {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 8px 0 !important;
  box-shadow: none !important;
  transition: transform .25s ease !important;
}
.elementor-image-box-wrapper:hover {
  transform: translateX(4px) !important;
}
.elementor-image-box-title { color: #f3f4f6 !important; }
.elementor-image-box-description { color: #c9cbd0 !important; }

/* Other Exchanges - bottom section, compact responsive grid */
html .sky-footer-dropdowns > details:last-child .sky-footer-dropdown-content {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding: 14px 16px 18px !important;
}
html .sky-footer-dropdowns > details:last-child .sky-footer-dropdown-content a {
  display: block !important;
  padding: 8px 10px !important;
  border: 1px solid var(--mx-line) !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  background: rgba(255,255,255,.02) !important;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease !important;
}
html .sky-footer-dropdowns > details:last-child .sky-footer-dropdown-content a:hover {
  color: #E4AB35 !important;
  border-color: rgba(228,171,53,.45) !important;
  background: rgba(228,171,53,.08) !important;
  transform: translateY(-2px) !important;
  padding-left: 10px !important;
}
html .sky-footer-dropdown-content a:hover { color: #E4AB35 !important; }

/* Accordion / FAQ readability on dark theme */
.e-n-accordion-item-title-text {
  color: #f3f4f6 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: color .2s ease !important;
}
.e-n-accordion-item-title:hover .e-n-accordion-item-title-text,
.e-n-accordion-item[open] .e-n-accordion-item-title-text { color: #E4AB35 !important; }
.e-n-accordion-item {
  border-bottom: 1px solid var(--mx-line) !important;
}
.e-n-accordion-item-title { padding: 12px 0 !important; }
.e-n-accordion-item-content p,
.e-n-accordion-item-content span {
  color: #d9dbe0 !important;
  line-height: 1.7 !important;
}

/* Remove all widget frames sitewide; present content with typography + accent rules */
.elementor-widget-container {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
#main h1.elementor-heading-title,
#main h2.elementor-heading-title,
#main .elementor-heading-title {
  color: #f3f4f6 !important;
  line-height: 1.3 !important;
}
#main h1.elementor-heading-title {
  font-size: clamp(22px, 3vw, 34px) !important;
  font-weight: 800 !important;
  letter-spacing: -.4px !important;
}
#main h2.elementor-heading-title {
  font-size: clamp(18px, 2.2vw, 24px) !important;
  font-weight: 700 !important;
}
#main .elementor-heading-title em,
#main .elementor-heading-title strong { color: #E4AB35 !important; }
#main .elementor-widget-heading .elementor-widget-container::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #E4AB35, transparent);
}

/* Blog / article pages: light reading mode */
body.single-post,
body.blog,
body.archive,
body.page-id-596 {
  background: #f6f7f9 !important;
  color: #1e2430 !important;
}
body.single-post::after,
body.blog::after,
body.archive::after,
body.page-id-596::after { display: none !important; }

body.single-post #main,
body.blog #main,
body.archive #main,
body.page-id-596 #main { background: transparent !important; }

body.single-post #main .elementor-heading-title,
body.blog #main .elementor-heading-title,
body.archive #main .elementor-heading-title,
body.page-id-596 #main .elementor-heading-title {
  color: #15202c !important;
}
body.single-post #main p,
body.single-post #main li,
body.single-post #main .wp-block-paragraph,
body.single-post #main .elementor-widget-theme-post-content,
body.single-post #main .entry-content,
body.blog #main p,
body.blog #main li,
body.archive #main p,
body.page-id-596 #main p,
body.page-id-596 #main li {
  color: #344152 !important;
}
body.single-post #main a,
body.blog #main a,
body.archive #main a,
body.page-id-596 #main a {
  color: #8a5a10 !important;
}
body.single-post #main a:hover,
body.blog #main a:hover,
body.archive #main a:hover,
body.page-id-596 #main a:hover { color: #C98A1C !important; }

body.single-post #main blockquote,
body.page-id-596 #main blockquote {
  background: #fff8e8 !important;
  border-left-color: #E4AB35 !important;
  color: #344152 !important;
}
body.single-post #main .elementor-widget-container,
body.page-id-596 #main .elementor-widget-container { background: transparent !important; }
body.single-post #main img,
body.page-id-596 #main img { border-radius: 8px !important; }

/* final override: dark headings on light blog pages */
body.single-post #main h1,
body.single-post #main h2,
body.single-post #main h3,
body.single-post #main h4,
body.single-post #main h5,
body.single-post #main h6,
body.single-post #main .wp-block-heading,
body.single-post #main strong,
body.blog #main h1,
body.blog #main h2,
body.blog #main h3,
body.archive #main h1,
body.archive #main h2,
body.page-id-596 #main h1,
body.page-id-596 #main h2,
body.page-id-596 #main h3 {
  color: #15202c !important;
}
