/* Restore full-page layout */
body {
    background: url('../images/your-background.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
}

/* Ensure main container behaves properly */
.container, .main-content, .wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   GLOBAL FIX
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Poppins:wght@600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
}

i, .fa, .fas, .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

/* =========================
   BODY
========================= */
body {
    margin: 0;
    padding: 0;
    background: url('/assets/images/Background5.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
}

/* =========================
   HEADER
========================= */
.header {
    background: #111;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
}

/* =========================
   CENTERED PREMIUM NAV
========================= */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: #0b0e11;
    border-bottom: 1px solid #1e2329;
    position: relative;
}

/* LEFT + RIGHT */
.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* LINKS */
.header a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

/* HOVER */
.header a:hover {
    color: #FFDA4B;
}

/* UNDERLINE */
.header a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #FFDA4B;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.header a:hover::after {
    width: 100%;
} 

/* CENTER LOGO */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    height: 75px;
}

/* RESPONSIVE (optional but good) */
/* @media (max-width: 900px) {
    .nav-left,
    .nav-right {
        gap: 12px;
        font-size: 13px;
    }

    .logo {
        height: 45px;
    }
} */

/* =========================
   CONTAINER
========================= */
.container {
    width: 92%;
    max-width: 1350px;
    margin: 50px auto;
}

/* =========================
   CARDS
========================= */
.card {
    background: #2542af;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* =========================
   BUTTONS
========================= */
.btn {
    background: #FFDA4B;
    color: #000;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

/* =========================
   INPUTS
========================= */
input, select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    margin-bottom: 10px;
}

/* =========================
   TABLE
========================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #1a1a1a;
}

table th {
    background: #1e2a78;
    padding: 12px;
    text-align: left;
}

table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

table tr:hover {
    background: rgba(255,255,255,0.05);
}

/* =========================
   HEADINGS
========================= */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: #FFDA4B;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #0a0a0a;
    padding: 20px;
    margin-top: 40px;
}

/* =========================
   REGISTER
========================= */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.register-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    width: 350px;
}

/* =========================
   STATS (FINAL CLEAN)
========================= */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #1e2a78, #2542af);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #4fc3f7;
}

.stat-card h3 {
    font-size: 28px;
    margin: 10px 0;
    color: #FFDA4B;
}

/* =========================
   TOAST
========================= */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #2542af;
    color: #fff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    min-width: 250px;
    opacity: 0;
    transform: translateX(100%);
    transition: 0.4s;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success { background: #28a745; }
.toast.error { background: #dc3545; }
.toast.warning { background: #ffc107; color: #000; }

/* =========================
   DASHBOARD LAYOUT FIX
========================= */

.dashboard {
    max-width: 1350px;
    margin: 0 auto;
}

/* BALANCE CARD */
.balance-box {
    background: linear-gradient(135deg, #1e2a78, #020617);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #222;
}

.balance-box h2 {
    font-size: 32px;
    margin: 5px 0;
}

/* WELCOME TEXT */
.welcome {
    font-size: 22px;
    margin: 20px 0;
}

/* INFO BLOCK */
.info-box {
    background: #0b0e11;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #1e2329;
}

/* LABELS */
.label {
    font-size: 13px;
    color: #aaa;
}

.value {
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
}

/* ACTION LINKS */
.quick-links {
    margin-top: 15px;
}

.quick-links a {
    display: inline-block;
    margin-right: 15px;
    padding: 8px 14px;
    background: #FFDA4B;
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.quick-links a:hover {
    transform: translateY(-2px);
}

/* SECTION TITLE */
.section-title {
    margin-top: 40px;
    margin-bottom: 15px;
}

.card,
.balance-card,
.info-box {
    margin-bottom: 25px;
}

/* TABLE IMPROVEMENT */
table th {
    background: #1e2a78;
    color: white;
}

table td {
    color: #ddd;
}
/* =========================
   FIX YOUR CURRENT CLASSES
========================= */

/* BALANCE */
.balance-card {
    background: linear-gradient(135deg, #1e2a78, #020617);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #222;
}

.balance-card h2 {
    font-size: 32px;
}

/* WELCOME */
.welcome-text {
    font-size: 22px;
    margin: 20px 0;
}

/* MINI STATS */
.mini-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.mini-card {
    background: #0b0e11;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #1e2329;
}

.mini-card span {
    font-size: 13px;
    color: #aaa;
}

.mini-card h3 {
    margin-top: 8px;
    color: #FFDA4B;
}

/* ACTION BUTTONS */
.binance-actions {
    margin: 20px 0;
}

.binance-actions a {
    display: inline-block;
    margin-right: 15px;
    padding: 10px 15px;
    background: #FFDA4B;
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.binance-actions a:hover {
    transform: translateY(-2px);
}
/* =========================
   INVESTMENT GRID (FIXED)
========================= */

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* CARD */
.investment-card {
    background: linear-gradient(135deg, #1e2a78, #020617);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: 0.3s;
}

.investment-card:hover {
    transform: translateY(-5px);
}

/* HEADER */
.inv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.inv-header h4 {
    margin: 0;
}

/* STATUS BADGES */
.status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 5px;
}

.status.active {
    background: #28a745;
}

.status.completed {
    background: #6c757d;
}

.status.pending {
    background: orange;
}

/* AMOUNT */
.amount {
    font-size: 22px;
    font-weight: bold;
    color: #FFDA4B;
    margin-bottom: 10px;
}

/* PROGRESS BAR */
.progress-bar {
    background: #111;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #FFDA4B, #f0b90b);
    width: 0%;
    transition: width 0.5s ease;
}
/* =========================
   PREMIUM INFO GRID
========================= */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

/* CARD */
.info-card {
    background: linear-gradient(135deg, #0b0e11, #020617);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #1e2329;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-5px);
}

/* HIGHLIGHT CARD (earnings) */
.info-card.highlight {
    background: linear-gradient(135deg, #1e2a78, #2542af);
    border: none;
}

/* LABEL */
.info-card .label {
    font-size: 13px;
    color: #aaa;
}

/* VALUES */
.info-card .value {
    margin-top: 8px;
    color: #FFDA4B;
}

/* BIG NUMBER */
.info-card h2 {
    font-size: 28px;
}

/* ACTION CARD */
.info-card.actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* BUTTON GROUP */
.action-buttons {
    margin-top: 10px;
}

/* BUTTON SPACING */
.action-buttons a {
    margin-right: 10px;
    margin-top: 5px;
}

/* DEPOSIT BUTTON */
.btn.deposit {
    background: #28a745;
    color: #fff;
}

/* WITHDRAW BUTTON */
.btn.withdraw {
    background: #dc3545;
    color: #fff;
}

/* =========================
   PREMIUM FOOTER
========================= */

.footer {
    background: #0b0e11;
    padding: 30px 50px;
    border-top: 1px solid #1e2329;
    margin-top: 40px;
}

/* MAIN LAYOUT FIX */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* prevents breaking on small screens */
}

/* LEFT */
.footer-left h3 {
    color: #FFDA4B;
    margin-bottom: 5px;
}

.footer-left p {
    color: #aaa;
    font-size: 14px;
}

/* RIGHT */
.footer-right {
    text-align: right;
}

.footer-right p {
    color: #777;
    font-size: 13px;
    margin: 2px 0;
}

/* RESPONSIVE FIX */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
        
        
        
/* =========================
   PREMIUM FORM
========================= */

.form-card {
    background: linear-gradient(135deg, #0b0e11, #020617);
    padding: 35px;
    border-radius: 15px;
    max-width: 420px;
    margin: 60px auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* INPUT */
.form-card input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    margin-bottom: 15px;
    background: #1a1f2e;
    color: #fff;
    font-size: 14px;
}

/* PLACEHOLDER */
.form-card input::placeholder {
    color: #888;
}

/* FILE INPUT (HIDDEN) */
.form-card input[type="file"] {
    display: none;
}

/* CUSTOM FILE BUTTON */
.file-upload {
    display: inline-block;
    padding: 12px 18px;
    background: #1e2a78;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: 0.3s;
}

.file-upload:hover {
    background: #2542af;
}

/* BUTTON */
.form-card .btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #FFDA4B, #ffc107);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

/* =========================
   PREMIUM FORM
========================= */

.form-card {
    background: linear-gradient(135deg, #0b0e11, #020617);
    padding: 35px;
    border-radius: 15px;
    max-width: 420px;
    margin: 60px auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* INPUT */
.form-card input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    margin-bottom: 15px;
    background: #1a1f2e;
    color: #fff;
    font-size: 14px;
}

/* PLACEHOLDER */
.form-card input::placeholder {
    color: #888;
}

/* FILE INPUT (HIDDEN) */
.form-card input[type="file"] {
    display: none;
}

/* CUSTOM FILE BUTTON */
.file-upload {
    display: inline-block;
    padding: 12px 18px;
    background: #1e2a78;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: 0.3s;
}

.file-upload:hover {
    background: #2542af;
}

/* BUTTON */
.form-card .btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #FFDA4B, #ffc107);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

/* BUTTON HOVER */
.form-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,218,75,0.4);
}  

/* =========================
   PREMIUM FORM
========================= */

.form-card {
    background: linear-gradient(135deg, #0b0e11, #020617);
    padding: 35px;
    border-radius: 15px;
    max-width: 420px;
    margin: 60px auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* INPUT */
.form-card input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    margin-bottom: 15px;
    background: #1a1f2e;
    color: #fff;
    font-size: 14px;
}

/* PLACEHOLDER */
.form-card input::placeholder {
    color: #888;
}

/* FILE INPUT (HIDDEN) */
.form-card input[type="file"] {
    display: none;
}

/* CUSTOM FILE BUTTON */
.file-upload {
    display: inline-block;
    padding: 12px 18px;
    background: #1e2a78;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: 0.3s;
}

.file-upload:hover {
    background: #2542af;
}

/* BUTTON */
.form-card .btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #FFDA4B, #ffc107);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

/* BUTTON HOVER */
.form-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,218,75,0.4);
}
/* =========================
   AUTH (LOGIN / REGISTER)
========================= */

.auth-container {
    min-height: 100vh;
    padding-top: 100px;   /* adjust based on navbar height */
    padding-bottom: 60px; /* space above footer */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* important */
}

.auth-card {
    background: linear-gradient(135deg, #0b0e11, #020617);
    padding: 40px;
    border-radius: 15px;
    width: 350px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    text-align: center;
}

.auth-card h2 {
    color: #FFDA4B;
    margin-bottom: 20px;
}

/* INPUT */
.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.input-group input {
    width: 100%;
    padding: 12px 12px 12px 35px;
    border-radius: 8px;
    border: none;
    background: #1a1f2e;
    color: #fff;
}

/* BUTTON */
.btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #FFDA4B, #ffc107);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,218,75,0.4);
}

/* ERROR */
.error {
    background: #ff4d4d;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* LINK */
.auth-link {
    margin-top: 15px;
    font-size: 13px;
}

.auth-link a {
    color: #FFDA4B;
    text-decoration: none;
}
/* =========================
   RIPPLE EFFECT
========================= */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
.approval-box {
    margin-bottom:20px;
    padding:20px;
    border-radius:12px;
    background:linear-gradient(135deg, #0d6efd, #0a58ca);
    color:white;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
}
/* MAKE NAV BIGGER */
.header a {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px; /* space between icon + text */
}

/* ICON SIZE */
.header a i {
    font-size: 16px;
}

/* MORE SPACING BETWEEN LINKS */
.nav-left,
.nav-right {
    gap: 30px;
}

/* MAKE HEADER A BIT TALLER */
.header {
    padding: 50px 80px;
}

/* SLIGHTLY BIGGER LOGO */
.logo {
    height: 85px;
}
/* FIX HEADER JUMP WITHOUT BREAKING YOUR DESIGN */
.header {
    transition: all 0.3s ease;
}

.header.scrolled {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}
/* PROGRESS BAR */
.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFDA4B, #ffc107);
    width: 0%;
    transition: width 0.5s ease;
}
/* =========================
   PREMIUM INVESTMENT CARDS
========================= */

.investment-card {
    position: relative;
    background: linear-gradient(145deg, #0b0e11, #020617);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #1e2329;
    overflow: hidden;
    transition: all 0.35s ease;
}

/* GLOW BORDER EFFECT */
.investment-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(120deg, transparent, #FFDA4B, transparent);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
    z-index: 0;
}

/* HOVER */
.investment-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.investment-card:hover::before {
    opacity: 1;
}

/* HEADER */
.inv-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* BADGE */
.badge {
    background: linear-gradient(135deg, #FFDA4B, #ffc107);
    color: #000;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
}

/* PRICE */
.amount {
    font-size: 32px;
    font-weight: 700;
    margin: 15px 0;
    color: #FFDA4B;
}

/* DETAILS GRID */
.package-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.package-details div {
    text-align: center;
}

.package-details span {
    font-size: 12px;
    color: #aaa;
}

.package-details strong {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    color: #fff;
}

/* PROGRESS */
.progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    margin: 15px 0;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #FFDA4B, #ffc107);
    width: 0%;
    animation: loadBar 1.5s ease forwards;
}

@keyframes loadBar {
    from { width: 0; }
}

/* BUTTON */
.investment-card .btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFDA4B, #ffc107);
    border: none;
    font-weight: bold;
    transition: 0.3s;
}

.investment-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,218,75,0.4);
}
.investment-card::before {
    pointer-events: none;
}
.investment-card {
    position: relative;
    z-index: 1;
}

.investment-card .btn {
    position: relative;
    z-index: 2;
    cursor: pointer;
}
/* FORCE BUTTON CLICK FIX */
.investment-card form {
    position: relative;
    z-index: 5;
}

.investment-card button {
    position: relative;
    z-index: 10;
}
/* FORCE BUTTON CLICK FIX */
.investment-card form {
    position: relative;
    z-index: 5;
}

.investment-card button {
    position: relative;
    z-index: 10;
}
/* 💎 Card Styling */
.register-card {
    background: #1e1e2f;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    max-width: 420px;
    margin: auto;
    text-align: center;
}

/* ✨ Title */
.register-card h2 {
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

/* 📥 Inputs */
.input-group input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #2c2c3e;
    color: #fff;
    font-size: 14px;
}

/* 💡 Input focus */
.input-group input:focus {
    border: 1px solid #4CAF50;
    background: #252537;
}

/* 🟡 GOLD WITHDRAW BUTTON (PREMIUM) */
.btn-register {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;

    background: linear-gradient(135deg, #FFDA4B, #ffc107);
    color: #000;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;

    cursor: pointer;
    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
}

/* ✨ HOVER GLOW */
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 218, 75, 0.5);
}

/* 🔥 CLICK EFFECT */
.btn-register:active {
    transform: scale(0.97);
}

/* 💎 SHINE ANIMATION */
.btn-register::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-25deg);
    transition: 0.6s;
}

.btn-register:hover::after {
    left: 120%;
}
.input-group input:focus {
    border: 1px solid #f1c40f;
    background: #1f2235;
}
/* =========================
   FIX INPUT ICON ALIGNMENT (FINAL)
========================= */

.input-group {
    position: relative;
    margin-bottom: 18px;
}

/* ICON */
.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 15px;
    pointer-events: none;
}

/* INPUT FIELD */
.input-group input {
    width: 100%;
    padding: 14px 14px 14px 45px; /* SPACE FOR ICON */
    border-radius: 10px;
    border: none;
    background: #2c2f4a;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

/* FOCUS EFFECT */
.input-group input:focus {
    border: 1px solid #FFDA4B;
    background: #1f2235;
}

/* PLACEHOLDER */
.input-group input::placeholder {
    color: #888;
}
/* =========================
   GOLD INVEST BUTTON
========================= */

.invest-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFDA4B, #f1c40f);
    color: #000;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* HOVER EFFECT */
.invest-btn:hover {
    background: #000;
    color: #FFDA4B;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* CLICK EFFECT */
.invest-btn:active {
    transform: scale(0.97);
}
.investment-card::before {
    pointer-events: none !important;
}

.investment-card form,
.investment-card button {
    position: relative;
    z-index: 10;
}
.btn-sm {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
}
/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-box {
    background: #2a2a40;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.stat-box h4 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #aaa;
}

.stat-box p {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

/* subtle hover */
.stat-box:hover {
    transform: translateY(-3px);
    transition: 0.2s;
}
.white-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 600px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

hr {
    margin: 25px 0;
}

.btn-success {
    background: #28a745;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.btn-success:hover {
    background: #218838;
}
/* TABLE CONTAINER (FIXES ALIGNMENT + SIZE) */
.table-card {
    max-width: 1100px;
    margin: 30px auto;
    background: linear-gradient(135deg, #0b0e11, #020617);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #1e2329;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* TABLE FULL WIDTH */
.custom-table {
    width: 100%;
    border-collapse: collapse;
}

/* HEADER */
.custom-table th {
    background: #1e2a78;
    color: #fff;
    padding: 14px;
    text-align: left;
}

/* ROWS */
.custom-table td {
    padding: 14px;
    color: #ddd;
    border-bottom: 1px solid #1e2329;
}

/* STRIPES */
.custom-table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

/* HOVER EFFECT */
.custom-table tr:hover {
    background: rgba(255,218,75,0.05);
}
/* Fix country dropdown background */
.iti__country-list {
    background-color: #fff !important;
    color: #000 !important;
    z-index: 9999;
}

/* Fix each country item */
.iti__country {
    color: #000 !important;
}

/* Hover state */
.iti__country:hover {
    background-color: #f1f1f1 !important;
    color: #000 !important;
}

/* Selected/highlighted */
.iti__country.iti__highlight {
    background-color: #e6e6e6 !important;
    color: #000 !important;
}

/* Dial code (+27 etc) */
.iti__dial-code {
    color: #333 !important;
}
input, select, textarea {
    font-family: 'Poppins', sans-serif;
}
body,
input,
textarea,
select,
button {
    font-family: 'Poppins', sans-serif;
}


  /* Pagination */
.pagination{
    margin-top:20px;
    text-align:center;
}

.pagination a,
.pagination strong{
    display:inline-block;
    padding:8px 14px;
    margin:3px;
    border-radius:5px;
    text-decoration:none;
    background:#f4f4f4;
   
}

.pagination a:hover{
    background:#28a745;
    color:#fff;
}

.pagination strong{
    background:#28a745;
    color:#fff;
}

/* REFERAL CODE */
.info-card.referral-container {
            font-family: Arial, sans-serif;
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 20px;
        }
        .code-box {
            font-weight: bold;
            font-weight: 100;
            color:green;
            font-size: 10px;
            /* background-color: #f3f4f6; */
            padding: 10px 15px;
            border: 1px dashed #9ca3af;
            border-radius: 5px;
            letter-spacing: 1px;
        }
        .copy-btn {
            background-color: #2563eb;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.2s;
        }
        .copy-btn:hover {
            background-color: #1d4ed8;
        }


/* ================================
   HEADER
================================ */

.header {
    width: 100%;
    min-height: 75px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 25px;
    box-sizing: border-box;
    z-index: 9999;
}


/* ================================
   LEFT MENU
================================ */

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-left a,
.nav-right a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 15px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-left a i,
.nav-right a i {
    font-size: 16px;
}

.nav-left a:hover,
.nav-right a:hover {
    background: #1f3b63;
    color: #fff;
}


/* ================================
   CENTER LOGO
================================ */

.nav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}


/* ================================
   MOBILE MENU BUTTON
================================ */

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    padding: 8px;
}


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

.mobile-only {
    display: none;
}


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

@media (max-width: 1100px) {

    .header {
        padding: 0 15px;
    }

    .nav-left a,
    .nav-right a {
        padding: 10px 8px;
        font-size: 13px;
    }

    .logo {
        width: 150px;
    }

}


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

@media (max-width: 768px) {

    .header {
        min-height: 65px;
        padding: 0 15px;
        justify-content: center;
    }


    /* HAMBURGER */

    .menu-toggle {
        display: block;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10001;
    }


    /* LOGO */

    .nav-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .logo {
        width: 145px;
    }


    /* HIDE DESKTOP MENUS */

    .nav-left,
    .nav-right {
        display: none;
    }


    /* MOBILE DROPDOWN */

    .nav-left.mobile-open {
        display: flex;
    }

    .nav-left {
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.4);
        box-sizing: border-box;
    }


    .nav-left > a,
    .mobile-only a {
        width: 100%;
        box-sizing: border-box;
        padding: 14px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        justify-content: flex-start;
        font-size: 15px;
    }


    .nav-left > a:hover,
    .mobile-only a:hover {
        background: #1f3b63;
    }


    /* SHOW MOBILE LINKS */

    .mobile-only {
        display: block;
        width: 100%;
    }


    .mobile-only a {
        display: flex;
    }

}


/* ================================
   SMALL PHONES
================================ */

@media (max-width: 480px) {

    .header {
        min-height: 60px;
    }

    .nav-left {
        top: 60px;
    }

    .logo {
        width: 125px;
    }

    .menu-toggle {
        left: 10px;
        font-size: 23px;
    }

}