/* =========================
   Core Theme / Global
   ========================= */
:root {
  --bg-dark:#19160f; --bg-darker:#0f0d09;
  --gold-1:#f7e3a1; --gold-2:#f1c55a; --gold-3:#caa043; --gold-4:#8a6a24;
  --text:#efe9d9; --muted:#d8cfb5; --card:#1f1a12; --card2:#231e15; --accent:#f2d27a;
  --shadow:rgba(0,0,0,.35);
  --danger:#ff6b6b; --warn:#f7c948; --ok:#52c41a; --great:#4cd3ff;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(242,210,122,.18), transparent 60%),
    radial-gradient(900px 500px at 80% -10%, rgba(242,210,122,.12), transparent 60%),
    linear-gradient(180deg,#221c12,var(--bg-dark));
  scroll-behavior:smooth;
}

a{color:var(--accent);text-decoration:none}

/* Layout shell */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:28px 20px 80px;
}

/* =========================
   Nav / Brand / Buttons
   ========================= */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand img{
  width:190px;
  object-fit:contain;
  filter:drop-shadow(0 6px 12px var(--shadow));
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.btn{
  padding:11px 16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,#2b251b,#1c170f);
  color:var(--text);
  font-weight:600;
  box-shadow:0 10px 22px var(--shadow);
  transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:14px;
}
.btn span.icon{font-size:16px}

.btn--gold{
  background:linear-gradient(180deg,var(--gold-2),var(--gold-3));
  color:#231b09;
  border:none;
}

.btn-small{
  padding:8px 12px;
  font-size:13px;
}

.btn:hover{
  transform:translateY(-2px) scale(1.01);
  box-shadow:0 14px 28px var(--shadow);
  filter:brightness(1.04);
}

/* Simple alt nav button (rarely used, kept for compatibility) */
.btn-nav{
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(180deg,#2b251b,#1c170f);
  color:var(--text);
  font-size:13px;
  font-weight:500;
  box-shadow:0 8px 20px var(--shadow);
}
.btn-nav--gold{
  border:none;
  background:linear-gradient(180deg,var(--gold-2),var(--gold-3));
  color:#231b09;
  font-weight:600;
}

/* =========================
   Hero / Coins
   ========================= */
.hero{
  display:grid;
  gap:26px;
  align-items:center;
  grid-template-columns:1.1fr .9fr;
  margin-top:28px;
}

.hero-card{
  background:radial-gradient(120% 150% at 0% 0%,#2b2419,#1c170f 60%);
  border:1px solid rgba(255,255,255,.05);
  border-radius:24px;
  padding:28px;
  box-shadow:0 10px 30px var(--shadow);
  animation:fadeUp 0.7s ease-out both;
}

.hero h2{
  font-size:clamp(28px,3.7vw,48px);
  letter-spacing:.6px;
  margin:6px 0 10px;
  background:linear-gradient(180deg,var(--gold-1),var(--gold-3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 2px 0 rgba(0,0,0,.18);
  line-height:1.05;
}
.hero h2.small-headline{
  font-size:clamp(26px,3.2vw,40px);
}

.tagline{
  color:var(--muted);
  font-size:14px;
  margin-bottom:18px;
}

.tagline-strong{
  font-weight:600;
  color:var(--gold-1);
}

.equal-start{
  font-size:13px;
  padding:10px 12px;
  border-radius:12px;
  background:linear-gradient(90deg,rgba(242,210,122,.15),rgba(0,0,0,.5));
  border:1px solid rgba(242,210,122,.4);
  margin-bottom:10px;
}
.equal-start strong{color:var(--gold-1)}

/* Circular coin (home page) */
.coin{
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(100% 100% at 30% 30%,var(--gold-1),var(--gold-2) 55%,var(--gold-4));
  border-radius:50%;
  width:min(420px,80%);
  aspect-ratio:1/1;
  margin:0 auto;
  border:2px solid rgba(255,255,255,.15);
  box-shadow:inset 0 6px 18px rgba(0,0,0,.35),0 28px 60px var(--shadow);
  animation:floatCoin 4.5s ease-in-out infinite;
}
.coin img{
  width:78%;
  height:auto;
  display:block;
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.35));
}

/* Square coin (login page) */
.coin-square{
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(130% 150% at 10% 0%,rgba(242,210,122,.18),rgba(0,0,0,.9));
  border-radius:18px;
  width:100%;
  max-width:400px;
  aspect-ratio:1/1;
  margin:0 auto;
  border:4px solid var(--gold-2);
  box-shadow:0 18px 40px var(--shadow);
  animation:floatCoin 4.5s ease-in-out infinite;
  overflow:hidden;
}
.coin-square img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,.5));
}

/* =========================
   Sections / Cards / Grid
   ========================= */
.section{
  margin-top:56px;
  animation:fadeUp 0.7s ease-out both;
}
.section-sub{
  font-size:14px;
  color:var(--muted);
  margin-bottom:16px;
  max-width:700px;
}

.grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(12,1fr);
}

.card{
  grid-column:span 6;
  background:linear-gradient(180deg,var(--card),var(--card2));
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  padding:18px 18px 20px;
  box-shadow:0 8px 24px var(--shadow);
  min-height:120px;
  transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px var(--shadow);
  border-color:rgba(242,210,122,.45);
}
.card .title{
  display:flex;
  align-items:center;
  font-weight:700;
  margin-bottom:6px;
}
.card p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}
.card-tag-row{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.card-tag{
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(242,210,122,.35);
  background:rgba(242,210,122,.05);
  color:#f7e3a1;
}

/* Gradient section headings */
.gradient-title{
  font-size:clamp(22px,2.6vw,30px);
  margin:0 0 10px;
  letter-spacing:.6px;
  background:linear-gradient(180deg,var(--gold-1),var(--gold-3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 2px 0 rgba(0,0,0,.18);
}

/* Earn icons */
.earn-icon{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-right:10px;
  flex-shrink:0;
  box-shadow:0 6px 16px rgba(0,0,0,.45);
  animation:productIconFloat 4s ease-in-out infinite;
}
.earn-icon svg{
  width:22px;
  height:22px;
  stroke:#1b1307;
}
.earn-icon--participate{
  background:radial-gradient(circle at 30% 0%,#ffe4ff,#ff70c8);
}
.earn-icon--spend{
  background:radial-gradient(circle at 30% 0%,#d7f8ff,#45c4ff);
}
.earn-icon--neutral{
  background:radial-gradient(circle at 30% 0%,#fff2cc,#f1c55a);
}

/* Loan icon (colorful emoji bubble) */
.loan-icon{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-right:10px;
  flex-shrink:0;
  background:radial-gradient(circle at 30% 0%,#fff2cc,#f1c55a);
  box-shadow:0 6px 16px rgba(0,0,0,.45);
  font-size:20px;
}

/* Products grid */
.products-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:18px;
}
.product-card{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  padding:18px 18px 20px;
  background:radial-gradient(140% 160% at 0% 0%,rgba(242,210,122,.16),var(--card2));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 26px var(--shadow);
  transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .2s ease;
  animation:fadeUp 0.6s ease-out both;
}
.product-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle at 0% 0%,rgba(247,227,161,.18),transparent 55%);
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 34px var(--shadow);
  border-color:rgba(242,210,122,.5);
  background:radial-gradient(160% 200% at 0% 0%,rgba(242,210,122,.24),var(--card2));
}
.product-card:hover::before{opacity:1;}

.product-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
  gap:10px;
}
.product-title-group{
  display:flex;
  align-items:center;
  gap:10px;
}

.product-icon-wrap{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at 30% 0%,var(--gold-1),var(--gold-3));
  box-shadow:0 6px 16px rgba(0,0,0,.4);
  animation:productIconFloat 4s ease-in-out infinite;
  flex-shrink:0;
}
.product-icon-wrap svg{
  width:22px;
  height:22px;
  stroke:#241a07;
}

.product-card h4{
  margin:0;
  font-size:15px;
  letter-spacing:.3px;
}
.product-pill{
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(242,210,122,.55);
  background:rgba(0,0,0,.55);
  color:#f7e3a1;
  white-space:nowrap;
}
.product-body{
  font-size:14px;
  color:var(--muted);
  line-height:1.5;
  margin-top:4px;
}
.product-tags{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.product-tag{
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(242,210,122,.32);
  background:rgba(242,210,122,.05);
  color:#f7e3a1;
}

/* Loan lists */
.loan-list{
  font-size:13px;
  color:var(--muted);
  padding-left:18px;
  margin:0 0 8px;
}
.loan-list li{margin-bottom:4px}

/* Credit card apply layout */
.card-apply-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
.card-visual{
  border-radius:18px;
  background:radial-gradient(140% 140% at 0% 0%,rgba(247,227,161,.2),rgba(0,0,0,.9));
  padding:14px 16px 18px;
  position:relative;
  overflow:hidden;
}
.card-visual::after{
  content:"";
  position:absolute;
  right:-40px;
  top:-40px;
  width:140px;
  height:140px;
  background:radial-gradient(circle,rgba(255,255,255,.18),transparent 60%);
  opacity:.6;
}
.card-visual h4{margin:0 0 4px;font-size:16px}
.card-visual span.limit{font-size:13px;color:var(--gold-1);font-weight:600}
.card-visual p{margin:8px 0 8px;font-size:12px;color:var(--muted)}
.card-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:8px;
}
.card-badge{
  font-size:11px;
  padding:3px 7px;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  border:1px solid rgba(242,210,122,.32);
  color:#f7e3a1;
}

/* =========================
   Closed System / Legal
   ========================= */
.closed-highlight{
  position:relative;
  border-radius:22px;
  padding:22px 20px 22px;
  background:linear-gradient(145deg,rgba(242,210,122,.16),rgba(5,4,2,.96));
  box-shadow:0 16px 40px var(--shadow);
  border:1px solid rgba(242,210,122,.6);
  overflow:hidden;
  isolation:isolate;
  animation:fadeUp 0.7s ease-out both;
}
.closed-highlight::before{
  content:"";
  position:absolute;
  inset:-40%;
  border-radius:inherit;
  background:conic-gradient(
    from 0deg,
    rgba(247,227,161,.35),
    rgba(202,160,67,.0),
    rgba(247,227,161,.4),
    rgba(138,106,36,.0),
    rgba(247,227,161,.35)
  );
  opacity:.5;
  mix-blend-mode:screen;
  animation:orbitalGlow 16s linear infinite;
  z-index:-1;
}
.closed-highlight h3{
  margin-top:0;
  font-size:clamp(22px,2.6vw,32px);
  letter-spacing:.6px;
  background:linear-gradient(180deg,var(--gold-1),var(--gold-3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 2px 8px rgba(0,0,0,.55);
  animation:headingPulse 4s ease-in-out infinite;
}

.legal-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:20px;
}
.legal-list{
  font-size:14px;
  color:var(--muted);
  padding-left:18px;
  margin:0;
}
.legal-list li{margin-bottom:6px}
.legal-callout{
  background:linear-gradient(160deg,rgba(242,210,122,.22),rgba(0,0,0,.7));
  border-radius:18px;
  border:1px solid rgba(242,210,122,.5);
  padding:14px 14px 16px;
  font-size:13px;
  color:var(--text);
  box-shadow:0 10px 26px var(--shadow);
}
.legal-callout strong{color:var(--gold-1)}

.note{
  font-size:13px;
  color:#e8dbb7;
  opacity:.9;
  margin-top:10px;
}

/* Ecosystem / partners */
.ecosystem-shell{
  position:relative;
  margin-top:18px;
  border-radius:24px;
  padding:18px 18px 20px;
  background:linear-gradient(150deg,rgba(242,210,122,.16),rgba(5,4,2,.98));
  border:1px solid rgba(242,210,122,.6);
  box-shadow:0 18px 40px var(--shadow);
  overflow:hidden;
  isolation:isolate;
  animation:fadeUp 0.7s ease-out both;
}
.ecosystem-shell::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:conic-gradient(
    from 0deg,
    rgba(247,227,161,.35),
    rgba(202,160,67,.0),
    rgba(247,227,161,.45),
    rgba(138,106,36,.0),
    rgba(247,227,161,.35)
  );
  opacity:.4;
  mix-blend-mode:screen;
  z-index:-1;
  animation:orbitalGlow 20s linear infinite;
}
.ecosystem-header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:6px;
}
.ecosystem-pill{
  font-size:11px;
  padding:4px 9px;
  border-radius:999px;
  border:1px solid rgba(242,210,122,.45);
  background:rgba(0,0,0,.55);
  color:#f7e3a1;
  display:inline-flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
}

.partner-scroll{
  margin-top:10px;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:6px;
  padding-right:4px;
}
.partner-scroll::-webkit-scrollbar{height:7px;}
.partner-scroll::-webkit-scrollbar-track{
  background:rgba(0,0,0,.4);
  border-radius:999px;
}
.partner-scroll::-webkit-scrollbar-thumb{
  background:linear-gradient(90deg,var(--gold-3),var(--gold-4));
  border-radius:999px;
}
.partner-grid{
  display:flex;
  gap:16px;
  min-width:100%;
}
.partner-card{
  position:relative;
  border-radius:18px;
  padding:12px 12px 14px;
  background:linear-gradient(150deg,rgba(19,14,7,.95),rgba(35,29,19,1));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 24px var(--shadow);
  overflow:hidden;
  transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .18s ease;
  flex:0 0 calc((100% - 2 * 16px) / 3);
  max-width:calc((100% - 2 * 16px) / 3);
}
.partner-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle at 0 0,rgba(247,227,161,.32),transparent 55%);
  opacity:0;
  mix-blend-mode:screen;
  transition:opacity .25s ease;
  z-index:-1;
}
.partner-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 32px var(--shadow);
  border-color:rgba(242,210,122,.7);
  background:linear-gradient(150deg,rgba(242,210,122,.12),rgba(20,15,8,1));
}
.partner-card:hover::before{opacity:.7;}
.partner-logo{
  height:150px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  background:radial-gradient(130% 150% at 10% 0%,rgba(242,210,122,.18),rgba(0,0,0,.8));
  display:flex;
  align-items:center;
  justify-content:center;
}
.partner-logo img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.03);
  filter:drop-shadow(0 4px 12px rgba(0,0,0,.45));
  transition:transform .25s ease,filter .25s ease;
}
.partner-card:hover .partner-logo img{
  transform:scale(1.08);
  filter:brightness(1.06);
}
.partner-meta{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.partner-name{
  font-weight:600;
  font-size:14px;
}
.partner-note{
  font-size:12px;
  color:var(--muted);
  line-height:1.5;
}
.partner-actions{
  margin-top:8px;
  display:flex;
  justify-content:flex-end;
}
.partner-btn{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(242,210,122,.6);
  background:linear-gradient(180deg,var(--gold-2),var(--gold-3));
  color:#241a07;
  font-size:11px;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:4px;
  text-decoration:none;
  box-shadow:0 8px 18px var(--shadow);
  cursor:pointer;
  transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;
}
.partner-btn span{font-size:13px;}
.partner-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.04);
  box-shadow:0 12px 22px var(--shadow);
}

/* =========================
   Credit Score Block
   ========================= */
.score-wrapper{
  background:linear-gradient(180deg,var(--card),var(--card2));
  border-radius:18px;
  border:1px solid rgba(255,255,255,.07);
  padding:18px 18px 20px;
  box-shadow:0 8px 24px var(--shadow);
}
.score-labels{
  display:flex;
  justify-content:space-between;
  font-size:11px;
  color:var(--muted);
  margin-bottom:6px;
}
.score-bar{
  position:relative;
  width:100%;
  height:22px;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  overflow:hidden;
  margin:10px 0 8px;
}
.score-seg{
  position:absolute;
  top:0;
  bottom:0;
}
.seg-0-200{left:0;width:20%;background:linear-gradient(90deg,#301013,var(--danger))}
.seg-200-400{left:20%;width:20%;background:linear-gradient(90deg,#3a280b,var(--warn))}
.seg-400-600{left:40%;width:20%;background:linear-gradient(90deg,#153016,#45a63b)}
.seg-600-800{left:60%;width:20%;background:linear-gradient(90deg,#163238,#4cd3ff)}
.seg-800-1000{left:80%;width:20%;background:linear-gradient(90deg,#2a2750,var(--gold-1))}
.score-fill{
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  background:rgba(0,0,0,.2);
  width:100%;
  transform-origin:left center;
  animation:scoreFill 1.4s ease-out forwards;
}
.score-legend{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:6px;
  font-size:12px;
  margin-top:8px;
}
.score-legend-item{
  display:flex;
  align-items:center;
  gap:6px;
}
.score-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  flex-shrink:0;
}
.dot-risk{background:var(--danger)}
.dot-fair{background:var(--warn)}
.dot-good{background:#45a63b}
.dot-excellent{background:#4cd3ff}
.dot-new{background:var(--gold-2)}

/* =========================
   Register Page Bits
   ========================= */
.page-header{
  margin-bottom:20px;
}
.page-header h2{
  margin:0 0 6px;
  font-size:24px;
  letter-spacing:.4px;
  background:linear-gradient(180deg,var(--gold-1),var(--gold-3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 2px 0 rgba(0,0,0,.18);
}
.page-header p{
  margin:0;
  font-size:14px;
  color:var(--muted);
  max-width:640px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(242,210,122,.4);
  background:linear-gradient(180deg,rgba(242,210,122,.16),rgba(242,210,122,.06));
  font-size:12px;
  color:#f7e3a1;
  margin-bottom:10px;
}
.pill span.icon{font-size:14px}
.pill svg{width:14px;height:14px}

.step-list{
  list-style:none;
  padding:0;
  margin:0 0 10px;
  font-size:13px;
  color:var(--muted);
}
.step-list li{
  margin-bottom:8px;
  display:flex;
  gap:8px;
  align-items:flex-start;
}
.step-number{
  width:20px;
  height:20px;
  border-radius:50%;
  background:linear-gradient(180deg,var(--gold-2),var(--gold-3));
  color:#231b09;
  font-size:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  flex-shrink:0;
  box-shadow:0 2px 6px var(--shadow);
}

.btn-main{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:12px;
  border:none;
  background:linear-gradient(180deg,var(--gold-2),var(--gold-3));
  color:#231b09;
  font-weight:600;
  box-shadow:0 10px 22px var(--shadow);
  font-size:14px;
  margin:6px 0 6px;
}
.btn-main span.icon{font-size:16px}

.btn-secondary{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,#2b251b,#1c170f);
  color:var(--text);
  font-size:12px;
  box-shadow:0 6px 18px var(--shadow);
}

.faq-list{
  font-size:13px;
  color:var(--muted);
  padding-left:16px;
  margin:0;
}
.faq-list li{margin-bottom:6px}

.highlight-box{
  margin-top:10px;
  font-size:12px;
  padding:10px 12px;
  border-radius:12px;
  background:linear-gradient(180deg,rgba(242,210,122,.16),rgba(0,0,0,.6));
  border:1px solid rgba(242,210,122,.4);
  color:#f7e3a1;
}

/* =========================
   Login Form Bits
   ========================= */
.login-form{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.field{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:13px;
}
.field label{
  font-weight:500;
  color:#f2e6c5;
}
.field small{
  color:var(--muted);
  font-size:11px;
}
.field input{
  border-radius:10px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.4);
  padding:9px 11px;
  font-size:13px;
  color:var(--text);
  outline:none;
  transition:border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.field input:focus{
  border-color:rgba(242,210,122,.7);
  box-shadow:0 0 0 1px rgba(242,210,122,.3);
  background:rgba(0,0,0,.6);
}

.error-box{
  margin-top:10px;
  padding:9px 11px;
  border-radius:10px;
  background:rgba(255,107,107,.08);
  border:1px solid rgba(255,107,107,.7);
  color:#ffecec;
  font-size:12px;
}
.hint{
  margin-top:6px;
  font-size:12px;
  color:var(--muted);
}

/* =========================
   Footer
   ========================= */
.footer{
  margin-top:54px;
  padding-top:26px;
  border-top:1px solid rgba(255,255,255,.07);
  color:#cfc6ac;
  font-size:13px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
}
.footer-main{
  display:flex;
  flex-direction:column;
  gap:4px;
  max-width:520px;
}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:4px;
  text-align:right;
}
.fine-print{
  flex-basis:100%;
  margin-top:10px;
  font-size:12px;
  color:#bfb59b;
  line-height:1.5;
}

/* =========================
   Animations & Responsive
   ========================= */
@keyframes fadeUp{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes floatCoin{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
@keyframes scoreFill{
  from{transform:scaleX(0)}
  to{transform:scaleX(1)}
}
@keyframes orbitalGlow{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}
@keyframes headingPulse{
  0%,100%{
    text-shadow:0 2px 8px rgba(0,0,0,.55);
    opacity:1;
  }
  50%{
    text-shadow:0 0 18px rgba(247,227,161,.9);
    opacity:1;
  }
}
@keyframes productIconFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-3px)}
}

/* Responsive */
@media (max-width:920px){
  .hero{grid-template-columns:1fr;}
  .products-grid{grid-template-columns:repeat(2,1fr);}
  .legal-grid{grid-template-columns:1fr;}
  .card-apply-grid{grid-template-columns:1fr;}
  .partner-card{
    flex:0 0 calc((100% - 1 * 16px) / 2);
    max-width:calc((100% - 1 * 16px) / 2);
  }
}
@media (max-width:640px){
  .card{grid-column:span 12;}
  .products-grid{grid-template-columns:1fr;}
  .footer{
    flex-direction:column;
    align-items:flex-start;
  }
  .footer-links{text-align:left;}
  .partner-card{
    flex:0 0 80%;
    max-width:80%;
  }
  .nav{
    flex-direction:column;
    align-items:flex-start;
  }
  .nav-actions{
    align-self:flex-end;
  }
}


/* Make the registration header paragraph a bit wider */
.page-header .page-intro {
  max-width: 980px;   /* adjust up/down as you like */
}


