/* Welcome Card */
.welcome-card {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.welcome-content {
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.welcome-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.welcome-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.welcome-username {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

/* Dashboard Main */
.dashboard-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.dashboard-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.dashboard-tab {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 12px;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.dashboard-tab:hover {
    border-color: rgba(64, 224, 208, 0.6);
    background: rgba(64, 224, 208, 0.1);
}

.dashboard-tab.active {
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.4);
}

.tab-icon {
    font-size: 18px;
}

/* Dashboard Content */
.dashboard-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
}

.summary-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.summary-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.summary-value {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

/* Compound Power Card */
.compound-power-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

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

.power-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.power-icon {
    font-size: 32px;
}

.power-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.power-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.active-badge {
    background: #4ade80;
    color: #000000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.power-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.power-circle-section {
    text-align: center;
    position: relative;
}

.power-circle {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(64, 224, 208, 0.4);
    position: relative;
}

.power-circle-icon {
    font-size: 60px;
    color: #ffffff;
}

.power-circle-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.power-circle-value {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
}

.refresh-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.refresh-btn:hover {
    background: rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.6);
    transform: rotate(180deg);
}

.power-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.power-detail-item {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
}

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

.power-detail-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.power-detail-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.power-detail-value.timer {
    font-family: 'Courier New', monospace;
    color: #40E0D0;
}

.power-detail-badge {
    background: #4ade80;
    color: #000000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.power-toggle-section {
    margin: 10px 0;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: #ffffff;
    font-size: 14px;
}

.toggle-switch {
    display: none;
}

.toggle-slider {
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 26px;
    position: relative;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

.toggle-switch:checked + .toggle-slider {
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
}

.toggle-switch:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.power-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.power-action-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.power-action-btn.btn-green {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

.power-action-btn.btn-purple {
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
}

.power-action-btn.btn-gradient {
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
}

.power-action-btn.btn-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.power-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 224, 208, 0.4);
}

/* CP Levels Table */
.cp-levels-table-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 20px;
    padding: 30px;
}

.table-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cp-levels-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.cp-levels-table th {
    text-align: left;
    padding: 15px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid rgba(64, 224, 208, 0.3);
}

.cp-levels-table td {
    padding: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(64, 224, 208, 0.1);
}

.cp-levels-table tbody tr:hover {
    background: rgba(64, 224, 208, 0.05);
}

.popular-icon {
    margin-left: 8px;
    font-size: 16px;
}

.table-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.metric-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: rgba(64, 224, 208, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.2);
}

.metric-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.metric-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.metric-btn {
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.metric-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.4);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.dashboard-section {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 20px;
    padding: 30px;
}

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

.section-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

/* Level Cards */
.level-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.level-card {
    background: rgba(64, 224, 208, 0.05);
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.level-card:hover {
    border-color: rgba(64, 224, 208, 0.4);
    background: rgba(64, 224, 208, 0.1);
}

.level-card.active-level {
    background: rgba(64, 224, 208, 0.15);
    border-color: rgba(64, 224, 208, 0.5);
}

.level-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.level-content {
    flex: 1;
}

.level-range {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.level-badge {
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 10px;
}

.level-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.level-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(64, 224, 208, 0.2);
}

/* Deposit Form */
.deposit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.deposit-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deposit-label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.deposit-input {
    width: 100%;
    padding: 16px;
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.deposit-input:focus {
    outline: none;
    border-color: rgba(64, 224, 208, 0.6);
    background: rgba(64, 224, 208, 0.15);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.2);
}

.quick-select-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quick-select-btn {
    padding: 10px 20px;
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-select-btn:hover {
    background: rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.5);
}

.investment-level-preview {
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.preview-label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.preview-level {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.preview-level-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.preview-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
}

.preview-earnings {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.deposit-submit-btn {
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    border: none;
    padding: 16px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

.deposit-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 224, 208, 0.5);
}

.deposit-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Rewards Grid */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.rewards-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 20px;
    padding: 30px;
}

.rewards-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.rewards-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.rewards-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.reward-stat {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
}

.reward-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.reward-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.reward-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.rewards-actions {
    display: flex;
    gap: 15px;
}

.reward-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reward-btn.btn-green {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

.reward-btn.btn-purple {
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
}

.reward-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 224, 208, 0.4);
}

/* History Grid */
.history-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.history-section {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 20px;
    padding: 30px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
}

.history-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.history-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    background: rgba(64, 224, 208, 0.05);
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.history-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4ade80;
    color: #000000;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.history-content {
    padding-right: 80px;
}

.history-amount {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.history-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.history-progress {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.history-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.history-hash {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
}

.copy-btn {
    background: rgba(64, 224, 208, 0.2);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.copy-btn:hover {
    background: rgba(64, 224, 208, 0.3);
    border-color: rgba(64, 224, 208, 0.5);
}

.history-end-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(64, 224, 208, 0.2);
}

/* History Header Section */
.history-header-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.back-btn {
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(64, 224, 208, 0.2);
    border-color: rgba(64, 224, 208, 0.5);
}

.history-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    flex: 1;
}

.history-total {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* Transaction List */
.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.transaction-item {
    background: rgba(64, 224, 208, 0.05);
    border: 1px solid rgba(64, 224, 208, 0.2);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.transaction-item:hover {
    border-color: rgba(64, 224, 208, 0.4);
    background: rgba(64, 224, 208, 0.1);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.transaction-icon.success {
    background: #4ade80;
    color: #000000;
}

.transaction-content {
    flex: 1;
}

.transaction-type {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.transaction-status {
    display: inline-block;
    margin-bottom: 5px;
}

.success-tag {
    background: #4ade80;
    color: #000000;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.transaction-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.transaction-amount {
    font-size: 18px;
    font-weight: 700;
    color: #4ade80;
}

/* Info Banner */
.info-banner {
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.info-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.info-banner span:last-child {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Portfolio Section */
.portfolio-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
}

.portfolio-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-btn {
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 20px;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: rgba(64, 224, 208, 0.5);
    background: rgba(64, 224, 208, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

.investment-cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.investment-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.investment-card:hover {
    border-color: rgba(64, 224, 208, 0.6);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.2);
}

.investment-status {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #4ade80;
    color: #000000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.investment-content {
    display: grid;
    grid-template-columns: 120px 1fr 200px;
    gap: 25px;
    align-items: center;
}

.investment-progress-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

.progress-circle-value {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

.progress-circle-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.progress-circle-icon {
    position: absolute;
    bottom: -5px;
    font-size: 16px;
}

.investment-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.investment-date {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.investment-progress-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.investment-original {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.investment-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.investment-earned {
    font-size: 18px;
    font-weight: 700;
}

.investment-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(64, 224, 208, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #8a2be2 0%, #40E0D0 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.investment-remaining {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .dashboard-grid,
    .rewards-grid,
    .history-grid {
        grid-template-columns: 1fr;
    }

    .power-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .power-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-title {
        font-size: 32px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-tabs {
        gap: 10px;
    }

    .dashboard-tab {
        padding: 10px 16px;
        font-size: 13px;
    }

    .investment-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .investment-stats {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .summary-cards {
        grid-template-columns: 1fr;
    }

    .dashboard-tabs {
        flex-direction: column;
    }

    .dashboard-tab {
        width: 100%;
        justify-content: center;
    }

    .dashboard-main {
        padding: 40px 15px 60px;
    }

    .dashboard-section {
        padding: 20px 15px;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cp-levels-table,
    .downlines-table,
    .history-table {
        min-width: 500px;
        font-size: 12px;
    }

    .cp-levels-table th,
    .cp-levels-table td,
    .downlines-table th,
    .downlines-table td {
        padding: 10px 8px;
    }

    .section-title {
        font-size: 22px;
    }
}

