/* =========================================
   FelixFT Design System - v3.0 (Cyber Tech)
   Theme: True Dark Neon Grid + Cyberpunk HUD
   ========================================= */

/* --- Variables --- */
:root {
    --primary-color: #39FF14;
    /* Neon Green */
    --primary-glow: rgba(57, 255, 20, 0.4);
    --secondary-color: #00D2FF;
    /* Neon Blue */
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-muted: #888888;
    --header-height: 60px;
    --bottom-nav-height: 70px;
    --max-app-width: 480px;
    --font-family: 'Inter', sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

/* --- Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background-color: #050505;
    /* Grid Background with Gradient: Grid on top, Gradient behind */
    background-image:
        linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, #111111 0%, #1a1a1a 70%, #081408 100%);
    /* Deep Anthracite dominant */
    background-size: 50px 50px, 50px 50px, 100% 100%;
    background-attachment: fixed;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- App Container --- */
.page-content {
    width: 100%;
    max-width: var(--max-app-width);
    background: transparent;
    min-height: 100vh;
    position: relative;
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: calc(var(--bottom-nav-height) + 20px);
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: hidden;
}

/* --- Cyber Card Utility --- */
.cyber-card {
    background: rgba(10, 15, 20, 0.7);
    border: 1px solid rgba(57, 255, 20, 0.1);
    position: relative;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    /* Cut corners */
    clip-path: polygon(0 10px, 10px 0,
            100% 0, 100% calc(100% - 10px),
            calc(100% - 10px) 100%, 0 100%);
    transition: all 0.3s ease;
}

.cyber-card:hover {
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.05);
}

/* Corner Accents (Pseudo-elements need container support, clip-path cuts them if outside. 
   We use inset shadows or inner borders for effect inside clipped area) */
.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
    pointer-events: none;
}

.cyber-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    pointer-events: none;
}

/* --- Tech Header Utility --- */
.tech-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
}

.tech-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(57, 255, 20, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    /* Hexagon */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.tech-header-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    white-space: nowrap;
}

.tech-header-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.tech-header-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}


/* --- Header --- */
.app-header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: var(--max-app-width);
    height: var(--header-height);
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo img {
    height: 32px;
    width: auto;
}

.header-back-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
    color: var(--text-main);
    font-size: 16px;
}

.header-title {
    font-size: 18px;
    font-weight: 700;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-size: 16px;
    position: relative;
    cursor: pointer;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
    transition: all 0.2s;
}

.header-action-btn:active {
    background: var(--primary-color);
    color: #000;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ff4444;
    color: white;
    font-size: 9px;
    font-weight: bold;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Bottom Nav --- */
.app-bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: var(--max-app-width);
    height: var(--bottom-nav-height);
    background: rgba(5, 5, 5, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-bottom: 12px;
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    /* Increased gap */
    color: var(--text-muted);
    font-size: 11px;
    /* Slightly larger text */
    width: 20%;
    transition: all 0.3s;
}

.bottom-nav-item i {
    font-size: 24px;
    /* Increased from default */
    transition: all 0.3s;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item.active i {
    text-shadow: 0 0 10px var(--primary-glow);
    transform: translateY(-5px);
}

.bottom-nav-item.center-item {
    padding-bottom: 10px;
}

.center-btn-hex {
    width: 64px;
    /* Slightly larger button */
    height: 64px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 28px;
    /* Larger icon */
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.3s;
}

.center-btn-hex:hover {
    transform: scale(1.1);
    background: #000;
    color: var(--primary-color);
}

/* --- Sidebar --- */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #0a0a0a;
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--primary-color);
}

.app-sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.sidebar-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.lang-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-option:hover {
    background: rgba(57, 255, 20, 0.1);
    border-left: 2px solid var(--primary-color);
}

.lang-option img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 12px;
}

.lang-option span {
    flex: 1;
    font-weight: 500;
    color: #eee;
}

.lang-option i {
    color: var(--primary-color);
    font-size: 12px;
}


/* ===========================
   Page Specific Components 
   =========================== */

/* Slider Section */
.index-slider-section {
    position: relative;
    padding: 2px;
    /* Border width */
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--secondary-color));
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    margin-bottom: 30px;
}

.main-swiper {
    background: #000;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.slide-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Marquee */
.index-marquee-container {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--secondary-color);
    padding: 10px;
    margin-bottom: 25px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.marquee-icon {
    color: var(--secondary-color);
    margin-right: 15px;
    animation: pulse 2s infinite;
}

.marquee-content {
    flex: 1;
    overflow: hidden;
    font-size: 13px;
    font-family: var(--font-mono);
}

/* Quick Actions */
.index-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    margin-bottom: 30px;
}

.action-card {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.95));
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.action-card:hover {
    border-color: var(--primary-color);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

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

.action-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.action-subtitle {
    font-size: 10px;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.action-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    opacity: 0.8;
}

.action-icon img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

/* Menu Grid */
.index-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 Grid */
    gap: 15px;
    margin-bottom: 30px;
}

.menu-item {
    display: flex;
    flex-direction: row;
    /* Horizontal alignment */
    align-items: center;
    background: rgba(20, 25, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 4px;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    /* Tech shape */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.menu-item:hover {
    background: rgba(57, 255, 20, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.menu-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--secondary-color);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 4px;
    /* Simple rounded box for icon inside rectangle */
    clip-path: none;
    /* Reset complex clip path from previous design */
    transition: all 0.3s;
    flex-shrink: 0;
}

.menu-item:hover .menu-icon {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 10px var(--secondary-color);
}

.menu-label {
    font-size: 12px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    line-height: 1.2;
}

/* Video Section */
.video-wrapper {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    margin-bottom: 25px;
}

/* Market List */
.market-list {
    padding: 10px;
}

.market-header-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--secondary-color);
    padding: 0 8px;
    letter-spacing: 1px;
}

.col-coin {
    width: 40%;
}

.col-price {
    width: 30%;
    text-align: right;
}

.col-change {
    width: 30%;
    text-align: right;
}

.market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.market-item:last-child {
    border-bottom: none;
}

.coin-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    margin-right: 12px;
}

.icon-btc {
    background: #F7931A;
}

.icon-eth {
    background: #627EEA;
}

.icon-bnb {
    background: #F3BA2F;
}

.icon-xrp {
    background: #23292F;
}

.icon-doge {
    background: #C2A633;
}

.icon-avax {
    background: #E84142;
}

.coin-info {
    display: flex;
    align-items: center;
    width: 40%;
}

.coin-name .symbol {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    display: block;
}

.coin-name .pair {
    font-size: 10px;
    color: var(--text-muted);
}

.coin-price {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 15px;
    text-align: right;
    width: 30%;
}

.coin-change {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    text-align: right;
    width: 30%;
    color: #21b66e;
}

.coin-change.down {
    color: #fe3c59;
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.partner-item {
    background: rgba(0, 0, 0, 0.5);
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.partner-item img {
    max-height: 80%;
    opacity: 0.6;
    transition: 0.3s;
}

.partner-item:hover {
    border-color: var(--primary-color);
}

.partner-item:hover img {
    opacity: 1;
    filter: drop-shadow(0 0 2px var(--primary-color));
}

@keyframes pulse {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 10px var(--secondary-color);
    }

    100% {
        opacity: 0.8;
    }
}

/* ===========================
   Wallet Page Components 
   =========================== */

/* Asset Overview Card */
.asset-overview-card {
    padding: 20px;
    background: linear-gradient(180deg, rgba(20, 25, 30, 0.8), rgba(10, 10, 10, 0.95));
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.label-text {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.eye-icon {
    font-size: 16px;
    color: var(--secondary-color);
    cursor: pointer;
}

.main-balance {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    margin-bottom: 2px;
}

.balance-unit {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 20px;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
    /* Inner radius ok */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

.full-width {
    flex: 1 1 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 13px;
    color: #fff;
    font-weight: 600;
}


/* Wallet Actions */
.wallet-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.action-btn-large {
    flex: 1;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(57, 255, 20, 0.1), rgba(0, 0, 0, 0.5));
    border: 1px solid rgba(57, 255, 20, 0.3);
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    /* Tech buttons */
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.action-btn-large:hover {
    background: rgba(57, 255, 20, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-icon-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 18px;
    box-shadow: 0 0 5px var(--primary-glow);
}

.btn-text {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.action-btn-icon-only {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.action-btn-icon-only:hover {
    color: #fff;
    border-color: #fff;
}


/* Chart Section */
.wallet-chart-section {
    margin-bottom: 25px;
}

.chart-card {
    padding: 10px;
    height: 250px;
}

.chart-container {
    width: 100%;
    height: 100%;
}


/* Assets List */
.wallet-assets-list {
    margin-bottom: 30px;
}

.asset-list-container {
    padding: 0;
}

.asset-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.asset-item:last-child {
    border-bottom: none;
}

.asset-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.asset-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
}

.asset-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.asset-info {
    flex: 1;
}

.asset-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.asset-network {
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 2px;
}

.asset-balance {
    text-align: right;
}

.main-val {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.fiat-val {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

/* ===========================
   Global Custom Modal
   =========================== */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.custom-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.custom-modal-content {
    background: #0a0f12;
    border: 1px solid var(--primary-color);
    padding: 30px;
    width: 85%;
    max-width: 320px;
    text-align: center;
    border-radius: 12px;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.15);
}

.custom-modal-overlay.active .custom-modal-content {
    transform: scale(1);
}

.modal-icon-header {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.modal-body-text {
    font-size: 16px;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-close-btn {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
    width: 100%;
}

.modal-close-btn:hover {
    background: #fff;
    box-shadow: 0 0 10px #fff;
}

/* ===========================
   Profile (Mine) Page Components
   =========================== */

/* Profile Header Card */
.profile-card {
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.9), rgba(5, 5, 5, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    /* Use radius or clip-path? Let's use subtle radius here for avatar mix */
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.profile-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
    border: 2px solid var(--primary-color);
    padding: 2px;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-glow);
    animation: pulse 2s infinite;
}

.profile-info {
    flex: 1;
}

.profile-email {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.profile-details {
    display: flex;
    gap: 15px;
}

.invite-copy-group {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.invite-copy-group:hover {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--primary-color);
}

.invite-copy-group .label {
    color: var(--text-muted);
}

.invite-copy-group .value {
    color: #fff;
    font-family: var(--font-mono);
}

.invite-copy-group i {
    color: var(--secondary-color);
    font-size: 10px;
}


/* VIP Badge Row */
.vip-badge-row {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #1e1e1e, #000);
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    /* Gold tint for VIP */
    position: relative;
}

.vip-badge-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #ffd700;
    border-radius: 6px 0 0 6px;
}

.vip-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    margin-right: 12px;
}

.vip-text {
    flex: 1;
}

.vip-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffd700;
}

.vip-sub {
    font-size: 10px;
    color: var(--text-muted);
}

.vip-action {
    font-size: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* Profile Grid Menu */
.profile-grid-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.grid-menu-item {
    background: rgba(20, 25, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    /* Tech cut corners */
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.2s;
}

.grid-menu-item:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: var(--secondary-color);
}

.grid-icon {
    font-size: 20px;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
}

.grid-menu-item span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}


/* Tech Menu List */
.tech-section {
    margin-bottom: 25px;
}

.tech-menu-list {
    background: rgba(20, 25, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    /* Container radius */
    overflow: hidden;
}

.tech-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.tech-menu-item:last-child {
    border-bottom: none;
}

.tech-menu-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-icon {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.menu-left span {
    font-size: 14px;
    color: #dedede;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 12px;
}

.status-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.status-badge.enabled {
    background: rgba(57, 255, 20, 0.1);
    color: var(--primary-color);
}

.status-badge.disabled {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}


/* Logout Button */
.logout-container {
    margin: 30px 0 50px 0;
}

.cyber-btn-logout {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    font-family: var(--font-family);
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cyber-btn-logout:hover {
    background: rgba(255, 68, 68, 0.1);
    border-color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

/* Grid Mode Modification for Tech Menu List */
.tech-menu-list.grid-mode {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    background: transparent;
    /* Remove container bg in grid mode */
    border: none;
}

.tech-menu-list.grid-mode .tech-menu-item {
    background: rgba(20, 25, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Restore border */
    text-align: left;
}

.tech-menu-list.grid-mode .tech-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.tech-menu-list.grid-mode .menu-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.tech-menu-list.grid-mode .item-icon {
    width: auto;
    font-size: 20px;
    margin-bottom: 2px;
}

.tech-menu-list.grid-mode .menu-right {
    width: 100%;
    justify-content: flex-end;
}

/* ===========================
   Team Page Components
   =========================== */

/* Team Header Stats (2x2 Grid) */
.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.team-stat-item {
    background: rgba(20, 25, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.member-color {
    background: rgba(0, 210, 255, 0.1);
    color: var(--secondary-color);
}

.commission-color {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.recharge-color {
    background: rgba(57, 255, 20, 0.1);
    color: var(--primary-color);
}

.withdraw-color {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.stat-info {
    overflow: hidden;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}


/* Generation Cards */
.generations-section {
    margin-top: 30px;
}

.generation-card {
    margin-bottom: 20px;
    padding: 0 !important;
    /* Reset padding to handle header/body separation */
}

.gen-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gen-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.level-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #000;
}

.level-badge.lv1 {
    background: var(--primary-color);
}

.level-badge.lv2 {
    background: var(--secondary-color);
}

.level-badge.lv3 {
    background: #ffd700;
}

.gen-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* No gap on grid to make borders work nicely? Or subtle gap. Let's use borders. */
}

.gen-stat {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Borders logic for 2x2: Odd children get border-right */
.gen-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Last two children remove bottom border */
.gen-stat:nth-last-child(-n+2) {
    border-bottom: none;
}

.gen-stat .lbl {
    font-size: 11px;
    color: var(--text-muted);
}

.gen-stat .val {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-mono);
}

.gen-stat .val.highlight {
    color: var(--primary-color);
}

/* ===========================
   Quantification Page (Robot)
   =========================== */

/* HUD System Status */
.quant-hud {
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.hud-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-vip-badge {
    background: var(--primary-color);
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 12px;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.hud-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hud-item {
    flex: 1;
}

.hud-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 20px;
}

.hud-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.hud-value {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.neon-blue {
    color: #00d2ff;
    text-shadow: 0 0 5px rgba(0, 210, 255, 0.3);
}

.neon-green {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(57, 255, 20, 0.3);
}

.hud-value .unit {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.hud-actions {
    display: flex;
    gap: 10px;
}

.hud-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 12px;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hud-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}


/* Robot Bot Cards */
.strategies-section {
    margin-top: 20px;
}

.bot-cards-container {
    display: grid;
    gap: 20px;
}

.bot-card {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

/* Active Bot Style */
.bot-card.active-bot {
    background: rgba(10, 25, 10, 0.6);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.1);
}

/* Locked Bot Style */
.bot-card.locked-bot {
    opacity: 0.6;
    background: rgba(10, 10, 10, 0.6);
}

.bot-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.bot-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.active-bot .bot-icon {
    background: rgba(57, 255, 20, 0.1);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.bot-info {
    flex: 1;
}

.bot-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.bot-status {
    font-size: 11px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.status-online {
    color: var(--primary-color);
}

.status-locked {
    color: #ff4444;
}

.status-standby {
    color: var(--text-muted);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.dot.status-online {
    background: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
    animation: pulse 1.5s infinite;
}

.dot.status-locked {
    background: #ff4444;
}

.dot.status-standby {
    background: var(--text-muted);
}


.bot-id {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.5;
}

.bot-specs {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.spec-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-lbl {
    font-size: 11px;
    color: var(--text-muted);
}

.spec-val {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    font-family: var(--font-mono);
}

.spec-val.highlight {
    color: var(--primary-color);
}

.bot-action button {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    text-transform: uppercase;
}

.cyber-btn-glitch {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.cyber-btn-glitch:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.cyber-btn-locked {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: not-allowed;
}

.cyber-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cyber-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Corner Decorations */
.corner-deco {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.active-bot .corner-deco {
    border-color: var(--primary-color);
}

/* ===========================
   Strategy Detail / Console
   =========================== */

/* Console Container */
.cyber-console {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px 20px;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.9);
}

/* Controls (Input + Start Button) */
.trading-controls {
    z-index: 10;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.cyber-input-group {
    margin-bottom: 40px;
    text-align: left;
}

.cyber-input-group label {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.amount-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 5px;
}

.amount-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    font-family: var(--font-mono);
    padding: 10px;
    outline: none;
}

.amount-wrapper .unit {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 10px;
}

.amount-wrapper .btn-all {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 10px;
}

.amount-wrapper .btn-all:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Giant Start Button */
.start-btn-wrapper {
    margin-top: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cyber-start-btn {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 20, 20, 1) 0%, rgba(0, 0, 0, 1) 100%);
    border: none;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.05), 0 0 30px rgba(57, 255, 20, 0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyber-start-btn:hover {
    box-shadow: 0 0 0 5px rgba(57, 255, 20, 0.3), 0 0 50px rgba(57, 255, 20, 0.4);
    transform: scale(1.05);
}

.cyber-start-btn .btn-content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #fff;
}

.cyber-start-btn i {
    font-size: 32px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.cyber-start-btn span {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Ring Animation around Button */
.btn-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px dashed rgba(57, 255, 20, 0.3);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.range-info {
    margin-top: 30px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


/* Animation Stage */
.animation-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

/* Brain Pulse */
.brain-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.brain-icon {
    font-size: 50px;
    color: var(--primary-color);
    z-index: 2;
    text-shadow: 0 0 20px var(--primary-color);
    animation: pulse-text 2s infinite;
}

.pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    animation: pulse-ring 2s infinite;
}

.p1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.p2 {
    width: 100%;
    height: 100%;
    animation-delay: 0.5s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse-text {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}


/* Candle Background */
.candle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.candle {
    position: absolute;
    bottom: -50px;
    width: 20px;
    background: var(--primary-color);
    animation: candle-rise 5s linear infinite;
}

.c1 {
    left: 10%;
    height: 40px;
    animation-duration: 4s;
}

.c2 {
    left: 30%;
    height: 80px;
    animation-duration: 6s;
}

.c3 {
    left: 50%;
    height: 30px;
    animation-duration: 3s;
}

.c4 {
    left: 70%;
    height: 60px;
    animation-duration: 5s;
}

.c5 {
    left: 90%;
    height: 50px;
    animation-duration: 7s;
}

@keyframes candle-rise {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(-500px);
        opacity: 0;
    }
}


/* Terminal Box */
.terminal-msg-box {
    margin-bottom: 20px;
    height: 20px;
    color: var(--primary-color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    text-shadow: 0 0 5px var(--primary-color);
    z-index: 10;
}

.typing-text::after {
    content: '_';
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Progress Bar */
.cyber-progress-container {
    width: 80%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    z-index: 10;
}

.cyber-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    transition: width 1s linear;
}

.timer-countdown {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-muted);
    z-index: 10;
}

/* ===========================
   Recharge Page (Revised)
   =========================== */

/* Expanded Padding for cleaner look */
.cyber-card.expanded-padding {
    padding: 25px;
}

.centered-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
    padding-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
}

/* Amount Input - Big & Clean */
.amount-input-container {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;

    /* Left padding */
    height: 60px;
    transition: all 0.3s;
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.1);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-mono);
    outline: none;
    min-width: 0;

    /* Space for absolute badge */
}

.currency-badge {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    pointer-events: none;
}

/* Amount Chips */
.amount-chips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.amount-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 12px;
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.amount-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.amount-chip.active {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.15);
}

.section-divider {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 10px;
}

/* Network Selection Row (Side by Side) */
.network-selection-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.tech-network-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.tech-network-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tech-network-item.active {
    border-color: var(--primary-color);
    background: rgba(57, 255, 20, 0.05);
}

.tech-network-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.net-icon-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    background: #fff;
    padding: 2px;
    flex-shrink: 0;
}

.net-icon-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.net-content {
    flex: 1;
}

.net-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.net-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.net-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s;
    font-size: 10px;
    flex-shrink: 0;
}

.tech-network-item.active .net-check {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

/* New Action Button */
.cyber-action-btn {
    width: 100%;
    background: var(--primary-color);
    color: #000;
    border: none;
    height: 50px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.cyber-action-btn:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-text {
    z-index: 2;
}

/* Compact Notes */
/* Separate Notes List */
.cyber-notes-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.note-item {
    font-size: 11px;
    /* Small font size */
    color: var(--text-muted);
    /* Muted color */
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
    transition: all 0.2s;
}

.note-item:hover {
    color: #ccc;
}

.note-item i {
    font-size: 12px;
    margin-top: 2px;
}

.note-item.text-red {
    color: #ff3b30;
    font-weight: 600;
}

.note-item.text-red i {
    color: #ff3b30;
}

/* QR Scanner Animation */
.qr-scanner-frame {
    width: 220px;
    height: 220px;
    margin: 30px auto;
    position: relative;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    top: 10px;
    animation: scan-qr 2s infinite linear;
    opacity: 0.8;
    z-index: 5;
}

@keyframes scan-qr {
    0% {
        top: 10px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 210px;
        opacity: 0;
    }
}

.terminal-copy-field {
    background: #000;
    border: 1px solid var(--primary-color);
    padding: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.1);
    overflow: hidden;
    /* Contain children */
}

.terminal-copy-field span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
    flex: 1;
    /* Allow taking available space but shrinking */
    min-width: 0;
    /* Enable flex item truncation */
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
}

.copy-btn:hover {
    color: #fff;
}

.tx-details-grid {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tx-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.tx-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tx-item .label {
    color: var(--text-muted);
}

.tx-item .value {
    font-weight: 600;
    color: #fff;
    font-family: var(--font-mono);
}

.address-box {
    margin-bottom: 25px;
    /* Added spacing below input */
}

/* Timer Box */
.cyber-timer-box {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    /* Center it */
}

.timer-icon {
    font-size: 16px;
    color: var(--primary-color);
    margin-right: 10px;
}

/* Disabled Start Button */
.cyber-start-btn:disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
    background: #1a1a1a;
}

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

.cyber-start-btn:disabled .btn-ring {
    border-color: rgba(255, 255, 255, 0.1);
    animation: none;
    box-shadow: none;
}

.cyber-start-btn:disabled i {
    color: #666;
    text-shadow: none;
}

/* Specific Strategy Console Card */
/* Specific Strategy Console Card */
.strategy-console-card {
    padding: 20px;
    background: linear-gradient(180deg, rgba(20, 25, 30, 0.8), rgba(10, 10, 10, 0.95));
    border-radius: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    /* Ensure this is set for absolute children */
}

/* Corner Decorations */
.strategy-console-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
    z-index: 5;
    pointer-events: none;
}

.strategy-console-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    z-index: 5;
    pointer-events: none;
}

/* Horizontal Chart Animation */
.chart-scroll-container {
    position: absolute;
    top: 35%;
    left: 0;
    width: 100%;
    height: 150px;
    transform: translateY(-50%);
    overflow: hidden;
    z-index: 1;
    opacity: 0.4;
    display: flex;
    justify-content: flex-end;
}

.chart-candle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    border-radius: 1px;
    animation: scrollLeft 4s linear infinite;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.chart-candle.up {
    background: #39FF14;
    box-shadow: 0 0 8px rgba(14, 203, 129, 0.4);
}

.chart-candle.down {
    background: #ff0728;
    box-shadow: 0 0 8px rgba(246, 70, 93, 0.4);
}

.chart-candle::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: inherit;
    top: -15px;
    bottom: -15px;
    opacity: 0.7;
}

@keyframes scrollLeft {
    0% {
        right: -20px;
    }

    100% {
        right: 110%;
    }
}

/* Network Selection Grid */
.network-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.network-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.network-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.network-card.active {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.network-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.net-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.net-info {
    flex: 1;
}

.net-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.net-status {
    font-size: 11px;
    color: var(--text-muted);
}

.selected-check {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 10px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.network-card.active .selected-check {
    opacity: 1;
    transform: scale(1);
}

/* Address Display & Copy */
.disabled-look input {
    background: rgba(0, 0, 0, 0.2) !important;
    color: var(--text-muted) !important;
    cursor: default;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

/* History Section */
.history-section {
    margin-top: 30px;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cyber-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cyber-list-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
}

.item-icon.completed {
    color: var(--primary-color);
    background: rgba(57, 255, 20, 0.1);
}

.item-icon.pending {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.item-icon.rejected {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.item-details {
    flex: 1;
    margin-left: 15px;
}

.item-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.item-date {
    font-size: 11px;
    color: var(--text-muted);
}

.item-amount {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #fff;
    font-size: 14px;
}

.item-amount.negative {
    color: #ff4444;
}

.item-status {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    text-transform: uppercase;
}

.item-status.status-completed {
    background: rgba(57, 255, 20, 0.2);
    color: var(--primary-color);
}

.item-status.status-pending {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.item-status.status-rejected {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

/* Cyber Alert Box */
.cyber-alert {
    background: rgba(255, 68, 68, 0.05);
    border: 1px solid rgba(255, 68, 68, 0.2);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.cyber-alert.error {
    background: rgba(255, 68, 68, 0.05);
    border-color: rgba(255, 68, 68, 0.3);
}

.cyber-alert .alert-icon {
    font-size: 20px;
    color: #ff4444;
    margin-top: 2px;
}

.cyber-alert .alert-title {
    font-weight: 700;
    color: #ff4444;
    font-size: 14px;
    margin-bottom: 4px;
}

.cyber-alert .alert-msg {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: var(--text-muted);
    gap: 10px;
}

.empty-state i {
    font-size: 32px;
    opacity: 0.5;
}

.empty-state span {
    font-size: 14px;
}

/* Refined Network Cards (Smaller) */
.network-grid {
    gap: 10px;
}

.network-card {
    padding: 10px;
    gap: 10px;
    border-radius: 8px;
}

.net-icon img {
    width: 24px;
    height: 24px;
}

.net-name {
    font-size: 13px;
}

/* Tighter Input Groups with Spacing */
.cyber-input-group {
    margin-bottom: 25px !important;
    /* Increased spacing */
}

/* Input Icon Spacing */
.input-wrapper {
    position: relative;
    padding-left: 44px;
    height: 44px;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    font-size: 13px !important;
    /* Smaller text as requested */
    font-weight: 500;
}

.input-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Max Button Style */
.max-btn {
    position: absolute;
    right: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    height: 24px;
    display: flex;
    align-items: center;
}

.max-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

/* Fee Info Card */
.fee-info-card {
    background: rgba(30, 35, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 30px;
    /* Spacing before button */
    margin-top: 10px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.fee-val {
    color: #fff;
    font-family: var(--font-mono);
}

.fee-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.net-row {
    margin-bottom: 0;
}

.net-row .fee-label,
.net-row .fee-val {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.net-row .fee-val.highlight {
    color: #fff;
    /* White as per image */
}

/* Info List Style */
.cyber-notes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.note-item {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    align-items: flex-start;
}

.note-item i {
    color: #ffa500;
    /* Orange/Gold dots */
    font-size: 12px;
    margin-top: 4px;
}

/* Reduce Main Balance Card Padding */
.asset-overview-card {
    padding: 15px !important;
}

.main-balance {
    font-size: 28px !important;
}

/* History List Compact - REMOVE if unused, but keeping just in case */
.cyber-list-item {
    padding: 10px;
}

.item-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

/* General Utility Classes - Global */
.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.m-0 {
    margin: 0 !important;
}

.p-0 {
    padding: 0 !important;
}

.block {
    display: block;
    width: 100%;
}

/* Filter Modal Styles */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chips input[type="radio"] {
    display: none;
}

.filter-chips label {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-chips input[type="radio"]:checked+label {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.date-row {
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    gap: 10px;
}

.date-row .input-wrapper {
    width: 100%;
    /* Full width */
    padding-left: 10px;
}

.date-row .sep {
    display: none;
    /* Hide separator in vertical mode */
}

.item-amount.positive {
    color: var(--color-up) !important;
    text-shadow: 0 0 5px rgba(57, 255, 20, 0.3);
}

.item-amount.negative {
    color: var(--color-down) !important;
}

.item-amount {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 15px;
}

/* Transaction Type Colors */
.item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Deposit / Recharge (Green) */
.item-icon.type-deposit {
    background: rgba(57, 255, 20, 0.1);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

/* Withdraw (Red) */
.item-icon.type-withdraw {
    background: rgba(255, 49, 49, 0.1);
    color: var(--color-down);
    box-shadow: 0 0 10px rgba(255, 49, 49, 0.2);
}

/* Trade / Daily Profit (Cyan/Blue) */
.item-icon.type-trade {
    background: rgba(0, 255, 255, 0.1);
    color: cyan;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* Commission / System (Purple) */
.item-icon.type-commission {
    background: rgba(180, 0, 255, 0.1);
    color: #b400ff;
    box-shadow: 0 0 10px rgba(180, 0, 255, 0.2);
}

/* Award (Gold) */
.item-icon.type-award {
    background: rgba(255, 215, 0, 0.1);
    color: gold;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Cyber Buttons (General) */
.cyber-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
}

.cyber-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cyber-btn.primary {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.cyber-btn.primary:hover {
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.5);
}

.cyber-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.1);
}

.cyber-btn.secondary:hover {
    color: #fff;
    border-color: #fff;
}

.cyber-btn.small {
    padding: 6px 12px;
    font-size: 12px;
    height: 32px;
}

.cyber-btn.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal Actions Spacing */
.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.modal-actions button {
    flex: 1;
}

/* Date Input Styling */
input[type="date"] {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 14px;
    width: 100%;
    outline: none;
    color-scheme: dark;
    /* Dark mode calendar */
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Fix Input Wrapper for Date */
.date-row .input-wrapper {
    height: 44px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

/* Cyber Badge */
.cyber-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.cyber-badge.status-completed,
.cyber-badge.status-win {
    background: rgba(57, 255, 20, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.cyber-badge.status-rejected,
.cyber-badge.status-loss,
.cyber-badge.status-failed {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.cyber-badge.status-pending {
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Cyber Tabs */
.cyber-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    gap: 5px;
}

.cyber-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cyber-tab.active {
    background: rgba(57, 255, 20, 0.1);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.1);
}

.cyber-tab:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Team List Specifics */
.stat-large-val {
    font-size: 13px !important;
    /* Larger than previous 11px */
    font-weight: 700;
    font-family: var(--font-mono);
}

/* Card Borders */
.cyber-list-item {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Content Pages Styling */
.content-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.content-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(57, 255, 20, 0.2);
}

.content-section {
    margin-bottom: 25px;
}

.content-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.content-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.content-section p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 10px;
}

.faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

/* ===== SETTINGS PAGES STYLES ===== */

.settings-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cyber-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.cyber-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.cyber-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cyber-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.cyber-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.cyber-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-with-btn {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-with-btn .cyber-input {
    flex: 1;
}

.paste-btn,
.cyber-btn.secondary {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.paste-btn:hover,
.cyber-btn.secondary:hover {
    background: rgba(57, 255, 20, 0.2);
    border-color: var(--primary-color);
}

.cyber-btn {
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cyber-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), #2dd40c);
    color: #000;
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.3);
}

.cyber-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.4);
}

.cyber-btn.danger {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.cyber-btn.danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
}

.cyber-btn.full-width {
    width: 100%;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .cyber-input {
    padding-right: 45px;
}

.password-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 16px;
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f59e0b;
    font-size: 13px;
}

.warning-box i {
    font-size: 18px;
}

.info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3b82f6;
    font-size: 13px;
}

.info-box i {
    font-size: 18px;
}

/* Google Auth Specific */
.auth-card {
    text-align: center;
}

.auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.2), rgba(45, 212, 12, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.auth-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.qr-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto;
    max-width: 280px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-loader {
    font-size: 32px;
    color: var(--primary-color);
}

.qr-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    border: 2px solid #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon i {
    font-size: 36px;
    color: #10b981;
}

.success-title {
    font-size: 22px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 10px;
}

/* Feedback Page Specific */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(57, 255, 20, 0.2);
}

.flash-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.flash-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.flash-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.reply-indicator {
    font-size: 12px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-details {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 20px;
}

.modal-body .cyber-btn {
    margin-top: 15px;
}

/* ==========================================
   VIP UPGRADE LEVEL PAGE
   ========================================== */

/* Current VIP Status Display */
.vip-current-display {
    text-align: center;
    padding: 24px 0;
}

.vip-level-badge {
    display: inline-block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-glow);
    padding: 16px 32px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    background: rgba(57, 255, 20, 0.05);
}

/* VIP Cards Carousel */
.vip-carousel-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.vip-carousel-container::-webkit-scrollbar {
    height: 4px;
}

.vip-carousel-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.vip-carousel-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.vip-card {
    min-width: 240px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    overflow: hidden;
    position: relative;
}

.vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vip-card:hover::before,
.vip-card.active::before {
    opacity: 1;
}

.vip-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(57, 255, 20, 0.3);
    transform: translateY(-4px);
}

.vip-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.15), rgba(57, 255, 20, 0.05));
    box-shadow: 0 8px 40px rgba(57, 255, 20, 0.4);
}

.vip-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vip-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vip-card.active .vip-name {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.vip-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.vip-status i {
    font-size: 14px;
}

.vip-card.active .vip-status i,
.vip-card.active .vip-status span {
    color: var(--primary-color);
}

.vip-card-body {
    padding: 20px;
}

.vip-card-icon {
    text-align: center;
    margin-bottom: 16px;
}

.vip-card-icon img {
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.3));
}

.vip-card.active .vip-card-icon img {
    filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.6));
}

.vip-card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vip-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.detail-value {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 700;
}

.vip-card.active .vip-detail-item {
    background: rgba(57, 255, 20, 0.05);
    border-color: rgba(57, 255, 20, 0.2);
}


/* Requirements */
.requirement-item {
    margin-bottom: 20px;
}

.requirement-item:last-child {
    margin-bottom: 0;
}

.req-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.req-label i {
    color: var(--primary-color);
    font-size: 16px;
}

.req-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Equity Grid */
.equity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.equity-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.equity-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.equity-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Current Badge */
.current-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: var(--primary-color);
    color: #000 !important;
    font-size: 9px;
    font-weight: 800;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* VIP Requirements in Cards */
.vip-requirements {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.req-progress-item {
    margin-bottom: 12px;
}

.req-progress-item:last-child {
    margin-bottom: 0;
}

.req-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.req-progress-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.req-progress-label i {
    font-size: 11px;
    color: var(--primary-color);
}

.req-progress-value {
    font-size: 11px;
    color: var(--text-main);
    font-weight: 600;
}

.req-progress-value .current-val {
    color: var(--primary-color);
}

.mini-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.5s ease;
    box-shadow: 0 0 8px var(--primary-glow);
}

.vip-card.active .mini-progress-fill {
    box-shadow: 0 0 12px var(--primary-glow);
}


/* Section Header (like Video Guide) */
.section-header {
    margin-bottom: 16px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(57, 255, 20, 0.2);
}

.section-title i {
    color: var(--primary-color);
    font-size: 20px;
}


/* Animated Section Title with Line */
.section-title-wrapper {
    position: relative;
}

.section-title-with-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    padding-bottom: 12px;
    position: relative;
}

.section-title-with-line i {
    color: var(--primary-color);
    font-size: 18px;
}

.section-title-with-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary-color) 20%,
            var(--primary-color) 80%,
            transparent 100%);
    animation: lineMove 3s ease-in-out infinite;
}

@keyframes lineMove {

    0%,
    100% {
        transform: translateX(-10%);
        opacity: 0.6;
    }

    50% {
        transform: translateX(10%);
        opacity: 1;
    }
}

/* Authentication Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(57, 255, 20, 0.05);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

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

.auth-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.3));
}

.auth-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    color: #fff;
    text-shadow: 0 0 5px var(--primary-color);
}

.forgot-link {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: var(--primary-color);
}

.auth-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-alert-success {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.auth-alert-error {
    background: rgba(255, 59, 59, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

/* Auth Input Wrapper Styling */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i:not(.password-toggle) {
    position: absolute;
    left: 15px;
    z-index: 2;
    color: var(--primary-color);
    font-size: 16px;
    pointer-events: none;
    /* Let clicks pass through to input */
}

.password-toggle {
    position: absolute;
    right: 15px;
    z-index: 2;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

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