/* =========================
   RESET
========================= */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#0b1224;
color:#fff;
padding-top:72px;
line-height:1.5;
}

/* =========================
   HEADER
========================= */

.site-header{
position:fixed;
top:0;
width:100%;
height:72px;
background:#0E1428;
display:flex;
align-items:center;
z-index:1000;
box-shadow:0 4px 20px rgba(0,0,0,0.35);
}

.nav{
width:100%;
max-width:1200px;
margin:auto;
padding:0 20px;
display:flex;
align-items:center;
justify-content:space-between;
}

.logo{
height:50px;
}

/* =========================
   MENU
========================= */

.menu{
display:flex;
gap:30px;
}

.menu-item{
position:relative;
font-weight:500;
}

.menu-item > span{
padding:10px 0;
display:inline-block;
cursor:pointer;
}

/* =========================
   MEGA MENU
========================= */

.mega-menu{
position:absolute;
top:100%;
left:0;
min-width:200px;
background:#111c3f;
border-radius:8px;
padding:10px 0;
opacity:0;
visibility:hidden;
transform:translateY(12px);
transition:all .25s ease;
}

.menu-item:hover .mega-menu{
opacity:1;
visibility:visible;
transform:translateY(0);
}

.mega-menu a{
display:block;
padding:8px 18px;
color:#ccc;
font-size:14px;
text-decoration:none;
}

.mega-menu a:hover{
background:#1c2c63;
color:#f3c86a;
}

/* =========================
   NAV RIGHT
========================= */

.nav-right{
display:flex;
align-items:center;
gap:12px;
}

.lang-select{
background:#111c3f;
color:#fff;
border:none;
padding:6px 8px;
border-radius:6px;
}

/* =========================
   NAV BUTTONS
========================= */

.nav-btn{
padding:8px 16px;
border-radius:6px;
border:1px solid #f3c86a;
background:transparent;
color:#f3c86a;
text-decoration:none;
font-size:14px;
font-weight:600;
transition:all .25s ease;
}

.nav-btn:hover{
background:#f3c86a;
color:#000;
}

.nav-btn.primary{
background:#f3c86a;
color:#000;
}

.nav-btn.primary:hover{
background:#ffd76a;
}

/* =========================
   ACTIVE LINKS
========================= */

.menu a.active,
.mobile-menu a.active{
color:#d4af37;
}

/* =========================
   HAMBURGER
========================= */

.hamburger{
display:none;
flex-direction:column;
gap:4px;
cursor:pointer;
}

.hamburger span{
width:22px;
height:3px;
background:#fff;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu{
position:fixed;
top:72px;
left:0;
width:100%;
background:#0f1a38;
display:none;
flex-direction:column;
padding:15px;
z-index:999;
}

.mobile-menu a{
padding:12px 0;
color:#ccc;
text-decoration:none;
font-size:15px;
}

.mobile-menu.active{
display:flex;
}

/* =========================
   HERO SECTION
========================= */

.hero{
position:relative;
height:80vh;
display:flex;
align-items:center;
justify-content:center;
background:url('../img/slide1.jpg') center/cover no-repeat;
text-align:center;
}

.hero-overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,0.55);
}

.hero-content{
position:relative;
z-index:2;
max-width:800px;
padding:20px;
}

.hero h1{
font-size:48px;
font-weight:700;
margin-bottom:15px;
text-shadow:0 2px 10px rgba(0,0,0,0.6);
}

.hero p{
font-size:20px;
opacity:.9;
margin-bottom:30px;
}

/* =========================
   HERO BUTTONS
========================= */

.hero-actions{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.btn-primary{
background:#f3c86a;
color:#000;
padding:14px 28px;
font-weight:700;
border-radius:8px;
text-decoration:none;
transition:.3s;
}

.btn-primary:hover{
background:#e5c845;
}

.btn-secondary{
background:transparent;
color:#fff;
border:2px solid #fff;
padding:14px 28px;
font-weight:700;
border-radius:8px;
text-decoration:none;
transition:.3s;
}

.btn-secondary:hover{
background:#fff;
color:#000;
}

/* =========================
   OFFERING SECTION
========================= */

.offering{
padding:60px 20px;
text-align:center;
}

.offer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:30px;
margin-top:30px;
}

.offer-item{
display:flex;
flex-direction:column;
align-items:center;
text-decoration:none;
color:inherit;
}

.offer-item img{
width:80px;
margin-bottom:15px;
}

.offer-item div{
font-weight:600;
}

/* =========================
   PLATFORM SECTION
========================= */

.platform{
padding:60px 20px;
text-align:center;
}

.platform-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:30px;
margin-top:30px;
}

.platform-card{
background:#111827;
padding:30px;
border-radius:16px;
border:1px solid rgba(255,255,255,0.05);
display:flex;
flex-direction:column;
align-items:center;
transition:all .25s ease;
cursor:pointer;
}

.platform-card:hover{
transform:translateY(-6px);
box-shadow:0 10px 25px rgba(0,0,0,0.4);
border-color:#f3c86a;
}

.img-platform{
width:120px;
margin:15px 0;
}

.platform-card h3{
margin-bottom:10px;
color:#f3c86a;
}

.platform-card p{
font-size:14px;
opacity:.9;
text-align:center;
}

/* =========================
   LIVE MARKET
========================= */

.live-market{
padding:70px 0;
text-align:center;
}

.market-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
max-width:1000px;
margin:auto;
}

.market-item{
background:#111c3f;
padding:20px;
border-radius:10px;
display:flex;
justify-content:space-between;
font-weight:600;
}

/* =========================
   LIVE CHAT
========================= */

.live-chat{
position:fixed;
right:20px;
bottom:20px;
background:#f3c86a;
color:#000;
padding:12px 20px;
border-radius:30px;
font-weight:600;
z-index:5000;
cursor:pointer;
text-decoration:none;
}

/* =========================
   FOOTER
========================= */

.footer{
background:#0f1a38;
padding:50px 20px;
}

.footer-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:30px;
}

.footer-col a{
display:block;
margin:8px 0;
color:#ccc;
text-decoration:none;
font-size:14px;
}

.footer-bottom{
margin-top:30px;
font-size:12px;
color:#777;
}

.risk-warning{
color:#f3c86a;
font-size:12px;
margin-top:10px;
}

/* =========================
   PAGE LOADER
========================= */

.page-loader{
width:50px;
height:50px;
border:4px solid rgba(255,255,255,0.2);
border-top:4px solid #f3c86a;
border-radius:50%;
margin:120px auto;
animation:spin .8s linear infinite;
}

@keyframes spin{
to{transform:rotate(360deg);}
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:920px){

.menu{
display:none;
}

.hamburger{
display:flex;
}

.market-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:500px){

.market-grid{
grid-template-columns:1fr;
}

.hero h1{
font-size:34px;
}

.hero p{
font-size:16px;
}

}
.form-row{
display:flex;
gap:15px;
flex-wrap:wrap;
}

.form-row .form-group{
flex:1;
min-width:200px;
}
.forex-hero{
padding:120px 20px;
background:linear-gradient(135deg,#0b0f1a,#141c2f);
text-align:center;
}

.forex-hero h1{
font-size:48px;
margin-bottom:20px;
}

.forex-hero p{
max-width:700px;
margin:auto;
opacity:0.8;
}

.hero-stats{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
margin-top:50px;
}

.stat h3{
font-size:32px;
color:#3fa9ff;
}

.forex-pairs{
padding:100px 20px;
}

.pairs-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.pair-card{
background:#111827;
padding:30px;
border-radius:10px;
transition:.3s;
}

.pair-card:hover{
transform:translateY(-5px);
background:#1c2437;
}

.forex-advantages{
padding:100px 20px;
background:#0d1424;
}

.advantages-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

.adv-card{
background:#111827;
padding:30px;
border-radius:10px;
}

.forex-cta{
padding:100px 20px;
text-align:center;
}
.heatmap-grid{
display:grid;
grid-template-columns:repeat(6,1fr);
gap:15px;
margin-top:40px;
}

.heat{
padding:30px;
text-align:center;
border-radius:8px;
font-weight:bold;
}

.positive{
background:#14532d;
}

.negative{
background:#7f1d1d;
}

.neutral{
background:#374151;
}
.sessions-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
margin-top:40px;
}

.session{
background:#111827;
padding:30px;
border-radius:10px;
text-align:center;
}
.dashboard {
  padding: 30px;
  color: #fff;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logout-btn {
  background: red;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

.cards {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.card {
  flex: 1;
  background: #111;
  padding: 20px;
  border-radius: 10px;
}

.chart-container {
  margin-top: 30px;
  background: #111;
  padding: 20px;
  border-radius: 10px;
}
.indices-hero{
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(11,18,36,0.72), rgba(11,18,36,0.82)),
    url('../img/indices-bg.jpg') center/cover no-repeat;
}
.indices-hero .hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    135deg,
    rgba(11,18,36,0.55),
    rgba(14,20,40,0.75)
  );
}
.pairs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.pair-card {
  padding: 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.3s ease;
}

.pair-card span {
  display: block;
  margin-top: 10px;
  color: #f3c86a;
}

.pair-card:hover {
  transform: translateY(-4px);
}

.conditions {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
}

.conditions th,
.conditions td {
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.conditions th {
  width: 40%;
  color: #f3c86a;
  text-align: left;
}

.cta-box {
  text-align: center;
  padding: 60px 20px;
}

.note {
  margin-top: 20px;
  opacity: 0.8;
}
/* SYSTEM POPUP */
.system-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  width: 90%;
  max-width: 520px;
  background: #111827;
  color: #fff;
  padding: 28px;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(243,200,106,0.2);
  animation: popupFade 0.35s ease;
}

.popup-box h3 {
  margin-bottom: 14px;
  color: #f3c86a;
}

.popup-box p {
  line-height: 1.7;
  color: #d1d5db;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.success-msg {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
}

.success-msg.success {
  background: rgba(0,255,120,0.08);
  color: #7fffb0;
  border: 1px solid rgba(0,255,120,0.18);
}

.success-msg.error {
  background: rgba(255,0,0,0.08);
  color: #ffb4b4;
  border: 1px solid rgba(255,0,0,0.18);
}
.dashboard-wrapper {
  min-height: 100vh;
  background: #0b1220;
  padding: 50px 20px;
}

.dashboard-card {
  max-width: 1100px;
  margin: auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(14px);
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px;
}

.dash-box {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(243,200,106,0.08);
}

.dashboard-actions {
  margin-top: 35px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.logout-btn {
  background: #1f2937;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-section {
  padding: 80px 0;
}

.content {
  width: 100%;
}

.content h2,
.cta-box h2 {
  text-align: center;
  margin-bottom: 16px;
}

.section-sub,
.note {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
  color: #9ca3af;
}

.pairs-grid,
.platform-grid,
.offer-grid,
.dashboard-grid {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 0;
}

.footer-container,
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom {
  padding-top: 30px;
}
/* =========================================
   GLOBAL SPA PAGE SYSTEM
========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content,
.page-section {
  width: 100%;
  padding: 90px 0;
}

.content h2,
.cta-box h2 {
  text-align: center;
  margin-bottom: 14px;
  font-size: 36px;
  font-weight: 700;
}

.section-sub,
.note {
  max-width: 760px;
  margin: 0 auto 35px;
  text-align: center;
  color: #9ca3af;
  font-size: 17px;
  line-height: 1.7;
}

/* =========================================
   HERO STANDARD
========================================= */
.page-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,18,36,0.65),
    rgba(14,20,40,0.85)
  );
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.page-hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-hero p {
  font-size: 20px;
  color: #d1d5db;
  line-height: 1.8;
  margin-bottom: 35px;
}

/* =========================================
   FOREX HERO
========================================= */
.forex-hero {
  background:
    linear-gradient(rgba(11,18,36,0.75), rgba(11,18,36,0.82)),
    url('../img/forex-bg.jpg') center/cover no-repeat;
}

/* =========================================
   INDICES HERO
========================================= */
.indices-hero {
  background:
    linear-gradient(rgba(11,18,36,0.72), rgba(11,18,36,0.82)),
    url('../img/indices-bg.jpg') center/cover no-repeat;
}

/* =========================================
   GRID SYSTEM
========================================= */
.pairs-grid,
.platform-grid,
.offer-grid,
.dashboard-grid {
  width: 100%;
  max-width: 1200px;
  margin: 35px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.pair-card,
.platform-card,
.offer-item,
.dash-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.pair-card:hover,
.platform-card:hover,
.offer-item:hover,
.dash-box:hover {
  transform: translateY(-5px);
  border-color: rgba(243,200,106,0.35);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

.pair-card span {
  display: block;
  margin-top: 10px;
  color: #f3c86a;
  font-size: 14px;
}

/* =========================================
   CTA BOX
========================================= */
.cta-box {
  padding: 90px 20px;
  text-align: center;
}

/* =========================================
   FOOTER FIX
========================================= */
.footer-container,
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom {
  padding-top: 30px;
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 38px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .content h2,
  .cta-box h2 {
    font-size: 28px;
  }
}
.commodities-hero {
  background:
    linear-gradient(rgba(11,18,36,0.72), rgba(11,18,36,0.82)),
    url('../img/commodities-bg.jpg') center/cover no-repeat;
}
.crypto-hero {
  background:
    linear-gradient(rgba(11,18,36,0.72), rgba(11,18,36,0.82)),
    url('../img/crypto-bg.jpg') center/cover no-repeat;
}
.about-hero {
  background:
    linear-gradient(rgba(11,18,36,0.75), rgba(11,18,36,0.85)),
    url('../img/about-bg.jpg') center/cover no-repeat;
}
.regulation-hero {
  background:
    linear-gradient(rgba(11,18,36,0.75), rgba(11,18,36,0.85)),
    url('../img/regulation-bg.jpg') center/cover no-repeat;
}
.contact-hero {
  background:
    linear-gradient(rgba(11,18,36,0.75), rgba(11,18,36,0.85)),
    url('../img/contact-bg.jpg') center/cover no-repeat;
}
/* =========================
   FAQ ACCORDION
========================= */
.faq {
  max-width: 900px;
  margin: 40px auto 0;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 20px 18px;
  color: #9ca3af;
  display: none;
  line-height: 1.6;
}
.education-hero{
  position: relative;
  min-height: 78vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:
    linear-gradient(rgba(11,18,36,0.75), rgba(11,18,36,0.85)),
    url('../img/education-bg.jpg') center/cover no-repeat;
}

.education-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:20px;
  margin-top:30px;
}

.edu-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 25px;
  border-radius: 14px;
  transition: 0.3s ease;
}

.edu-card h3{
  color:#f3c86a;
  margin-bottom:10px;
}

.edu-card:hover{
  transform: translateY(-5px);
  border-color:#f3c86a;
}
.why-hero {
  background: url('../img/why-vanex-bg.jpg') center/cover no-repeat;
  position: relative;
}
.analysis-hero {
  background: url('../img/analysis-bg.jpg') center/cover no-repeat;
  position: relative;
}
.platforms-hero {
  background: url('../img/platforms-bg.jpg') center/cover no-repeat;
  position: relative;
}
.copy-hero {
  background: url('../img/copy-trading-bg.jpg') center/cover no-repeat;
  position: relative;
}
.competition-hero {
  background: url('../img/competition-bg.jpg') center/cover no-repeat;
  position: relative;
}
.traders-club-hero {
  background: url('../img/traders-club-bg.jpg') center/cover no-repeat;
  position: relative;
}
.refer-hero {
  background: url('../img/refer-friend-bg.jpg') center/cover no-repeat;
  position: relative;
}
.client-layout {
  display: flex;
  min-height: 100vh;
  background: #0b0f1a;
  color: #fff;
}

/* SIDEBAR */
.client-sidebar {
  width: 260px;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.sidebar-nav a {
  display: block;
  padding: 12px;
  color: #ccc;
  text-decoration: none;
  border-radius: 8px;
}

.sidebar-nav a:hover {
  background: #1e293b;
  color: #fff;
}

/* MAIN */
.client-main {
  flex: 1;
  padding: 20px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.card {
  background: #111827;
  padding: 20px;
  border-radius: 12px;
}

.card.full {
  grid-column: span 2;
}

/* TABS */
.tab {
  display: none;
}

.tab.active {
  display: block;
}
.sidebar-nav a.active {
    background: #1e40af;
    color: #fff;
    border-left: 4px solid #3b82f6;
}
.tab {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.tab.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.kyc-drop {
  border: 2px dashed #3b82f6;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  border-radius: 12px;
  margin-bottom: 15px;
  background: rgba(59,130,246,0.05);
}

.kyc-drop:hover {
  background: rgba(59,130,246,0.1);
}

.kyc-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.kyc-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #333;
}
.kyc-block {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
}

.kyc-block h4 {
  margin-bottom: 5px;
}
.trust-bar{
  margin-top:40px;
}

.trust-container{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
  max-width:1000px;
  margin:auto;
}

.trust-container div{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:14px;
  border-radius:12px;
  font-size:14px;
}

.asset-showcase{
  background:#0d1424;
}

@media(max-width:920px){
  .trust-container{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .trust-container{
    grid-template-columns:1fr;
  }
}
/* LIVE TICKER */
.tv-ticker-wrap{
  margin-top:30px;
  background: rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;
  padding:18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);
}
.institutional-market {
  padding: 90px 0;
}

.tv-chart-box {
  margin-top: 30px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  background: #111827;
}

.market-item span:last-child {
  font-weight: 700;
  color: #f3c86a;
}
.ticker-tape-wrap {
  width: 100%;
  overflow: hidden;
  background: #0f1a38;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ticker-tape {
  white-space: nowrap;
  overflow: hidden;
}

.ticker-track {
  display: inline-flex;
  gap: 50px;
  padding: 16px 0;
  min-width: max-content;
  animation: tickerMove 28s linear infinite;
}

.ticker-track span {
  font-size: 14px;
  color: #d1d5db;
}

.ticker-track b {
  color: #f3c86a;
  margin-left: 8px;
}

@keyframes tickerMove {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
.lang-select {
  background: #0c0f1d;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: 0.3s;
}

.lang-select:hover {
  border-color: #3b82f6;
}

.lang-select option {
  background: #0c0f1d;
  color: #fff;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* SAĞ BLOK */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* SELECT WRAPPER */
.lang-wrapper {
  display: flex;
  align-items: center;
}

/* BUTONLAR AYNI HİZADA */
.nav-btn {
  display: flex;
  align-items: center;
  height: 36px;
}

/* HAMBURGER SAĞA YAPIŞSIN */
.hamburger {
  margin-left: 15px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.02);
  padding: 6px 10px;
  border-radius: 10px;
}
/* LOGIN LAYOUT */
.login-container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

/* LEFT SIDE */
.login-left h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.login-left p {
  color: #9ca3af;
  margin-bottom: 25px;
}

.login-features div {
  margin-bottom: 12px;
  color: #d1d5db;
  font-size: 15px;
}

/* RIGHT SIDE */
.login-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 30px;
  border-radius: 18px;
  backdrop-filter: blur(14px);
}

.login-card h2 {
  margin-bottom: 20px;
  color: #f3c86a;
}

/* FORM */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
  color: #9ca3af;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0f172a;
  color: #fff;
}

/* OPTIONS */
.login-options {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 18px;
}

.login-options a {
  color: #3b82f6;
  text-decoration: none;
}

/* BUTTON FULL */
.btn-primary.full,
.btn-secondary.full {
  width: 100%;
  text-align: center;
}

/* ERROR */
.login-error {
  margin-top: 10px;
  color: #ff4d4d;
  font-size: 13px;
}

/* DIVIDER */
.login-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.login-divider span {
  background: #0b1224;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}

.login-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* TRUST */
.login-trust {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 13px;
  color: #9ca3af;
}

/* RESPONSIVE */
@media(max-width: 900px){
  .login-container {
    grid-template-columns: 1fr;
  }

  .login-left {
    text-align: center;
  }
}
.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  background: #1f2937;
}

.badge.gold {
  background: #f3c86a;
  color: #000;
}

.badge.green {
  background: #10b981;
}

.badge.orange {
  background: #f59e0b;
}
.kyc-upload-box {
  background: #0f172a;
  padding: 25px;
  border-radius: 12px;
}

.kyc-drop {
  border: 2px dashed #334155;
  padding: 40px;
  text-align: center;
  cursor: pointer;
}

.kyc-drop.dragover {
  border-color: #10b981;
  background: rgba(16,185,129,0.1);
}

.kyc-preview {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.kyc-preview img {
  width: 100px;
  border-radius: 8px;
}
.dashboard {
  display: flex;
  background: #0b0f1a;
  color: #fff;
  min-height: 100vh;
}

.sidebar {
  width: 220px;
  background: #0f172a;
  padding: 20px;
}

.sidebar a {
  display: block;
  padding: 12px;
  color: #94a3b8;
  cursor: pointer;
}

.sidebar a.active {
  color: #fff;
  background: #1e293b;
}

.main {
  flex: 1;
  padding: 20px;
}

.top-cards {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 15px;
}

.card {
  background: #111827;
  padding: 20px;
  border-radius: 12px;
}

.card.big {
  font-size: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.badge.green { color: #10b981; }
.badge.orange { color: #f59e0b; }

.drop-zone {
  border: 2px dashed #334155;
  padding: 20px;
  text-align: center;
  cursor: pointer;
}
.trade-top{
  display:flex;
  justify-content:space-between;
  margin-bottom:15px;
}

.trade-grid{
  display:grid;
  grid-template-columns: 1fr 2fr;
  gap:15px;
  margin-top:15px;
}

.trade-buttons{
  display:flex;
  gap:10px;
  margin-top:10px;
}

.trade-buttons button{
  flex:1;
  padding:12px;
  font-weight:bold;
  border:none;
  cursor:pointer;
}

.buy{
  background:#10b981;
}

.sell{
  background:#ef4444;
}

.trade-row{
  display:flex;
  justify-content:space-between;
  padding:10px;
  border-bottom:1px solid #222;
}
.trade-top {
  display:flex;
  justify-content:space-between;
  margin-bottom:15px;
}

.trade-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:15px;
  margin-top:15px;
}

.trade-buttons {
  display:flex;
  gap:10px;
  margin-top:10px;
}

.trade-buttons button {
  flex:1;
  padding:12px;
  border:none;
  cursor:pointer;
}

.buy { background:#10b981; }
.sell { background:#ef4444; }

.trade-row {
  display:flex;
  justify-content:space-between;
  margin-bottom:8px;
  padding:10px;
  background:#0f172a;
  border-radius:6px;
}
.kyc-info {
  background: rgba(255,255,255,0.03);
  padding:15px;
  border-radius:10px;
  margin-bottom:20px;
}

.kyc-block {
  margin-bottom:20px;
}

#kycCamera {
  width:200px;
  border-radius:10px;
  margin-top:10px;
}

#selfiePreview {
  width:100px;
  margin-top:10px;
  border-radius:50%;
}

.avatar-box img {
  width:60px;
  height:60px;
  border-radius:50%;
}
.admin {
  display: flex;
}

.admin-tab {
  display: none;
}

.admin-tab.active {
  display: block;
}

.admin-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-user img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-actions button {
  margin-left: 10px;
}

button.green {
  background: #00c853;
}

button.red {
  background: #ff1744;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #0f0f0f;
  padding: 20px;
  border-radius: 12px;
  width: 900px;
  max-width: 95%;
}

.close {
  float: right;
  cursor: pointer;
  font-size: 22px;
}

.kyc-modal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.kyc-files img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 8px;
}

.kyc-actions {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 10px;
}

.modal-buttons {
  margin-top: 20px;
}

.modal-buttons button {
  width: 100%;
  margin-bottom: 10px;
}
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.auth-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

/* butonlar taşmasın */
.nav-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
    }

    .nav-right {
        width: 100%;
        justify-content: flex-end;
    }
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #0f172a;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
}
/* =========================================
   LOGIN & FORGOT PASSWORD FIXES
   ========================================= */

/* Hero katmanlarının formu engellemesini durdurun */
.page-hero .hero-content {
    position: relative;
    z-index: 5; /* Formun en üstte olduğundan emin olalım */
    pointer-events: auto; /* Tıklamaları serbest bırak */
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Form Elemanları ve Buton Düzenlemeleri */
.login-card {
    background: rgba(15, 23, 42, 0.8); /* Daha okunaklı arka plan */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* BUTONLARIN TIKLANABİLİR OLMASI İÇİN KRİTİK AYAR */
.btn-primary, .btn-secondary {
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 15; /* Tıklama alanı için */
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.btn-primary:disabled {
    cursor: not-allowed !important;
    opacity: 0.6;
    filter: grayscale(0.5);
}

/* Input ve Icon Düzenlemesi (Forgot Password İçin) */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 45px 14px 15px; /* Sağdan ikon boşluğu */
    background: #0c1220;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
}

.input-icon {
    position: absolute;
    right: 15px;
    color: #f3c86a;
    pointer-events: none; /* İkonun tıklamayı engellememesi için */
}

/* Sol Taraftaki Özelliklerin Görünümü */
.login-features .feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    text-align: left;
}

.feature-item .icon {
    font-size: 24px;
    background: rgba(243, 200, 106, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Divider Çizgisi */
.login-divider {
    margin: 25px 0;
    display: flex;
    align-items: center;
    text-align: center;
    color: #4b5563;
}

.login-divider::before, .login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-divider span {
    padding: 0 15px;
    font-size: 13px;
    font-weight: 600;
}

/* Şifre Göster/Gizle İkonu Fix */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    z-index: 20;
    user-select: none;
    color: #f3c86a;
    font-size: 18px;
}

/* Responsive Düzenleme */
@media (max-width: 900px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: auto;
    }
    .login-left {
        display: none; /* Mobilde sadece formu gösterelim */
    }
}
/* ==========================================================================
   INDEX.HTML LIVE TICKER ALIGNMENT
   ========================================================================== */

/* Canlı fiyat bandının genel stilleri */
.live-ticker-bar {
    width: 100%;
    height: 36px;
    background: #181a20;
    border-bottom: 1px solid #2b3139;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 9999; /* Header'ın ve tüm içeriğin üzerinde dursun */
}

.live-ticker-bar .ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: bold;
    color: #f3c86a;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    background: #181a20;
    padding-right: 15px;
    z-index: 2;
}

.live-ticker-bar marquee {
    color: #eaecef;
    font-size: 12px;
    font-family: 'Roboto Mono', monospace;
    z-index: 1;
}

.live-ticker-bar .trend-up {
    color: #10b981;
    font-weight: 600;
}

.live-ticker-bar .trend-down {
    color: #ef4444;
    font-weight: 600;
}

.ticker-dot {
    color: #10b981;
    font-size: 14px;
    display: inline-block;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Header alanının fiyat bandının altına düzgünce oturması için kaydırma */
.site-header {
    margin-top: 0; /* Eğer layout'ta absolute/fixed elementler varsa bunu kontrol ederiz */
}

/* Mobil menüyü de fiyat bandının altına hizalayalım */
.mobile-menu {
    top: calc(80px + 36px) !important; /* Header yüksekliği + Ticker yüksekliği */
}
/* ==========================================================================
   FIX: FIXED HEADER & LIVE TICKER STACKING (MAY 2026)
   ========================================================================== */

/* 1. Canlı piyasalar bandını ekranın en üstüne sabitliyoruz */
.live-ticker-bar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 36px !important;
    background: #181a20 !important;
    border-bottom: 1px solid #2b3139 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    z-index: 10000 !important; /* En yüksek katmanda durarak her şeyin üstünde kalır */
}

/* 2. Ana menüyü (site-header) fiyat bandının hemen altına sabitleyerek yapıştırıyoruz */
.site-header {
    position: fixed !important;
    top: 36px; /* Canlı piyasalar bandının yüksekliği kadar aşağıdan başlar */
    left: 0;
    width: 100%;
    height: 80px; /* Mevcut header yüksekliğiniz */
    background: rgba(15, 23, 42, 0.95) !important; /* Sayfa kaydığında arkası görünmesin diye hafif opaklığı artırdık */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 9999 !important; /* Ticker'ın hemen bir tık altında */
}

/* 3. Açılır mega-menülerin (mega-menu) fiyat bandının altında kalmasını engelliyoruz */
.menu-item {
    position: relative; /* Mega menünün referans alacağı ata element */
}

.mega-menu {
    position: absolute;
    top: 100%; /* Menü elemanının hemen altından başlasın */
    z-index: 10001 !important; /* Açılır menüler en üstte görünmeli ki fiyat bandını kapatabilsin */
}

/* 4. Sayfa içeriğinin (main#page-content) menülerin arkasına kaçıp gizlenmesini engellemek için boşluk bırakıyoruz */
#page-content {
    padding-top: calc(36px + 80px) !important; /* Ticker (36px) + Header (80px) toplamı kadar üstten boşluk */
}

/* 5. Mobil menü konumu ayarı */
.mobile-menu {
    position: fixed !important;
    top: calc(36px + 80px) !important; /* Mobil menü de tam header bitiminde açılsın */
    height: calc(100vh - 116px) !important;
    z-index: 9998 !important;
}