/* ==========================================
   trading.css FINAL COMPLETE VERSION
   Responsive + Premium + Running Strip
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{
  --primary:#2563eb;
  --secondary:#06b6d4;
  --dark:#0f172a;
  --light:#f8fafc;
  --text:#1e293b;
  --muted:#64748b;
  --white:#ffffff;
  --border:#e2e8f0;
}

/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html,body{
  overflow-x:hidden;
}

body{
  font-family:'Poppins',sans-serif;
  background:#eef2f7;
  color:var(--text);
  line-height:1.6;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

/* ==========================================
   LIVE RUNNING STRIP
========================================== */

.live-strip{
  width:100%;
  background:#0b132f;
  color:#fff;
  font-size:13px;
  font-weight:500;
  padding:8px 0;
  overflow:hidden;
  white-space:nowrap;
  position:relative;
}

.live-strip span{
  display:inline-block;
  min-width:max-content;
  padding-left:100%;
  animation:liveRun 18s linear infinite;
}

@keyframes liveRun{
  0%{transform:translateX(0);}
  100%{transform:translateX(-100%);}
}

/* ==========================================
   NAVBAR
========================================== */

.navbar{
  background:#fff !important;
  border-bottom:1px solid #e5e7eb;
}

.navbar-logo{
  width:46px;
  height:46px;
  object-fit:contain;
}

.navbar-title{
  font-size:24px;
  font-weight:800;
  line-height:1.2;
  background:linear-gradient(90deg,#7c3aed,#2563eb,#06b6d4);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.nav-link{
  color:#334155 !important;
  font-weight:500;
  margin-left:10px;
}

.nav-link:hover{
  color:var(--primary) !important;
}

.btn-nav{
  background:linear-gradient(135deg,#38bdf8,#818cf8);
  color:#fff !important;
  padding:10px 18px !important;
  border-radius:14px;
}

/* ==========================================
   HERO
========================================== */

.hero-section{
  background:linear-gradient(135deg,#0f172a,#1d4ed8,#0891b2);
  color:#fff;
  padding:42px 28px;
  border-radius:24px;
  box-shadow:0 14px 35px rgba(0,0,0,.08);
}

.hero-badge{
  display:inline-block;
  padding:8px 18px;
  border-radius:50px;
  background:rgba(255,255,255,.15);
  font-size:13px;
  font-weight:600;
  margin-bottom:15px;
}

.hero-title{
  font-size:38px;
  font-weight:800;
  line-height:1.25;
  margin-bottom:12px;
}

.hero-subtitle{
  font-size:16px;
  max-width:760px;
  margin:auto;
  line-height:1.7;
  opacity:.95;
}

.hero-mini-box{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.15);
  padding:14px 12px;
  border-radius:16px;
  font-size:14px;
  font-weight:600;
}

.date-badge{
  display:inline-block;
  padding:10px 18px;
  border-radius:50px;
  background:rgba(255,255,255,.15);
  margin-top:14px;
  font-size:14px;
}

/* ==========================================
   TITLES
========================================== */

.section-title{
  font-size:30px;
  font-weight:800;
  text-align:center;
  margin-bottom:15px;
}

/* ==========================================
   NEWS CARD
========================================== */

.news-card{
  background:#fff;
  border-radius:22px;
  padding:20px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  transition:.3s;
  min-height:260px;
  display:flex;
  flex-direction:column;
}

.news-card:hover{
  transform:translateY(-6px);
}

.news-card h5{
  font-size:20px;
  font-weight:700;
  margin:14px 0 10px;
  line-height:1.35;
}

.news-card p{
  color:var(--muted);
  font-size:14px;
  margin-bottom:18px;
}

.news-card .btn{
  margin-top:auto;
}

/* ==========================================
   POST PAGE
========================================== */

.post-box{
  background:#fff;
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 22px rgba(0,0,0,.05);
}

.post-box h1{
  font-size:28px;
  font-weight:700;
  line-height:1.35;
  margin-bottom:10px;
}

/* ✅ FINAL FIX - Image poori dikhegi */
.post-banner{
  width:100%;
  height:auto;
  max-height:none;
  border-radius:14px;
  object-fit:unset;
  display:block;
  margin-bottom:20px;
}

.video-box iframe{
  width:100%;
  height:300px;
  border:none;
  border-radius:14px;
}

.quick-box{
  background:#f8fafc;
  border:1px solid #e6edf5;
  border-radius:12px;
  padding:12px 14px;
  margin-bottom:16px;
  font-size:15px;
  line-height:1.6;
}

/* ==========================================
   BUTTONS
========================================== */

.btn-gradient,
.cta-btn{
  display:block;
  width:100%;
  text-align:center;
  color:#fff;
  font-weight:600;
  padding:12px 20px;
  border:none;
  border-radius:50px;
  background:linear-gradient(90deg,#06b6d4,#2563eb);
}

/* ==========================================
   CTA BOX
========================================== */

.cta-box{
  background:linear-gradient(135deg,#0f172a,#1e40af);
  color:#fff;
  padding:28px 22px;
  border-radius:24px;
  text-align:center;
}

/* ==========================================
   FOOTER
========================================== */

.footer-section{
  background:#0f172a;
  color:#cbd5e1;
  margin-top:60px;
  border-top:4px solid #7c3aed;
}

.footer-title{
  color:#fff;
  font-weight:700;
  margin-bottom:16px;
}

.footer-links{
  list-style:none;
  padding:0;
}

.footer-links li{
  margin-bottom:10px;
}

.footer-links a{
  color:#cbd5e1;
}

.footer-links a:hover{
  color:#fff;
}

.social-icons img{
  width:36px;
  display:inline-block;
  margin:5px;
}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:768px){

.container,
.container-fluid{
  padding-left:12px !important;
  padding-right:12px !important;
}

.live-strip{
  font-size:11px;
  padding:6px 0;
}

.live-strip span{
  animation:liveRun 14s linear infinite;
}

.navbar-logo{
  width:38px;
  height:38px;
}

.navbar-title{
  font-size:15px;
}

.hero-section{
  padding:24px 16px;
  border-radius:18px;
}

.hero-title{
  font-size:24px;
}

.hero-subtitle{
  font-size:14px;
}

.hero-mini-box{
  font-size:13px;
  padding:12px 10px;
}

.date-badge{
  font-size:12px;
}

.news-card,
.post-box,
.cta-box{
  padding:16px;
}

.news-card{
  min-height:auto;
}

.news-card h5{
  font-size:18px;
}

.post-box h1{
  font-size:22px;
}

/* ✅ FIXED - Mobile image */
.post-banner{
  width:100%;
  height:auto;
  object-fit:unset;
}

.video-box iframe{
  height:220px;
  border-radius:12px;
}

.footer-section{
  text-align:center;
}

}