/* Import Fira Code font */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&display=swap');

/* Universal box-sizing for mobile compatibility */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #001a1a 25%, #000a14 50%, #001a1a 75%, #000000 100%);
    background-size: 400% 400%;
    animation: gradient-shift 30s ease infinite;
    color: #ffffff;
    display: block;
    min-height: 100vh;
    margin: 0;
    padding: 50px 20px 20px 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Canvas Background Layers */
#matrix-rain, #particle-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#matrix-rain {
    z-index: 0;
}

#particle-field {
    z-index: 1;
}

/* Scanline Overlay */
.scanline-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
    animation: scanline-scroll 60s linear infinite;
}

@keyframes scanline-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

/* Grid Overlay */
.grid-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom;
    opacity: 0.15;
    pointer-events: none;
    z-index: 2;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

/* Status Bar */
.status-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 20px;
    background-color: rgba(0, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: #00ffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    z-index: 100;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.status-item {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Shop Header */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    position: relative;
    z-index: 20;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00ffff;
    text-decoration: none;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    padding: 10px 15px;
    border: 1px solid rgba(0, 255, 255, 0.5);
    background: rgba(0, 5, 5, 0.8);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.shop-title {
    font-size: 2rem;
    font-weight: 600;
    color: #00ffff;
    text-shadow: 0 0 8px #00ffff;
    text-transform: uppercase;
    animation: title-flicker 4s infinite;
    margin: 0;
}

.terminal-prompt {
    display: inline-block;
    animation: cursor-blink 0.8s step-end infinite;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes title-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow:
            0 0 1px #fff,
            0 0 2px #fff,
            0 0 5px #00ffff,
            0 0 8px #00ffff;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

.cart-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: transparent;
    border: 1px solid #00ffff;
    color: #00ffff;
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-button:hover {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0055;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
    position: relative;
    z-index: 20;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 25px;
    background: rgba(0, 5, 5, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-button:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.tab-button.active {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* Products Container */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 20;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Product Card */
.product-card {
    background: rgba(0, 5, 5, 0.9);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    transform: translateY(-5px);
}

.product-card::before,
.product-card::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid #00ffff;
}

.product-card::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.product-card::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #00ffff;
    color: #000;
    font-size: 0.65rem;
    font-family: 'Fira Code', monospace;
    padding: 3px 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.product-badge.service {
    background: #ff0055;
    color: #fff;
}

.product-icon {
    font-size: 3rem;
    color: #00ffff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-description {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.product-features li {
    font-size: 0.8rem;
    color: #00ffff;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features li i {
    font-size: 0.7rem;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin-bottom: 15px;
    font-family: 'Fira Code', monospace;
}

.product-price.quote {
    font-size: 1rem;
    color: #ff0055;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.buy-button, .quote-button {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #00ffff;
    background: transparent;
    color: #00ffff;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.buy-button:hover {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.quote-button {
    border-color: #ff0055;
    color: #ff0055;
}

.quote-button:hover {
    background: #ff0055;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: rgba(0, 5, 5, 0.98);
    border-left: 1px solid rgba(0, 255, 255, 0.5);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.cart-header h2 {
    margin: 0;
    color: #00ffff;
    font-size: 1.2rem;
    font-family: 'Fira Code', monospace;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: transparent;
    border: none;
    color: #00ffff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: #ff0055;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin-bottom: 10px;
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 0.9rem;
}

.cart-item-info p {
    margin: 0;
    color: #00ffff;
    font-family: 'Fira Code', monospace;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: #ff0055;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    background: #ff0055;
    color: #fff;
}

.cart-empty {
    text-align: center;
    color: #666;
    padding: 40px 20px;
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    color: #fff;
}

#cart-total-price {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.checkout-button {
    width: 100%;
    padding: 15px;
    background: #00ffff;
    border: none;
    color: #000;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-button:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.checkout-button:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(0, 5, 5, 0.98);
    border: 1px solid rgba(0, 255, 255, 0.5);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

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

.modal-header h2 {
    margin: 0;
    color: #00ffff;
    font-size: 1.2rem;
    font-family: 'Fira Code', monospace;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: transparent;
    border: none;
    color: #00ffff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.modal-body {
    padding: 20px;
}

/* Quote Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #00ffff;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background: #0d0d0d;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #ffffff;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #0d0d0d;
    color: #ffffff;
}

.submit-quote-btn {
    width: 100%;
    padding: 15px;
    background: #ff0055;
    border: none;
    color: #fff;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-quote-btn:hover {
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.8);
}

.quote-success {
    text-align: center;
    padding: 30px;
}

.quote-success.hidden {
    display: none;
}

.quote-success i {
    font-size: 4rem;
    color: #00ff00;
    margin-bottom: 20px;
}

.quote-success h3 {
    color: #00ffff;
    margin-bottom: 10px;
}

.quote-success p {
    color: #999;
}

/* Success Modal */
.success-modal {
    text-align: center;
    max-width: 450px;
}

.success-body {
    padding: 40px 20px;
}

.success-icon {
    font-size: 5rem;
    color: #00ff00;
    margin-bottom: 20px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 40px rgba(0, 255, 0, 0.8);
    }
}

.success-body h2 {
    color: #00ffff;
    margin-bottom: 20px;
    font-family: 'Fira Code', monospace;
}

.success-body p {
    color: #999;
    margin-bottom: 15px;
}

.license-key {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #00ffff;
    padding: 15px 20px;
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    color: #00ffff;
    margin-bottom: 15px;
    word-break: break-all;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.copy-key-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #00ffff;
    color: #00ffff;
    font-family: 'Fira Code', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.copy-key-btn:hover {
    background: #00ffff;
    color: #000;
}

.success-note {
    font-size: 0.8rem;
    color: #666;
}

.close-success-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: #00ffff;
    border: none;
    color: #000;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-success-btn:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

/* Checkout Modal */
.checkout-modal {
    max-width: 600px;
}

.checkout-summary {
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    color: #fff;
}

.checkout-item-price {
    color: #00ffff;
    font-family: 'Fira Code', monospace;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #00ffff;
    font-family: 'Fira Code', monospace;
}

.checkout-iframe-container {
    border: 1px solid rgba(0, 255, 255, 0.3);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-iframe-container iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.checkout-loading {
    text-align: center;
    color: #00ffff;
    padding: 40px;
}

.checkout-loading i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

.hidden {
    display: none !important;
}

.checkout-crypto-note {
    color: #00ffff;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-payment-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.pay-btn {
    flex: 1;
    padding: 14px 10px;
    border: none;
    cursor: pointer;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.2s, transform 0.1s;
}

.pay-btn:hover:not(:disabled) {
    opacity: 0.85;
    transform: translateY(-1px);
}

.pay-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pay-btn-stripe {
    background: #635bff;
    color: #fff;
}

.pay-btn-crypto {
    background: #f7931a;
    color: #000;
}

.checkout-payment-area {
    margin-top: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 20px;
}

.crypto-payment-box {
    color: #ccc;
}

.crypto-payment-box h4 {
    color: #00ffff;
    margin: 0 0 15px 0;
    font-size: 1rem;
}

.crypto-amount {
    font-size: 1.5rem;
    font-family: 'Fira Code', monospace;
    color: #00ffff;
    margin-bottom: 15px;
}

.crypto-address-wrap label {
    display: block;
    color: #00ffff;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.crypto-address-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.crypto-address-row code {
    flex: 1;
    min-width: 0;
    word-break: break-all;
    background: rgba(0, 255, 255, 0.1);
    padding: 10px;
    font-size: 0.75rem;
    color: #00ffff;
}

.pay-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(0, 255, 255, 0.2);
    border: 1px solid #00ffff;
    color: #00ffff;
    text-decoration: none;
    font-family: 'Fira Code', monospace;
    transition: all 0.3s ease;
}

.pay-link-btn:hover {
    background: #00ffff;
    color: #000;
}

.crypto-wait {
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px;
}

.crypto-poll-status {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #00ffff;
}

.license-key-line {
    margin-bottom: 12px;
}

.license-key-line .key-product {
    color: #999;
    font-size: 0.85rem;
}

.license-key-line code {
    display: block;
    margin-top: 4px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Network Status Panel */
.network-status {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 5, 5, 0.9);
    border: 1px solid rgba(0, 255, 255, 0.5);
    padding: 15px;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    z-index: 25;
    min-width: 180px;
}

.status-title {
    font-size: 0.75rem;
    color: #00ffff;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    padding-bottom: 5px;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.network-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: #999;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.online {
    background-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    animation: status-pulse 1.5s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 1);
    }
}

/* Product card updating state */
.product-card.updating {
    opacity: 0.7;
    border-color: #ffaa00;
}

.product-badge.updating {
    background: rgba(255, 170, 0, 0.2);
    border-color: #ffaa00;
    color: #ffaa00;
}

.product-price.updating {
    color: #ffaa00;
    text-decoration: line-through;
}

.buy-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(100, 100, 100, 0.2);
    border-color: #666;
    color: #666;
}

.buy-button:disabled:hover {
    background: rgba(100, 100, 100, 0.2);
    box-shadow: none;
}

/* Stripe buy button */
.stripe-buy {
    background: linear-gradient(135deg, #635bff 0%, #8e8eff 100%);
    border-color: #635bff;
}

.stripe-buy:hover {
    background: linear-gradient(135deg, #7a73ff 0%, #a5a5ff 100%);
    box-shadow: 0 0 25px rgba(99, 91, 255, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .grid-overlay {
        opacity: 0.05;
    }

    .status-bar {
        font-size: 0.6rem;
        padding: 6px 10px;
        gap: 6px;
        justify-content: flex-start;
    }

    body {
        padding: 40px 10px 15px 10px;
    }

    .shop-header {
        flex-wrap: wrap;
        gap: 15px;
        padding: 0 10px;
    }

    .shop-title {
        font-size: 1.5rem;
        order: -1;
        width: 100%;
        text-align: center;
    }

    .back-link {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .category-tabs {
        gap: 8px;
        padding: 0 10px;
    }

    .tab-button {
        padding: 10px 15px;
        font-size: 0.75rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card {
        padding: 20px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
        height: 100%;
        height: -webkit-fill-available;
        height: 100dvh;
    }

    .cart-items {
        flex: 1 1 auto;
        min-height: 0;
        max-height: calc(100dvh - 200px);
    }

    .cart-footer {
        flex-shrink: 0;
        padding: 15px 20px;
    }

    .network-status {
        display: none;
    }

    .modal-content {
        margin: 10px;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .shop-header {
        gap: 10px;
    }

    .shop-title {
        font-size: 1.3rem;
    }

    .tab-button span {
        display: none;
    }

    .tab-button i {
        margin: 0;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .buy-button, .quote-button {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    #matrix-rain,
    #particle-field {
        display: none;
    }

    .scanline-overlay {
        animation: none;
    }
}
