* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    color: #ff0000;
    overflow-x: hidden;
    position: relative;
}

/* Animated Pearlescent Background - More Black */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 0, 0, 0.03) 0%, 
        rgba(139, 0, 0, 0.05) 25%, 
        rgba(255, 69, 0, 0.03) 50%, 
        rgba(178, 34, 34, 0.05) 75%, 
        rgba(255, 0, 0, 0.03) 100%);
    background-size: 400% 400%;
    animation: pearlescent 8s ease-in-out infinite;
    z-index: -1;
}

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

/* Animated Logo - Positioned in corner under navbar red line */
.logo-container {
    position: absolute;
    top: 90px; /* 20px from navbar red line (navbar height ~70px + 20px spacing) */
    left: 20px; /* 20px from left edge - equal to top spacing */
    z-index: 100;
}

.animated-logo {
    width: 420px;
    height: auto;
    opacity: 0;
    transform: scale(0.3) rotate(15deg);
    animation: logoPopIn 1.5s ease-out forwards, logoLevitate 3s ease-in-out infinite 1.5s;
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.4));
    cursor: pointer;
    transition: all 0.3s ease;
}

.animated-logo:hover {
    transform: scale(1.1) rotate(-3deg);
    filter: drop-shadow(0 0 25px rgba(255, 0, 0, 0.7));
}

.logo-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 420px;
}

@keyframes logoPopIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(15deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Constrained levitation animation - limited movement to stay within boundaries */
@keyframes logoLevitate {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-5px) translateX(2px) rotate(1deg); }
    50% { transform: translateY(-2px) translateX(-2px) rotate(-0.8deg); }
    75% { transform: translateY(-6px) translateX(3px) rotate(0.5deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}

/* Navigation */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    color: #ff0000;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #ff4444;
}

.online-indicator {
    color: #00ff00;
    font-size: 8px;
}

/* Centered Logo and Tagline */
.nav-center {
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    letter-spacing: 2px;
}

.tagline {
    font-size: 11px;
    color: #ff6666;
    opacity: 0.9;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-btn {
    background: transparent;
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 8px 15px;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-btn:hover {
    background: #ff0000;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.cart-icon {
    position: relative;
    color: #ff0000;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: #ff4444;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0000;
    color: #000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 0;
}

/* Main content area */
main {
    min-height: calc(100vh - 200px);
    position: relative;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Search Container Styles */
.search-container {
    max-width: 600px;
    margin: 20px auto 0 auto;
    position: relative;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 25px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.08);
}

.search-icon {
    color: #ff0000;
    margin-right: 12px;
    font-size: 14px;
    opacity: 0.7;
}

#product-search {
    flex: 1;
    background: transparent;
    border: none;
    color: #ff0000;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    padding: 0;
}

#product-search::placeholder {
    color: rgba(255, 0, 0, 0.6);
    font-style: italic;
}

.clear-search-main-btn {
    background: transparent;
    border: none;
    color: #ff0000;
    cursor: pointer;
    padding: 5px;
    margin-left: 8px;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.clear-search-main-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    opacity: 1;
    transform: scale(1.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
}

.search-results-content {
    padding: 15px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    transform: translateX(5px);
}

.search-result-item:last-child {
    margin-bottom: 0;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    color: #ff0000;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.search-result-price {
    color: #ff6666;
    font-size: 11px;
}

.search-result-stock {
    color: #ff9999;
    font-size: 10px;
    margin-left: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    white-space: nowrap;
}

.no-search-results {
    text-align: center;
    color: #ff6666;
    font-size: 12px;
    padding: 20px;
    font-style: italic;
}

/* Products Grid with Enhanced Transitions */
.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 20px;
    padding: 0 20px;
    margin-bottom: 0;
    min-height: 600px;
    justify-items: center;
    align-items: start;
}

.product-card {
    background: rgba(255, 0, 0, 0.02);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
    min-height: 300px;
    opacity: 1;
    transform: translateY(0);
    /* Enhanced transition for fade animations */
    transition: all 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
    transform: translateY(-5px);
    background: rgba(255, 0, 0, 0.05);
}

.product-image {
    margin-bottom: 15px;
}

.product-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.product-info {
    position: relative;
    z-index: 1;
}

.product-name {
    font-size: 14px;
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-price {
    font-size: 12px;
    color: #ff6666;
    margin-bottom: 5px;
}

.product-stock {
    font-size: 11px;
    color: #ff0000;
    margin-bottom: 15px;
    opacity: 1;
    font-weight: bold;
    text-transform: uppercase;
}

.add-to-cart-btn {
    background: transparent;
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 8px 20px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    width: 100%;
}

.add-to-cart-btn:hover {
    background: #ff0000;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0 20px 0;
}

.page-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-dot.active {
    background: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.page-dot:hover {
    background: #ff0000;
}

.page-arrow {
    color: #ff0000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 4px;
    background: rgba(255, 0, 0, 0.05);
    transition: all 0.3s ease;
    user-select: none;
}

.page-arrow:hover {
    color: #ff4444;
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    transform: scale(1.1);
}

.page-arrow-left {
    margin-right: 15px;
}

.page-arrow-right {
    margin-left: 15px;
}

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

.modal-content {
    background: #111;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #ff0000;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

/* Larger modal for admin panel */
#admin-modal .modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 85vh;
}

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

.modal-header h2 {
    color: #ff0000;
    font-size: 18px;
}

.close {
    color: #ff0000;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff4444;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Enhanced Cart Modal Styles */
.coupon-section {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 8px;
    background: rgba(255, 0, 0, 0.02);
}

.coupon-section h4 {
    color: #ff0000;
    font-size: 14px;
    margin-bottom: 10px;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#coupon-input {
    flex: 1;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 4px;
    color: #ff0000;
    font-size: 12px;
}

#coupon-input:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.apply-coupon-btn {
    background: transparent;
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
}

.apply-coupon-btn:hover:not(:disabled) {
    background: #ff0000;
    color: #000;
}

.apply-coupon-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.coupon-message {
    font-size: 11px;
    margin-top: 5px;
    display: none;
}

.coupon-message.success {
    color: #00ff00;
}

.coupon-message.error {
    color: #ff4444;
}

.coupon-discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
    font-size: 12px;
}

.discount-label {
    color: #ff6666;
}

.discount-amount {
    color: #00ff00;
    font-weight: bold;
}

/* Enhanced Cart Total Display */
.cart-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

.subtotal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #ff6666;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    color: #ff0000;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

.checkout-btn {
    background: #ff0000;
    border: none;
    color: #000;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    flex: 1;
}

.checkout-btn:hover {
    background: #ff4444;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* Email Collection Modal Styles */
.email-section h3 {
    color: #ff0000;
    margin-bottom: 10px;
    font-size: 16px;
}

.email-description {
    color: #ff6666;
    font-size: 12px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.email-input-group {
    margin-bottom: 25px;
}

.email-input-group label {
    display: block;
    color: #ff0000;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
}

#delivery-email {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 6px;
    color: #ff0000;
    font-size: 14px;
}

#delivery-email:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.email-error {
    color: #ff4444;
    font-size: 11px;
    margin-top: 5px;
    display: none;
}

.order-summary {
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 6px;
    padding: 15px;
}

.order-summary h4 {
    color: #ff0000;
    font-size: 14px;
    margin-bottom: 12px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
    color: #ff6666;
}

.summary-item.discount-item {
    color: #00ff00;
}

.summary-total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
    font-weight: bold;
    color: #ff0000;
    text-align: right;
}

.back-btn {
    background: transparent;
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.back-btn:hover {
    background: rgba(255, 0, 0, 0.1);
}

.continue-btn {
    background: #ff0000;
    border: none;
    color: #000;
    padding: 12px 25px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    flex: 1;
}

.continue-btn:hover:not(:disabled) {
    background: #ff4444;
}

.continue-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

/* Crypto Payment Modal Enhancements */
.delivery-info {
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 6px;
    padding: 10px 15px;
    margin-bottom: 20px;
}

.delivery-email {
    font-size: 12px;
    color: #ff6666;
}

.delivery-email span {
    color: #ff0000;
    font-weight: bold;
}

/* Crypto Payment Styles with Real-time Price Display */
.crypto-options h3 {
    color: #ff0000;
    margin-bottom: 15px;
    text-align: center;
}

.price-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 15px;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 11px;
}

.price-indicator {
    font-size: 8px;
    transition: color 0.3s ease;
}

.price-text {
    color: #ff6666;
    font-weight: 500;
}

.crypto-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.crypto-btn {
    background: transparent;
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 15px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.crypto-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    transform: translateX(5px);
}

.crypto-btn > span {
    flex-grow: 1;
    text-align: left;
}

.crypto-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 0, 0, 0.3);
    flex-shrink: 0;
}

.crypto-price {
    font-size: 12px;
    color: #ff9999;
    font-weight: bold;
    min-width: 80px;
    text-align: right;
    flex-shrink: 0;
}

/* Cash App Button Styling */
.crypto-btn[data-crypto="cashapp"] {
    border-color: #00aa00;
    color: #00ff00;
}

.crypto-btn[data-crypto="cashapp"]:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.crypto-btn[data-crypto="cashapp"] .crypto-icon {
    color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.3);
}

.crypto-btn[data-crypto="cashapp"] .crypto-price {
    color: #00ff00;
}

/* Payment Confirmation Modal Styles */
.payment-status-info {
    text-align: center;
    padding: 20px;
}

.status-message {
    font-size: 16px;
    color: #ff0000;
    font-weight: bold;
    margin-bottom: 15px;
}

.transaction-id {
    font-size: 12px;
    color: #ff6666;
    margin-bottom: 20px;
    word-break: break-all;
}

#tx-id {
    color: #ff0000;
    font-weight: bold;
}

/* Loading Bar */
.loading-container {
    margin: 20px 0;
}

.loading-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ff4444, #ff0000);
    border-radius: 4px;
    width: 0%;
    animation: loadingAnimation 2s ease-in-out infinite;
    transition: width 0.3s ease;
}

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

.loading-text {
    font-size: 12px;
    color: #ff6666;
    text-align: center;
}

/* Confirmation Counter */
.confirmation-counter {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 6px;
    padding: 10px;
    margin: 15px 0;
    font-size: 14px;
    color: #ff0000;
    font-weight: bold;
}

/* Payment Summary */
.payment-summary {
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
    color: #ff6666;
}

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

.summary-row span:last-child {
    color: #ff0000;
    font-weight: bold;
}

/* Success Modal Styles */
.success-modal {
    border-color: #00ff00;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}

.success-modal .modal-header {
    border-bottom-color: rgba(0, 255, 0, 0.2);
}

.success-modal .modal-header h2 {
    color: #00ff00;
}

.success-content {
    text-align: center;
    padding: 20px;
}

.success-check {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #00ff00;
    color: #000;
    font-size: 48px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    animation: successPulse 1s ease-out;
}

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

.success-content h3 {
    color: #00ff00;
    font-size: 18px;
    margin-bottom: 10px;
}

.success-content p {
    color: #ff6666;
    font-size: 14px;
    margin-bottom: 20px;
}

.completion-details {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 6px;
    padding: 15px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
    color: #ff6666;
}

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

.detail-row span:last-child {
    color: #00ff00;
    font-weight: bold;
}

/* Admin Search Functionality */
.admin-search-container {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.admin-search-input {
    flex: 1;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 6px;
    color: #ff0000;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.admin-search-input:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.admin-search-input::placeholder {
    color: rgba(255, 0, 0, 0.6);
}

.clear-search-btn {
    background: transparent;
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    white-space: nowrap;
}

.clear-search-btn:hover {
    background: #ff0000;
    color: #000;
}

.inventory-item.hidden {
    display: none !important;
}

/* Error States */
.payment-error {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff0000;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
}

.payment-error h4 {
    color: #ff0000;
    font-size: 16px;
    margin-bottom: 10px;
}

.payment-error p {
    color: #ff6666;
    font-size: 12px;
    margin-bottom: 0;
}

/* Continue Payment Styles */
.continue-payment-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.continue-payment-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.cancel-payment-btn {
    background: transparent;
    color: #ff0000;
    border: 1px solid #ff0000;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.cancel-payment-btn:hover {
    background: #ff0000;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
}

.payment-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #333;
}

.partial-payment-info {
    background: #e8f5e8;
    border-radius: 5px;
    padding: 10px;
    margin-top: 15px;
    border-left: 4px solid #28a745;
}

.partial-payment-info small {
    color: #155724;
    font-size: 12px;
}

/* FAQ Modal Styles */
.faq-list {
    max-height: 400px;
    overflow-y: auto;
}

.faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 8px;
    border-left: 4px solid #ff0000;
}

.faq-item h4 {
    color: #ff0000;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: bold;
}

.faq-item p {
    color: #ff6666;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

/* Admin Panel Styles */
.admin-section {
    padding: 20px 0;
}

.admin-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#admin-password {
    flex: 1;
    padding: 10px;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 4px;
    color: #ff0000;
    font-size: 14px;
}

.admin-btn {
    background: #ff0000;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
}

.admin-error {
    color: #ff0000;
    font-size: 12px;
    margin-top: 10px;
}

.inventory-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
    max-height: 600px;
    overflow-y: auto;
}

.inventory-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.item-name {
    flex: 1;
    color: #ff0000;
    font-size: 12px;
    font-weight: bold;
    min-width: 120px;
}

.stock-input {
    width: 80px;
    padding: 8px;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 4px;
    color: #ff0000;
    font-size: 12px;
    text-align: center;
}

.update-stock-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.update-stock-btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* Account-based Inventory Styles */
.inventory-instruction {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
    text-align: center;
    font-style: italic;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.account-count {
    color: #28a745;
    font-size: 11px;
    font-weight: bold;
    background: rgba(40, 167, 69, 0.1);
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.accounts-input {
    width: 100%;
    min-height: 80px;
    max-height: 120px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 6px;
    color: #333;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    resize: vertical;
    line-height: 1.4;
}

.accounts-input:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.accounts-input::placeholder {
    color: #999;
    font-style: italic;
}

.admin-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

/* Stock Display Styles */
.product-stock {
    font-size: 11px;
    font-weight: bold;
    margin: 5px 0;
}

.product-stock.in-stock {
    color: #00ff00;
}

.product-stock.sold-out {
    color: #ff0000;
}

.product-stock.low-stock {
    color: #ffa500;
}

/* Admin Access Button (Hidden) */
.admin-access {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0;
    z-index: 1000;
}

/* Navigation Item Cursors */
.nav-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: #ff6666;
    transform: translateY(-2px);
}

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

.payment-details h3 {
    color: #ff0000;
    margin-bottom: 15px;
}

.payment-details p {
    margin-bottom: 10px;
    color: #ff6666;
}

.qr-code {
    text-align: center;
    margin-top: 20px;
}

#qr-placeholder {
    width: 100%;
    max-width: 350px;
    min-height: 350px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    border-radius: 12px;
    background: transparent;
}

#crypto-address {
    width: 100%;
    padding: 12px;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 4px;
    color: #ff0000;
    margin: 10px 0;
    font-family: monospace;
    font-size: 12px;
}

#copy-address {
    background: transparent;
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 10px 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: bold;
}

#copy-address:hover {
    background: #ff0000;
    color: #000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Footer */
footer {
    margin-top: 40px;
    padding: 40px 0 30px 0;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    min-height: 100px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 1;
    transition: none;
}

.footer-content p {
    color: #ff6666;
    font-size: 11px;
    margin-bottom: 8px;
    opacity: 0.8;
    line-height: 1.4;
    font-weight: 400;
}

.footer-content p:last-child {
    margin-bottom: 0;
    opacity: 0.6;
}

.support-link {
    color: #ff0000;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: bold;
}

.support-link:hover {
    color: #ff4444;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

/* Cart Item Controls */
.quantity-btn:hover {
    background: rgba(255, 0, 0, 0.1) !important;
    transform: scale(1.1) !important;
}

.remove-btn:hover {
    background: #ff0000 !important;
    color: #000 !important;
    transform: scale(1.05) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-center {
        position: static;
        transform: none;
        order: -1;
    }
    
    .nav-left, .nav-right {
        gap: 10px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 15px;
        min-height: 500px;
    }
    
    .product-card {
        max-width: 250px;
        min-height: 280px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .logo-container {
        top: 15px;
        left: 15px;
    }
    
    .animated-logo {
        width: 110px;
    }
    
    .logo-image {
        max-width: 110px;
    }
    
    .crypto-btn {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    
    .crypto-btn > span {
        text-align: center;
    }
    
    .crypto-price {
        text-align: center;
        min-width: auto;
    }
    
    .modal-content {
        width: 95%;
        max-width: none;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .coupon-input-group {
        flex-direction: column;
    }
    
    .apply-coupon-btn {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 0 10px;
        min-height: 400px;
    }
    
    .product-card {
        padding: 15px;
        max-width: 100%;
        min-height: 250px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .logo-container {
        top: 10px;
        left: 10px;
    }
    
    .animated-logo {
        width: 85px;
    }
    
    .logo-image {
        max-width: 85px;
    }
    
    .price-status {
        flex-direction: column;
        gap: 4px;
    }
    
    .email-input-group {
        margin-bottom: 20px;
    }
    
    .order-summary {
        padding: 12px;
    }
    
    .summary-item {
        font-size: 11px;
    }
}

/* Loading Spinner Animation */
.loading-spinner {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.loading-spinner div {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ff0000;
    animation: loading-fade 1.2s linear infinite;
}

.loading-spinner div:nth-child(1) {
    top: 8px;
    left: 8px;
    animation-delay: 0s;
}

.loading-spinner div:nth-child(2) {
    top: 3px;
    left: 8px;
    animation-delay: -0.1s;
}

.loading-spinner div:nth-child(3) {
    top: 1px;
    left: 12px;
    animation-delay: -0.2s;
}

.loading-spinner div:nth-child(4) {
    top: 3px;
    left: 16px;
    animation-delay: -0.3s;
}

.loading-spinner div:nth-child(5) {
    top: 8px;
    left: 17px;
    animation-delay: -0.4s;
}

.loading-spinner div:nth-child(6) {
    top: 13px;
    left: 16px;
    animation-delay: -0.5s;
}

.loading-spinner div:nth-child(7) {
    top: 15px;
    left: 12px;
    animation-delay: -0.6s;
}

.loading-spinner div:nth-child(8) {
    top: 13px;
    left: 8px;
    animation-delay: -0.7s;
}

@keyframes loading-fade {
    0%, 39%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}
