/* File: /public/css/components/modal.css */
/* Arcade Layer - Modal & Popup Styles */
/* v1.3.1 - Moved X button to top-right corner */
/*
 * CHANGES IN v1.3.1:
 * - FIXED: X close button now positioned in top-right corner (absolute)
 * - Added padding-right to header to prevent overlap with X
 *
 * CHANGES IN v1.3.0:
 * - REDESIGNED: Batch results modal now matches spin controls panel aesthetic
 * - Darker, more sophisticated backgrounds (rgba(0,0,0,0.4) base)
 * - Subtle gold/secondary borders instead of bright neon green
 * - Cards use muted dark backgrounds with subtle borders
 * - Hover/active states use gold accents (--brand-secondary)
 * - Overall more "premium dark mode" feel
 *
 * KEY NOTES:
 * - Win popup modal for spin results
 * - Wallet connection prompt
 * - Flash overlay effects
 * - All colors use CSS variables for white-label theming
 *
 * CUSTOMIZATION - Card Front (Unrevealed) Transparency:
 * =====================================================
 * The card-front background uses a layered approach:
 *   background: rgba(0, 0, 0, 0.4);  <-- BASE darkness
 *   background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), var(--asset-card-back);
 *                                      ^^^^^^^^^^^^^^^
 *                                      OVERLAY opacity (darkens the image)
 *
 * To make cards LIGHTER (see more of the image):
 *   - Reduce overlay: rgba(0,0,0,0.3) or rgba(0,0,0,0.2)
 *   - Reduce base: rgba(0, 0, 0, 0.2)
 *
 * To make cards DARKER (more mystery):
 *   - Increase overlay: rgba(0,0,0,0.7) or rgba(0,0,0,0.8)
 *   - Increase base: rgba(0, 0, 0, 0.6)
 */

/* =================================================================
   WIN FLASH OVERLAY
   Full-screen flash effect on wins
   ================================================================= */
.win-flash {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, 
        rgba(var(--brand-primary-rgb), 0.3) 0%, 
        transparent 70%);
    pointer-events: none;
    z-index: var(--z-overlay);
    animation: flashPulse 0.5s ease-out forwards;
}

.win-flash.jackpot-flash {
    background: radial-gradient(circle, 
        rgba(var(--brand-secondary-rgb), 0.4) 0%, 
        transparent 70%);
}

@keyframes flashPulse {
    0% { opacity: 0; }
    30% { opacity: 1; }
    100% { opacity: 0; }
}

/* =================================================================
   WIN POPUP MODAL
   Displays prize information after spin
   ================================================================= */
.win-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: calc(var(--z-max) + 10);
    backdrop-filter: blur(8px);
}

.win-popup {
    background: var(--gradient-card-angled);
    border: 3px solid var(--brand-primary);
    border-radius: var(--radius-xl);
    padding: 30px 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 
        0 0 60px rgba(var(--brand-primary-rgb), 0.5), 
        0 0 100px rgba(var(--brand-primary-rgb), 0.3);
    animation: popupAppear 0.4s var(--ease-bounce);
    position: relative;
    overflow: hidden;
}

.win-popup.jackpot {
    border-color: var(--brand-secondary);
    box-shadow: 
        0 0 80px rgba(var(--brand-secondary-rgb), 0.6), 
        0 0 120px rgba(var(--brand-secondary-rgb), 0.4);
}

@keyframes popupAppear {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Win Popup Icon */
.win-popup-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
    animation: iconPop 0.5s ease-out 0.2s both;
    object-fit: contain;
}

@keyframes iconPop {
    0% { transform: scale(0) rotate(-30deg); }
    50% { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Win Popup Title */
.win-popup-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--brand-primary);
    margin-bottom: var(--space-3);
    text-shadow: 0 0 20px rgba(var(--brand-primary-rgb), 0.6);
}

.win-popup.jackpot .win-popup-title {
    color: var(--brand-secondary);
    text-shadow: 0 0 20px rgba(var(--brand-secondary-rgb), 0.6);
}

/* Win Popup Prize Amount */
.win-popup-prize {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    color: #fff;
    margin-bottom: var(--space-5);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Win Popup Message */
.win-popup-message {
    color: var(--text-secondary);
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
    line-height: var(--leading-normal);
}

/* Win Popup Close Button */
.win-popup-close {
    padding: var(--space-3) var(--space-10);
    background: var(--gradient-button-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-on-primary);
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.win-popup-close:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-primary-strong);
}

/* =================================================================
   FIREWORKS PARTICLES
   Decorative particles in win popup
   ================================================================= */
.firework {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    animation: fireworkBurst 1s ease-out forwards;
}

@keyframes fireworkBurst {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* =================================================================
   CONFETTI CONTAINER
   Full-screen confetti effect
   ================================================================= */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: calc(var(--z-overlay) + 1);
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% { 
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% { 
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* =================================================================
   WALLET PROMPT MODAL
   Mobile wallet connection options
   ================================================================= */
.wallet-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
}

.wallet-prompt {
    background: var(--gradient-card-angled);
    border: 2px solid var(--brand-primary);
    border-radius: var(--radius-xl);
    padding: 30px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 0 50px rgba(var(--brand-primary-rgb), 0.3);
}

.wallet-prompt h3 {
    color: var(--brand-primary);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.wallet-prompt p {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-5);
}

/* Wallet Options Container */
.wallet-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

/* Wallet Option Button Base */
.wallet-option-btn {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    font-family: var(--font-display);
    font-size: var(--text-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid;
}

.wallet-option-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* MetaMask Option */
.wallet-option-btn.metamask {
    background: linear-gradient(135deg, 
        rgba(245, 133, 66, 0.2), 
        rgba(245, 133, 66, 0.1));
    border-color: #f58542;
    color: #f58542;
}

/* Coinbase Option */
.wallet-option-btn.coinbase {
    background: linear-gradient(135deg, 
        rgba(0, 82, 255, 0.2), 
        rgba(0, 82, 255, 0.1));
    border-color: #0052ff;
    color: #4d8bff;
}

/* Browser Wallet Option */
.wallet-option-btn.browser {
    background: var(--gradient-button-subtle);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* Wallet Prompt Close Button */
.wallet-prompt-close {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-secondary);
    padding: var(--space-3) var(--space-8);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--text-sm);
    transition: all var(--transition-normal);
}

.wallet-prompt-close:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}


/* =================================================================
   BATCH RESULTS MODAL - MODERN PREMIUM DARK THEME
   Matches spin controls panel aesthetic
   ================================================================= */
.batch-results-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: var(--z-max);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.batch-results-modal {
    /* Modern dark container - matches spin-controls-panel */
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(var(--brand-secondary-rgb), 0.4);
    border-radius: 16px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(var(--brand-secondary-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

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

/* Header - Modern subtle style */
.batch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    padding: 16px 20px;
    padding-right: 50px; /* Make room for absolute X button */
    border-bottom: 1px solid rgba(var(--brand-secondary-rgb), 0.2);
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.batch-header h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(var(--brand-secondary-rgb), 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Close X Button - Positioned in top-right corner */
.modal-close-x {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close-x:hover {
    background: rgba(255, 100, 100, 0.15);
    border-color: rgba(255, 100, 100, 0.4);
    color: #ff6b6b;
}

/* Summary Stats - Compact pills */
.batch-summary-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.stat-tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-display);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(100, 100, 100, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-tag.wn {
    background: rgba(var(--brand-primary-rgb), 0.15);
    border-color: rgba(var(--brand-primary-rgb), 0.4);
    color: var(--brand-primary);
}

.stat-tag.raffle {
    background: rgba(var(--brand-secondary-rgb), 0.15);
    border-color: rgba(var(--brand-secondary-rgb), 0.4);
    color: var(--brand-secondary);
}

.stat-tag.prize {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.4);
    color: #ff6b6b;
}

/* Grid of Result Cards */
.batch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    padding: 16px;
    gap: 10px;
    overflow-y: auto;
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    /* Custom Scrollbar - subtle */
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--brand-secondary-rgb), 0.4) rgba(0,0,0,0.2);
}

.batch-grid::-webkit-scrollbar {
    width: 6px;
}
.batch-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}
.batch-grid::-webkit-scrollbar-thumb {
    background: rgba(var(--brand-secondary-rgb), 0.4);
    border-radius: 3px;
}
.batch-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--brand-secondary-rgb), 0.6);
}

/* Result Card with Flip Effect */
.result-card {
    aspect-ratio: 3/4;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
    border-radius: 8px;
}

.result-card.revealed .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

/* Card Front (Unrevealed) - Modern dark style */
/* TRANSPARENCY: Adjust the rgba values below to control darkness */
.card-front {
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.0);  /* BASE: 0.4 = 40% dark. Lower = lighter */
    background-image: 
        linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0)),  /* OVERLAY: 0.6 = 60% dark over image */
        var(--asset-card-back);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    border: 1px solid rgba(100, 100, 100, 0.3);
    color: var(--text-muted);
    overflow: hidden;
    transition: all 0.2s ease;
}

.result-card:hover .card-front {
    border-color: rgba(var(--brand-secondary-rgb), 0.5);
    background-color: rgba(var(--brand-secondary-rgb), 0.05);
}

/* Mystery Icon on front */
.mystery-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Card Back (Revealed Outcome) - Modern styling */
.card-back {
    background: rgba(0, 0, 0, 0.5);
    transform: rotateY(180deg);
    border: 1px solid rgba(100, 100, 100, 0.3);
    transition: all 0.3s ease;
}

/* Outcome Styles - Using secondary (gold) for good results */
.result-card.wn .card-back,
.result-card.revealed.wn .card-back { 
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.2), rgba(var(--brand-primary-rgb), 0.1));
    border-color: rgba(var(--brand-primary-rgb), 0.6);
    box-shadow: 0 0 12px rgba(var(--brand-primary-rgb), 0.15);
}

.result-card.ticket .card-back,
.result-card.raffle .card-back,
.result-card.revealed.raffle .card-back { 
    background: linear-gradient(135deg, rgba(var(--brand-secondary-rgb), 0.2), rgba(var(--brand-secondary-rgb), 0.1));
    border-color: rgba(var(--brand-secondary-rgb), 0.6);
    box-shadow: 0 0 12px rgba(var(--brand-secondary-rgb), 0.15);
}

.result-card.free .card-back,
.result-card.revealed.free .card-back { 
    background: linear-gradient(135deg, rgba(70, 130, 180, 0.25), rgba(70, 130, 180, 0.15));
    border-color: rgba(100, 150, 200, 0.6);
    box-shadow: 0 0 12px rgba(100, 150, 200, 0.2);
}

.result-card.prize .card-back,
.result-card.revealed.prize .card-back { 
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.1));
    border-color: rgba(255, 107, 107, 0.6);
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.15);
}

.result-card.jackpot .card-back,
.result-card.revealed.jackpot .card-back { 
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 180, 0, 0.2));
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    animation: jackpotPulse 2s ease-in-out infinite;
}

@keyframes jackpotPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.4); }
}

.result-card.miss .card-back,
.result-card.loss .card-back,
.result-card.revealed.loss .card-back { 
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.2), rgba(60, 60, 60, 0.15));
    border-color: rgba(100, 100, 100, 0.4);
}

.result-icon {
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.result-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    word-break: break-word;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Color-coded labels */
.result-card.wn .result-label { color: var(--brand-primary); }
.result-card.raffle .result-label,
.result-card.ticket .result-label { color: var(--brand-secondary); }
.result-card.prize .result-label { color: #ff6b6b; }
.result-card.jackpot .result-label { color: #ffd700; }
.result-card.loss .result-label,
.result-card.miss .result-label { color: rgba(255, 255, 255, 0.5); font-style: italic; }

/* Mini Claim Button - Modern style */
.mini-claim-btn {
    margin-top: 4px;
    font-size: 0.55rem;
    padding: 3px 8px;
    background: rgba(var(--brand-secondary-rgb), 0.3);
    border: 1px solid var(--brand-secondary);
    border-radius: 4px;
    color: var(--brand-secondary);
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.mini-claim-btn:hover {
    background: var(--brand-secondary);
    color: #000;
    box-shadow: 0 0 10px rgba(var(--brand-secondary-rgb), 0.4);
}

.claimed-badge {
    margin-top: 4px;
    font-size: 0.55rem;
    color: var(--brand-primary);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Actions Footer - Modern subtle style */
.batch-footer,
.batch-actions {
    padding: 14px 20px;
    border-top: 1px solid rgba(var(--brand-secondary-rgb), 0.2);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    gap: 12px;
}

.reveal-all-btn, .close-batch-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.reveal-all-btn {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reveal-all-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.reveal-all-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.close-batch-btn {
    background: rgba(var(--brand-secondary-rgb), 0.2);
    color: var(--brand-secondary);
    border: 1px solid var(--brand-secondary);
    box-shadow: 0 0 15px rgba(var(--brand-secondary-rgb), 0.2);
}

.close-batch-btn:hover {
    background: var(--brand-secondary);
    color: #000;
    box-shadow: 0 0 25px rgba(var(--brand-secondary-rgb), 0.4);
    transform: translateY(-1px);
}

/* Warning Overlay (Unclaimed Prizes) - Modern style */
.warning-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    animation: fadeIn 0.2s;
    backdrop-filter: blur(4px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.warning-box {
    background: rgba(40, 0, 0, 0.9);
    border: 1px solid rgba(255, 100, 100, 0.5);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    max-width: 80%;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.warning-box h3 { 
    color: #ff6b6b; 
    margin: 0 0 12px 0;
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.warning-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0 0 16px 0;
}

.warning-actions { 
    display: flex; 
    gap: 12px; 
    justify-content: center; 
}

.warn-btn {
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.warn-btn.back { 
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.warn-btn.back:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.warn-btn.confirm { 
    background: rgba(255, 100, 100, 0.2);
    border: 1px solid rgba(255, 100, 100, 0.5);
    color: #ff6b6b;
}

.warn-btn.confirm:hover {
    background: #ff6b6b;
    color: #000;
}

/* Mobile Adjustments */
@media (max-width: 640px) {
    .batch-results-modal {
        max-width: 95%;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .batch-header {
        padding: 12px 16px;
        padding-right: 45px; /* Room for X button */
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .batch-header h2 {
        font-size: 0.95rem;
    }
    
    .batch-summary-stats {
        justify-content: center;
        width: 100%;
    }
    
    .modal-close-x {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
    }
    
    .batch-grid {
        padding: 12px;
        gap: 8px;
    }
    
    .result-card {
        aspect-ratio: 3/4;
    }
    
    .result-icon {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }
    
    .result-label {
        font-size: 0.55rem;
    }
    
    .mini-claim-btn {
        font-size: 0.5rem;
        padding: 2px 6px;
    }
    
    .batch-footer,
    .batch-actions {
        padding: 12px 16px;
        gap: 10px;
    }
    
    .reveal-all-btn, .close-batch-btn {
        padding: 8px 18px;
        font-size: 0.75rem;
    }
}