/* Additional UI Styles for DEFI Salary Page */

/* Navigation Enhancements */
.nav-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 4px;
    background: #f0aa2b;
    border-radius: 0 4px 4px 0;
}

.nav-item.active .nav-icon {
    color: #f0aa2b;
}

.sign-out {
    margin-top: auto;
    color: #ff4444 !important;
}

.sign-out:hover {
    background: rgba(255, 68, 68, 0.1) !important;
}

/* Info & History Sections */
/* Info Grid Layout */
.info-grid-container {
    margin-top: 60px;
    margin-bottom: 60px;
}

.info-main-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 0.5px;
}

.info-main-title i {
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.premium-info-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.premium-info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--card-accent), transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}

.card-gold {
    --card-accent: #f0aa2b;
}

.card-purple {
    --card-accent: #9d4edd;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon-box {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--card-accent);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.info-card-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--card-accent);
    letter-spacing: 1px;
}

.premium-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.premium-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.premium-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--card-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--card-accent);
}

.premium-list li span {
    font-weight: 700;
    color: #fff;
    font-size: 14px;
}

.requirements-intro {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    background: none;
    box-shadow: none;
    color: #22c55e;
    font-size: 12px;
}

.soon-item::before {
    content: '\f110' !important;
    /* Spinner/Clock icon */
    color: rgba(255, 255, 255, 0.3) !important;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-note {
    background: rgba(240, 170, 43, 0.05);
    border: 1px solid rgba(240, 170, 43, 0.1);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 12px;
    color: #f0aa2b;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th {
    text-align: left;
    padding: 15px;
    background: rgba(240, 170, 43, 0.1);
    color: #f0aa2b;
    font-weight: 700;
    border-bottom: 2px solid rgba(240, 170, 43, 0.3);
}

.history-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

/* Watermark */
.dashboard-watermark {
    position: fixed;
    top: 50%;
    left: calc(50% + 140px);
    transform: translate(-50%, -50%);
    width: 650px;
    height: auto;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

@keyframes shineSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 20px rgba(240, 170, 43, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(240, 170, 43, 0.4);
    }

    100% {
        box-shadow: 0 0 20px rgba(240, 170, 43, 0.2);
    }
}

@keyframes holographic {
    0% {
        text-shadow: 2px 2px 0px rgba(240, 170, 43, 0.3), -2px -2px 0px rgba(255, 255, 255, 0.1);
    }

    50% {
        text-shadow: -2px 2px 10px rgba(240, 170, 43, 0.5), 2px -2px 10px rgba(255, 255, 255, 0.2);
    }

    100% {
        text-shadow: 2px 2px 0px rgba(240, 170, 43, 0.3), -2px -2px 0px rgba(255, 255, 255, 0.1);
    }
}

/* Premium Salary Section */
.salary-container {
    margin-bottom: 50px;
    perspective: 1000px;
}

.claim-section-premium {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.95), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(240, 170, 43, 0.3);
    border-radius: 32px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    animation: pulseGlow 4s infinite ease-in-out;
}

.glass-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.03) 40%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 60%,
            transparent);
    transition: all 0.7s;
    pointer-events: none;
}

.claim-section-premium:hover .glass-shine {
    left: 100%;
}

.premium-badge {
    background: rgba(240, 170, 43, 0.1);
    color: #f0aa2b;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(240, 170, 43, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.available-balance-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
}

.balance-display-wrapper {
    margin-bottom: 45px;
}

.holographic-display {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    position: relative;
}

.currency-symbol {
    font-size: 32px;
    color: #f0aa2b;
    font-weight: 700;
    opacity: 0.8;
}

.balance-amount-premium {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(to bottom, #fff, #f0aa2b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    animation: holographic 3s infinite alternate ease-in-out;
}

.usdt-label {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.claim-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.claim-btn-premium {
    background: linear-gradient(135deg, #f0aa2b 0%, #ffc857 100%);
    color: #000;
    border: none;
    padding: 20px 80px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(240, 170, 43, 0.3);
}

.claim-btn-premium:hover:not(:disabled) {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(240, 170, 43, 0.4);
}

.claim-btn-premium:disabled {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    cursor: not-allowed;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow-payout {
    background: linear-gradient(135deg, #f0aa2b 0%, #ff6b00 100%) !important;
    box-shadow: 0 0 30px rgba(240, 170, 43, 0.6) !important;
    animation: buttonPulseGlow 2s infinite ease-in-out !important;
    color: #fff !important;
}

@keyframes buttonPulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(240, 170, 43, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(240, 170, 43, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(240, 170, 43, 0.4);
    }
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent);
    transition: 0.5s;
    animation: shineSweep 3s infinite;
}

.timer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 30px;
    border-radius: 20px;
    display: inline-block;
}

.timer-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.timer-premium {
    font-size: 28px;
    color: #fff;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
}

/* Diamond Cards Refinements */
.requirement-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.req-status-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 11px;
}

.req-status-icon.met {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.req-status-icon.unmet {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.slots-breakdown {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 15px 20px;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    position: relative;
}

.slot-item .slot-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slot-item span {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.slot-item b {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.slot-item.met b {
    color: #f0aa2b;
}

.slot-item.unmet b {
    color: rgba(255, 255, 255, 0.2);
}

.slot-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.slot-status-dot.met {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.slot-status-dot.unmet {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.progress-bar-container {
    margin: 20px 0;
}

.progress-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}



/* Responsive Overrides */
@media (max-width: 1024px) {
    .dashboard-watermark {
        left: 50%;
    }
}

@media (max-width: 768px) {
    .diamond-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 !important;
    }

    .diamond-card {
        padding: 25px !important;
        border-radius: 24px !important;
    }

    .tier-icon {
        font-size: 32px !important;
    }

    .tier-name {
        font-size: 18px !important;
    }

    .royalty-value {
        font-size: 30px !important;
    }

    .slots-breakdown {
        padding: 12px !important;
        margin: 15px 0 !important;
    }

    .main-content {
        padding: 90px 15px 30px !important;
    }

    .claim-section-premium {
        padding: 40px 20px;
        border-radius: 24px !important;
    }

    .balance-amount-premium {
        font-size: 48px;
    }

    .claim-btn-premium {
        padding: 18px 40px;
        width: 100%;
        font-size: 18px;
    }

    .timer-premium {
        font-size: 22px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-main-title {
        font-size: 22px;
    }

    .premium-info-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .diamond-card {
        padding: 20px !important;
    }

    .royalty-value {
        font-size: 26px !important;
    }
}





/* --- Detail Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: linear-gradient(145deg, rgba(20, 20, 25, 0.95), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(240, 170, 43, 0.3);
    border-radius: 30px;
    padding: 0;
    width: 90%;
    max-width: 450px;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(240, 170, 43, 0.1);
    position: relative;
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    transform: rotate(90deg);
    border-color: rgba(255, 68, 68, 0.3);
}

.modal-tier-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
    filter: drop-shadow(0 0 15px var(--glow));
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #fff 30%, var(--glow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-body {
    padding: 25px 30px;
}

.modal-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-info-row:last-child {
    border-bottom: none;
}

.modal-info-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.modal-info-value {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-progress {
    margin-top: 20px;
}

/* --- Advanced History Styles --- */
.history-section {
    margin-top: 60px;
    padding-bottom: 50px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.section-title i {
    color: #f0aa2b;
}

.history-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.history-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.history-stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(240, 170, 43, 0.3);
    transform: translateY(-5px);
}

.h-stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(240, 170, 43, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #f0aa2b;
}

.h-stat-info {
    display: flex;
    flex-direction: column;
}

.h-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.h-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
}

.table-glass-container {
    background: rgba(20, 20, 25, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th {
    background: rgba(255, 255, 255, 0.02);
    text-align: left;
    padding: 20px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.history-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    font-size: 14px;
    color: #fff;
    vertical-align: middle;
}

.history-table tr:last-child td {
    border-bottom: none;
}

.history-table tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

/* Status Badges */
.history-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-verified {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.1);
}

.status-pending {
    background: rgba(240, 170, 43, 0.1);
    color: #f0aa2b;
    border: 1px solid rgba(240, 170, 43, 0.2);
}

.status-failed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.tx-id-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px 10px;
    border-radius: 8px;
    width: fit-content;
}

.tx-id-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.copy-tx-btn {
    background: transparent;
    border: none;
    color: #f0aa2b;
    cursor: pointer;
    font-size: 12px;
    opacity: 0.6;
    transition: all 0.2s;
}

.copy-tx-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.amount-val {
    font-weight: 800;
    color: #f0aa2b;
}

.date-val {
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .history-summary-grid {
        grid-template-columns: 1fr;
    }

    .history-table {
        display: block;
        overflow-x: auto;
    }
}

.modal-btn:hover {
    background: var(--glow);
    border-color: var(--glow);
    color: #000;
    box-shadow: 0 5px 15px var(--glow);
}

/* === NEW GLASS RANK CARDS === */
.glass-rank-card {
    background: linear-gradient(160deg, rgba(20, 25, 35, 0.9) 0%, rgba(10, 15, 25, 0.95) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.glass-rank-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent);
    pointer-events: none;
}
.glass-rank-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}

.glass-rank-card.locked {
    opacity: 0.85;
    filter: grayscale(0.2);
}

/* Card Header */
.rc-header {
    text-align: center;
    margin-bottom: 20px;
    z-index: 2;
}
.rc-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.rc-subtitle {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 4px;
}
.text-blue { color: #4299e1; }
.text-red { color: #ef4444; }
.text-gold { color: #f0aa2b; }

/* Gem Area */
.rc-gem-container {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    z-index: 2;
    position: relative;
}
.rc-gem {
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
    animation: rcFloat 4s ease-in-out infinite;
}
@keyframes rcFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Stats Box */
.rc-stats-box {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
    margin-bottom: 20px;
}
.rc-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rc-stat-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rc-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 15px;
}
.stat-top {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.stat-val {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.rc-est-salary {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Footer / Action */
.rc-pool-footer {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.rc-action-btn {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}
.btn-unlocked {
    background: rgba(66, 153, 225, 0.1);
    border-color: #4299e1;
    color: #4299e1;
    box-shadow: inset 0 0 15px rgba(66, 153, 225, 0.1);
}
.btn-unlocked:hover {
    background: rgba(66, 153, 225, 0.2);
    box-shadow: 0 0 20px rgba(66, 153, 225, 0.4), inset 0 0 15px rgba(66, 153, 225, 0.2);
    color: #fff;
}
.btn-locked {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
}

/* =========================================
   CLAIM MODAL
========================================= */
.claim-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.claim-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.claim-modal-content {
    background: linear-gradient(180deg, rgba(16, 24, 39, 0.95) 0%, rgba(10, 15, 25, 0.98) 100%);
    border: 1px solid rgba(66, 153, 225, 0.3);
    box-shadow: 0 0 40px rgba(66, 153, 225, 0.15), inset 0 1px 1px rgba(255,255,255,0.1);
    border-radius: 32px;
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.claim-modal-overlay.active .claim-modal-content {
    transform: translateY(0) scale(1);
}

.modal-close-x {
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.modal-close-x:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

.modal-top-section {
    text-align: center;
    margin-bottom: 30px;
}
.modal-gem-icon {
    height: 80px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(66, 153, 225, 0.5));
}
.modal-rank-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 4px;
    margin: 0 0 5px 0;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}
.modal-rank-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: #4299e1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-dark-list {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 10px 24px;
    margin-bottom: 30px;
}
.modal-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.modal-list-item:last-child {
    border-bottom: none;
}
.modal-list-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal-list-val {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.modal-continue-btn {
    width: 100%;
    padding: 18px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid #4299e1;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: inset 0 0 15px rgba(66, 153, 225, 0.1);
}
.modal-continue-btn:hover {
    background: rgba(66, 153, 225, 0.15);
    box-shadow: 0 0 30px rgba(66, 153, 225, 0.4), inset 0 0 20px rgba(66, 153, 225, 0.2);
    border-color: #60a5fa;
}