/* ===== Funded Page ===== */
.funded-page {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.funded-section {
  padding: 4.5rem 0;
}

.funded-section--tight-top {
  padding-top: 2rem;
}

.funded-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.funded-badge--gold {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1rem;
  font-weight: 500;
}

.funded-badge--gold .funded-badge-star {
  color: var(--blue-primary);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.funded-badge--muted {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
}

.funded-badge--step {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.6rem;
  background: linear-gradient(180deg, #2a2a2a 0%, #0f0f0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.35);
  color: #fff;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1rem;
  font-weight: 500;
}

.funded-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.funded-title--center {
  text-align: center;
}

.funded-subtitle {
  color: var(--text-secondary);

  line-height: 1.7;
  max-width: 560px;
}

.funded-subtitle--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.funded-section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.funded-section-head .funded-subtitle {
  max-width: 640px;
}

/* Hero */
.funded-hero {
  background: url("../image/fundedNaBtbg.png") no-repeat top center;
  background-size: 95% 95%;
}



.funded-hero-visual {
  position: relative;
  min-height: 340px;
}

.funded-laptop {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 14px;
  background: linear-gradient(145deg, #1a1a22 0%, #0d0d12 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 80px rgba(0, 82, 255, 0.12);
  padding: 0.65rem;
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
}

.funded-laptop-screen {
  border-radius: 10px;
  overflow: hidden;
  background: #050508;
  aspect-ratio: 16 / 10;
  position: relative;
}

.funded-laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.funded-laptop-base {
  height: 10px;
  margin: 0.35rem auto 0;
  width: 70%;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #2a2a32, #111116);
}

.funded-float-card {
  position: absolute;
  top: 8%;
  right: -4%;
  width: 180px;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(20, 20, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.funded-float-card .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), #003acc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.funded-float-card .name {

  font-weight: 600;
}

.funded-float-card .status {
  font-size: 0.68rem;
  color: #4ade80;
}

.funded-float-card .balance {

  color: var(--text-secondary);
  margin-top: 0.35rem;
}

/* Challenge card */
.funded-badge--platform {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.35rem;
  background: linear-gradient(180deg, #2a2a2a 0%, #0f0f0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.35);
  color: #fff;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1rem;
  font-weight: 500;
}

.funded-challenge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.65rem 1.85rem;
}

.funded-challenge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.funded-challenge-head h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.funded-phase-badge {
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--blue-primary);
  color: #fff;
}

.funded-progress-wrap {
  margin-bottom: 1.25rem;
}

.funded-progress-kicker {

  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.funded-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.funded-progress-label .amount {
  font-size: 1.5rem;
  font-weight: 700;
}

.funded-progress-label .pct {

  color: #fff;
  font-weight: 600;
}

.funded-progress-label .pct-muted {
  color: var(--text-muted);
  font-weight: 400;
}

.funded-progress-bar {
  height: 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.funded-progress-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
  box-shadow: 0 0 16px var(--blue-glow-soft);
}

.funded-challenge-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.funded-stat-box {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.85rem 1rem 1rem;
  min-height: 108px;
}

.funded-stat-box .label {

  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.funded-stat-box .value {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
}

.funded-stat-progress {
  width: 100%;
  height: 8px;
  margin-top: auto;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.funded-stat-progress-fill {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: 50px;
  background: var(--blue-primary);
  box-shadow: 0 0 10px var(--blue-glow-soft);
}

/* Evaluation grid */
.funded-eval-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.funded-eval-card {
  grid-column: span 5;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 19px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: stretch;
  overflow: hidden;
}



.funded-eval-card--40 {
  grid-column: span 4;
}

.funded-eval-card--60 {
  grid-column: span 6;
}

.funded-eval-card h4 {

  font-weight: 600;
  margin-bottom: 0.55rem;
  width: 100%;
}

.funded-eval-card p {

  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 100%;
}

.funded-eval-text {
  flex: 0 0 auto;
  padding: 3rem 1rem 1rem 1rem;
}

.funded-eval-visual {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}


.funded-eval-visual svg {
  width: 100%;
  max-width: 220px;
  max-height: 88px;
  align-self: flex-end;
}

.funded-eval-visual--inset {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  min-height: 96px;
  padding: 2rem 0px;

}

.funded-eval-time {
  margin: 1.5rem;
  margin-top: auto;
  width: auto;
  min-height: 120px;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
}

.funded-eval-time img {
  display: block;
}

.funded-eval-diamond {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.15);
  border: 1px solid rgba(0, 82, 255, 0.35);
  position: relative;
  display: inline-block;
}

.funded-eval-diamond::before {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 10px;
  background: var(--blue-primary);
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
}

.funded-eval-refund {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.funded-eval-refund-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.08);
}

.funded-eval-refund-ring::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 10px solid transparent;
  border-top-color: var(--blue-primary);
  border-right-color: var(--blue-primary);
  border-bottom-color: var(--blue-primary);
  transform: rotate(25deg);
}

.funded-eval-refund-core {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000;
  color: var(--blue-primary);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--blue-primary);
}

/* Comparison table */
.funded-compare-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.funded-compare-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.funded-compare-table th,
.funded-compare-table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  vertical-align: middle;
  text-align: left;
}

.funded-compare-feature-col {
  width: 36%;
}

.funded-compare-korix-col,
.funded-compare-other-col {
  width: 32%;
}

.funded-compare-table thead th {
  font-weight: 400;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0px;
}

.compare-head-label {
  color: var(--text-primary);
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.compare-head-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.funded-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.funded-compare-table .feature-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.funded-compare-table .feature-cell span {
  color: var(--text-primary);
  font-weight: 500;
}

.funded-compare-table .feature-cell i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: #fff;
  font-size: 0.75rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.funded-compare-table .korix-col {
  color: var(--text-primary);
  font-weight: 500;
}

.funded-compare-table .other-col {
  color: var(--text-muted);
  font-weight: 400;
}

/* Step CTA */
.funded-step-visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.funded-step-visual img {
  width: 100%;
  display: block;
}

.btn-funded-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  background: #fff;
  color: #000;

  font-weight: 600;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-funded-cta:hover {
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* Rules cards */
.funded-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.funded-rule-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem 1.65rem;
}

.funded-rule-card .rule-icon {
  padding-bottom: 0.6rem;
}


.funded-rule-card h4 {

  font-weight: 600;
  margin-bottom: 0.55rem;
}

.funded-rule-card p {

  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Funded footer */
.funded-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border-color);
  background: #000;
}

.funded-footer-brand p {

  color: var(--text-secondary);
  max-width: 280px;
  line-height: 1.6;
}

.funded-footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.funded-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.funded-footer-social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.funded-footer-nav h6 {

  font-weight: 700;
  margin-bottom: 0.85rem;
}

.funded-footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.funded-footer-nav li + li {
  margin-top: 0.45rem;
}

.funded-footer-nav a {

  font-weight: 300;
  color: var(--text-secondary);
  text-decoration: none;
}

.funded-footer-nav a:hover {
  color: #fff;
}

.funded-footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 991.98px) {
  .funded-rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .funded-laptop {
    transform: none;
    margin: 2rem auto 0;
  }

  .funded-float-card {
    right: 4%;
  }
}

@media (max-width: 767.98px) {
  .funded-section {
    padding: 3rem 0;
  }

  .funded-eval-grid,
  .funded-rules-grid {
    grid-template-columns: 1fr;
  }

  .funded-eval-card,
  .funded-eval-card--40,
  .funded-eval-card--60 {
    grid-column: span 1;
  }

  .funded-compare-wrap {
    overflow-x: auto;
  }

  .funded-compare-table {
    min-width: 520px;
  }

  .funded-challenge-stats {
    grid-template-columns: 1fr;
  }
}
