/* Scratch Card Styles */

.scratch-cards-page {
    padding: 2rem 0;
}

.scratch-cards-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.scratch-cards-stats .stat-card {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.scratch-cards-stats .stat-card.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.scratch-cards-stats .stat-icon {
    font-size: 2.5rem;
}

.scratch-cards-section {
    margin-bottom: 3rem;
}

.scratch-cards-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.scratch-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.scratch-card-item {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.scratch-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scratch-card-item.locked {
    opacity: 0.7;
    cursor: not-allowed;
}

.scratch-card-item.completed {
    opacity: 0.9;
}

.scratch-card-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.scratch-card-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #ff6b6b 0%, 
        #ffa500 20%, 
        #ffd700 40%, 
        #32cd32 60%, 
        #1e90ff 80%, 
        #9370db 100%);
    background-size: 300% 300%;
    animation: colorfulSparkle 4s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.6), 
                0 0 60px rgba(255, 165, 0, 0.4),
                0 0 80px rgba(255, 215, 0, 0.3),
                inset 0 0 40px rgba(255, 255, 255, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

@keyframes colorfulSparkle {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 40px rgba(255, 107, 107, 0.6), 
                    0 0 60px rgba(255, 165, 0, 0.4),
                    0 0 80px rgba(255, 215, 0, 0.3);
    }
    25% {
        background-position: 100% 0%;
        box-shadow: 0 0 50px rgba(255, 165, 0, 0.7), 
                    0 0 70px rgba(255, 215, 0, 0.5),
                    0 0 90px rgba(50, 205, 50, 0.4);
    }
    50% {
        background-position: 100% 100%;
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.8), 
                    0 0 70px rgba(50, 205, 50, 0.6),
                    0 0 90px rgba(30, 144, 255, 0.5);
    }
    75% {
        background-position: 0% 100%;
        box-shadow: 0 0 50px rgba(50, 205, 50, 0.7), 
                    0 0 70px rgba(30, 144, 255, 0.6),
                    0 0 90px rgba(147, 112, 219, 0.5);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 40px rgba(255, 107, 107, 0.6), 
                    0 0 60px rgba(255, 165, 0, 0.4),
                    0 0 80px rgba(255, 215, 0, 0.3);
    }
}

.scratch-card-front.locked {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

.scratch-card-front.completed {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2a 100%);
}

.scratch-card-design {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.2) 10px, rgba(255,255,255,0.2) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.2) 10px, rgba(255,255,255,0.2) 20px);
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

.card-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.card-content i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.scratch-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #ff6b6b 0%, 
        #ffa500 20%, 
        #ffd700 40%, 
        #32cd32 60%, 
        #1e90ff 80%, 
        #9370db 100%);
    background-size: 300% 300%;
    animation: colorfulSparkle 4s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.6), 
                0 0 60px rgba(255, 165, 0, 0.4),
                0 0 80px rgba(255, 215, 0, 0.3),
                inset 0 0 40px rgba(255, 255, 255, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.reward-amount {
    text-align: center;
    color: white;
}

.reward-amount .currency {
    font-size: 2rem;
    font-weight: bold;
}

.reward-amount .amount {
    font-size: 3rem;
    font-weight: bold;
}

.scratch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    z-index: 3;
    touch-action: none;
}

.card-info {
    text-align: center;
}

.card-info p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.status-pending_approval {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-pending_scratch {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.status-completed {
    background: #d4edda;
    color: #155724;
}

.no-scratch-cards {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-scratch-cards i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--border-color);
}

/* ============================================
   CELEBRATION MODAL - REBUILT WITH PROGRESSIVE ANIMATIONS
   ============================================ */
.celebration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #2a2a5a 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInFull 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

@keyframes fadeInFull {
    from { 
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.celebration-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Confetti Container */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Celebration Message - Initial Screen */
.celebration-message {
    color: white;
    position: relative;
    z-index: 2;
    animation: slideInDown 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-bottom: 2rem;
}

@keyframes slideInDown {
    from {
        transform: translateY(-150px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.celebration-icon {
    font-size: clamp(4rem, 10vw, 8rem);
    animation: iconCelebration 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1));
    display: inline-block;
}

@keyframes iconCelebration {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
    }
    25% { 
        transform: rotate(-20deg) scale(1.15);
    }
    50% { 
        transform: rotate(0deg) scale(1.3);
    }
    75% { 
        transform: rotate(20deg) scale(1.15);
    }
}

.celebration-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 1),
        0 0 40px rgba(255, 215, 0, 0.9),
        0 0 60px rgba(255, 215, 0, 0.7),
        0 0 80px rgba(255, 215, 0, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.5);
    animation: titleGlow 2s ease-in-out infinite;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1.2;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 1),
            0 0 40px rgba(255, 215, 0, 0.9),
            0 0 60px rgba(255, 215, 0, 0.7),
            0 4px 8px rgba(0, 0, 0, 0.5);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(255, 215, 0, 1),
            0 0 60px rgba(255, 215, 0, 1),
            0 0 90px rgba(255, 215, 0, 0.9),
            0 0 120px rgba(255, 215, 0, 0.7),
            0 4px 8px rgba(0, 0, 0, 0.5);
    }
}

.reward-label {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

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

/* Reward Reveal Container */
.reward-reveal-container {
    position: relative;
    z-index: 3;
    margin-top: 2rem;
    width: 100%;
    animation: slideInUp 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s both;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Amount Reveal - Progressive Animation */
.reward-amount-reveal {
    font-size: clamp(3rem, 12vw, 10rem);
    color: #ffd700;
    font-weight: 900;
    margin: 2rem 0;
    text-shadow: 
        0 0 30px rgba(255, 215, 0, 1),
        0 0 60px rgba(255, 215, 0, 0.9),
        0 0 90px rgba(255, 215, 0, 0.7),
        0 0 120px rgba(255, 215, 0, 0.5),
        0 8px 16px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.reward-amount-reveal.revealed {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    animation: amountRevealBlast 1s cubic-bezier(0.68, -0.55, 0.265, 1.55),
               amountHighlight 2s ease-in-out 1s infinite;
}

/* Initial blast animation */
@keyframes amountRevealBlast {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
        filter: blur(20px);
    }
    50% {
        transform: scale(1.4) rotate(10deg);
        opacity: 0.8;
        filter: blur(5px);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
        filter: blur(0px);
    }
}

/* Continuous highlighting animation */
@keyframes amountHighlight {
    0%, 100% {
        text-shadow: 
            0 0 30px rgba(255, 215, 0, 1),
            0 0 60px rgba(255, 215, 0, 0.9),
            0 0 90px rgba(255, 215, 0, 0.7),
            0 8px 16px rgba(0, 0, 0, 0.6);
        transform: scale(1);
    }
    50% {
        text-shadow: 
            0 0 50px rgba(255, 215, 0, 1),
            0 0 100px rgba(255, 215, 0, 1),
            0 0 150px rgba(255, 215, 0, 0.9),
            0 0 200px rgba(255, 215, 0, 0.7),
            0 8px 16px rgba(0, 0, 0, 0.6);
        transform: scale(1.05);
    }
}

.reward-amount-reveal .currency {
    font-size: clamp(2.5rem, 10vw, 8rem);
    animation: currencyPulse 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes currencyPulse {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
    }
    25% { 
        transform: rotate(-15deg) scale(1.1);
    }
    50% { 
        transform: rotate(0deg) scale(1.2);
    }
    75% { 
        transform: rotate(15deg) scale(1.1);
    }
}

.reward-amount-reveal .amount {
    font-size: clamp(3rem, 12vw, 10rem);
    letter-spacing: clamp(2px, 1vw, 8px);
    font-family: 'Arial', 'Helvetica', sans-serif;
    position: relative;
    display: inline-block;
}

/* Progressive Amount Upgrade Animation */
.reward-amount-reveal.upgrading .amount {
    animation: amountCountUp 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes amountCountUp {
    0% {
        transform: scale(0.5) translateY(50px);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) translateY(-10px);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Wallet Note */
.wallet-note {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: rgba(255, 255, 255, 0.95);
    margin-top: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 1.5s both;
    font-weight: 500;
}

/* Wallet Balance Reveal */
.wallet-balance-reveal {
    margin-top: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wallet-balance-reveal.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: walletBalanceSlideIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes walletBalanceSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8) rotateX(90deg);
    }
    50% {
        transform: translateY(-10px) scale(1.05) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.wallet-balance-reveal .wallet-label {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wallet-amount-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: clamp(2rem, 6vw, 5rem);
    color: #4ade80;
    font-weight: 800;
    text-shadow: 
        0 0 20px rgba(74, 222, 128, 0.9),
        0 0 40px rgba(74, 222, 128, 0.7),
        0 0 60px rgba(74, 222, 128, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.5);
    margin: 1.5rem 0;
    animation: walletAmountPulse 2s ease-in-out infinite;
}

@keyframes walletAmountPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 
            0 0 20px rgba(74, 222, 128, 0.9),
            0 0 40px rgba(74, 222, 128, 0.7),
            0 4px 12px rgba(0, 0, 0, 0.5);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 
            0 0 30px rgba(74, 222, 128, 1),
            0 0 60px rgba(74, 222, 128, 0.9),
            0 0 90px rgba(74, 222, 128, 0.7),
            0 4px 12px rgba(0, 0, 0, 0.5);
    }
}

.wallet-amount-display .currency {
    font-size: clamp(1.8rem, 5vw, 4rem);
    animation: currencyPulse 2s ease-in-out infinite;
}

.wallet-amount-display .amount {
    font-family: 'Arial', 'Helvetica', sans-serif;
    letter-spacing: clamp(1px, 0.5vw, 4px);
}

/* Wallet Balance Count Up Animation */
.wallet-amount-display.updating .amount {
    animation: walletCountUp 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes walletCountUp {
    0% {
        transform: scale(0.8) translateY(20px);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1) translateY(-5px);
        opacity: 0.9;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.redirect-note {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.75);
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.redirect-note.show {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .celebration-content {
        padding: 1rem;
    }
    
    .celebration-icon {
        font-size: 5rem;
        margin-bottom: 1rem;
    }
    
    .celebration-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }
    
    .reward-label {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .reward-amount-reveal {
        margin: 1.5rem 0;
        gap: 0.5rem;
    }
    
    .wallet-balance-reveal {
        margin-top: 2rem;
    }
    
    .wallet-amount-display {
        gap: 0.5rem;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .celebration-content {
        padding: 0.5rem;
    }
    
    .celebration-icon {
        font-size: 4rem;
    }
    
    .celebration-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .reward-label {
        font-size: 1.2rem;
    }
    
    .wallet-note {
        font-size: 1rem;
        margin-top: 1.5rem;
    }
}

/* Wallet Styles */
.wallet-page {
    padding: 2rem 0;
}

.wallet-flash-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.wallet-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.wallet-icon {
    font-size: 3rem;
}

.wallet-info h2 {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.wallet-balance {
    font-size: 3rem;
    font-weight: bold;
}

.wallet-balance .currency {
    font-size: 2rem;
}

.wallet-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.wallet-stat {
    text-align: center;
}

.wallet-stat .label {
    display: block;
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.wallet-stat .value {
    font-size: 1.5rem;
    font-weight: bold;
}

.wallet-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.wallet-actions .btn-primary,
.wallet-actions .btn-secondary {
    flex: 1;
    min-width: 150px;
}

.withdraw-note {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

.wallet-section {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.wallet-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--border-color);
}

.transaction-item.transaction-credit {
    border-left-color: var(--success-color);
}

.transaction-item.transaction-debit {
    border-left-color: var(--error-color);
}

.transaction-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-color);
}

.transaction-icon i {
    color: var(--primary-color);
}

.transaction-details {
    flex: 1;
}

.transaction-details h4 {
    margin-bottom: 0.25rem;
}

.transaction-amount {
    font-size: 1.25rem;
    font-weight: bold;
}

.transaction-amount.credit {
    color: var(--success-color);
}

.transaction-amount.debit {
    color: var(--error-color);
}

.transaction-balance {
    color: var(--text-light);
    font-size: 0.9rem;
}

.bank-details-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.bank-detail-item .label {
    font-weight: 500;
    color: var(--text-light);
}

.bank-detail-item .value {
    font-weight: 600;
}

/* Withdraw Page */
.withdraw-page {
    padding: 2rem 0;
}

.wallet-balance-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 2rem;
}

.balance-amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.withdraw-warning {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.bank-details-form,
.withdrawal-form {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.bank-details-summary {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.bank-details-summary h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.withdrawal-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.withdrawals-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.withdrawal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.withdrawal-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

/* ============================================
   SCRATCH CARDS LIST VIEW
   ============================================ */
.scratch-cards-list-section {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.scratch-cards-list-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.scratch-cards-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scratch-card-list-item {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.scratch-card-list-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.scratch-card-list-item.status-pending_scratch {
    border-left-color: #ffc107;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.05) 0%, var(--bg-color) 10%);
}

.scratch-card-list-item.status-completed {
    border-left-color: #28a745;
    background: linear-gradient(90deg, rgba(40, 167, 69, 0.05) 0%, var(--bg-color) 10%);
}

.scratch-card-list-item.status-pending_approval {
    border-left-color: #6c757d;
    background: linear-gradient(90deg, rgba(108, 117, 125, 0.05) 0%, var(--bg-color) 10%);
}

.list-item-left {
    flex-shrink: 0;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scratch-card-mini {
    width: 80px;
    height: 80px;
    position: relative;
    cursor: pointer;
}

.scratch-card-wrapper-mini {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.scratch-card-front-mini {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 50%, #ffd700 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.scratch-card-design-mini {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-pattern-mini {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255,255,255,0.2) 5px, rgba(255,255,255,0.2) 10px);
    animation: shimmer 2s linear infinite;
}

.card-content-mini {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 1.5rem;
}

.scratch-card-back-mini {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #32cd32 0%, #1e90ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.reward-amount-mini {
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.reward-amount-mini .currency {
    font-size: 0.8rem;
}

.reward-amount-mini .amount {
    font-size: 1rem;
}

.scratch-canvas-mini {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    z-index: 3;
    touch-action: none;
    border-radius: 8px;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card-icon.completed-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.card-icon.pending-icon {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.list-item-center {
    flex: 1;
    min-width: 0;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    word-wrap: break-word;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-date i {
    font-size: 0.85rem;
}

.list-item-right {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.card-reward {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.reward-amount-display {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.reward-amount-display .currency {
    font-size: 1.2rem;
}

.reward-amount-display .amount {
    font-family: 'Arial', sans-serif;
}

.status-badge-list {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.status-badge-list .status-icon {
    font-size: 1rem;
}

.section-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .scratch-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .wallet-balance {
        font-size: 2rem;
    }
    
    .wallet-actions {
        flex-direction: column;
    }
    
    .scratch-card-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .list-item-left {
        width: 100%;
    }
    
    .card-icon-wrapper {
        width: 100%;
        height: auto;
        justify-content: center;
    }
    
    .scratch-card-mini {
        width: 100%;
        height: 120px;
        margin: 0 auto;
        max-width: 200px;
    }
    
    .list-item-center {
        width: 100%;
    }
    
    .list-item-right {
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }
    
    .card-reward {
        width: 100%;
        align-items: flex-start;
    }
    
    .reward-amount-display {
        font-size: 1.3rem;
    }
    
    .property-title {
        font-size: 1.1rem;
    }
    
    .card-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .scratch-card-list-item {
        padding: 1rem;
    }
    
    .card-icon-wrapper {
        width: 100%;
    }
    
    .scratch-card-mini {
        max-width: 150px;
        height: 100px;
    }
    
    .reward-amount-display {
        font-size: 1.2rem;
    }
    
    .status-badge-list {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
