/* Store Section Styling */

/* Page Header */
.store-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.store-back-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.store-back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-2px);
}

.store-page-title h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px 0;
    background: linear-gradient(135deg, #fff, #a0a0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.store-page-title p {
    font-size: 13px;
    color: #a0a0b0;
    margin: 0;
}

/* Premium Hero Card */
.store-hero-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 24px;
    padding: 28px 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 40px -10px rgba(118, 75, 162, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: heroGradient 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes heroGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.store-hero-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    animation: heroGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% {
        opacity: 0.5;
        transform: rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: rotate(10deg);
    }
}

.store-hero-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.store-hero-particles span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.store-hero-particles span:nth-child(2) {
    top: 60%;
    left: 25%;
    animation-delay: 0.5s;
    width: 6px;
    height: 6px;
}

.store-hero-particles span:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.store-hero-particles span:nth-child(4) {
    top: 70%;
    right: 25%;
    animation-delay: 1.5s;
    width: 5px;
    height: 5px;
}

.store-hero-particles span:nth-child(5) {
    top: 45%;
    left: 50%;
    animation-delay: 2s;
    width: 4px;
    height: 4px;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
}

.store-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.store-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.store-hero-icon {
    font-size: 48px;
    margin-bottom: 12px;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.store-hero-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.store-hero-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.store-hero-coins {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.store-hero-coins .coin-icon {
    font-size: 16px;
}

.store-hero-coins .coin-value {
    font-size: 16px;
    font-weight: 800;
}

.store-hero-coins .coin-label {
    font-size: 11px;
    opacity: 0.8;
}

/* Conversion Note */
.store-conversion-note {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

/* Grid Layout */
.store-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 120px;
}

/* Store Item Card */
.store-item {
    background: rgba(25, 25, 40, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    /* Performance: GPU layer */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    contain: layout style paint;
}

.store-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.1) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-item:hover::before {
    opacity: 1;
}

.store-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(108, 92, 231, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(108, 92, 231, 0.4);
}

.store-item:active {
    transform: translateY(-4px) scale(0.98);
}

/* Item Image */
.store-item-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: linear-gradient(135deg, #2a2a4e, #1a1a30);
    /* Disable transform on scroll for performance */
}

/* Removed shimmer effect for scroll performance */

/* Item Content */
.store-item-content {
    padding: 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.store-item-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
}

.store-item-desc {
    font-size: 11px;
    color: rgba(160, 160, 176, 0.9);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Price Tag */
.store-item-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
    padding: 8px 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.coin-price {
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.star-price {
    color: #ff9f43;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 0 10px rgba(255, 159, 67, 0.3);
}

.store-item-price .divider {
    height: 14px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Buy Button */
.buy-btn-trigger {
    margin-top: 12px;
    width: 100%;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(118, 75, 162, 0.2));
    border: 1px solid rgba(108, 92, 231, 0.3);
    color: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.buy-btn-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.4s ease;
}

.buy-btn-trigger:hover::before {
    left: 100%;
}

.buy-btn-trigger:hover {
    background: linear-gradient(135deg, #6c5ce7, #764ba2);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

/* Purchase Modal */
.purchase-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
    /* Performance: GPU layer */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.purchase-modal.visible {
    opacity: 1;
}

.pm-content {
    background: #1e1e2f;
    width: 100%;
    max-width: 340px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(15px) translateZ(0);
    transition: transform 0.25s ease-out;
    /* Performance: GPU layer */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.purchase-modal.visible .pm-content {
    transform: translateY(0) translateZ(0);
}

.pm-header {
    height: 140px;
    position: relative;
}

.pm-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    backdrop-filter: blur(4px);
}

.pm-body {
    padding: 20px;
}

.pm-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.pm-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.pm-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pm-option.active {
    background: rgba(108, 92, 231, 0.1);
    border-color: #6c5ce7;
    box-shadow: 0 0 0 1px #6c5ce7;
}

.pm-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02);
}

.pm-option.disabled:hover {
    background: rgba(255, 100, 100, 0.1);
    border-color: rgba(255, 100, 100, 0.3);
}

.pm-option-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-icon {
    font-size: 20px;
}

.pm-label {
    font-size: 14px;
    font-weight: 500;
}

.pm-price {
    font-weight: 700;
    font-size: 15px;
}

.pm-input-group {
    margin-bottom: 15px;
}

.pm-input-label {
    font-size: 12px;
    color: #a0a0b0;
    margin-bottom: 6px;
    display: block;
}

.pm-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 12px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.pm-input:focus {
    border-color: #6c5ce7;
}

.pm-confirm-btn {
    width: 100%;
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.1s;
}

.pm-confirm-btn:active {
    transform: scale(0.98);
}

.pm-confirm-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading State */
.store-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    color: rgba(255, 255, 255, 0.5);
}

.store-loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #6c5ce7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

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

/* 404 / Error State */
.store-error,
.store-no-items {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Success Modal */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2500;
    display: none;
    /* Flex when active */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-modal-overlay.visible {
    opacity: 1;
}

.success-modal-content {
    background: #1e1e2f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    width: 90%;
    max-width: 320px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.success-modal-overlay.visible .success-modal-content {
    transform: scale(1);
}

.success-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.2) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px);
    }
}

.success-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
    position: relative;
    z-index: 1;
}

.success-message {
    font-size: 14px;
    color: #a0a0b0;
    margin-bottom: 20px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.success-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.success-details-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.success-details-row:last-child {
    margin-bottom: 0;
}

.success-details-label {
    color: #a0a0b0;
}

.success-details-value {
    color: white;
    font-weight: 600;
}

.success-btn {
    width: 100%;
    background: linear-gradient(135deg, #00b894, #00cec9);
    border: none;
    padding: 14px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.4);
    transition: transform 0.1s;
}

.success-btn:active {
    transform: scale(0.98);
}

.success-confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.confetti-piece {
    position: absolute;
    pointer-events: none;
    animation: confettiFall linear forwards;
}

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

    100% {
        transform: translateY(400px) rotate(720deg);
        opacity: 0;
    }
}

/* Store Lock Popup */
.store-lock-popup-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: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
    /* Performance: GPU layer */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.store-lock-popup-overlay.visible {
    opacity: 1;
}

.store-lock-popup {
    background: linear-gradient(145deg, #1e1e2f, #16161f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 40px 30px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    transform: scale(0.92) translateZ(0);
    transition: transform 0.25s ease-out;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    /* Performance: GPU layer */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.store-lock-popup-overlay.visible .store-lock-popup {
    transform: scale(1) translateY(0);
}

.lock-popup-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: translateX(-50%) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }
}

.lock-popup-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: lockShake 0.6s ease-in-out;
    position: relative;
    z-index: 1;
}

@keyframes lockShake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.lock-popup-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.lock-popup-desc {
    font-size: 14px;
    color: #a0a0b0;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.lock-popup-desc .highlight {
    color: #ffc107;
    font-weight: 700;
}

.lock-popup-progress-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.lock-popup-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.lock-popup-progress-text {
    font-size: 13px;
    color: #a0a0b0;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.lock-popup-btn {
    width: 100%;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border: none;
    padding: 14px;
    border-radius: 14px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
    transition: transform 0.1s, box-shadow 0.2s;
    position: relative;
    z-index: 1;
}

.lock-popup-btn:active {
    transform: scale(0.98);
}

/* Dim sold out / coming soon items */
.store-item.sold-out,
.store-item.coming-soon {
    opacity: 0.85;
}

.store-item.sold-out .buy-btn-trigger,
.store-item.coming-soon .buy-btn-trigger {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6);
}

/* Status Popup Overlay */
.store-status-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease;
    /* Performance: GPU layer */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.store-status-popup-overlay.visible {
    opacity: 1;
}

.store-status-popup {
    background: linear-gradient(145deg, #1e2a3a 0%, #0d1520 100%);
    border-radius: 24px;
    padding: 32px 28px;
    max-width: 320px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.92) translateZ(0);
    transition: transform 0.25s ease-out;
    /* Performance: GPU layer */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.store-status-popup-overlay.visible .store-status-popup {
    transform: scale(1);
}

.store-status-popup-icon {
    font-size: 56px;
    margin-bottom: 16px;
    animation: popupBounce 0.5s ease-out;
}

@keyframes popupBounce {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.store-status-popup-title {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.store-status-popup-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 24px;
}

.store-status-popup-text strong {
    color: white;
}

.store-status-popup-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.store-status-popup-btn:active {
    transform: scale(0.98);
}

/* Store Item Badges */
.store-item-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    left: auto;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: auto;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.store-item:hover .store-item-badge {
    transform: scale(1.05);
}

.store-item-badge.sold-out {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.95), rgba(200, 50, 60, 0.95));
    color: white;
    box-shadow:
        0 4px 15px rgba(255, 71, 87, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse-red 2s infinite;
}

.store-item-badge.coming-soon {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.95), rgba(41, 128, 185, 0.95));
    color: white;
    box-shadow:
        0 4px 15px rgba(52, 152, 219, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse-blue 2s infinite;
}

.store-item-badge.quantity-badge {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.95), rgba(39, 174, 96, 0.95));
    color: white;
    box-shadow:
        0 4px 15px rgba(46, 213, 115, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-red {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 71, 87, 0.5);
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 71, 87, 0.8);
    }
}

@keyframes pulse-blue {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.5);
    }

    50% {
        box-shadow: 0 4px 25px rgba(52, 152, 219, 0.8);
    }
}

@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(46, 213, 115, 0.5);
    }

    50% {
        box-shadow: 0 4px 25px rgba(46, 213, 115, 0.8);
    }
}

/* Store Image Wrapper */
.store-image-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    z-index: 1;
}

/* Gradient overlay on image */
.store-image-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(20, 20, 35, 0.8), transparent);
    z-index: 2;
    pointer-events: none;
}