/* --- 1. FONT DEFINITION --- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-VariableFont_opszwght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- 2. THEME VARIABLES (ROOT) --- */
:root {
  /* Light Theme (Default) */
  --bg-primary: #F4F7FC;
  --bg-card: #FFFFFF;
  --bg-card-gradient: linear-gradient(135deg, #FFFFFF 0%, #FDFEFF 100%);
  --bg-hover-glow: hsl(217 91% 60% / .2);
  --text-primary: #11151C;
  --text-secondary: #5A6472;
  --border-primary: #E2E8F0;
  --border-loss: #F5B9C1;
  --accent-gold: #D99A00;
  --accent-cyan: #009AB8;
  --accent-blue: #1E6AEB;
  --accent-blue-gradient: linear-gradient(135deg, rgba(62, 132, 245, 1) 0%, rgba(40, 202, 245, 1) 50%);
  --accent-green: #28a745;
  --accent-green-bg: #d4edda;
  --accent-red: #dc3545;
  --accent-red-bg: #f8d7da;
  --icon-blue-bg: #E2EEFF;
  --icon-cyan-bg: #DFF5FA;
  --icon-gold-bg: #FFF5D9;
  --icon-red-bg: #FEEBEB;
  --tag-blue-bg: #E2EEFF;
  --button-cyan-bg: #EAFBFF;
}

body.dark-theme {
  /* Dark Theme */
  --bg-primary: #11151C;
  --bg-card: #191E26;
  --bg-card-gradient: linear-gradient(135deg, rgba(25, 30, 38, 1) 0%, rgba(39, 43, 52, 1) 50%);
  --bg-hover-glow: hsl(217 91% 60% / .4);
  --text-primary: #ffffff;
  --text-secondary: #bfbfbf;
  --border-primary: #414958;
  --border-loss: #64363C;
  --accent-gold: #FFC83D;
  --accent-cyan: #24CEF5;
  --accent-blue: #3C83F6;
  --accent-blue-gradient: linear-gradient(135deg, rgba(81, 151, 247, 1) 0%, rgba(40, 202, 245, 1) 50%);
  --accent-green: #4ade80;
  --accent-green-bg: #22c55e33;
  --accent-red: #f75555;
  --accent-red-bg: #492C33;
  --icon-blue-bg: #1D283C;
  --icon-cyan-bg: #1F343E;
  --icon-gold-bg: #1D283B;
  --icon-red-bg: #492C33;
  --tag-blue-bg: #263855;
  --button-cyan-bg: #122730;
}

/* --- 3. BASE RESET & TYPOGRAPHY --- */ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: var(--bg-primary); font-family: "Inter", sans-serif !important; color: var(--text-primary); transition: background-color 0.1s ease, color 0.1s ease; } h1, h2, h3, h4, h5, h6, ul { font-family: inherit !important; color: inherit; } h1 { font-size: clamp(2.2rem, 4vw, 3rem); } h2 { font-size: clamp(2rem, 3.5vw, 2.3rem); } h3 { font-size: clamp(1.6rem, 3vw, 2rem); } h4 { font-size: 1.8rem; } h5 { font-size: 1.5rem; } h6 { font-size: 0.8rem; } p { font-size: 1rem; color: var(--text-secondary); margin: 0; line-height: 1.25rem !important; } h2 img { width:auto; height:40px!important; }

/* --- 4. UTILITY & SHARED CLASSES --- */
.sections {
  padding: 3rem 1rem;
  overflow: hidden;
}

.card-base {
  background: var(--bg-card-gradient);
  border: 1px solid var(--border-primary);
  border-radius: 1rem;
  padding: 30px;
  transition: box-shadow 0.1s ease, border-color 0.1s ease;
}

.card-base:hover {
  box-shadow: 0 0 60px var(--bg-hover-glow);
}

.tag-base {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.sq-mobile,
.asset-spark-mobile,
.asset-usd-mobile,
.asset-phone {
  display: none;
}

/* --- 5. COMPONENT STYLES --- */

/* Hero Section */
#main-hero {
  position: relative;
  height: 100vh;
  background-image: url('https://funded.fxcentrum.com/wp-content/uploads/2024/12/bg-jic.webp');
  background-position: center;
  overflow: hidden;
}

#main-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://funded.fxcentrum.com/wp-content/uploads/2024/12/bg-desktop.webp') center/cover no-repeat;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

#main-hero > * {
  z-index: 2;
  position: relative;
}

#main-hero h3 {
  color: #fff;
}

.main-text {
  font-size: 180px;
  font-weight: 700;
  color: #fdfdfd;
  line-height: 0px;
}

.main-funded {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: 1fr;
}

#main-1 { grid-area: 1 / 1 / 2 / 2; align-items: center; }
#main-2 { grid-area: 1 / 2 / 2 / 3; }

.main-trading {
  display: grid;
  justify-items: start;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: 1fr;
}

#main-3 { grid-area: 1 / 1 / 2 / 2; }
#main-4 { grid-area: 1 / 2 / 2 / 3; }

.blur-sq {
  color: #fff;
  border-radius: 40px;
  padding: 30px;
  background: rgba(180, 210, 255, 0.10);
  backdrop-filter: blur(7px);
}

/* Text Colors & Styles */
.hl-text { color: var(--accent-gold); }
.casual-text p { color: var(--accent-cyan); }
.prices h5 { color: var(--accent-gold); font-weight: 900; }
.white .elementor-heading-title { color: var(--text-primary); }
.hours p { color: var(--accent-cyan); }
.li-rules { color: var(--text-secondary); }

.verified h6 {
  color: var(--accent-green);
  padding: 5px;
  background-color: var(--accent-green-bg);
  border: 1px solid var(--accent-green);
  border-radius: 50px;
}

.t-rules h5 {
  background: linear-gradient(to right, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* Grids */
.platform-grid, .deposit-grid, .reviews-grid, .support-grid, .rules-grid, .more-rules, .grid-icons-app, .data {
  display: grid;
  gap: 30px;
}

.platform-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
#platform-1 { grid-area: 1 / 1 / 4 / 2; }
#platform-2 { grid-area: 1 / 2 / 2 / 3; }
#platform-3 { grid-area: 2 / 2 / 3 / 3; }
#platform-4 { grid-area: 3 / 2 / 4 / 3; }

.deposit-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, auto); }
.deposit-item { position: relative; }
#deposit-1 { grid-area: 1 / 1 / 2 / 2; }
#deposit-2 { grid-area: 1 / 2 / 2 / 3; }
#deposit-3 { grid-area: 1 / 3 / 2 / 4; }
#deposit-4 { grid-area: 2 / 1 / 3 / 4; }
#deposit-5 { grid-area: 3 / 1 / 4 / 4; }

.reviews-grid { grid-template-columns: repeat(3, 1fr); }
.support-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(5, auto); }
#supp-1 { grid-area: 1 / 1 / 2 / 2; }
#supp-2 { grid-area: 1 / 2 / 2 / 3; }
#supp-3 { grid-area: 2 / 1 / 3 / 2; }
#supp-4 { grid-area: 2 / 2 / 3 / 3; }
#supp-5 { grid-area: 3 / 1 / 4 / 3; }
#supp-6 { grid-area: 4 / 1 / 5 / 3; }
#supp-7 { grid-area: 5 / 1 / 6 / 3; }

.rules-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(5, auto); }
#rule-1 { border: 1px solid color-mix(in srgb, var(--accent-cyan) 30%, transparent); grid-area: 1 / 1 / 2 / 2; }
#rule-2 { grid-area: 1 / 2 / 2 / 3; }
#rule-3 { border: 1px solid color-mix(in srgb, var(--accent-blue) 30%, transparent); grid-area: 2 / 1 / 3 / 2; }
#rule-4 { border: 1px solid color-mix(in srgb, var(--accent-blue) 30%, transparent); grid-area: 2 / 2 / 3 / 3; }
#rule-5 { grid-area: 3 / 1 / 4 / 3; }
#rule-6 { grid-area: 4 / 1 / 5 / 3; }
#rule-7 { grid-area: 5 / 1 / 6 / 3; }

.more-rules { grid-template-columns: repeat(4, 1fr); }
.rules-icon { display: grid; grid-template-columns: repeat(2, 1fr); }
.grid-icons-app { grid-template-columns: auto 1fr; grid-template-rows: repeat(3, 1fr); }
.data { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); row-gap: 10px; }

/* Boxes and Cards */
.deposit-item, .reviews-box, .benefits-box, .rules-box, .support-long-box, .support-small-box, .rules-box-long, .more-rules-box {
  background: var(--bg-card-gradient);
  border: 1px solid var(--border-primary);
  border-radius: 1rem;
  padding: 30px;
}
.support-small-box { padding: 10px; }
.reviews-box { padding: 20px; }
.reviews-box:hover, .benefits-box:hover { box-shadow: 0 0 60px var(--bg-hover-glow); }
.benefits-box, .rules-box { display: grid; grid-template-columns: auto 4fr; gap: 20px; }
.benefits-box-loss {
  display: grid;
  grid-template-columns: auto 4fr;
  gap: 20px;
  background: var(--bg-card-gradient);
  padding: 30px;
  border: solid 1px var(--border-loss);
  border-radius: 1rem;
}

/* Buttons & Tags */
#btn-hero {
  color: #00244A;
  font-size: 1.5rem;
  font-weight: 700;
  background-color: #ffc83d;
  border-radius: 10rem;
}

.discount-btn h5 {
  color: var(--accent-cyan);
  font-size: 1rem;
  font-weight: 900;
  padding: 12px 24px;
  background-color: var(--button-cyan-bg);
  border: 1px solid var(--accent-cyan);
  border-radius: 50px;
}

.currency h6, .support-tags h6 {
  color: var(--accent-green);
  padding: 5px;
  background-color: var(--accent-green-bg);
  border: 1px solid var(--accent-green);
  border-radius: 50px;
}

.support-tags-loss h6 {
  color: var(--accent-red);
  padding: 5px;
  background-color: var(--accent-red-bg);
  border: none;
  border-radius: 50px;
}

.rules-tags-high {
  color: var(--accent-blue);
  padding: 7px;
  background-color: var(--tag-blue-bg);
  border: none;
  border-radius: 50px;
}

#android-b, #ios-b {
  font-weight: 600;
  border-radius: 1rem;
  color: white;
}
#android-b { background: linear-gradient(135deg, rgba(62, 132, 245, 1) 0%, rgba(107, 161, 248, 1) 50%); }
#ios-b { background: var(--accent-blue-gradient); }

/* Icons */
.elementor-icon {
  font-size: 1.4rem;
  padding: 10px;
  border-radius: 10rem;
}
.icon-app .elementor-icon { background-color: var(--icon-blue-bg); color: var(--accent-blue); border-radius: .8rem; }
.icon-benefit .elementor-icon { background-color: var(--icon-cyan-bg); color: var(--accent-cyan); }
.icon-benefit-rules .elementor-icon { background-color: var(--icon-gold-bg); color: var(--accent-gold); }
.icon-rules-loss .elementor-icon { background-color: var(--icon-red-bg); color: var(--accent-red); }

/* How It Works Section */
.works-number {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  padding: 10px;
  background: var(--accent-blue-gradient);
  border-radius: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.works-number h5 { font-size: 0.8rem; }

/* Deposit Section */
.deposit-number {
  position: absolute;
  top: 15%;
  right: 2%;
  transform: translate(-50%, -50%);
  color: color-mix(in srgb, var(--accent-gold) 20%, transparent);
  font-size: 3rem;
  font-weight: 900;
}
.deposit-line {
  position: absolute;
  top: 50%;
  right: -7%;
  transform: translate(-50%, -50%);
}

/* FAQ Section */
.faq-full-panel {
  max-width: 70%;
  margin: auto;
}

.accordion {
  background: var(--bg-card-gradient);
  border: 1px solid var(--border-primary);
  border-radius: .8rem;
  margin-bottom: 30px;
  overflow: hidden;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease;
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.accordion-content p {
  padding-bottom: 15px;
  transition: color 0.4s ease;
}

.accordion-header svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.accordion.active .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-header svg path {
  stroke: var(--text-primary);
  transition: stroke 0.4s ease;
}

.accordion:not(.active) .accordion-header:hover,
.accordion:not(.active) .accordion-header:focus {
  background: linear-gradient(135deg, rgba(62, 132, 245, 1) 0%, rgba(107, 161, 248, 1) 50%);
  color: #ffffff;
}

.accordion:not(.active) .accordion-header:hover svg path,
.accordion:not(.active) .accordion-header:focus svg path {
  stroke: #ffffff;
}

.accordion.active {
  background: linear-gradient(135deg, rgba(62, 132, 245, 1) 0%, rgba(107, 161, 248, 1) 50%);
  border-color: rgba(62, 132, 245, 0.5);
}

.accordion.active .accordion-header {
  background: none;
  color: #ffffff;
}

.accordion.active .accordion-header svg path {
  stroke: #ffffff;
}

.accordion.active .accordion-content p {
  color: #ffffff;
}

/* Theme Toggler */
.theme-toggle {
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s ease;
  padding: 8px;
}

.theme-toggle:hover, .theme-toggle:active, .theme-toggle:focus {
  border-color: var(--accent-blue);
  background-color:var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.theme-toggle svg {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.theme-toggle .moon-icon { display: none; }
.dark-theme .theme-toggle .moon-icon { display: block; }
.dark-theme .theme-toggle .sun-icon { display: none; }

/* --- 6. MEDIA QUERIES --- */
@media screen and (max-width: 1560px) {
  .main-text { font-size: 150px; }
}
@media screen and (max-width: 1200px) {
  .main-text { font-size: 120px; }
  .blur-sq h3 { font-size: 1.4rem; }
  .deposit-line { display: none; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 1024px) {
  #main-hero {
    height: 85vh;
    background: url('https://funded.fxcentrum.com/wp-content/uploads/2024/12/iPad-Pro-11_-2-2.webp') center/cover no-repeat;
  }
  #main-hero::after {
    background: none;
  }
  .asset-usd { display: none; }
}

@media screen and (max-width: 880px) {
  h2 img {
    display:none;
  }
  #main-hero {
    height: 100vh;
    background: url('https://funded.fxcentrum.com/wp-content/uploads/2024/12/iPad-Pro-11_-1-1-1.webp') bottom/cover no-repeat;
  }
  .main-text { font-size: 110px; }
}

@media screen and (max-width: 767px) {
    h2 img {
    display:none;
  }
  .sections { padding: 2rem 1rem; }
  .sections.hero { padding:4rem 1rem 0rem 1rem; }
  #btn-hero { font-size: 1rem; }

  #main-hero {
    background: url('https://funded.fxcentrum.com/wp-content/uploads/2024/12/iPhone-13-mini-1-1-1.webp') center/cover no-repeat;
    height:680px;
  }
  .main-funded { grid-template-columns: 3fr 0.5fr; }
  .main-trading { grid-template-columns: 0.5fr 3fr; }
  .blur-sq { display: none; }
  .main-text { font-size: 3.5rem; }

  .asset-spark, .asset-usd, .asset-arrow { display: none; }
  .asset-spark-mobile, .asset-usd-mobile, .sq-mobile { display: block; }

  .asset-phone {
    display: block;
    z-index: 0;
    width: 80%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
  }
  .faq-full-panel { max-width: 100%; }

  /* Universal grid reset for mobile */
  .platform-grid, .deposit-grid, .reviews-grid, .support-grid, .rules-grid, .grid-icons-app, .rules-icon, .more-rules {
    grid-template-columns: 1fr;
  }

  /* Reset grid-area for all items */
  #deposit-1, #deposit-2, #deposit-3, #deposit-4, #deposit-5,
  #platform-1, #platform-2, #platform-3, #platform-4,
  #supp-1, #supp-2, #supp-3, #supp-4, #supp-5, #supp-6, #supp-7,
  #rule-1, #rule-2, #rule-3, #rule-4, #rule-5, #rule-6, #rule-7 {
    grid-area: auto;
  }
  
  .benefits-box, .rules-box, .benefits-box-loss {
    grid-template-columns: auto 1fr;
  }
}
  
.dark-theme .logos-mtt-tv {
    filter: invert(1);
  }
  
.dark-theme .bg-dark-payment {
    background:rgb(244, 247, 252, 0.9);
    border-radius:12px;
  }
.payment-font p{
    font-size:.85rem;
  }