/* Rewards Panel - Unified rewards system (Referrals + Daily Login + Leaderboard) */

.rewards-panel {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        rgba(186, 166, 116, 0.2) 0 0 30px,
        rgba(186, 166, 116, 0.1) 0 0 15px,
        rgba(186, 166, 116, 0.05) 1px 1px 3px inset,
        rgba(0, 0, 0, 0.4) 0 8px 32px;
    font-family: 'RemiliaMincho', serif;
    font-size: 13px;
    color: #E5E7EB;
    user-select: none;
    margin: 0;
    padding: 0;
    position: relative;
    background: transparent;
}

.rewards-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.05) 0%,
        rgba(51, 65, 85, 0.08) 50%,
        rgba(30, 41, 59, 0.05) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
    pointer-events: none;
}

/* Header */
.rewards-panel .panel-header {
    background: linear-gradient(0deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.98));
    height: 2.25rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    margin: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: relative;
    z-index: 20;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.rewards-panel .panel-header h2 {
    font-family: 'RemiliaMincho', serif;
    font-size: 0.9rem;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
    color: rgba(186, 166, 116, 0.7);
    font-weight: 400;
    opacity: 0.8;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rewards-panel .panel-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.rewards-panel .panel-actions button {
    width: 20px;
    height: 20px;
    background: linear-gradient(180deg,
        rgba(30, 41, 59, 0.9) 0%,
        rgba(51, 65, 85, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    color: rgba(186, 166, 116, 0.8);
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
}

.rewards-panel .panel-actions button:hover {
    background: linear-gradient(180deg,
        rgba(51, 65, 85, 0.95) 0%,
        rgba(71, 85, 105, 1) 100%);
    border-color: rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
}

/* Panel Body */
.rewards-panel .panel-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(30, 41, 59, 0.95) 100%);
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 16px;
}

.loading-spinner {
    font-size: 48px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 16px;
    color: rgba(186, 166, 116, 0.8);
}

/* Tabs */
.rewards-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(15, 23, 42, 0.6);
    padding: 0;
}

.rewards-tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(186, 166, 116, 0.6);
    font-family: 'RemiliaMincho', serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
}

.rewards-tab:hover {
    background: rgba(30, 41, 59, 0.4);
    color: rgba(186, 166, 116, 0.9);
}

.rewards-tab.active {
    color: rgba(212, 175, 55, 0.95);
    border-bottom-color: rgba(212, 175, 55, 0.8);
    background: rgba(30, 41, 59, 0.6);
}

.tab-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Content */
.rewards-content {
    padding: 20px;
}

.section-title {
    font-size: 16px;
    color: rgba(212, 175, 55, 0.9);
    margin: 0 0 16px 0;
    font-weight: 400;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

/* ==================== OVERVIEW TAB ==================== */

/* SHARD Hero */
.shard-hero {
    background: linear-gradient(135deg,
        rgba(51, 65, 85, 0.7) 0%,
        rgba(71, 85, 105, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.shard-hero-icon {
    font-size: 64px;
    margin-bottom: 12px;
}

.shard-hero-label {
    font-size: 14px;
    color: rgba(186, 166, 116, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.shard-hero-value {
    font-size: 48px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0px 2px 6px rgba(255, 215, 0, 0.5);
    margin-bottom: 8px;
}

.shard-hero-rank {
    font-size: 14px;
    color: rgba(212, 175, 55, 0.9);
}

/* Quick Stats Grid */
.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.quick-stat-card {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.7) 100%);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.quick-stat-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.quick-stat-card.highlight {
    border-color: rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.1) 0%,
        rgba(22, 163, 74, 0.15) 100%);
}

.quick-stat-card .stat-icon {
    font-size: 36px;
}

.quick-stat-card .stat-content {
    flex: 1;
}

.quick-stat-card .stat-label {
    font-size: 12px;
    color: rgba(186, 166, 116, 0.7);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.quick-stat-card .stat-value {
    font-size: 24px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.95);
}

.quick-stat-card .stat-subtext {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.6);
    margin-top: 4px;
}

.quick-claim-btn {
    background: linear-gradient(180deg,
        rgba(34, 197, 94, 0.8) 0%,
        rgba(22, 163, 74, 0.9) 100%);
    border: 1px solid rgba(34, 197, 94, 0.6);
    border-radius: 6px;
    padding: 8px 16px;
    color: white;
    font-family: 'RemiliaMincho', serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin-top: 8px;
}

.quick-claim-btn:hover {
    background: linear-gradient(180deg,
        rgba(34, 197, 94, 1) 0%,
        rgba(22, 163, 74, 1) 100%);
    transform: scale(1.02);
}

/* Earn More Section */
.earn-more-section {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.earn-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.earn-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(186, 166, 116, 0.1);
}

.earn-method .method-icon {
    font-size: 32px;
}

.earn-method .method-info {
    flex: 1;
}

.earn-method .method-title {
    font-size: 14px;
    color: rgba(212, 175, 55, 0.9);
    font-weight: 600;
    margin-bottom: 4px;
}

.earn-method .method-desc {
    font-size: 12px;
    color: rgba(186, 166, 116, 0.7);
}

/* Overview Actions */
.overview-actions {
    display: flex;
    gap: 12px;
}

.overview-actions .action-btn {
    flex: 1;
    background: linear-gradient(180deg,
        rgba(51, 65, 85, 0.9) 0%,
        rgba(71, 85, 105, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    padding: 14px 20px;
    color: rgba(186, 166, 116, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'RemiliaMincho', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.overview-actions .action-btn:hover {
    background: linear-gradient(180deg,
        rgba(71, 85, 105, 0.95) 0%,
        rgba(100, 116, 139, 1) 100%);
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

.overview-actions .action-icon {
    font-size: 24px;
}

.overview-actions .action-label {
    font-size: 12px;
    text-align: center;
}

/* ==================== REFERRALS TAB ==================== */

.referral-code-card {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.4) 0%,
        rgba(51, 65, 85, 0.5) 100%);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 16px;
    color: rgba(212, 175, 55, 0.9);
    margin: 0 0 16px 0;
    font-weight: 400;
}

.code-display-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.code-value {
    font-size: 32px;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 4px;
    text-shadow: 0px 2px 6px rgba(255, 215, 0, 0.5);
    font-family: 'Courier New', monospace;
}

.copy-code-btn {
    background: linear-gradient(180deg,
        rgba(51, 65, 85, 0.9) 0%,
        rgba(71, 85, 105, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    padding: 8px 12px;
    color: rgba(186, 166, 116, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'RemiliaMincho', serif;
    font-size: 13px;
}

.copy-code-btn:hover {
    background: linear-gradient(180deg,
        rgba(71, 85, 105, 0.95) 0%,
        rgba(100, 116, 139, 1) 100%);
    border-color: rgba(212, 175, 55, 0.6);
    transform: scale(1.05);
}

.share-link-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.share-link-input {
    flex: 1;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 6px;
    padding: 10px 12px;
    color: rgba(186, 166, 116, 0.8);
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.copy-link-btn {
    background: linear-gradient(180deg,
        rgba(51, 65, 85, 0.9) 0%,
        rgba(71, 85, 105, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    padding: 10px 16px;
    color: rgba(186, 166, 116, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'RemiliaMincho', serif;
    font-size: 13px;
    white-space: nowrap;
}

.copy-link-btn:hover {
    background: linear-gradient(180deg,
        rgba(71, 85, 105, 0.95) 0%,
        rgba(100, 116, 139, 1) 100%);
    border-color: rgba(212, 175, 55, 0.6);
}

.share-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.share-btn {
    flex: 1;
    background: linear-gradient(180deg,
        rgba(51, 65, 85, 0.9) 0%,
        rgba(71, 85, 105, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    padding: 12px 16px;
    color: rgba(186, 166, 116, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'RemiliaMincho', serif;
    font-size: 13px;
}

.share-btn.twitter {
    border-color: rgba(29, 155, 240, 0.5);
}

.share-btn.twitter:hover {
    background: linear-gradient(180deg,
        rgba(29, 155, 240, 0.3) 0%,
        rgba(29, 155, 240, 0.4) 100%);
    border-color: rgba(29, 155, 240, 0.7);
}

.share-btn:hover {
    background: linear-gradient(180deg,
        rgba(71, 85, 105, 0.95) 0%,
        rgba(100, 116, 139, 1) 100%);
    border-color: rgba(212, 175, 55, 0.6);
}

/* Referral Stats Grid */
.referral-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.stat-card {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.7) 100%);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
}

.stat-card.success {
    border-color: rgba(34, 197, 94, 0.5);
}

.stat-card.warning {
    border-color: rgba(251, 191, 36, 0.5);
}

.stat-card.primary {
    border-color: rgba(212, 175, 55, 0.5);
}

.stat-card .stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.stat-card .stat-value {
    font-size: 24px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.95);
    margin-bottom: 4px;
}

.stat-card.success .stat-value {
    color: rgba(34, 197, 94, 0.9);
}

.stat-card.warning .stat-value {
    color: rgba(251, 191, 36, 0.9);
}

.stat-card .stat-label {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Qualification Rate */
.qualification-rate {
    margin-bottom: 16px;
}

.rate-label {
    font-size: 12px;
    color: rgba(186, 166, 116, 0.7);
    margin-bottom: 6px;
}

.progress-bar {
    height: 8px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(186, 166, 116, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg,
        rgba(212, 175, 55, 0.8) 0%,
        rgba(255, 215, 0, 0.9) 100%);
    transition: width 0.3s ease;
}

/* Info Card */
.info-card {
    background: rgba(15, 23, 42, 0.5);
    border-left: 3px solid rgba(212, 175, 55, 0.5);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 24px;
}

.info-card h4 {
    font-size: 14px;
    color: rgba(212, 175, 55, 0.9);
    margin: 0 0 12px 0;
}

.info-card ul {
    margin: 0;
    padding-left: 20px;
}

.info-card li {
    font-size: 12px;
    color: rgba(186, 166, 116, 0.7);
    margin-bottom: 6px;
    line-height: 1.5;
}

.info-card strong {
    color: rgba(212, 175, 55, 0.9);
}

/* Recent Referrals */
.recent-referrals-section {
    margin-bottom: 24px;
}

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

.referral-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: linear-gradient(90deg,
        rgba(30, 41, 59, 0.5) 0%,
        rgba(51, 65, 85, 0.6) 100%);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.referral-item:hover {
    background: linear-gradient(90deg,
        rgba(51, 65, 85, 0.6) 0%,
        rgba(71, 85, 105, 0.7) 100%);
    border-color: rgba(212, 175, 55, 0.4);
}

.referral-item.qualified {
    border-left: 3px solid rgba(34, 197, 94, 0.6);
}

.referral-item.pending {
    border-left: 3px solid rgba(251, 191, 36, 0.6);
}

.referral-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.3) 0%,
        rgba(186, 166, 116, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.9);
    border: 2px solid rgba(186, 166, 116, 0.3);
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-size: 14px;
    color: rgba(186, 166, 116, 0.9);
    font-weight: 500;
}

.user-date {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.5);
}

.referral-status {
    text-align: right;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.qualified {
    background: rgba(34, 197, 94, 0.2);
    color: rgba(34, 197, 94, 0.9);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.status-badge.pending {
    background: rgba(251, 191, 36, 0.2);
    color: rgba(251, 191, 36, 0.9);
    border: 1px solid rgba(251, 191, 36, 0.4);
}

/* ==================== DAILY REWARDS TAB ==================== */

.daily-claim-hero {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.7) 100%);
    border: 1px solid rgba(186, 166, 116, 0.3);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.daily-claim-hero.can-claim {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.claim-status-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.claim-title {
    font-size: 18px;
    color: rgba(186, 166, 116, 0.9);
    font-weight: 500;
    margin: 0 0 20px 0;
}

.reward-showcase {
    margin-bottom: 20px;
}

.reward-amount-display {
    font-size: 56px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    line-height: 1;
    margin-bottom: 4px;
}

.reward-currency {
    font-size: 16px;
    color: rgba(186, 166, 116, 0.7);
    text-transform: uppercase;
}

.bonus-indicator {
    font-size: 12px;
    color: rgba(34, 197, 94, 0.9);
    margin-top: 4px;
}

.daily-claim-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(180deg,
        rgba(34, 197, 94, 0.8) 0%,
        rgba(22, 163, 74, 0.9) 100%);
    border: 1px solid rgba(34, 197, 94, 0.6);
    border-radius: 8px;
    color: white;
    font-family: 'RemiliaMincho', serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.daily-claim-btn.active:hover {
    background: linear-gradient(180deg,
        rgba(34, 197, 94, 1) 0%,
        rgba(22, 163, 74, 1) 100%);
    transform: scale(1.02);
}

.daily-claim-btn.disabled {
    background: linear-gradient(180deg,
        rgba(100, 116, 139, 0.5) 0%,
        rgba(71, 85, 105, 0.6) 100%);
    border-color: rgba(186, 166, 116, 0.3);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Streak Card */
.streak-card {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.5) 0%,
        rgba(51, 65, 85, 0.6) 100%);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.streak-icon-large {
    font-size: 48px;
}

.streak-info {
    flex: 1;
}

.streak-number {
    font-size: 36px;
    font-weight: 700;
    color: rgba(251, 191, 36, 0.95);
}

.streak-label {
    font-size: 14px;
    color: rgba(186, 166, 116, 0.7);
    text-transform: uppercase;
}

.streak-subtitle {
    font-size: 12px;
    color: rgba(186, 166, 116, 0.6);
    margin-top: 4px;
}

/* Milestones */
.milestones-section {
    margin-bottom: 20px;
}

.milestones-grid {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.milestone-card {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 8px;
}

.milestone-card.achieved {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.1);
}

.milestone-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.milestone-days {
    font-size: 12px;
    color: rgba(186, 166, 116, 0.7);
    margin-bottom: 2px;
}

.milestone-bonus {
    font-size: 14px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.9);
}

/* ==================== DAILY TAB V2 - COMPACT MORRHOLLOW STYLE ==================== */

.daily-content-v2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Compact Claim Hero */
.daily-claim-compact {
    background: linear-gradient(135deg,
        rgba(15, 15, 25, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 6px;
    padding: 12px;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.daily-claim-compact.can-claim {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(34, 197, 94, 0.15);
}

.claim-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center,
        rgba(147, 197, 253, 0.1) 0%,
        transparent 70%);
    pointer-events: none;
}

.claim-status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.claim-icon-compact {
    font-size: 32px;
    flex-shrink: 0;
}

.claim-info-compact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.claim-title-compact {
    font-size: 14px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.95);
    text-shadow: 0 0 10px rgba(147, 197, 253, 0.2);
}

.claim-subtitle-compact {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.6);
}

.claim-reward-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.15) 0%,
        rgba(147, 197, 253, 0.1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.reward-value-compact {
    font-size: 24px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.reward-icon-compact {
    font-size: 20px;
}

.daily-claim-btn-compact {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.8) 0%,
        rgba(22, 163, 74, 0.9) 100%);
    border: 1px solid rgba(34, 197, 94, 0.6);
    border-radius: 4px;
    color: white;
    font-family: 'RemiliaMincho', serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 6px rgba(34, 197, 94, 0.3);
}

.daily-claim-btn-compact:hover {
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 1) 0%,
        rgba(22, 163, 74, 1) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 2px 10px rgba(34, 197, 94, 0.5),
        0 0 20px rgba(34, 197, 94, 0.3);
    transform: translateY(-1px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transition: left 0.5s ease;
}

.daily-claim-btn-compact:hover .btn-glow {
    left: 100%;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Compact Streak Display */
.streak-display-compact {
    background: linear-gradient(135deg,
        rgba(15, 15, 25, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.3);
}

.streak-flame-compact {
    font-size: 36px;
    flex-shrink: 0;
}

.streak-details-compact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.streak-number-compact {
    font-size: 28px;
    font-weight: 700;
    color: rgba(251, 191, 36, 0.95);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
    line-height: 1;
}

.streak-label-compact {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.streak-bonus-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg,
        rgba(251, 191, 36, 0.15) 0%,
        rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bonus-label-compact {
    font-size: 9px;
    color: rgba(186, 166, 116, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-value-compact {
    font-size: 18px;
    font-weight: 700;
    color: rgba(251, 191, 36, 0.95);
}

/* Compact Milestones */
.milestones-compact {
    background: linear-gradient(135deg,
        rgba(15, 15, 25, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 6px;
    padding: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.3);
}

.milestones-header-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(186, 166, 116, 0.1);
}

.milestones-icon-compact {
    font-size: 16px;
}

.milestones-title-compact {
    font-size: 12px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.milestones-grid-compact {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.milestone-item-compact {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.5) 0%,
        rgba(51, 65, 85, 0.6) 100%);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 4px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.milestone-item-compact.achieved {
    border-color: rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.15) 0%,
        rgba(22, 163, 74, 0.2) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 10px rgba(34, 197, 94, 0.2);
}

.milestone-icon-compact {
    font-size: 20px;
}

.milestone-info-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.milestone-day-compact {
    font-size: 11px;
    font-weight: 600;
    color: rgba(186, 166, 116, 0.7);
}

.milestone-reward-compact {
    font-size: 13px;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.9);
}

/* Compact Info Card */
.info-card-compact {
    background: linear-gradient(135deg,
        rgba(15, 15, 25, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border-left: 3px solid rgba(147, 197, 253, 0.5);
    border-radius: 4px;
    padding: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.3);
}

.info-header-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(186, 166, 116, 0.1);
}

.info-icon-compact {
    font-size: 16px;
}

.info-title-compact {
    font-size: 12px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-items-compact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-row-compact {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    line-height: 1.4;
}

.info-bullet-compact {
    color: rgba(147, 197, 253, 0.6);
    flex-shrink: 0;
}

.info-text-compact {
    color: rgba(186, 166, 116, 0.7);
    flex: 1;
}

.info-text-compact strong {
    color: rgba(212, 175, 55, 0.9);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .milestones-grid-compact {
        grid-template-columns: repeat(3, 1fr);
    }

    .claim-status-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .claim-reward-compact {
        align-self: stretch;
        justify-content: center;
    }
}

/* ==================== LEADERBOARD TAB ==================== */

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

.leaderboard-header h3 {
    font-size: 18px;
    color: rgba(212, 175, 55, 0.9);
    margin: 0;
}

.refresh-leaderboard-btn {
    background: linear-gradient(180deg,
        rgba(51, 65, 85, 0.9) 0%,
        rgba(71, 85, 105, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    padding: 8px 12px;
    color: rgba(186, 166, 116, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'RemiliaMincho', serif;
    font-size: 13px;
}

.refresh-leaderboard-btn:hover {
    background: linear-gradient(180deg,
        rgba(71, 85, 105, 0.95) 0%,
        rgba(100, 116, 139, 1) 100%);
    border-color: rgba(212, 175, 55, 0.6);
}

.leaderboard-loading {
    text-align: center;
    padding: 40px;
    color: rgba(186, 166, 116, 0.6);
}

.leaderboard-entries {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(90deg,
        rgba(30, 41, 59, 0.5) 0%,
        rgba(51, 65, 85, 0.6) 100%);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.leaderboard-entry:hover {
    background: linear-gradient(90deg,
        rgba(51, 65, 85, 0.6) 0%,
        rgba(71, 85, 105, 0.7) 100%);
    border-color: rgba(212, 175, 55, 0.4);
}

.leaderboard-entry.top-rank {
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(90deg,
        rgba(71, 85, 105, 0.6) 0%,
        rgba(100, 116, 139, 0.7) 100%);
}

.entry-rank {
    min-width: 60px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.9);
}

.entry-user {
    flex: 1;
}

.entry-user .user-name {
    font-size: 14px;
    color: rgba(186, 166, 116, 0.9);
    font-weight: 500;
}

.entry-shards {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shards-value {
    font-size: 16px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.9);
}

.shards-icon {
    font-size: 16px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: rgba(186, 166, 116, 0.5);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.empty-text {
    font-size: 14px;
}

/* Custom Scrollbar */
.rewards-panel .panel-body::-webkit-scrollbar {
    width: 8px;
}

.rewards-panel .panel-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.3);
    border-radius: 4px;
}

.rewards-panel .panel-body::-webkit-scrollbar-thumb {
    background: rgba(186, 166, 116, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.rewards-panel .panel-body::-webkit-scrollbar-thumb:hover {
    background: rgba(186, 166, 116, 0.5);
}

/* Responsive */
@media (max-width: 600px) {
    .quick-stats-grid {
        grid-template-columns: 1fr;
    }

    .referral-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .code-value {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .milestones-grid {
        flex-wrap: wrap;
    }

    .milestone-card {
        min-width: calc(33.33% - 8px);
    }

    .overview-actions {
        flex-direction: column;
    }
}

/* ========================================
   MISSIONS TAB
   ======================================== */

.missions-content {
    padding: 20px;
}

.missions-header {
    margin-bottom: 24px;
}

.missions-header h3 {
    font-size: 18px;
    margin: 0 0 12px 0;
    color: #F9FAFB;
}

.missions-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(186, 166, 116, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.missions-summary .summary-icon {
    font-size: 28px;
}

.missions-summary .summary-text {
    flex: 1;
}

.missions-summary .summary-label {
    font-size: 11px;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.missions-summary .summary-value {
    font-size: 20px;
    font-weight: 600;
    color: #D4AF37;
    margin-top: 2px;
}

.missions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.mission-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4), rgba(51, 65, 85, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mission-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(51, 65, 85, 0.4));
}

.mission-card.completed {
    border-color: rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.05));
}

.mission-card.claimed {
    opacity: 0.6;
    border-color: rgba(148, 163, 184, 0.2);
}

.mission-icon {
    font-size: 32px;
    line-height: 1;
}

.mission-info {
    flex: 1;
    min-width: 0;
}

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

.mission-title {
    font-size: 15px;
    font-weight: 600;
    color: #F9FAFB;
}

.mission-reward {
    font-size: 13px;
    font-weight: 600;
    color: #D4AF37;
}

.mission-description {
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 8px;
}

.mission-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.mission-progress-bar .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D4AF37, #BAA674);
    transition: width 0.3s ease;
}

.mission-card.completed .progress-fill {
    background: linear-gradient(90deg, #22C55E, #16A34A);
}

.mission-status {
    font-size: 12px;
    color: #9CA3AF;
}

.mission-card.completed .mission-status {
    color: #22C55E;
    font-weight: 600;
}

.mission-card.claimed .mission-status {
    color: #6B7280;
}

.mission-action {
    min-width: 140px;
    display: flex;
    justify-content: flex-end;
}

.claim-mission-btn {
    padding: 10px 18px;
    background: linear-gradient(135deg, #D4AF37, #BAA674);
    color: #0F172A;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.claim-mission-btn:hover {
    background: linear-gradient(135deg, #E5C047, #CBB785);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.claim-mission-btn:active {
    transform: translateY(0);
}

.missions-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
}

.missions-info .info-icon {
    font-size: 20px;
    line-height: 1;
}

.missions-info .info-text {
    flex: 1;
    font-size: 12px;
    color: #E5E7EB;
    line-height: 1.5;
}

.missions-info strong {
    color: #F9FAFB;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .mission-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .mission-action {
        width: 100%;
        justify-content: stretch;
    }

    .claim-mission-btn {
        width: 100%;
    }
}

/* ========================================
   V2 REDESIGN STYLES - ECONOMY PANEL INSPIRED
   ======================================== */

/* Section Headers V2 */
.section-header-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.section-header-v2 h3 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.95);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.section-hint {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.6);
    font-style: italic;
}

/* Core Metrics Grid - Overview Tab */
.core-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.metric-card-v2 {
    background: linear-gradient(135deg,
        rgba(15, 15, 25, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

.metric-card-v2:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(212, 175, 55, 0.1);
}

.metric-card-v2.primary {
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.1) 0%,
        rgba(30, 41, 59, 0.9) 100%);
}

.metric-card-v2.highlight-glow {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(34, 197, 94, 0.2);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            0 2px 8px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(34, 197, 94, 0.2);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            0 2px 8px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(34, 197, 94, 0.4);
    }
}

.metric-icon-v2 {
    font-size: 36px;
    flex-shrink: 0;
}

.metric-body-v2 {
    flex: 1;
    min-width: 0;
}

.metric-label-v2 {
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(186, 166, 116, 0.6);
    margin-bottom: 4px;
    letter-spacing: 0.8px;
}

.metric-value-v2 {
    font-size: 24px;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.95);
    margin-bottom: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.metric-subtext-v2 {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.5);
}

/* Quick Claim Section */
.quick-claim-section {
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.1) 0%,
        rgba(22, 163, 74, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.claim-prompt {
    display: flex;
    align-items: center;
    gap: 16px;
}

.claim-icon-large {
    font-size: 48px;
}

.claim-info {
    flex: 1;
}

.claim-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.95);
    margin-bottom: 4px;
}

.claim-amount {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.claim-btn-large {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.9) 0%,
        rgba(22, 163, 74, 1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.6);
    border-radius: 6px;
    color: white;
    font-family: 'RemiliaMincho', serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 12px rgba(34, 197, 94, 0.3);
}

.claim-btn-large:hover {
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 1) 0%,
        rgba(22, 163, 74, 1) 100%);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 6px 16px rgba(34, 197, 94, 0.4);
}

/* Earning Grid */
.earning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.earning-card {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.7) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: 'RemiliaMincho', serif;
    color: inherit;
}

.earning-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg,
        rgba(51, 65, 85, 0.7) 0%,
        rgba(71, 85, 105, 0.8) 100%);
    transform: translateX(4px);
}

.earning-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.earning-content {
    flex: 1;
}

.earning-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.95);
    margin-bottom: 4px;
}

.earning-reward {
    font-size: 15px;
    font-weight: 700;
    color: #E5E7EB;
    margin-bottom: 2px;
}

.earning-desc {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.6);
}

.earning-arrow {
    font-size: 20px;
    color: rgba(212, 175, 55, 0.7);
}

/* Stats Breakdown Grid */
.stats-breakdown-grid {
    display: grid;
    gap: 12px;
}

.stat-breakdown-card {
    background: linear-gradient(135deg,
        rgba(15, 15, 25, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 8px;
    padding: 16px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(186, 166, 116, 0.1);
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-label {
    font-size: 12px;
    color: rgba(186, 166, 116, 0.7);
}

.breakdown-value {
    font-size: 15px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.95);
}

.breakdown-value.earned {
    color: rgba(34, 197, 94, 0.95);
}

.breakdown-value.positive {
    color: rgba(34, 197, 94, 0.95);
}

.breakdown-value.negative {
    color: rgba(239, 68, 68, 0.95);
}

/* Daily Tab Styles */
.daily-claim-card {
    background: linear-gradient(135deg,
        rgba(15, 15, 25, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.daily-claim-card.can-claim {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(34, 197, 94, 0.15);
}

.claim-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.claim-status-icon {
    font-size: 48px;
}

.claim-status-text {
    flex: 1;
}

.claim-status-label {
    font-size: 12px;
    color: rgba(186, 166, 116, 0.7);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.claim-reward-amount {
    font-size: 32px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.claim-daily-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.9) 0%,
        rgba(22, 163, 74, 1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.6);
    border-radius: 6px;
    color: white;
    font-family: 'RemiliaMincho', serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.claim-daily-btn:hover {
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 1) 0%,
        rgba(22, 163, 74, 1) 100%);
    transform: translateY(-2px);
}

.claim-cooldown {
    text-align: center;
    padding: 14px;
    color: rgba(186, 166, 116, 0.6);
    font-size: 13px;
    margin-bottom: 16px;
}

.reward-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reward-breakdown .breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.reward-breakdown .breakdown-label {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.7);
}

.reward-breakdown .breakdown-value {
    font-size: 13px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.95);
}

.reward-breakdown .breakdown-value.bonus {
    color: rgba(34, 197, 94, 0.95);
}

/* Streak Progress Card */
.streak-progress-card {
    background: linear-gradient(135deg,
        rgba(15, 15, 25, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.streak-current {
    display: flex;
    align-items: center;
    gap: 16px;
}

.streak-icon-large {
    font-size: 56px;
}

.streak-info {
    flex: 1;
}

.streak-days {
    font-size: 36px;
    font-weight: 700;
    color: rgba(251, 191, 36, 0.95);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
    line-height: 1;
    margin-bottom: 4px;
}

.streak-label {
    font-size: 12px;
    color: rgba(186, 166, 116, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.streak-bonus-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg,
        rgba(251, 191, 36, 0.15) 0%,
        rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 6px;
}

.bonus-label {
    font-size: 10px;
    color: rgba(186, 166, 116, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bonus-amount {
    font-size: 20px;
    font-weight: 700;
    color: rgba(251, 191, 36, 0.95);
}

/* Milestones Grid V2 */
.milestones-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.milestone-card-v2 {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.5) 0%,
        rgba(51, 65, 85, 0.6) 100%);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.milestone-card-v2.achieved {
    border-color: rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.15) 0%,
        rgba(22, 163, 74, 0.2) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 10px rgba(34, 197, 94, 0.2);
}

.milestone-card-v2:hover {
    transform: translateY(-2px);
}

.milestone-card-v2 .milestone-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.milestone-card-v2 .milestone-label {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.7);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.milestone-card-v2 .milestone-days {
    font-size: 13px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.95);
    margin-bottom: 4px;
}

.milestone-card-v2 .milestone-reward {
    font-size: 14px;
    font-weight: 700;
    color: rgba(251, 191, 36, 0.95);
}

/* Info Box V2 */
.info-box-v2 {
    background: linear-gradient(135deg,
        rgba(15, 15, 25, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border-left: 3px solid rgba(147, 197, 253, 0.5);
    border-radius: 6px;
    padding: 16px;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(186, 166, 116, 0.1);
}

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

.info-box-header .info-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-box-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
}

.info-point .info-bullet {
    color: rgba(147, 197, 253, 0.6);
    flex-shrink: 0;
    font-weight: 700;
}

.info-point .info-text {
    color: rgba(186, 166, 116, 0.8);
    flex: 1;
}

.info-point .info-text strong {
    color: rgba(212, 175, 55, 0.95);
    font-weight: 600;
}

/* Referrals Tab V2 Styles */
.referral-code-section {
    background: linear-gradient(135deg,
        rgba(15, 15, 25, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.code-display-box {
    text-align: center;
    margin-bottom: 20px;
}

.code-label {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.code-value-large {
    font-size: 36px;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    font-family: 'Courier New', monospace;
    margin-bottom: 12px;
}

.copy-code-btn-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg,
        rgba(51, 65, 85, 0.9) 0%,
        rgba(71, 85, 105, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    color: rgba(186, 166, 116, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'RemiliaMincho', serif;
    font-size: 13px;
    font-weight: 600;
}

.copy-code-btn-v2:hover {
    background: linear-gradient(135deg,
        rgba(71, 85, 105, 0.95) 0%,
        rgba(100, 116, 139, 1) 100%);
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

.share-link-section {
    margin-bottom: 16px;
}

.link-label {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.link-input-group {
    display: flex;
    gap: 8px;
}

.share-link-input-v2 {
    flex: 1;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 6px;
    padding: 10px 12px;
    color: rgba(186, 166, 116, 0.8);
    font-family: 'Courier New', monospace;
    font-size: 11px;
}

.copy-link-btn-v2 {
    background: linear-gradient(135deg,
        rgba(51, 65, 85, 0.9) 0%,
        rgba(71, 85, 105, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    padding: 10px 16px;
    color: rgba(186, 166, 116, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'RemiliaMincho', serif;
    font-size: 12px;
    font-weight: 600;
}

.copy-link-btn-v2:hover {
    background: linear-gradient(135deg,
        rgba(71, 85, 105, 0.95) 0%,
        rgba(100, 116, 139, 1) 100%);
    border-color: rgba(212, 175, 55, 0.6);
}

.share-actions {
    display: flex;
    gap: 12px;
}

.share-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.7) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'RemiliaMincho', serif;
    color: rgba(186, 166, 116, 0.9);
}

.share-action-btn:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg,
        rgba(51, 65, 85, 0.7) 0%,
        rgba(71, 85, 105, 0.8) 100%);
    transform: translateY(-2px);
}

.share-action-btn.twitter {
    border-color: rgba(29, 155, 240, 0.4);
}

.share-action-btn.twitter:hover {
    background: linear-gradient(135deg,
        rgba(29, 155, 240, 0.2) 0%,
        rgba(29, 155, 240, 0.3) 100%);
    border-color: rgba(29, 155, 240, 0.6);
}

.share-icon {
    font-size: 24px;
}

.share-label {
    font-size: 12px;
    font-weight: 600;
}

/* Referral Metrics Grid */
.referral-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.referral-metric-card {
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.7) 100%);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.referral-metric-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.referral-metric-card.success {
    border-color: rgba(34, 197, 94, 0.4);
}

.referral-metric-card.warning {
    border-color: rgba(251, 191, 36, 0.4);
}

.referral-metric-card.primary {
    border-color: rgba(212, 175, 55, 0.4);
}

/* Qualification Progress */
.qualification-progress {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    color: rgba(186, 166, 116, 0.7);
}

.progress-percentage {
    font-weight: 600;
    color: rgba(212, 175, 55, 0.95);
}

.progress-bar-v2 {
    height: 8px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(186, 166, 116, 0.2);
}

.progress-fill-v2 {
    height: 100%;
    background: linear-gradient(90deg,
        rgba(212, 175, 55, 0.8) 0%,
        rgba(255, 215, 0, 0.9) 100%);
    transition: width 0.3s ease;
}

/* Referrals List V2 */
.referrals-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.referral-item-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(90deg,
        rgba(30, 41, 59, 0.5) 0%,
        rgba(51, 65, 85, 0.6) 100%);
    border: 1px solid rgba(186, 166, 116, 0.2);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.referral-item-v2:hover {
    background: linear-gradient(90deg,
        rgba(51, 65, 85, 0.6) 0%,
        rgba(71, 85, 105, 0.7) 100%);
    border-color: rgba(212, 175, 55, 0.4);
}

.referral-item-v2.qualified {
    border-left: 3px solid rgba(34, 197, 94, 0.6);
}

.referral-item-v2.pending {
    border-left: 3px solid rgba(251, 191, 36, 0.6);
}

.referral-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.3) 0%,
        rgba(186, 166, 116, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.9);
    border: 2px solid rgba(186, 166, 116, 0.3);
}

.referral-info {
    flex: 1;
    min-width: 0;
}

.referral-username {
    font-size: 14px;
    color: rgba(186, 166, 116, 0.9);
    font-weight: 600;
    margin-bottom: 2px;
}

.referral-date {
    font-size: 11px;
    color: rgba(186, 166, 116, 0.5);
}

.referral-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.referral-status-badge.qualified {
    background: rgba(34, 197, 94, 0.2);
    color: rgba(34, 197, 94, 0.95);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.referral-status-badge.pending {
    background: rgba(251, 191, 36, 0.2);
    color: rgba(251, 191, 36, 0.95);
    border: 1px solid rgba(251, 191, 36, 0.4);
}

/* Empty State V2 */
.empty-state-v2 {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg,
        rgba(15, 15, 25, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 8px;
}

.empty-icon-v2 {
    font-size: 56px;
    margin-bottom: 12px;
}

.empty-text-v2 {
    font-size: 14px;
    color: rgba(186, 166, 116, 0.6);
    margin-bottom: 4px;
}

.empty-hint-v2 {
    font-size: 12px;
    color: rgba(186, 166, 116, 0.4);
    font-style: italic;
}

/* Responsive for V2 styles */
@media (max-width: 768px) {
    .core-metrics-grid,
    .earning-grid,
    .referral-metrics-grid,
    .milestones-grid-v2 {
        grid-template-columns: 1fr;
    }

    .share-actions {
        flex-direction: column;
    }

    .streak-current {
        flex-direction: column;
        text-align: center;
    }

    .code-value-large {
        font-size: 28px;
        letter-spacing: 2px;
    }
}
