/* HashPower Invest - Main Stylesheet */

:root {
    /* Colors */
    --primary: #f7931a;
    --primary-dark: #c77800;
    --bitcoin-orange: #f7931a;
    --bitcoin-dark: #ff6b00;
    --success: #00c853;
    --warning: #ffab00;
    --danger: #ff5252;
    --info: #2196f3;
    
    /* Dark Theme */
    --darker: #0a0a0f;
    --dark: #12121a;
    --dark-light: #1a1a24;
    --dark-lighter: #252530;
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(247, 147, 26, 0.3);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--darker);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =====================
   BUTTONS
===================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--bitcoin-orange), var(--bitcoin-dark));
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(247, 147, 26, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-small:hover {
    background: rgba(247, 147, 26, 0.2);
}

.btn-full {
    width: 100%;
}

/* =====================
   FORMS
===================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.optional {
    font-weight: 400;
    color: var(--text-muted);
}

/* =====================
   ALERTS
===================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: var(--success);
}

.alert-error {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    color: var(--danger);
}

.alert-warning {
    background: rgba(255, 171, 0, 0.1);
    border: 1px solid rgba(255, 171, 0, 0.3);
    color: var(--warning);
}

/* =====================
   AUTH PAGES
===================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(247, 147, 26, 0.3), transparent);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2), transparent);
    bottom: -100px;
    left: -100px;
}

.auth-container {
    position: relative;
    z-index: 1;
    max-width: 450px;
    width: 100%;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.8), rgba(10, 10, 10, 0.9));
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bitcoin-orange), var(--bitcoin-dark));
    border-radius: 12px;
    margin: 0 auto;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.forgot-password {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--bitcoin-orange), var(--bitcoin-dark));
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(247, 147, 26, 0.4);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.back-home {
    text-align: center;
    margin-top: 1.5rem;
}

.back-home a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.3s;
}

.back-home a:hover {
    color: var(--primary);
}

/* =====================
   DASHBOARD HEADER
===================== */
.dashboard-header {
    background: var(--dark);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.dashboard-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
}

.logo-text .accent {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(247, 147, 26, 0.1);
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btc-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(247, 147, 26, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-weight: 600;
}

.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
}

.user-btn:hover {
    border-color: var(--primary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 180px;
    background: var(--dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    display: none;
    box-shadow: var(--shadow-lg);
}

.user-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0;
}

/* =====================
   DASHBOARD PAGES
===================== */
.dashboard-page,
.invest-page,
.earnings-page,
.withdraw-page,
.profile-page {
    min-height: calc(100vh - 70px);
    padding: 2rem 0;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-muted);
}

.welcome-section {
    margin-bottom: 2rem;
}

.welcome-section h1 {
    font-size: 1.75rem;
    font-weight: 700;
}

.welcome-section p {
    color: var(--text-muted);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card.highlight {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1), rgba(255, 107, 0, 0.05));
    border-color: rgba(247, 147, 26, 0.3);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 26, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 1.5rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: var(--dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Investments List */
.investments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.investment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.inv-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 26, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
}

.inv-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.inv-name {
    font-weight: 600;
}

.inv-info {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.inv-earnings {
    text-align: right;
}

.inv-daily {
    display: block;
    color: var(--success);
    font-weight: 600;
}

.inv-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Earnings List */
.earnings-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.earning-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.earn-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.earn-package {
    flex: 1;
    text-align: center;
    font-size: 0.875rem;
}

.earn-amount {
    color: var(--success);
    font-weight: 600;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s;
}

.action-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.action-card i {
    font-size: 2rem;
    color: var(--primary);
}

.action-card span {
    font-weight: 600;
    color: var(--text-secondary);
}

/* =====================
   PACKAGES PAGE
===================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.package-card {
    background: var(--dark-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.package-card:hover {
    border-color: rgba(247, 147, 26, 0.5);
    transform: translateY(-4px);
}

.package-card.popular {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(247, 147, 26, 0.1), rgba(10, 10, 10, 0.9));
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: linear-gradient(135deg, var(--bitcoin-orange), var(--bitcoin-dark));
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.package-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.package-features {
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.feature:last-child {
    border-bottom: none;
}

.feature i {
    color: var(--primary);
}

.package-earnings {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.earning-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.earning-row.highlight {
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1rem;
}

.earning-row.highlight strong {
    color: var(--success);
}

.btn-invest {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--bitcoin-orange), var(--bitcoin-dark));
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-invest:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(247, 147, 26, 0.4);
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background: var(--dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card h4 {
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =====================
   SUMMARY CARDS
===================== */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: var(--dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.summary-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 26, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 1.5rem;
}

.summary-content {
    display: flex;
    flex-direction: column;
}

.summary-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.summary-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.summary-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* =====================
   DATA TABLES
===================== */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
}

.data-table td {
    font-size: 0.875rem;
}

.text-success {
    color: var(--success);
}

.text-muted {
    color: var(--text-muted);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active, .status-completed {
    background: rgba(0, 200, 83, 0.1);
    color: var(--success);
}

.status-pending {
    background: rgba(255, 171, 0, 0.1);
    color: var(--warning);
}

.status-rejected, .status-cancelled, .status-suspended {
    background: rgba(255, 82, 82, 0.1);
    color: var(--danger);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.pagination a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
}

.pagination a:hover {
    background: rgba(247, 147, 26, 0.1);
    color: var(--primary);
}

.page-info {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* =====================
   WITHDRAW PAGE
===================== */
.withdraw-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.balance-display {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1), rgba(255, 107, 0, 0.05));
    border: 1px solid rgba(247, 147, 26, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.balance-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.balance-btc {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.balance-usd {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.info-item i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.info-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.info-item span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.insufficient-balance {
    text-align: center;
    padding: 2rem;
}

.insufficient-balance i {
    font-size: 3rem;
    color: var(--warning);
    margin-bottom: 1rem;
}

.wallet-cell {
    font-family: monospace;
    font-size: 0.8rem;
}

.tx-link {
    color: var(--primary);
    font-family: monospace;
    font-size: 0.8rem;
}

/* =====================
   PROFILE PAGE
===================== */
.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.info-value {
    font-weight: 600;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-item {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.activity-action {
    font-weight: 600;
    font-size: 0.875rem;
}

.activity-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =====================
   PAYMENT PAGE
===================== */
.payment-page {
    min-height: calc(100vh - 70px);
    padding: 3rem 0;
}

.payment-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}

.payment-header {
    margin-bottom: 2rem;
}

.payment-header i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.payment-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.payment-header p {
    color: var(--text-muted);
}

.payment-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.highlight {
    background: rgba(247, 147, 26, 0.1);
    margin: 0.5rem -1rem -0.5rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.detail-row.highlight strong {
    color: var(--primary);
    font-size: 1.25rem;
}

.payment-wallet {
    margin-bottom: 2rem;
}

.payment-wallet label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.wallet-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.wallet-address code {
    flex: 1;
    font-family: monospace;
    font-size: 0.875rem;
    word-break: break-all;
}

.copy-btn {
    background: rgba(247, 147, 26, 0.1);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: rgba(247, 147, 26, 0.2);
}

.qr-code {
    display: inline-block;
    padding: 1rem;
    background: #fff;
    border-radius: var(--radius-md);
}

.payment-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1.5rem;
    background: rgba(255, 171, 0, 0.1);
    border: 1px solid rgba(255, 171, 0, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.payment-notice i {
    color: var(--warning);
    font-size: 1.5rem;
}

.payment-notice ul {
    margin: 0.5rem 0 0 1.25rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.payment-notice li {
    margin-bottom: 0.25rem;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* =====================
   FOOTER
===================== */
footer {
    background: var(--dark);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid,
    .withdraw-grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .info-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-nav {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-actions {
        flex-direction: column;
    }
}

/* =====================
   CALCULATOR SECTION
===================== */
#calculator {
    background: var(--dark);
}

.calculator-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.calculator-card {
    background: linear-gradient(145deg, var(--dark-light), var(--darker));
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.calc-input-section {
    margin-bottom: 2.5rem;
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.calc-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0 1.5rem;
    transition: all 0.3s;
}

.calc-input-wrapper:focus-within {
    border-color: var(--primary);
}

.calc-prefix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 0.5rem;
}

.calc-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1.25rem 0;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    outline: none;
    width: 100%;
}

.calc-input-wrapper input::-webkit-outer-spin-button,
.calc-input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Range Slider */
#calcSlider {
    width: 100%;
    height: 8px;
    margin-top: 1.5rem;
    -webkit-appearance: none;
    appearance: none;
    background: var(--dark-lighter);
    border-radius: 4px;
    outline: none;
}

#calcSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--bitcoin-orange), var(--bitcoin-dark));
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(247, 147, 26, 0.4);
    transition: transform 0.2s;
}

#calcSlider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

#calcSlider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--bitcoin-orange), var(--bitcoin-dark));
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(247, 147, 26, 0.4);
}

.calc-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Period Buttons */
.calc-period-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.period-btn {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.period-btn:hover {
    border-color: rgba(247, 147, 26, 0.5);
    color: var(--text-primary);
}

.period-btn.active {
    background: rgba(247, 147, 26, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Results Section */
.calc-results-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.calc-result-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.calc-result-card.highlight {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1), rgba(255, 107, 0, 0.05));
    border-color: rgba(247, 147, 26, 0.3);
}

.result-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 26, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 1.25rem;
}

.calc-result-card.highlight .result-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
}

.result-info {
    display: flex;
    flex-direction: column;
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.result-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.calc-result-card.highlight .result-value {
    font-size: 1.75rem;
    color: var(--primary);
}

.result-sub {
    font-size: 0.875rem;
    color: var(--success);
    font-weight: 600;
}

/* BTC Info */
.calc-btc-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.btc-rate {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btc-rate i {
    color: var(--primary);
}

.calc-cta {
    font-size: 1.125rem;
    padding: 1.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .calculator-card {
        padding: 2rem 1.5rem;
    }
    
    .calc-input-wrapper input {
        font-size: 1.5rem;
    }
    
    .calc-period-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calc-results-section {
        grid-template-columns: 1fr;
    }
    
    .calc-result-card.highlight {
        grid-column: span 1;
    }
    
    .calc-btc-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}