/* Modern Store Styles */
.modern-store {
    background: #15171e;
    min-height: 100vh;
    color: #ffffff;
    padding-top: 0;
}

.store-container {
    display: flex;
    min-height: calc(100vh - 80px); /* Adjust for header height */
    margin-top: 0;
}

.div-border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    
}
/* Sticky Sidebar */
.store-sidebar {
    width: 300px;
   
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    position: sticky;
    top: 80px; /* Position below header */
    height: calc(100vh - 80px);
    overflow-y: auto;
   
}

.sidebar-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.sidebar-header p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Balance Section */
.balance-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coin-balance {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    padding: 1rem;
    border-radius: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
    margin-bottom: 1rem;
}

.coin-balance i {
    color: #ffd700;
    font-size: 1.5rem;
}

.balance-info {
    display: flex;
    flex-direction: column;
}

.balance-amount {
    font-size: 1.5rem;
    font-weight: bold;
}

.balance-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.buy-coins-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.buy-coins-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.login-prompt {
    text-align: center;
    padding: 1rem;
}

.login-prompt i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.login-prompt p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Category Filter */
.category-filter {
    margin-bottom: 2rem;
}

.category-filter h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-item:hover,
.category-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: translateX(5px);
}

.category-item i {
    width: 20px;
    text-align: center;
}

/* Quick Stats */
.quick-stats {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-stats h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.stat-item i {
    width: 20px;
    text-align: center;
    color: #667eea;
}

/* Main Content Area */
.store-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.search-bar {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.sort-options select {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
}

.sort-options select option {
    background: #15171e;
    color: #ffffff;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.product-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-prices {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.price-usd {
    color: #4ade80;
    font-weight: bold;
    font-size: 1.1rem;
}

.price-coins {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.1rem;
}

.buy-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.buy-button:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Lucky Box CTA */
.lucky-box-cta {
    position: relative;
    margin: 10px 2rem 2rem;
    border-radius: 20px;
    background: radial-gradient(1200px 200px at 50% -200px, rgba(255, 215, 0, 0.15), rgba(0,0,0,0) 60%),
                linear-gradient(145deg, rgba(255, 215, 0, 0.12), rgba(255, 165, 0, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    cursor: pointer;
}

.lucky-box-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, rgba(255, 215, 0, 0.0), rgba(255, 215, 0, 0.35), rgba(255, 215, 0, 0.0) 25%);
    filter: blur(14px);
    z-index: 0;
    animation: rotateGlow 6s linear infinite;
}

.lucky-box-inner {
    position: relative;
    z-index: 1;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.lucky-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 10px;
    border-radius: 20px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    animation: float 3s ease-in-out infinite;
}

.lucky-icon img {
    width: 72px; /* slightly smaller image only */
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 213, 74, 0.6));
}

.lucky-title {
    margin: 8px 0 2px;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffd54a;
    text-shadow: 0 0 18px rgba(255, 213, 74, 0.4);
}

.lucky-title span { color: #ffc107; }

.lucky-sub {
    margin: 0 0 12px;
    opacity: 0.8;
}

.lucky-rewards { color: #9ad0ff; display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; }
.lucky-rewards i { filter: drop-shadow(0 0 6px rgba(154, 208, 255, 0.5)); }

.lucky-open-btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffb703, #ffd166);
    color: #1a1a2e;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.35), 0 0 0 0 rgba(255, 193, 7, 0.45);
    animation: pulseGlow 2.2s infinite;
}

.lucky-box-cta:hover .lucky-open-btn { transform: translateY(-1px); }

@keyframes rotateGlow { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulseGlow {
    0% { box-shadow: 0 10px 25px rgba(255, 193, 7, 0.35), 0 0 0 0 rgba(255, 193, 7, 0.45); }
    70% { box-shadow: 0 10px 25px rgba(255, 193, 7, 0.35), 0 0 0 14px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 10px 25px rgba(255, 193, 7, 0.35), 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #15171e;
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideIn 0.3s ease;
    color: #ffffff;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ffffff;
}

.modal-body {
    color: #ffffff;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* Payment Modal Specific Styles */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details h4 {
    margin: 0 0 0.25rem 0;
    color: #ffffff;
}

.cart-item-details p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.payment-methods {
    margin: 1.5rem 0;
}

.payment-methods h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.payment-method.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.payment-method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
}

.payment-method-icon.credit-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.payment-method-icon.coins {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
}

.payment-method-details h5 {
    margin: 0 0 0.25rem 0;
    color: #ffffff;
}

.payment-method-details p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.payment-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.summary-row:last-child {
    margin-bottom: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: bold;
    font-size: 1.1rem;
}

.user-balance-info {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.user-balance-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.pay-button {
    width: 100%;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.pay-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4);
}

.pay-button:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Coin Purchase Modal Specific Styles */
.coin-packages {
    margin-bottom: 2rem;
}

.coin-packages-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.coin-package {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.coin-package:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.coin-package.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.15);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

/* Selected state for special packages */
.coin-package.most-popular.selected {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.2);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.coin-package.best-value.selected {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.2);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.4);
}

.coin-package.prestige-glow.selected {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Enhanced hover effects for selected packages */
.coin-package.selected:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.coin-package.most-popular.selected:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.coin-package.best-value.selected:hover {
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.5);
}

.coin-package.prestige-glow.selected:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.package-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #1a1a2e;
}

.package-details h4 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.1rem;
}

.package-price {
    margin: 0 0 0.5rem 0;
    color: #4ade80;
    font-weight: bold;
    font-size: 1rem;
}

.bonus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Package Badges */
.package-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.most-popular-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

.best-value-badge {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.4);
}

/* Most Popular Package */
.coin-package.most-popular {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
    transform: scale(1.02);
}

.coin-package.most-popular:hover {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

/* Best Value Package */
.coin-package.best-value {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.05);
}

.coin-package.best-value:hover {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.3);
}

/* Prestige Glow Package */
.coin-package.prestige-glow {
    border-color: rgba(255, 215, 0, 0.15);
    background: rgba(255, 215, 0, 0.01);
    animation: prestigeGlow 5s ease-in-out infinite;
    position: relative;
}

.coin-package.prestige-glow::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, rgba(255, 193, 7, 0.05) 50%, transparent 100%);
    border-radius: 15px;
    z-index: -1;
    animation: prestigeGlowBackground 5s ease-in-out infinite;
}

.coin-package.prestige-glow:hover {
    border-color: rgba(255, 215, 0, 0.25);
    background: rgba(255, 215, 0, 0.03);
    transform: translateY(-2px);
    animation: prestigeGlowHover 3s ease-in-out infinite;
}

.coin-package.prestige-glow:hover::before {
    animation: prestigeGlowBackgroundHover 3s ease-in-out infinite;
}

@keyframes prestigeGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.08);
    }
    50% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.12);
    }
}

@keyframes prestigeGlowBackground {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.01);
    }
}

@keyframes prestigeGlowHover {
    0%, 100% {
        box-shadow: 0 2px 15px rgba(255, 215, 0, 0.1);
    }
    50% {
        box-shadow: 0 2px 20px rgba(255, 215, 0, 0.15);
    }
}

@keyframes prestigeGlowBackgroundHover {
    0%, 100% {
        opacity: 0.25;
        transform: scale(1.01);
    }
    50% {
        opacity: 0.35;
        transform: scale(1.02);
    }
}

.selected-package {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.selected-package h4 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.selected-package p {
    margin: 0.25rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.purchase-coins-btn {
    width: 100%;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.purchase-coins-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4);
}

.purchase-coins-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Quick View Modal */
.quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.quick-view-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.quick-view-content {
    background: #15171e;
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideIn 0.3s ease;
    color: #ffffff;
}

.quick-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-view-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.quick-view-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.quick-view-close:hover {
    color: #ffffff;
}

.quick-view-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    color: #ffffff;
}

.quick-view-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.quick-view-details h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.quick-view-details p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.quick-view-prices {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quick-view-price-usd {
    color: #4ade80;
    font-weight: bold;
    font-size: 1.2rem;
}

.quick-view-price-coins {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.2rem;
}

.quick-view-actions {
    display: flex;
    gap: 1rem;
}

.quick-view-buy-btn {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-view-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.quick-view-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .store-container {
        flex-direction: column;
    }
    
    .store-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        padding: 1rem;
    }
    
    .store-content {
        padding: 1rem;
    }
    
    .content-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-bar {
        max-width: none;
    }
    
    .quick-view-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .coin-packages-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 900px) {
    .coin-packages-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .coin-packages-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .quick-view-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .coin-packages-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .coin-package {
        padding: 1rem;
    }
    
    .package-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .package-details h4 {
        font-size: 1rem;
    }
    
    .package-price {
        font-size: 0.9rem;
    }
    
    .package-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
        top: -6px;
    }
    
    .coin-package.most-popular {
        transform: scale(1.01);
    }
    
    .coin-package.most-popular:hover {
        transform: scale(1.03);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Featured Products Carousel */
.featured-products-carousel {
    margin: 2rem 0;
}

.featured-products-carousel .shop-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.featured-products-carousel .shop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.featured-products-carousel .product-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.featured-products-carousel .product-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-products-carousel .shop-item:hover .product-thumb img {
    transform: scale(1.05);
}

.featured-products-carousel .product-content {
    text-align: center;
}

.featured-products-carousel .product-tag a {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.featured-products-carousel .product-content h4 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.featured-products-carousel .product-content h4 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-products-carousel .product-content h4 a:hover {
    color: #ffd700;
}

.featured-products-carousel .product-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.featured-products-carousel .product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.featured-products-carousel .product-price h5 {
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
}

.featured-products-carousel .btn.rotated-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.featured-products-carousel .btn.rotated-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: #ffffff;
    text-decoration: none;
}

/* Carousel Navigation */
.featured-products-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.featured-products-carousel .owl-nav button {
    position: absolute;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.featured-products-carousel .owl-nav button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
}

.featured-products-carousel .owl-nav .owl-prev {
    left: -25px;
}

.featured-products-carousel .owl-nav .owl-next {
    right: -25px;
}

/* Carousel Dots */
.featured-products-carousel .owl-dots {
    text-align: center;
    margin-top: 2rem;
}

.featured-products-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3) !important;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.featured-products-carousel .owl-dot.active {
    background: #ffd700 !important;
    transform: scale(1.2);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .featured-products-carousel .owl-nav {
        display: none;
    }
    
    .featured-products-carousel .shop-item {
        margin: 0 10px;
        padding: 1rem;
    }
    
    .featured-products-carousel .product-thumb img {
        height: 150px;
    }
    
    .featured-products-carousel .product-content h4 {
        font-size: 1rem;
    }
    
    .featured-products-carousel .product-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Bundle Purchase Buttons */
.bundle-purchase-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.bundle-purchase-buttons .btn {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.bundle-purchase-buttons .btn-coin-purchase {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a1a;
}

.bundle-purchase-buttons .btn-coin-purchase:hover {
    background: linear-gradient(135deg, #ffb700 0%, #ff9500 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.bundle-purchase-buttons .btn-style-two {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.bundle-purchase-buttons .btn-style-two:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: #ffffff;
    text-decoration: none;
}

/* Bundle Price Display */
.product-prices {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-usd h5 {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

.price-coins {
    color: #ffd700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.price-coins i {
    font-size: 1rem;
}

/* Responsive adjustments for bundle buttons */
@media (max-width: 768px) {
    .bundle-purchase-buttons {
        gap: 0.75rem;
    }
    
    .bundle-purchase-buttons .btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
} 