/* TRC - Trader Rahman Community Custom Styles */
/* Dark Theme with Gold, Silver, Red, Green Accents */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Exo+2:wght@300;400;500;600;700&display=swap');

:root {
    /* Primary Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #15151f;
    
    /* Accent Colors */
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    --silver: #c0c0c0;
    --silver-light: #e8e8e8;
    --silver-dark: #808080;
    
    /* Trading Colors */
    --profit-green: #00d26a;
    --profit-green-light: #00ff85;
    --loss-red: #ff4757;
    --loss-red-light: #ff6b7a;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8860b 100%);
    --gradient-silver: linear-gradient(135deg, #808080 0%, #c0c0c0 50%, #e8e8e8 100%);
    --gradient-dark: linear-gradient(180deg, #12121a 0%, #0a0a0f 100%);
    
    /* Shadows */
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
    
    /* Border */
    --border-color: rgba(212, 175, 55, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 210, 106, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(192, 192, 192, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.display-font {
    font-family: 'Orbitron', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ===================
   NAVBAR
=================== */
.navbar-trc {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-trc.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-gold);
}

.navbar-brand img {
    height: 50px !important;
    width: auto !important;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    color: var(--text-secondary) !important;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.nav-link.active {
    color: var(--gold) !important;
}

.btn-login {
    background: transparent;
    border: 2px solid var(--silver);
    color: var(--silver) !important;
    padding: 8px 24px !important;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--silver);
    color: var(--bg-primary) !important;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
}

.btn-register {
    background: var(--gradient-gold);
    border: none;
    color: var(--bg-primary) !important;
    padding: 10px 28px !important;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ===================
   HERO SECTION
=================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(0, 210, 106, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-family: 'Exo 2', sans-serif;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    max-width: 500px !important;
    height: auto !important;
    filter: drop-shadow(0 20px 40px rgba(212, 175, 55, 0.3));
}

/* Candlestick Animation Background */
.candlestick-bg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    opacity: 0.1;
    overflow: hidden;
}

.candle {
    position: absolute;
    width: 20px;
    animation: candleMove 4s ease-in-out infinite;
}

.candle-body {
    width: 20px;
    border-radius: 2px;
}

.candle-wick {
    width: 2px;
    background: currentColor;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.candle.green .candle-body {
    background: var(--profit-green);
}

.candle.red .candle-body {
    background: var(--loss-red);
}

/* ===================
   SECTIONS
=================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* ===================
   FEATURE CARDS
=================== */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-primary);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--gold-light);
}

.feature-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===================
   WHY CHOOSE US
=================== */
.why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.why-item:hover {
    border-color: var(--gold);
    transform: translateX(10px);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.why-content h4 {
    color: var(--gold-light);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.why-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* ===================
   CTA SECTION
=================== */
.cta-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(10, 10, 15, 0.95) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ===================
   BUTTONS
=================== */
.btn-gold {
    background: var(--gradient-gold);
    border: none;
    color: var(--bg-primary);
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    color: var(--bg-primary);
}

.btn-silver {
    background: transparent;
    border: 2px solid var(--silver);
    color: var(--silver);
    padding: 13px 38px;
    border-radius: 50px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-silver:hover {
    background: var(--silver);
    color: var(--bg-primary);
}

.btn-green {
    background: var(--profit-green);
    border: none;
    color: var(--bg-primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-green:hover {
    background: var(--profit-green-light);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.4);
}

.btn-red {
    background: var(--loss-red);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-red:hover {
    background: var(--loss-red-light);
    transform: translateY(-2px);
}

/* ===================
   FOOTER
=================== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-logo img {
    height: 60px !important;
    width: auto !important;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-title {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

/* ===================
   AUTH PAGES (Login/Register)
=================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 480px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    height: 70px;
}

.auth-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--gold-light);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

/* ===================
   FORM ELEMENTS
=================== */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    font-family: 'Exo 2', sans-serif;
}

.form-control {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--bg-secondary);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    color: var(--text-primary);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
}

.input-icon + .form-control {
    padding-left: 50px;
}

.password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--gold);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
}

.form-check-input:checked {
    background: var(--gold);
    border-color: var(--gold);
}

.form-check-label {
    color: var(--text-secondary);
    cursor: pointer;
}

.auth-link {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 20px;
}

/* ===================
   DASHBOARD
=================== */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 30px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-logo {
    padding: 0 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo img {
    height: 45px !important;
    width: auto !important;
    max-width: 140px;
    object-fit: contain;
}

.sidebar-menu {
    padding: 20px 0;
}

.menu-label {
    padding: 10px 25px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Exo 2', sans-serif;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
}

.menu-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-left-color: var(--gold);
}

.menu-item.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    border-left-color: var(--gold);
}

.menu-item i {
    width: 24px;
    font-size: 1.2rem;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    background: var(--bg-primary);
    min-height: 100vh;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-title {
    font-size: 1.8rem;
    color: var(--text-primary);
}

.dashboard-title span {
    color: var(--gold);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-btn {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.notification-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--loss-red);
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-profile:hover {
    border-color: var(--gold);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-primary);
}

.user-info {
    text-align: left;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.stat-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card-icon.gold {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}

.stat-card-icon.green {
    background: rgba(0, 210, 106, 0.15);
    color: var(--profit-green);
}

.stat-card-icon.silver {
    background: rgba(192, 192, 192, 0.15);
    color: var(--silver);
}

.stat-card-icon.red {
    background: rgba(255, 71, 87, 0.15);
    color: var(--loss-red);
}

.stat-card-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-card-badge.up {
    background: rgba(0, 210, 106, 0.15);
    color: var(--profit-green);
}

.stat-card-badge.down {
    background: rgba(255, 71, 87, 0.15);
    color: var(--loss-red);
}

.stat-card-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card-value.gold {
    color: var(--gold);
}

.stat-card-value.green {
    color: var(--profit-green);
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    color: var(--gold);
}

/* Table Styles */
.table-dark-custom {
    width: 100%;
    border-collapse: collapse;
}

.table-dark-custom th {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table-dark-custom td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.table-dark-custom tr:hover td {
    background: rgba(212, 175, 55, 0.05);
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.success {
    background: rgba(0, 210, 106, 0.15);
    color: var(--profit-green);
}

.status-badge.pending {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}

.status-badge.failed {
    background: rgba(255, 71, 87, 0.15);
    color: var(--loss-red);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.action-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.action-icon.topup {
    background: rgba(0, 210, 106, 0.15);
    color: var(--profit-green);
}

.action-icon.trade {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}

.action-icon.withdraw {
    background: rgba(255, 71, 87, 0.15);
    color: var(--loss-red);
}

.action-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.action-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Modal Styles */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 25px 30px;
}

.modal-title {
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 20px 30px;
}

.btn-close {
    filter: invert(1);
}

/* QRIS Section */
.qris-section {
    text-align: center;
    padding: 30px;
    background: var(--bg-tertiary);
    border-radius: 15px;
    margin-top: 20px;
}

.qris-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.qris-unique {
    color: var(--profit-green);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.qris-code {
    max-width: 250px;
    margin: 20px auto;
    padding: 15px;
    background: white;
    border-radius: 15px;
}

.qris-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 10px;
    color: var(--gold);
    font-weight: 600;
}

.qris-status.pending {
    animation: pulse 2s infinite;
}

/* Profile Page */
.profile-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-primary);
    border: 4px solid var(--gold);
}

.profile-info h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.profile-info p {
    color: var(--text-secondary);
}

.profile-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 210, 106, 0.15);
    color: var(--profit-green);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
}

.bank-card {
    background: linear-gradient(135deg, #1a1a25 0%, #0a0a0f 100%);
    border: 1px solid var(--gold);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.bank-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.bank-name {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.bank-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.bank-holder {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes candleMove {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        left: 0;
        top: 0;
        z-index: 1050;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px 15px;
    }
    
    .dashboard-wrapper {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
    
    .dashboard-header {
        padding: 15px 0;
    }
    
    .dashboard-title {
        font-size: 1.3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-card-value {
        font-size: 1.6rem !important;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .action-card {
        padding: 15px;
    }
    
    .action-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .dashboard-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .table-dark-custom th,
    .table-dark-custom td {
        padding: 10px 8px;
        white-space: nowrap;
    }
    
    .user-menu {
        gap: 10px;
    }
    
    .user-profile {
        padding: 5px 10px;
    }
    
    .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .auth-card {
        padding: 30px 20px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .profile-avatar-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .dashboard-header {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }
    
    .user-menu {
        width: auto;
    }
    
    .row.mb-4 > [class*="col-"] {
        margin-bottom: 15px;
    }
    
    .btn-gold, .btn-silver, .btn-green {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .stat-card-label {
        font-size: 0.8rem;
    }
    
    .bank-card {
        padding: 20px;
    }
    
    .bank-number {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
    
    .why-item {
        padding: 15px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 575px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat-item {
        flex: 0 0 45%;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .dashboard-title span {
        display: block;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--gold);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1040;
    backdrop-filter: blur(4px);
}

.sidebar-overlay.show {
    display: block;
}

/* Withdraw disabled state */
.btn-disabled {
    background: var(--bg-tertiary) !important;
    border-color: var(--text-muted) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}