/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}ac

:root {
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --primary-light: #8B83FF;
    --secondary: #4A90D9;
    --accent: #FF6B6B;
    --success: #4CAF50;
    --warning: #FFC107;
    --danger: #FF5252;
    --bg: #F0F2F5;
    --card-bg: #FFFFFF;
    --text: #2D3748;
    --text-light: #718096;
    --border: #E2E8F0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, 'Segoe UI', 'Inter', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ========== NAVBAR ========== */
.navbar {
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.nav-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.nav-brand:hover {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-email {
    color: var(--text-light);
    font-size: 14px;
    padding: 6px 12px;
    background: var(--bg);
    border-radius: 20px;
}

.nav-link {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(108, 99, 255, 0.08);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(108, 99, 255, 0.12);
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(108, 99, 255, 0.35);
    color: white;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    display: inline-block;
    padding: 12px 30px;
    background: var(--success);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.35);
}

.btn-danger {
    display: inline-block;
    padding: 12px 30px;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 82, 82, 0.35);
}

.btn-large {
    padding: 14px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ========== CARDS ========== */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

/* ========== ALERTS ========== */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert.success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert.error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.alert.warning {
    background: #FFF3CD;
    color: #856404;
    border: 1px solid #FFEEBA;
}

.alert.info {
    background: #D1ECF1;
    color: #0C5460;
    border: 1px solid #BEE5EB;
}

/* ========== AUTH PAGES ========== */
.auth-box {
    max-width: 420px;
    margin: 60px auto;
    background: var(--card-bg);
    padding: 40px 35px;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.auth-box h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 4px;
}

.auth-box h2 {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 25px;
}

.auth-box .form-group {
    margin-bottom: 18px;
}

.auth-box label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 5px;
}

.auth-box input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.auth-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.auth-box p {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

/* ========== DASHBOARD ========== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

.stat-value {
    font-weight: 600;
    font-size: 14px;
}

/* ====== ACTIVITY INDICATOR ====== */
.activity-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    background: var(--bg);
    border-radius: 8px;
    margin: 10px 0;
}

.activity-status {
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.activity-active {
    color: #FF5252;
}

.activity-idle {
    color: #4CAF50;
}

.activity-timer {
    font-family: monospace;
    font-size: 14px;
    color: var(--text-light);
    transition: color 0.3s;
}

/* Mining Status */
.status-active, .status-inactive {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active {
    background: var(--success);
    animation: pulse 1.5s infinite;
}

.status-dot.inactive {
    background: var(--text-light);
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.timer-display {
    font-size: 28px;
    font-weight: 700;
    font-family: monospace;
    text-align: center;
    padding: 10px;
    background: var(--bg);
    border-radius: 8px;
    margin: 10px 0;
}

/* Coin Grid */
.coin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.coin-card {
    background: var(--bg);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    transition: var(--transition);
}

.coin-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.coin-card.special {
    background: linear-gradient(135deg, #FFF3CD, #FFEAA7);
    border: 1px solid #FFC107;
}

.coin-number {
    display: block;
    font-weight: 700;
    font-size: 14px;
    font-family: monospace;
}

.coin-date {
    display: block;
    font-size: 10px;
    color: var(--text-light);
}

.coin-badge {
    font-size: 10px;
    color: #856404;
    background: #FFF3CD;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 4px;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg);
    border-radius: 10px;
    overflow: hidden;
    margin: 8px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 12px;
    color: var(--text-light);
    text-align: right;
    display: block;
}

/* ========== MINING PAGE ========== */
.mining-container {
    max-width: 800px;
}

.mining-interface {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.mining-header {
    text-align: center;
    margin-bottom: 30px;
}

.mining-header h1 {
    font-size: 28px;
    font-weight: 700;
}

.mining-header p {
    color: var(--text-light);
}

.mining-status {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    margin-bottom: 24px;
}

.mining-status.active {
    border: 2px solid var(--success);
}

.mining-status.inactive {
    border: 2px solid var(--border);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

.pulse-dot.mining {
    background: var(--success);
    animation: pulse 1.5s infinite;
}

.pulse-dot.idle {
    background: var(--text-light);
}

.status-text {
    font-size: 18px;
    font-weight: 600;
}

.mining-timer, .mining-coins {
    margin: 12px 0;
}

.timer-value, .coins-value {
    font-size: 32px;
    font-weight: 700;
    font-family: monospace;
    color: var(--primary);
}

.timer-label, .coins-label, .progress-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.mining-progress {
    margin: 20px 0;
}

.mining-progress .progress-bar {
    height: 12px;
}

.mining-control {
    margin-top: 20px;
}

.mining-info {
    color: var(--text-light);
    margin-bottom: 20px;
}

.mining-hint {
    font-size: 13px;
    color: var(--primary);
    margin-top: 8px;
}

/* Device Info */
.device-info {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
}

.device-info h3 {
    margin-bottom: 16px;
}

.device-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.device-item {
    display: flex;
    flex-direction: column;
}

.device-label {
    font-size: 12px;
    color: var(--text-light);
}

.device-value {
    font-weight: 500;
    font-size: 14px;
}

.device-value.status-active {
    color: var(--success);
}

.device-value.status-inactive {
    color: var(--text-light);
}

/* Mining Tips */
.mining-tips {
    background: #F8F9FA;
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 20px;
}

.mining-tips h3 {
    margin-bottom: 12px;
}

.mining-tips ul {
    list-style: none;
    padding: 0;
}

.mining-tips li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.mining-tips li:last-child {
    border-bottom: none;
}

.mining-tips li::before {
    content: "• ";
    color: var(--primary);
    font-weight: 700;
}

/* ========== DONATE PAGE ========== */
.donate-container {
    max-width: 1000px;
}

.donate-header {
    text-align: center;
    margin-bottom: 30px;
}

.donate-header h1 {
    font-size: 32px;
    font-weight: 700;
}

.donate-header p {
    color: var(--text-light);
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.donation-type {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 12px;
}

.donation-type:hover {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.04);
}

.donation-type.selected {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.08);
}

.donation-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.donation-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.donation-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.amount-options {
    display: flex;
    gap: 8px;
}

.amount-btn {
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.amount-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.donation-form {
    margin-top: 20px;
}

.donation-form .form-group {
    margin-bottom: 16px;
}

.donation-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 14px;
}

.donation-form select,
.donation-form input,
.donation-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.donation-form select:focus,
.donation-form input:focus,
.donation-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.amount-input-group {
    position: relative;
}

.amount-input-group input {
    padding-right: 40px;
}

.amount-input-group .currency {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--text-light);
}

.quick-amounts {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.quick-amount {
    padding: 4px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.quick-amount:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.donation-note {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
}

.donation-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.supporter-list {
    max-height: 400px;
    overflow-y: auto;
}

.supporter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.supporter-item:last-child {
    border-bottom: none;
}

.supporter-icon {
    font-size: 24px;
}

.supporter-info {
    flex: 1;
}

.supporter-amount {
    font-weight: 700;
    font-size: 14px;
}

.supporter-type {
    font-size: 12px;
    color: var(--text-light);
    margin-left: 8px;
}

.supporter-message {
    font-size: 13px;
    color: var(--text);
    font-style: italic;
    margin-top: 2px;
}

.supporter-date {
    font-size: 12px;
    color: var(--text-light);
}

/* ========== PROFILE PAGE ========== */
.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-info h1 {
    font-size: 24px;
    margin-bottom: 4px;
}

.profile-joined {
    color: var(--text-light);
    font-size: 14px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stats-summary {
    grid-column: 1 / -1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.stat-card {
    text-align: center;
    padding: 16px;
    background: var(--bg);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
}

.coin-collection {
    grid-column: 1 / -1;
}

.collection-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.coin-grid-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
    padding: 4px;
}

.coin-badge {
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-family: monospace;
    transition: var(--transition);
}

.coin-badge:hover {
    transform: scale(1.05);
    background: var(--primary);
    color: white;
}

.coin-badge.special {
    background: linear-gradient(135deg, #FFF3CD, #FFEAA7);
    border: 1px solid #FFC107;
}

.coin-badge .star {
    margin-left: 2px;
    font-size: 10px;
}

.coin-badge.more {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

/* Device List */
.device-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.device-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: var(--bg);
    border-radius: 8px;
    transition: var(--transition);
}

.device-item:hover {
    background: #E8EAF0;
}

.device-icon {
    font-size: 24px;
}

.device-info {
    flex: 1;
}

.device-name {
    display: block;
    font-weight: 500;
    font-size: 14px;
}

.device-os, .device-browser {
    font-size: 12px;
    color: var(--text-light);
}

.device-stats {
    text-align: right;
}

.device-hours {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.device-last {
    font-size: 11px;
    color: var(--text-light);
}

/* Session History */
.session-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 300px;
    overflow-y: auto;
}

.session-item {
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.5fr 0.5fr;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: 6px;
    font-size: 13px;
    align-items: center;
}

.session-item.completed {
    border-left: 3px solid var(--success);
}

.session-item.interrupted {
    border-left: 3px solid var(--warning);
}

.session-item.active {
    border-left: 3px solid var(--primary);
}

/* Donation History */
.donation-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.donation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: 6px;
    font-size: 13px;
}

.donation-type {
    font-size: 20px;
}

.donation-amount {
    font-weight: 700;
}

.donation-date {
    color: var(--text-light);
    font-size: 12px;
}

.donation-message {
    color: var(--text-light);
    font-style: italic;
    font-size: 12px;
    margin-left: auto;
}

/* ========== HERO / LANDING PAGE ========== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: 52px;
    font-weight: 300;
    margin-bottom: 10px;
}

.hero h1 span {
    font-weight: 700;
}

.hero-tagline {
    font-size: 24px;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hero-description {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: white;
    color: var(--primary);
}

.hero-buttons .btn-primary:hover {
    background: #f0f0f0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.hero-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.hero-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Features */
.features {
    padding: 60px 20px;
    background: var(--card-bg);
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    background: var(--bg);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 60px 20px;
    background: var(--bg);
}

.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item-large {
    padding: 20px;
}

.stat-number-large {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label-large {
    font-size: 14px;
    color: var(--text-light);
}

/* Philosophy */
.philosophy {
    padding: 60px 20px;
    background: var(--card-bg);
}

.philosophy-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.philosophy-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
}

.philosophy-content blockquote {
    margin: 30px 0 0;
    font-size: 20px;
    font-style: italic;
    color: var(--primary);
    padding: 20px;
    border-left: 4px solid var(--primary);
    background: var(--bg);
    border-radius: 0 8px 8px 0;
}

/* CTA */
.cta {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
}

.cta .btn-primary:hover {
    background: #f0f0f0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: #1A202C;
    color: #A0AEC0;
    padding: 40px 20px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.footer-brand span {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.footer-brand p {
    font-size: 14px;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links a {
    color: #A0AEC0;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    text-align: right;
    font-size: 13px;
}

.footer-tagline {
    font-style: italic;
    margin-top: 4px;
    color: #718096;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .donate-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid-large {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-copy {
        text-align: center;
    }
    
    .device-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-email {
        width: 100%;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-tagline {
        font-size: 18px;
    }
    
    .session-item {
        grid-template-columns: 1fr;
        gap: 4px;
        text-align: center;
    }
    
    .mining-status {
        padding: 20px;
    }
    
    .timer-value, .coins-value {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-large {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .coin-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
    
    .auth-box {
        padding: 30px 20px;
        margin: 30px 10px;
    }
    
    .container {
        padding: 12px;
    }
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

.empty-state {
    color: var(--text-light);
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

.hidden {
    display: none;
}