html {
  scroll-behavior: smooth;
}



:root {
  --dark-main: #0b132b;
  --dark-card: #1c2541;
  --gold: #d4af37;
  --gold-hover: #c9a227;
  --text-light: #ffffff;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  padding: 4px;
  object-fit: contain;
}


body {
    background: #0b1220;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

/* NAVBAR */
.main-navbar {
    background: linear-gradient(90deg, #0b1220, #101a33);
    padding: 15px 0;
}

/* HERO */
.hero-section {
    min-height: 100vh;
    background: radial-gradient(circle at top, #1b2a52, #0b1220);
    padding-top: 120px;
}

/* SECTIONS */
.section-dark {
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}


/* STATS SECTION */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #0e162b, #0b1220);
}

.stat-card {
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 40px 20px;
    transition: 0.3s;
}

.stat-card h2 {
    color: #ffc107;
    font-weight: 700;
}

.stat-card p {
    color: #ccc;
}

.stat-card:hover {
    transform: translateY(-6px);
}

/* WHY SECTION */
.why-section {
    padding: 100px 0;
    background: #0b1220;
}

.why-card {
    background: rgba(255,255,255,0.04);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: 0.3s;
}

.why-card h5 {
    color: #fff;
    margin-bottom: 15px;
}

.why-card p {
    color: #bbb;
}

.why-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.07);
}

/* GOLD BUTTON (GLOBAL) */
.btn-gold {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #0b1220;
    border: none;
    font-weight: 600;
    border-radius: 10px;
    padding: 8px 18px;
    transition: 0.3s;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #c9a227, #b8961f);
    color: #0b1220;
}

/* ================= PLANS ================= */
.plan-card {
  background: rgba(255,255,255,0.05);
  border-radius: 22px;
  padding: 40px 30px;
  text-align: center;
  transition: 0.35s;
  border: 1px solid rgba(255,255,255,0.08);
}

.plan-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.plan-card h3 {
  color: var(--gold);
  margin-bottom: 20px;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.plan-card ul li {
  margin: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.plan-card:hover {
  transform: translateY(-10px);
}

/* PLAN COLORS */
.plan-card.bronze {
  border-color: #cd7f32;
}

.plan-card.silver {
  border-color: #c0c0c0;
}

.plan-card.gold {
  border-color: #d4af37;
}


.plan-card {
    background: linear-gradient(180deg, #1c2541, #0b132b);
    border-radius: 22px;
    padding: 35px 30px;
    color: #fff;
    height: 100%;
}

.plan-title {
    font-weight: 600;
    text-align: center;
}

.plan-daily {
    text-align: center;
    color: #ccc;
    margin-bottom: 20px;
}

.plan-price {
    text-align: center;
    color: var(--gold);
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 25px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.plan-features li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    font-size: 15px;
}

.plan-features li i {
    color: var(--gold);
    margin-right: 10px;
    min-width: 20px;
}

.plan-features span {
    flex: 1;
    color: #ddd;
}

.plan-features strong {
    color: var(--gold);
}

.invest-btn {
    border-radius: 30px;
    padding: 12px;
    font-weight: 600;
}

/* PLAN FEATURES WITH ICONS */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    font-size: 15px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: var(--gold);
    font-size: 18px;
    width: 30px;
}

.plan-features li span {
    flex: 1;
    color: #ddd;
    margin-left: 10px;
}

.plan-features li strong {
    color: var(--gold);
    font-weight: 600;
}

/* ================= FIX PLAN FEATURES (ICON LAYOUT OVERRIDE) ================= */

.plan-card .plan-features {
    margin-top: 25px !important;
    padding: 0 !important;
}

.plan-card .plan-features li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
    padding: 12px 0 !important;
    border-bottom: 1px dashed rgba(255,255,255,0.18) !important;
    text-align: left !important;
}

.plan-card .plan-features li:last-child {
    border-bottom: none !important;
}

.plan-card .plan-features li i {
    color: var(--gold) !important;
    font-size: 18px !important;
    width: 28px !important;
    text-align: center;
    flex-shrink: 0;
}

.plan-card .plan-features li span {
    flex: 1 !important;
    color: #ddd !important;
    font-size: 14px;
}

.plan-card .plan-features li strong {
    color: var(--gold) !important;
    font-weight: 600 !important;
    font-size: 14px;
}



/* ================= FOOTER ================= */

.main-footer {
  background: linear-gradient(180deg, #0b1220, #0b132b);
  padding: 80px 0 30px;
  color: #ccc;
}

.footer-brand {
  color: #fff;
  font-weight: 700;
}

.footer-brand span {
  color: var(--gold);
}

.footer-text {
  font-size: 14px;
  margin: 15px 0 20px;
  color: #aaa;
}

.main-footer h5 {
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.main-footer ul {
  list-style: none;
  padding: 0;
}

.main-footer ul li {
  margin-bottom: 10px;
}

.main-footer ul li a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.main-footer ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  margin-right: 8px;
  color: #fff;
  transition: 0.3s;
  text-decoration: none;

}

.footer-social a:hover {
  background: var(--gold);
  color: #0b1220;
}

.footer-line {
  border-color: rgba(255,255,255,0.1);
  margin: 40px 0 20px;
}

.footer-copy {
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* ===== Scroll Animation ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}



.timer-badge {
    background: #1e293b;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    color: #facc15;
    font-size: 14px;
}

/* ===============================
   PREMIUM WITHDRAW PAGE
================================ */

.withdraw-page {
    color: #e5e7eb;
}

/* Page title */
.page-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

/* Cards */
.withdraw-card {
    background: linear-gradient(145deg, #0f172a, #020617);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
}

.withdraw-card span {
    font-size: 13px;
    color: #9ca3af;
}

.withdraw-card h4 {
    margin-top: 6px;
    font-weight: 700;
    color: #facc15;
}

/* Highlight card */
.withdraw-card.highlight h4 {
    color: #22c55e;
}

/* Danger card */
.withdraw-card.danger h4 {
    color: #f87171;
}

/* Withdraw form */
.withdraw-form-card {
    background: linear-gradient(145deg, #020617, #020617);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 15px 40px rgba(0,0,0,0.45);
}

.withdraw-input {
    background: #020617;
    border: 1px solid #1f2933;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
}

.withdraw-input:focus {
    border-color: #facc15;
    box-shadow: 0 0 0 2px rgba(250,204,21,0.15);
}

/* Button */
.withdraw-btn {
    width: 100%;
    background: linear-gradient(135deg, #facc15, #eab308);
    border: none;
    color: #111827;
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.withdraw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(250,204,21,0.35);
}

/* Section title */
.section-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

/* Table tweak */
.table-dark {
    border-radius: 12px;
    overflow: hidden;
}

.table-dark th {
    background: #020617;
    color: #9ca3af;
}

.table-dark td {
    background: #020617;
}

/* ===== ADMIN PREMIUM UI ===== */

.stat-card {
    background: linear-gradient(145deg, #0f172a, #020617);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.stat-card span {
    font-size: 13px;
    color: #9ca3af;
}

.stat-card h4 {
    margin-top: 6px;
    font-weight: 700;
    color: #facc15;
}

.content-box {
    background: linear-gradient(145deg, #020617, #020617);
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.admin-link {
    display: block;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-link i {
    margin-right: 8px;
    color: #facc15;
}

.admin-link:hover {
    background: rgba(250,204,21,0.12);
    color: #facc15;
    transform: translateY(-2px);
}

/* ============================= */
/* WITHDRAW PAGE - MOBILE FIX */
/* ============================= */

@media (max-width: 768px){

    /* Info cards stack */
    .withdraw-page .row.g-3 > div{
        flex: 0 0 100%;
        max-width: 100%;
    }

    .withdraw-card{
        margin-bottom: 12px;
        text-align: center;
    }

    /* Withdraw form full width */
    .withdraw-form-card{
        padding: 16px;
    }

    .withdraw-input{
        width: 100%;
        font-size: 15px;
        padding: 12px;
    }

    .withdraw-btn{
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }

    /* Table scroll instead of zoom */
    .withdraw-page table{
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .withdraw-page table th,
    .withdraw-page table td{
        font-size: 13px;
        padding: 10px;
    }
}

/* =========================
   PROFIT HISTORY - MOBILE
========================= */
@media (max-width: 768px){

    .profit-table table,
    .profit-table thead,
    .profit-table tbody,
    .profit-table th,
    .profit-table td,
    .profit-table tr{
        display:block;
        width:100%;
    }

    .profit-table thead{
        display:none;
    }

    .profit-table tr{
        background:#020617;
        margin-bottom:12px;
        border-radius:12px;
        padding:12px;
        border:1px solid rgba(255,255,255,.08);
    }

    .profit-table td{
        display:flex;
        justify-content:space-between;
        padding:6px 0;
        font-size:14px;
    }

    .profit-table td::before{
        content:attr(data-label);
        color:#9ca3af;
        font-weight:600;
    }
}

/* =========================
   REFERRALS - MOBILE VIEW
========================= */
@media (max-width: 768px){

    .referral-table table,
    .referral-table thead,
    .referral-table tbody,
    .referral-table th,
    .referral-table td,
    .referral-table tr{
        display:block;
        width:100%;
    }

    .referral-table thead{
        display:none;
    }

    .referral-table tr{
        background:#020617;
        margin-bottom:14px;
        border-radius:14px;
        padding:14px;
        border:1px solid rgba(255,255,255,.08);
    }

    .referral-table td{
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding:6px 0;
        font-size:14px;
    }

    .referral-table td::before{
        content:attr(data-label);
        color:#9ca3af;
        font-weight:600;
    }
}

/* =========================
   ADMIN LOGIN – RESPONSIVE
========================= */

.admin-login-wrapper{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:15px;
    background:radial-gradient(circle at top,#0f172a,#020617);
}

.admin-login-box{
    width:100%;
    max-width:420px;
    background:#020617;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:30px;
    box-shadow:0 25px 50px rgba(0,0,0,.45);
}

/* inputs */
.admin-login-box .form-control{
    width:100%;
    padding:13px 14px;
    font-size:15px;
    border-radius:12px;
}

/* button */
.admin-login-box button{
    width:100%;
    padding:13px;
    font-weight:600;
    border-radius:12px;
}

/* MOBILE FIX */
@media (max-width: 576px){

    .admin-login-box{
        padding:22px;
        border-radius:16px;
    }

    .admin-login-box h2,
    .admin-login-box h3{
        font-size:20px;
        text-align:center;
    }
}


/* ================================
   MOBILE RESPONSIVE TABLE (ADMIN)
================================ */
@media (max-width: 768px) {

    .table-responsive {
        overflow-x: hidden !important;
    }

    table {
        border: none;
    }

    table thead {
        display: none;
    }

    table tbody tr {
        display: block;
        background: #020617;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 14px;
        margin-bottom: 16px;
        padding: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,.35);
    }

    table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 8px;
        font-size: 14px;
        border: none;
        border-bottom: 1px dashed rgba(255,255,255,.08);
    }

    table tbody td:last-child {
        border-bottom: none;
    }

    table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #9ca3af;
        font-size: 13px;
    }

    /* Buttons inside table */
    table tbody td button,
    table tbody td a {
        font-size: 13px;
        padding: 6px 10px;
        border-radius: 8px;
    }
}

/* ===============================
   MOBILE RESPONSIVE TABLE FIX
================================ */
@media (max-width: 768px) {

    table thead {
        display: none;
    }

    table, 
    table tbody, 
    table tr, 
    table td {
        display: block;
        width: 100%;
    }

    table tr {
        background: rgba(255,255,255,0.03);
        margin-bottom: 16px;
        border-radius: 14px;
        padding: 12px;
        border: 1px solid rgba(255,255,255,0.08);
    }

    table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 8px;
        border: none;
        font-size: 14px;
    }

    table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #9ca3af;
    }

    table td:last-child {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: flex-end;
    }

    .btn {
        font-size: 13px;
        padding: 6px 10px;
    }
}
