/* ========================================
   GEMS SYSTEM STYLES
   ======================================== */

/* Main container */
.gems-container {
    padding: 12px;
    min-height: 400px;
}

/* Tab navigation */
.gems-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.gems-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gems-tab:hover {
    background: rgba(255, 255, 255, 0.12);
}

.gems-tab.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

/* Section titles */
.section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #f3f4f6;
}

/* Drop section */
.gems-drop-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.tier-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.gem-tier-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gem-tier-btn:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.gem-tier-btn.selected,
.gem-tier-btn.selected:hover:not(.disabled) {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.gem-tier-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tier-label {
    font-weight: 600;
    font-size: 13px;
}

.tier-cost {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.drop-info {
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 12px;
}

.gem-drop-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gem-drop-btn:hover:not(.disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.gem-drop-btn.disabled {
    background: #4b5563;
    cursor: not-allowed;
}

/* Premium Mining Button */
.premium-mining-btn {
    width: 100%;
    padding: 12px 16px;
    margin-top: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.premium-mining-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.premium-mining-btn .premium-icon {
    font-size: 16px;
}

.premium-mining-btn .premium-price {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.premium-active-badge {
    width: 100%;
    padding: 10px 16px;
    margin-top: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Gems inventory */
.gems-inventory-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
}

.gems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.no-gems,
.no-items {
    color: #6b7280;
    text-align: center;
    padding: 24px;
    grid-column: 1 / -1;
}

/* Gem card */
.gem-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
    border: 2px solid #4b5563;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    cursor: default;
    transition: all 0.2s ease;
}

.gem-card.selectable {
    cursor: pointer;
}

.gem-card.selectable:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.gem-card.selected {
    background: rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.gem-card.small {
    padding: 6px;
}

.gem-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.gem-card.small .gem-icon {
    font-size: 20px;
    margin-bottom: 0;
}

.gem-name {
    font-size: 11px;
    font-weight: 600;
}

.gem-quality {
    font-size: 10px;
    opacity: 0.8;
}

.gem-bonus {
    font-size: 10px;
    color: #22c55e;
    margin-top: 2px;
}

/* Craft section */
.gems-craft-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.boss-items-gems {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.boss-item-gem-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-name {
    font-size: 13px;
    font-weight: 600;
    color: #e5e7eb;
}

.item-rarity {
    font-size: 11px;
    text-transform: uppercase;
}

.gem-slots {
    display: flex;
    gap: 6px;
}

.gem-slot {
    width: 36px;
    height: 36px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(0, 0, 0, 0.2);
}

.gem-slot:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.gem-slot.filled {
    border-style: solid;
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.2);
}

.gem-slot .empty-slot {
    color: #6b7280;
    font-size: 18px;
}

.gem-slot .gem-icon {
    font-size: 20px;
    margin: 0;
}

/* Merge section */
.gems-merge-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.merge-info {
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 12px;
}

.merge-slots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.merge-slot {
    width: 60px;
    height: 70px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.merge-slot.filled {
    border-style: solid;
    border-color: #8b5cf6;
}

.merge-slot .plus {
    color: #6b7280;
    font-size: 24px;
}

.gem-merge-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gem-merge-btn:hover:not(.disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.gem-merge-btn.disabled {
    background: #4b5563;
    cursor: not-allowed;
}

/* Modal styles */
.gem-insert-modal,
.gem-extract-modal {
    text-align: center;
}

.gem-insert-modal h3,
.gem-extract-modal h3 {
    margin-bottom: 16px;
}

.gem-select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.gem-select-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border: 2px solid #4b5563;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gem-select-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.extract-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.extract-destroy,
.extract-save {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.extract-destroy {
    background: #4b5563;
    color: white;
}

.extract-destroy:hover {
    background: #6b7280;
}

.extract-save {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
}

.extract-save:hover {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Set bonus display */
.gem-set-bonus {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 10px;
}

.gem-set-bonus .set-icon {
    font-size: 20px;
}

.gem-set-bonus .set-text {
    font-size: 13px;
    color: #c4b5fd;
    font-weight: 600;
}

/* Item meta row */
.item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-enhance {
    font-size: 11px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Detailed gem select item */
.gem-select-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.gem-select-header .gem-icon {
    font-size: 24px;
}

.gem-select-header .gem-name {
    font-weight: 700;
    font-size: 14px;
}

.gem-select-header .gem-quality {
    font-size: 11px;
    color: #9ca3af;
    margin-left: auto;
}

.gem-select-details {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
}

.gem-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #9ca3af;
    padding: 2px 0;
}

.gem-detail-row.highlight {
    color: #22c55e;
}

.gem-detail-row.total {
    color: #f59e0b;
    font-weight: 700;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gem-insert-hint {
    text-align: center;
    font-size: 12px;
    color: #22c55e;
    margin-bottom: 12px;
    padding: 6px 10px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 6px;
}

/* Updated gem select item for detailed view */
.gem-select-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border: 2px solid #4b5563;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gem-select-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Carousel */
.item-carousel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
}

.carousel-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-counter {
    font-size: 14px;
    font-weight: 600;
    color: #e5e7eb;
}

/* Active Craft Item */
.active-craft-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Default subtle border */
}

.item-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.item-icon-frame {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.item-icon-frame.rarity-common {
    border-color: #9ca3af;
    box-shadow: 0 0 5px rgba(156, 163, 175, 0.2);
}

.item-icon-frame.rarity-rare {
    border-color: #60a5fa;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.3);
}

.item-icon-frame.rarity-epic {
    border-color: #a855f7;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.item-icon-frame.rarity-legendary {
    border-color: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.item-emoji {
    font-size: 32px;
    line-height: 1;
}

/* Broken item overlay */
.item-icon-frame {
    position: relative;
}

.broken-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    opacity: 0.9;
    z-index: 2;
}

.item-broken .item-icon-frame {
    opacity: 0.6;
}

.item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-name {
    font-weight: 700;
    font-size: 15px;
    color: white;
}

.item-meta {
    font-size: 12px;
    display: flex;
    gap: 8px;
    opacity: 0.8;
}

.item-enhance {
    color: #34d399;
    font-weight: 600;
}

/* Bonus Summary */
.gem-bonuses-summary {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.summary-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.bonus-row {
    font-size: 13px;
    color: #d1d5db;
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 3px;
}

.bonus-val {
    color: #a855f7;
    font-weight: 700;
}

.set-active .bonus-lbl {
    color: #fbbf24;
}

.no-bonuses {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}

/* Slots container */
.gem-slots-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 8px;
}

.gem-slot.large-slot {
    width: 64px;
    height: 64px;
    font-size: 28px;
}

.gem-slot-bonus {
    display: none;
}

/* Slot rarities - !important to override .gem-slot.filled default */
.gem-slot.filled.rarity-common {
    border-color: #9ca3af !important;
    box-shadow: 0 0 5px rgba(156, 163, 175, 0.2);
}

.gem-slot.filled.rarity-rare {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.2);
}

.gem-slot.filled.rarity-epic {
    border-color: #a855f7 !important;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
}

.gem-slot.filled.rarity-legendary {
    border-color: #f59e0b !important;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

/* Inventory Pagination */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-header-row .section-title {
    margin-bottom: 0;
}

.inventory-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
}

.inv-page-btn {
    background: none;
    border: none;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 4px;
}

.inv-page-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.inv-page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-count {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
}

/* Enforce icon frame colors */
.item-icon-frame.rarity-common {
    border-color: #9ca3af !important;
}

.item-icon-frame.rarity-rare {
    border-color: #60a5fa !important;
}

.item-icon-frame.rarity-epic {
    border-color: #a855f7 !important;
}

.item-icon-frame.rarity-legendary {
    border-color: #f59e0b !important;
}

/* Mining Section */
.gems-mining-section {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.gems-mining-section.ready {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.gems-mining-section.cooldown {
    background: rgba(0, 0, 0, 0.3);
}

.mining-desc {
    font-size: 14px;
    color: #a7f3d0;
    margin-bottom: 12px;
}

.mining-status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.mining-label {
    color: #9ca3af;
}

.mining-timer {
    font-weight: bold;
    color: #e5e7eb;
}

.mining-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.mining-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.3s ease;
}

.gem-mine-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to right, #059669, #10b981);
    color: white;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.gem-mine-btn:hover:not([disabled]) {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
    filter: brightness(1.1);
}

.gem-mine-btn:active:not([disabled]) {
    transform: translateY(1px);
}

.gem-mine-btn:disabled {
    background: #374151;
    color: #9ca3af;
    cursor: default;
    box-shadow: none;
}

.gem-mine-btn.pulse {
    animation: minePulse 2s infinite;
}

@keyframes minePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Inventory Hint */
.gems-inventory-hint {
    animation: fadeIn 0.5s ease-out;
}

/* ========================================
   GEM REVEAL MODAL (after mining)
   ======================================== */

.gem-reveal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gem-reveal-overlay.visible {
    opacity: 1;
}

.gem-reveal-modal {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 40px;
    background: linear-gradient(145deg, rgba(30, 30, 40, 0.95), rgba(20, 20, 30, 0.98));
    border-radius: 24px;
    border: 2px solid var(--rarity-color, #9ca3af);
    box-shadow:
        0 0 40px var(--rarity-color, #9ca3af)30,
        0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    animation: gemRevealIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    max-width: 320px;
    width: 90%;
}

@keyframes gemRevealIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    60% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.gem-reveal-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle at center, var(--rarity-color, #9ca3af)15, transparent 60%);
    animation: gemRevealGlow 2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gemRevealGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.gem-reveal-icon {
    width: 100px;
    height: 100px;
    font-size: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    margin-bottom: 20px;
    animation: gemIconFloat 3s ease-in-out infinite;
}

@keyframes gemIconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.gem-reveal-name {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px currentColor;
}

.gem-reveal-quality {
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gem-reveal-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 16px;
}

.gem-reveal-stat-icon {
    font-size: 22px;
}

.gem-reveal-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #22c55e;
}

.gem-reveal-flavor {
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
    max-width: 260px;
}

.gem-reveal-ok-btn {
    padding: 14px 48px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gem-reveal-ok-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.gem-reveal-ok-btn:active {
    transform: translateY(0);
}
/* SVG Gem Icons */
.gem-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-bottom: 4px;
}

.gem-card.small .gem-icon-img {
    width: 20px;
    height: 20px;
    margin-bottom: 0;
}

.gem-slot-icon {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

