/* ========================================
   XTB Investment Platform - Black & Orange Landing Page
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #050505;
    --surface: #111111;
    --surface-soft: #141414;
    --text: #f5f5f5;
    --muted: #b5b5b5;
    --accent: #ff9000;
    --accent-2: #ffb347;
    --accent-soft: rgba(255, 144, 0, 0.16);
    --white: #ffffff;
    --positive: #34d399;
    --negative: #fb7185;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.24);

    /* Legacy alias variables for admin/user pages */
    --primary-color: var(--accent);
    --secondary-color: var(--accent-2);
    --light-color: rgba(255,255,255,0.04);
    --dark-color: var(--surface);
    --text-color: var(--text);
    --border-color: var(--border);
    --warning-color: #ffb84d;
    --success-color: var(--positive);
    --danger-color: var(--negative);
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top, var(--accent-soft), transparent 18%),
                linear-gradient(180deg, var(--bg) 0%, #090909 100%);
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 1rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(255, 144, 0, 0.45);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 144, 0, 0.12);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

img,
canvas,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background: rgba(255, 144, 0, 0.22);
    color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 3rem 0;
}

.section-dark {
    background: #090909;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    letter-spacing: -0.04em;
}

.section-title p {
    color: var(--muted);
    font-size: 1rem;
    margin-top: 0.8rem;
}

.row {
    display: grid;
    gap: 1rem;
}

.col,
.col-6,
.col-full {
    width: 100%;
}

.col-6 {
    grid-column: span 1;
}

.col-full {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f2f2f2;
}

@media (min-width: 768px) {
    .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .col-6 {
        grid-column: span 1;
    }
}

@media (min-width: 1024px) {
    .row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    border: none;
    padding: 0.95rem 1.75rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
}

.navbar-nav .btn {
    min-width: 118px;
    animation: fadeInUp 0.45s ease forwards;
}

.navbar-nav .btn:hover {
    box-shadow: 0 12px 28px rgba(255, 144, 0, 0.24);
}

/* Button icon styling and animations */
.btn .btn-icon {
    margin-right: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-6px);
    animation: iconIntro 0.45s ease forwards;
}

.btn:hover .btn-icon {
    transform: translateX(6px);
    transition: transform 0.22s ease;
}

@keyframes iconIntro {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Subtle hover emphasis for buttons */
.btn:hover {
    box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #111;
    box-shadow: 0 20px 45px rgba(255, 144, 0, 0.24);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--accent-soft);
}

.btn-light {
    background: #ffffff;
    color: #111;
    box-shadow: 0 16px 35px rgba(255, 255, 255, 0.12);
}

.btn-sm {
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* Navbar */

.navbar {
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 1rem 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1rem;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 800;
}

.logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.14);
}

.navbar-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.2rem 1rem;
    gap: 1rem;
}

.navbar-nav.active {
    display: flex;
}

.navbar-nav a {
    color: var(--text);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--accent);
    transform: translateX(2px);
}

.nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    color: var(--accent);
}

.navbar-toggler {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.navbar-toggler span {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--text);
}

/* Hero */

.hero {
    position: relative;
    padding: 4rem 0 3rem;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255, 144, 0, 0.14), transparent 18%),
                radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.08), transparent 16%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-copy {
    max-width: 640px;
    z-index: 1;
}

.eyebrow {
    display: inline-block;
    padding: 0.6rem 1rem;
    margin-bottom: 1.35rem;
    border-radius: 999px;
    background: rgba(255, 144, 0, 0.12);
    color: var(--accent);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 7vw, 3.4rem);
    margin-bottom: 1.2rem;
    line-height: 1.05;
}

.hero-copy p {
    font-size: 1.05rem;
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2rem;
}

.hero-copy,
.hero-panel,
.metric-card,
.market-card,
.mini-card,
.testimonial-card {
    opacity: 0;
    transform: translateY(14px);
    animation: fadeInUp 0.75s ease forwards;
}

.hero-copy {
    animation-delay: 0.15s;
}

.hero-panel {
    animation-delay: 0.3s;
}

.metric-card {
    animation-delay: 0.45s;
}

.market-card,
.mini-card {
    animation-delay: 0.5s;
}

.testimonial-card {
    animation-delay: 0.55s;
}

.hero-buttons {
    display: grid;
    gap: 1rem;
    width: min(100%, 500px);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .hero-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hero-metrics {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .hero-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.metric-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.35rem 1.45rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.metric-card span {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.45rem;
}

.metric-card small {
    color: var(--muted);
}

.hero-panel {
    z-index: 1;
}

.market-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.market-header p {
    color: var(--muted);
    font-size: 0.95rem;
}

.market-header h3 {
    font-size: 2rem;
    margin-top: 0.35rem;
    color: var(--text);
}

.market-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.95rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .market-footer {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.market-footer div {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1rem 1.1rem;
}

.market-footer small {
    display: block;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.market-footer strong {
    display: block;
    color: var(--text);
    font-size: 1.05rem;
}

.market-change {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.98rem;
}

.market-change.positive {
    color: var(--positive);
}

.market-change.negative {
    color: var(--negative);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 144, 0, 0.18);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
}

.badge-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Live Market */

.chart-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .chart-grid {
        grid-template-columns: 1.65fr 0.85fr;
    }
}

.chart-card,
.mini-card {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.chart-card {
    padding: 1.75rem;
}

.chart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.chart-card-header h3 {
    margin-bottom: 0.35rem;
}

.chart-card-header p {
    color: var(--muted);
    font-size: 0.95rem;
}

.chart-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .chart-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.chart-stats div {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1rem;
}

.chart-stats strong {
    display: block;
    margin-top: 0.45rem;
    color: var(--text);
    font-size: 1.05rem;
}

.market-cards {
    display: grid;
    gap: 1rem;
}

.mini-card {
    padding: 1.5rem;
}

.mini-card span {
    display: block;
    color: var(--muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.mini-card strong {
    font-size: 1.6rem;
    color: var(--text);
}

/* Investment Plans */

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.8rem;
    min-height: 100%;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 144, 0, 0.16), rgba(255, 255, 255, 0.04) 44%, rgba(0, 0, 0, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.plan-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.06) 45%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.plan-card:hover::before {
    transform: translateX(100%);
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 144, 0, 0.45);
}

.plan-card.featured {
    background: linear-gradient(135deg, rgba(255, 144, 0, 0.22), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 144, 0, 0.45);
    box-shadow: 0 34px 95px rgba(255, 144, 0, 0.2);
}

.plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.plan-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #111;
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 16px 30px rgba(255, 144, 0, 0.28);
}

.plan-badge {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-2);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
}

.plan-roi {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
}

.plan-description {
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.plan-details {
    display: grid;
    gap: 0.8rem;
    margin-top: auto;
}

.plan-item {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.plan-label {
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.plan-value {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--white);
}

.plan-card .btn-block {
    margin-top: auto;
    width: 100%;
    border-radius: 16px;
    padding: 0.95rem 1rem;
    font-weight: 800;
}

/* Asset Choice Cards */

.asset-section {
    margin-top: 2.2rem;
    position: relative;
}

.asset-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

.plan-home-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

.plan-card-home {
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.98), rgba(17, 20, 24, 0.96));
    border: 1px solid rgba(252, 213, 53, 0.14);
    border-radius: 22px;
    padding: 1.4rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan-card-home:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.plan-card-home.popular-card {
    border-color: #fcd535;
    transform: scale(1);
    box-shadow: 0 0 35px rgba(252, 213, 53, 0.25);
}

.plan-card-home.premium-card {
    border-color: rgba(252, 213, 53, 0.22);
}

.plan-home-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    gap: 0.8rem;
}

.plan-home-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #fcd535;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111;
    font-size: 1.35rem;
}

.plan-home-badge {
    background: rgba(252, 213, 53, 0.15);
    color: #fcd535;
    padding: 0.5rem 0.9rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.plan-home-title {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}

.plan-home-subtitle {
    color: #fcd535;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plan-home-list {
    color: #d6d6d6;
    font-size: 0.96rem;
    line-height: 1.9;
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.plan-home-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.plan-home-item i {
    color: #fcd535;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.plan-home-action {
    display: block;
    text-align: center;
    text-decoration: none;
    background: #fcd535;
    color: #111;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(252, 213, 53, 0.3);
}

@media (min-width: 768px) {
    .asset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plan-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .asset-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .plan-home-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.asset-card {
    position: relative;
    padding: 1.6rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(8, 17, 31, 0.95), rgba(10, 24, 42, 0.9));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 55px rgba(0,0,0,0.28);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: fadeUp 0.6s ease both;
}

.asset-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 45%, transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.asset-card:hover::before {
    transform: translateX(120%);
}

.asset-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 28px 80px rgba(0,0,0,0.38);
    border-color: rgba(255, 255, 255, 0.22);
}

.asset-card-blue {
    background: linear-gradient(135deg, rgba(10, 40, 80, 0.95), rgba(6, 18, 34, 0.95));
    border-color: rgba(70, 144, 255, 0.28);
}

.asset-card-purple {
    background: linear-gradient(135deg, rgba(61, 20, 93, 0.95), rgba(10, 18, 34, 0.95));
    border-color: rgba(180, 110, 255, 0.3);
}

.asset-card-gold {
    background: linear-gradient(135deg, rgba(97, 64, 10, 0.95), rgba(10, 18, 34, 0.95));
    border-color: rgba(255, 190, 70, 0.3);
}

.featured-card {
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(173, 95, 255, 0.2);
}

.asset-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.asset-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #08111f;
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6dd8ff, #4f8cff);
    box-shadow: 0 10px 24px rgba(79, 140, 255, 0.24);
}

.asset-card-purple .asset-icon {
    background: linear-gradient(135deg, #d5a7ff, #8f63ff);
}

.asset-card-gold .asset-icon {
    background: linear-gradient(135deg, #ffd97a, #ffb347);
}

.asset-pill {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #9dd4ff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.asset-card-purple .asset-pill {
    color: #f0d4ff;
}

.asset-card-gold .asset-pill {
    color: #ffd98a;
}

.asset-card h4 {
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
    font-weight: 800;
}

.asset-highlight {
    display: inline-block;
    margin-bottom: 0.9rem;
    color: #8bdcff;
    font-weight: 700;
    font-size: 1rem;
}

.asset-card-purple .asset-highlight {
    color: #e7c3ff;
}

.asset-card-gold .asset-highlight {
    color: #ffd98a;
}

.asset-amounts {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
}

.asset-amount {
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.085);
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.asset-amount i {
    color: #69f0ae;
}

.asset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.asset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.asset-btn-blue {
    background: linear-gradient(135deg, #4f8cff, #2dd4ff);
    color: #04111f;
}

.asset-btn-purple {
    background: linear-gradient(135deg, #b36eff, #ffbf5f);
    color: #120b20;
}

.asset-btn-gold {
    background: linear-gradient(135deg, #ffd97a, #ffb347);
    color: #130f08;
}

.asset-ribbon {
    position: absolute;
    top: 18px;
    right: -36px;
    background: linear-gradient(135deg, #ffcb63, #ff8a00);
    color: #111;
    font-weight: 800;
    font-size: 0.74rem;
    padding: 0.45rem 2.5rem;
    transform: rotate(35deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* Testimonials */

.testimonial-slider {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(5, minmax(280px, 1fr));
    gap: 1.25rem;
    transition: transform 0.85s ease;
    padding-bottom: 1rem;
}

@media (max-width: 767px) {
    .testimonial-track {
        display: flex;
        flex-direction: column;
        grid-auto-flow: unset;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-bottom: 0;
    }

    .testimonial-card {
        min-height: auto;
        padding: 1.35rem;
    }
}

.testimonial-card {
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 2rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.testimonial-card {
    border-left: 6px solid var(--accent);
    background: linear-gradient(180deg, rgba(255,144,0,0.03), rgba(255,144,0,0.01));
}

.testimonial-name {
    color: var(--accent);
}

.testimonial-image {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--accent);
}

.testimonial-country {
    color: var(--accent);
    margin-bottom: 0.85rem;
    font-size: 0.94rem;
}

.testimonial-rating {
    color: #ffbc4f;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

/* Accordion */

.accordion-item {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.accordion-header {
    padding: 1.35rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text);
    font-weight: 700;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    background: #0b0b0b;
}

.accordion-body.active {
    max-height: 260px;
    padding: 1rem 1.5rem 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.4rem 1rem;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.stat-label {
    color: var(--muted);
    font-size: 0.95rem;
}

.accordion-body p {
    color: var(--muted);
    line-height: 1.8;
}

.accordion-icon {
    color: var(--accent);
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

/* Footer */

footer {
    background: #070707;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

/* Authentication Pages */

.auth-page {
    background: radial-gradient(circle at top left, rgba(255, 144, 0, 0.16), transparent 24%),
                linear-gradient(135deg, #050505 0%, #0c0c0c 100%);
    color: var(--text);
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.auth-shell::before,
.auth-shell::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.45;
}

.auth-shell::before {
    width: 260px;
    height: 260px;
    background: rgba(255, 144, 0, 0.22);
    top: -40px;
    left: -40px;
}

.auth-shell::after {
    width: 320px;
    height: 320px;
    background: rgba(86, 146, 255, 0.18);
    bottom: -80px;
    right: -50px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: rgba(8, 11, 19, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease both;
}

.auth-card-wide {
    max-width: 620px;
}

.auth-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 29px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.auth-brand {
    text-align: center;
    margin-bottom: 1.6rem;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    font-weight: 800;
    font-size: 1.65rem;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 0.55rem;
}

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #111;
    box-shadow: 0 10px 24px rgba(255, 144, 0, 0.2);
}

.auth-brand p {
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f2f2f2;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    border-color: rgba(255, 144, 0, 0.45);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 144, 0, 0.12);
}

.auth-form small {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.checkbox-row-tight {
    margin: 0.4rem 0 1.2rem;
}

.checkbox-row input {
    width: auto;
    margin: 0;
}

.btn-block {
    width: 100%;
}

.auth-link {
    color: #ffb347;
    font-weight: 700;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.2rem 0 0.9rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-footnote {
    text-align: center;
    color: var(--muted);
    margin: 0;
}

.alert {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-danger {
    background: rgba(251, 113, 133, 0.12);
    color: #ffdce4;
    border-color: rgba(251, 113, 133, 0.25);
}

.alert-success {
    background: rgba(52, 211, 153, 0.14);
    color: #d8f8e8;
    border-color: rgba(52, 211, 153, 0.28);
}

.alert-info {
    background: rgba(77, 140, 255, 0.14);
    color: #dcecff;
    border-color: rgba(77, 140, 255, 0.28);
}

.auth-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .navbar-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        background: transparent;
        padding: 0;
        gap: 1.25rem;
        width: auto;
        box-shadow: none;
    }

    .navbar-toggler {
        display: none;
    }

    .auth-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .auth-card {
        padding: 1.35rem;
    }

    .auth-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .hero-grid,
    .chart-grid {
        grid-template-columns: 1fr;
    }

    .market-footer,
    .chart-stats {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: clamp(1.95rem, 7vw, 2.6rem);
    }

    .hero-copy p {
        font-size: 0.98rem;
        margin-bottom: 1.4rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .market-card,
    .chart-card,
    .mini-card,
    .plan-card-home,
    .stat-card,
    .card,
    .testimonial-card {
        border-radius: 18px;
        padding: 1.2rem;
    }

    .testimonial-track {
        display: flex;
        flex-direction: column;
        grid-auto-flow: unset;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-bottom: 0;
    }

    .main-content {
        padding: 0.9rem;
    }

    .dashboard-card,
    .card,
    .plan-card,
    .testimonial-card {
        border-radius: 16px;
    }

    .dashboard-actions {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 4rem 0 2.5rem;
        min-height: auto;
    }

    .section {
        padding: 3rem 0;
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav a {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .hero-copy h1 {
        font-size: 2.1rem;
        line-height: 1.08;
    }

    .hero-buttons {
        grid-template-columns: 1fr;
    }

    .testimonial-track {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .navbar-brand {
        font-size: 1.05rem;
    }

    .btn {
        width: 100%;
    }

    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.92rem;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .market-card,
    .chart-card,
    .asset-card,
    .testimonial-card,
    .plan-card-home {
        border-radius: 18px;
        padding: 1.2rem;
    }

    .market-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .market-header h3 {
        font-size: 1.5rem;
    }

    .plan-home-top {
        flex-wrap: wrap;
    }

    .plan-home-title {
        font-size: 1.4rem;
    }

    .hero-copy p,
    .section-title p,
    .footer-section p,
    .footer-links a {
        font-size: 0.95rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #17a2b8;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffc107;
}

/* ========================================
   Tables (Responsive)
   ======================================== */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table thead {
    background-color: var(--light-color);
}

.table th,
.table td {
    padding: 0.65rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.deposit-proof-thumb {
    max-width: 62px;
    max-height: 48px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    display: inline-block;
}

.text-muted {
    color: rgba(255, 255, 255, 0.6);
}

.table th {
    font-weight: 600;
    background-color: var(--light-color);
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* ========================================
   Dashboard Sidebar (Mobile-First)
   ======================================== */

.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-head h1,
.page-head h2,
.page-head h3 {
    margin: 0;
    color: var(--white);
}

.page-head p {
    margin: 0.35rem 0 0;
    color: #8ba1b6;
}

.page-head-pill {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.dashboard-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.sidebar {
    background: linear-gradient(180deg, rgba(8, 11, 19, 0.98), rgba(10, 15, 26, 0.98));
    color: var(--text);
    padding: 1rem;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: min(100%, 300px);
    z-index: 1000;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.sidebar.active {
    display: block;
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
    float: right;
    margin-bottom: 1rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: block;
    padding: 0.8rem 1rem;
    color: #d9dde7;
    border-radius: 14px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: linear-gradient(135deg, rgba(255, 144, 0, 0.18), rgba(255, 179, 71, 0.16));
    color: var(--white);
    border-color: rgba(255, 144, 0, 0.2);
}

.sidebar-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 1.35rem;
    cursor: pointer;
    padding: 0.45rem 0.6rem;
    border-radius: 12px;
}

/* ========================================
   Dashboard Content (Mobile-First)
   ======================================== */

.main-content {
    padding: 1rem;
    background: transparent;
    min-width: 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.dashboard-header h1 {
    font-size: 1.5rem;
    color: var(--white);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: linear-gradient(145deg, rgba(10, 14, 24, 0.98), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.dashboard-card-title {
    font-size: 1rem;
    color: #ffb347;
    margin-bottom: 0.5rem;
}

.dashboard-card-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.dashboard-card-label {
    font-size: 0.9rem;
    color: #b8bdc7;
    margin-top: 0.5rem;
}

.card {
    background: linear-gradient(145deg, rgba(10, 14, 24, 0.98), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
    overflow: hidden;
    color: var(--text);
}

.card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.card-header h3,
.card-header h4,
.card-header h5 {
    color: var(--white);
}

.card-body {
    padding: 1.25rem;
    background: transparent;
    color: var(--text);
}

.plan-card {
    background: linear-gradient(145deg, rgba(10, 14, 24, 0.98), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: var(--text);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.plan-card.featured {
    border-color: rgba(255, 144, 0, 0.35);
    box-shadow: 0 24px 70px rgba(255, 144, 0, 0.14);
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(10, 14, 24, 0.98), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: var(--text);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.testimonial-name {
    color: var(--white);
}

.testimonial-country {
    color: #ffb347;
}

.accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.accordion-header {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
}

.accordion-header:hover {
    background: rgba(255, 144, 0, 0.12);
}

.accordion-body {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.table {
    color: var(--text);
}

.table thead {
    background: rgba(255, 255, 255, 0.04);
}

.table th,
.table td {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.08);
}

.table tbody tr:hover {
    background: rgba(255, 144, 0, 0.08);
}

/* ========================================
   Testimonials
   ======================================== */

.testimonial-slider {
    position: relative;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-country {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-rating {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

/* ========================================
   FAQ Accordion
   ======================================== */

.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.accordion-header {
    background-color: var(--light-color);
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.accordion-header:hover {
    background-color: #e8e8e8;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 1rem;
    background-color: white;
    display: none;
}

.accordion-body.active {
    display: block;
}

/* ========================================
   Footer
   ======================================== */

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

/* ========================================
   Tablet (768px and up)
   ======================================== */

/* Dashboard Enhancements */

.deposit-hero {
    margin-bottom: 1.4rem;
    padding: 1.25rem 1.4rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 144, 0, 0.14), rgba(255, 179, 71, 0.08));
    border: 1px solid rgba(255, 144, 0, 0.18);
}

.deposit-hero h1 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.deposit-hero p {
    color: #cfd5df;
    margin: 0;
}

.deposit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
    gap: 1.2rem;
    align-items: start;
}

.deposit-form {
    display: grid;
    gap: 1rem;
}

.deposit-title {
    margin-bottom: 1.2rem;
    color: var(--white);
}

.deposit-form .form-group {
    margin-bottom: 1rem;
}

.wallet-box {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.wallet-box input {
    flex: 1;
    min-width: 220px;
}

.deposit-sidecard {
    background: linear-gradient(145deg, rgba(12, 12, 12, 0.99), rgba(24, 24, 24, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.deposit-sidecard-inner {
    display: grid;
    gap: 0.9rem;
}

.deposit-sidecard h3 {
    color: var(--white);
}

.detail-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 144, 0, 0.16);
    color: #ffb347;
    font-weight: 700;
    font-size: 0.9rem;
}

.deposit-sidecard p,
.deposit-sidecard li {
    color: #cfd5df;
}

.deposit-sidecard .alert-info {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f3f4f6;
}

.dashboard-section {
    margin-top: 1.8rem;
}

.dashboard-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.dashboard-grid-2 {
    grid-template-columns: 1fr;
}

.dashboard-card-soft {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.dashboard-actions {
    display: grid;
    gap: 0.9rem;
}

.dashboard-actions .btn {
    justify-content: flex-start;
    width: 100%;
}

.dashboard-footer {
    margin-top: 2rem;
    text-align: center;
    color: #b8bdc7;
    font-size: 0.95rem;
}

.dashboard-footer a {
    color: #ffb347;
    font-weight: 700;
}

.dashboard-card,
.card,
.plan-card,
.testimonial-card,
.deposit-sidecard {
    width: 100%;
    min-width: 0;
}

.dashboard-card-value {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.wallet-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
}

.wallet-box input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.deposit-form .btn-block,
.premium-form .btn-block {
    width: 100%;
}

.support-chat-shell {
    height: auto;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
}

.support-chat-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.support-chat-input {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.support-chat-input input {
    width: 100%;
    flex: 1 1 auto;
}

@media (max-width: 767px) {
    .dashboard-header,
    .page-head,
    .deposit-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-grid,
    .dashboard-grid-2,
    .deposit-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .dashboard-card,
    .card,
    .deposit-sidecard {
        border-radius: 18px;
    }

    .deposit-grid {
        grid-template-columns: 1fr;
    }

    .deposit-sidecard {
        padding: 1rem;
    }

    .wallet-box {
        flex-direction: column;
    }

    .wallet-box input,
    .wallet-box button {
        width: 100%;
    }

    .sidebar-menu a {
        padding: 0.75rem 0.85rem;
        font-size: 0.95rem;
    }

    .support-chat-shell {
        min-height: 65vh;
    }

    .support-chat-input {
        flex-direction: column;
    }

    .support-chat-input .btn {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .dashboard-card-value {
        font-size: 1.3rem;
    }

    .dashboard-card-title {
        font-size: 0.95rem;
    }

    .dashboard-card-label {
        font-size: 0.86rem;
    }

    .main-content h1 {
        font-size: 1.4rem;
    }

    .card-header,
    .card-body {
        padding: 1rem;
    }

    .deposit-hero {
        padding: 1.1rem;
    }

    .deposit-sidecard {
        padding: 1rem;
    }

    .table th,
    .table td {
        padding: 0.7rem 0.55rem;
        font-size: 0.9rem;
    }

    .page-head-pill {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .navbar-toggler {
        display: none;
    }

    .navbar-nav {
        display: flex;
        position: static;
        flex-direction: row;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        gap: 2rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero {
        padding: 5rem 1rem;
        min-height: 600px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .dashboard-container {
        grid-template-columns: 250px 1fr;
    }

    .sidebar {
        display: block;
        position: sticky;
        top: 1rem;
        width: 250px;
        height: fit-content;
        min-height: calc(100vh - 2rem);
        background: linear-gradient(180deg, rgba(8, 11, 19, 0.98), rgba(10, 15, 26, 0.98));
        color: var(--text);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
    }

    .sidebar.active {
        display: block;
    }

    .sidebar-close {
        display: none;
    }

    .sidebar-toggle {
        display: none;
    }

    .sidebar-menu a {
        color: #d9dde7;
    }

    .sidebar-menu a:hover,
    .sidebar-menu a.active {
        background: linear-gradient(135deg, rgba(255, 144, 0, 0.18), rgba(255, 179, 71, 0.16));
        color: var(--white);
    }

    .main-content {
        padding: 2rem;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* ========================================
   Desktop (1024px and up)
   ======================================== */

@media (min-width: 1024px) {
    .section {
        padding: 4rem 1rem;
    }

    .hero {
        padding: 6rem 1rem;
        min-height: 700px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .row {
        grid-template-columns: repeat(3, 1fr);
    }

    .col-full {
        grid-column: 1 / -1;
    }

    .table {
        font-size: 0.95rem;
    }

    .table th,
    .table td {
        padding: 1rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden {
    display: none;
}

.text-muted {
    color: var(--secondary-color);
}

.text-success {
    color: var(--success-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-primary {
    color: var(--primary-color);
}

.bg-light {
    background-color: var(--light-color);
}

.bg-dark {
    background-color: var(--dark-color);
}

.rounded {
    border-radius: 4px;
}

.rounded-lg {
    border-radius: 8px;
}

.shadow {
    box-shadow: var(--shadow);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.d-flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.flex-wrap {
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.opacity-50 {
    opacity: 0.5;
}

.cursor-pointer {
    cursor: pointer;
}
