body{
background:#0e0e0e;
color:white;
font-family:Arial, sans-serif;
margin:0;
} 

/* HEADER */

header{
display:flex;
flex-wrap:wrap;
justify-content:space-between;
align-items:center;
padding:12px;
background:#111;
gap:8px;
}

header h2{
    width: fit-content;
    margin: 2px auto 0 auto;

    padding: 4px 14px 1px 14px;

    display: block;
    text-align: center;

    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.1;

    color: #ffd54a;

    background: linear-gradient(
        135deg,
        #0a0a0a 0%,
        #141414 45%,
        #241700 100%
    );

    border: 1px solid rgba(255,196,0,0.28);
    border-radius: 10px;

    box-shadow:
        0 0 12px rgba(255,196,0,0.10),
        inset 0 0 10px rgba(255,215,100,0.04);
}

#walletAddress{
font-size:12px;
word-break:break-all;
font-weight:bold;   

color:rgba(255,255,255,0.9);

text-shadow:
0 0 6px rgba(255,255,255,0.25),
0 0 12px rgba(0,0,0,0.35);

}

/* STATS */

.stats{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:8px;
padding:0px 10px 10px 10px;
}

.box{
background:#111;
padding:10px;
text-align:center;
border-radius:6px;
font-size:13px;
}

/* MAIN LAYOUT */

.main{
display:flex;
gap:20px;
padding:10px;
}

/* CHART */

.chartBox{
flex:2;
background:#111;
padding:10px;
border-radius:8px;
}

#chart{
width:100%;
height:420px;
}

/* TRADE PANEL */

.tradeBox{
flex:1;
background:#111;
padding:15px;
border-radius:8px;
}

.tradeBox h3{
margin-top:10px;
}

/* INPUT */

input{
width:100%;
padding:12px;
margin-top:10px;
background:#222;
border:none;
color:white;
border-radius:6px;
font-size:15px;
}

/* BUTTON */

button{
width:100%;
padding:12px;
margin-top:10px;
background:#3b82f6;
border:none;
color:white;
border-radius:6px;
font-size:15px;
cursor:pointer;
}

button:hover{
background:#2563eb;
}

.cooldown{
margin-top:12px;
color:#facc15;
font-size:14px;
}

#status{
margin-top:12px;
color:#4ade80;
font-size:14px;
}

/* ===================== */
/* MOBILE RESPONSIVE */
/* ===================== */

@media (max-width:900px){

.main{
flex-direction:column;
}

.stats{
grid-template-columns:repeat(2,1fr);
}

#chart{
height:320px;
}

}

@media (max-width:500px){

header{
flex-direction:column;
align-items:flex-start;
}

.stats{
grid-template-columns:repeat(2,1fr);
}

#chart{
height:280px;
}

button{
font-size:14px;
padding:11px;
}

input{
font-size:14px;
}

}


/* ============================= */
/* CHART STYLE */
/* ============================= */

#chart{
width:100%;
max-width:100%;
height:400px;
margin-bottom:20px;
}

/* ============================= */
/* MOBILE FIX */
/* ============================= */

@media (max-width:600px){

#chart{
height:260px;
}

input{
width:100%;
padding:12px;
margin-top:10px;
box-sizing:border-box;
}

button{
width:100%;
padding:14px;
margin-top:10px;
box-sizing:border-box;
}

}

/* ============================= */
/* OPTIONAL BETTER SPACING */
/* ============================= */

.container{
padding:15px;
}


/* Chart container */
.chartBox{
width:100%;
height:260px;
margin-bottom:20px;
}

/* Chart inside container */
#chart{
width:100%;
height:100%;
max-width:100%;
}

/* Mobile layout fix */
input{
width:100%;
padding:12px;
margin-top:10px;
box-sizing:border-box;
}

button{
width:100%;
padding:14px;
margin-top:10px;
box-sizing:border-box;
}





.tradeBox h3 {
  margin: 0; /* keep default clean */
}

/* ONLY add space before Sell TRC */
.tradeBox h3:nth-of-type(2) {
  margin-top: 40px; /* adjust: 30px–50px as you like */
}














/* =========================
   POL / TRC SECTION (PURPLE THEME)
========================= */
.stats .box{
  background: linear-gradient(145deg, #1a1033, #0b0b10) !important;
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.15);
  transition: 0.3s ease;
}

.stats .box:hover{
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.35);
}

/* TRC + POL text glow */
.stats .box div{
  color: #c4b5fd;
  font-weight: bold;
}


/* =========================
   USDT SECTION (GOLD BOX)
========================= */
.tradeBox{
  background: linear-gradient(145deg, #1a1405, #0b0b10) !important;
  border: 1px solid rgba(250, 204, 21, 0.25);
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.08);
}

/* USDT heading glow */
.tradeBox h3, .tradeBox h4{
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}


/* =========================
   PREMIUM BUTTONS (GOLD + BLUE MIX)
========================= */
button{
  background: linear-gradient(90deg, #facc15, #f59e0b) !important;
  color: #0b0b10 !important;
  font-weight: bold;
  border-radius: 12px !important;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.25);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* hover glow + lift */
button:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.45);
}

/* animated shine effect */
button::before{
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transform: skewX(-20deg);
}

button:hover::before{
  animation: shine 0.8s ease;
}

@keyframes shine{
  100%{
    left: 130%;
  }
}


/* =========================
   INPUT PREMIUM CLEAN GLOW
========================= */
input:focus{
  border: 1px solid rgba(250, 204, 21, 0.5) !important;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.2) !important;
}





/* =========================
   PREMIUM SECTION DIVIDER
   (replaces <hr>)
========================= */

.tradeBox hr{
  border: none;
  height: 1px;
  margin: 25px 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 85, 247, 0.6),   /* purple glow */
    rgba(250, 204, 21, 0.6),   /* gold glow */
    transparent
  );
  position: relative;
  overflow: visible;
}

/* glowing center dot */
.tradeBox hr::after{
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #facc15, #a855f7);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.6);
}










/* =========================
   PREMIUM GOLD TRUST STATS UI
========================= */

.stats .box{
  background: linear-gradient(145deg, #1b1406, #2a1f0a);
  border: 1px solid rgba(250, 204, 21, 0.18);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.4),
    0 0 12px rgba(250, 204, 21, 0.08);

  color: #f5f5f5;
  border-radius: 10px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* subtle gold light sweep */
.stats .box::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(250, 204, 21, 0.08),
    transparent
  );
  transition: 0.6s;
}

.stats .box:hover::before{
  left:100%;
}

/* hover premium lift */
.stats .box:hover{
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.35);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(250, 204, 21, 0.18);
}

/* labels (POL Price, TRC Price etc) */
.stats .box{
  font-weight: 500;
  letter-spacing: 0.2px;
  font-size: 13px;
  color: #d6d6d6;
}

/* IMPORTANT values (numbers) */
#trcPrice,
#trcValue{
  color: #facc15;
  font-weight: 700;
  text-shadow:
    0 0 6px rgba(250, 204, 21, 0.4),
    0 0 14px rgba(250, 204, 21, 0.2);
}

/* POL price = neutral trust color */
#polPrice,
#polBalance,
#trcBalance{
  color: #e5e7eb;
  font-weight: 600;
}

/* subtle pulse for TRC value (important KPI feel) */
#trcValue{
  animation: goldPulse 3s infinite ease-in-out;
}

@keyframes goldPulse{
  0%   { text-shadow: 0 0 6px rgba(250,204,21,0.2); }
  50%  { text-shadow: 0 0 16px rgba(250,204,21,0.5); }
  100% { text-shadow: 0 0 6px rgba(250,204,21,0.2); }
}









/* =========================
   FAQ SECTION
========================= */

.faq-section{
  padding:60px 15px;
  background:linear-gradient(180deg,#081018,#0d1622);
}

.faq-container{
  max-width:900px;
  margin:auto;
}

.faq-title{
  text-align:center;
  font-size:32px;
  color:#ffffff;
  font-weight:700;
  margin-bottom:10px;
}

.faq-subtitle{
  text-align:center;
  color:#b9c4d3;
  font-size:15px;
  margin-bottom:35px;
  line-height:1.5;
}

/* FAQ BOX */

.faq-box details{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  padding:16px 18px;
  margin-bottom:14px;
  transition:0.3s ease;
}

.faq-box details:hover{
  border-color:#f5b400;
  transform:translateY(-2px);
}

.faq-box summary{
  color:#ffffff;
  font-size:17px;
  font-weight:600;
  cursor:pointer;
  list-style:none;
  position:relative;
  padding-right:28px;
}

.faq-box summary::-webkit-details-marker{
  display:none;
}

.faq-box summary::after{
  content:"+";
  position:absolute;
  right:0;
  top:0;
  font-size:22px;
  color:#f5b400;
  font-weight:700;
}

.faq-box details[open] summary::after{
  content:"−";
}

.faq-box p{
  color:#c8d1dc;
  font-size:15px;
  line-height:1.7;
  margin-top:12px;
}

/* =========================
   TABLET
========================= */

@media(max-width:768px){

  .faq-title{
    font-size:26px;
  }

  .faq-subtitle{
    font-size:14px;
  }

  .faq-box summary{
    font-size:16px;
  }

  .faq-box p{
    font-size:14px;
  }

}

/* =========================
   MOBILE
========================= */

@media(max-width:480px){

  .faq-section{
    padding:45px 12px;
  }

  .faq-title{
    font-size:22px;
  }

  .faq-subtitle{
    font-size:13px;
  }

  .faq-box details{
    padding:14px;
    border-radius:12px;
  }

  .faq-box summary{
    font-size:15px;
    line-height:1.5;
  }

  .faq-box p{
    font-size:13px;
    line-height:1.6;
  }

}






/* Right to Left Gold Shine - 1 Second */

.faq-box details{
  position:relative;
  overflow:hidden;
  transition:0.35s ease;
}

.faq-box details::before{
  content:"";
  position:absolute;
  top:0;
  right:-120%;
  width:60%;
  height:100%;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,215,0,0.18),
    rgba(255,215,0,0.45),
    rgba(255,215,0,0.18),
    transparent
  );
  transform:skewX(-25deg);
}

.faq-box details:hover::before,
.faq-box details:active::before{
  animation:goldSwipeRTL 2s ease forwards;
}

.faq-box details:hover,
.faq-box details:active{
  border-color:#ffd700;
  box-shadow:0 0 18px rgba(255,215,0,0.35);
}

@keyframes goldSwipeRTL{
  from{
    right:-120%;
  }
  to{
    right:140%;
  }
}









/* ================= SIP CALCULATOR ================= */

.sip-section {
  padding: 25px 15px;
  text-align: center;
}

.sip-section h2 {
  color: #ffd700;
  font-size: 22px;
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* Main box */
.sip-box {
  max-width: 420px;
  margin: auto;
  background: rgba(255, 215, 0, 0.04);
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

/* Inputs */
.sip-box input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 15px;
  background: #111;
  color: #fff;
}

.sip-box input::placeholder {
  color: #aaa;
}

/* Button */
.sip-box button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(45deg, #ffd700, #ffb300);
  color: #000;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s;
}

.sip-box button:hover {
  transform: scale(1.04);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Results grid */
.sip-results {
  margin-top: 18px;
}

/* Individual cards */
.sip-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 215, 0, 0.06);
  padding: 12px;
  margin: 7px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.15);
  font-size: 14px;
}

/* Labels */
.sip-card span:first-child {
  color: #ccc;
}

/* Values */
.sip-card span:last-child {
  color: #ffd700;
  font-weight: bold;
}

/* Highlight profit section */
.sip-highlight {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(45deg, #ffd700, #ff9800);
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(255, 200, 0, 0.4);
}

.sip-highlight div {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}

.sip-highlight span:last-child {
  font-weight: 900;
}

/* Mobile optimization */
@media (max-width: 480px) {

  .sip-section {
    padding: 20px 10px;
  }

  .sip-section h2 {
    font-size: 20px;
  }

  .sip-box {
    padding: 14px;
  }

  .sip-card {
    font-size: 13px;
    padding: 10px;
  }

  .sip-highlight {
    font-size: 14px;
  }
}









/* =========================
   EXIT TABLE ONLY
========================= */

.sip-table-box {
  margin-top: 20px;
  padding: 10px;
  border-radius: 12px;
  background: #0b0b0b;
  overflow-x: auto;
}

/* TABLE */
.sip-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

/* HEADER */
.sip-table th {
  background: linear-gradient(45deg, #ffd700, #ffb300);
  color: #000;
  padding: 10px;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
}

/* BODY */
.sip-table td {
  padding: 8px;
  font-size: 12px;
  color: #eee;
  text-align: center;
  border-bottom: 1px solid #222;
}

/* ROW EFFECT */
.sip-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.sip-table tr:hover {
  background: rgba(255, 215, 0, 0.08);
}

/* PROFIT COLORS */
.profit-positive {
  color: #00ff88;
  font-weight: bold;
}

.profit-negative {
  color: #ff4d4d;
  font-weight: bold;
}

/* MOBILE */
@media (max-width: 600px) {
  .sip-table th {
    font-size: 11px;
    padding: 8px;
  }

  .sip-table td {
    font-size: 10px;
    padding: 6px;
  }
}









/* TABLE CONTAINER (FIXED HEIGHT + SCROLL) */
.table-container {
  max-height: 400px;   /* controls height */
  overflow-y: auto;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #333;
}

/* TABLE STYLE */
.sip-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

/* HEADER FIX (STICKY) */
.sip-table thead th {
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, #ffcc00, #ff9900);
  color: black;
  z-index: 2;
}

/* CELLS */
.sip-table th,
.sip-table td {
  padding: 10px;
  text-align: center;
  font-size: 13px;
}

/* ROW STYLE */
.sip-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.05);
}

/* MOBILE FIX */
@media (max-width: 600px) {
  .table-container {
    max-height: 300px;
  }

  .sip-table th,
  .sip-table td {
    font-size: 11px;
    padding: 6px;
  }
}









.tradeBox h4{
margin:18px 0 7px;
font-size:16.5px;
line-height:1;
}






