n* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 127, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(127, 255, 0, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a0a0a 100%);
    min-height: 100vh;
    color: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Gaming Particles Background */
.gaming-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.gaming-particles::before,
.gaming-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ff7f;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 
        0 0 10px #00ff7f,
        0 0 20px #00ff7f,
        0 0 30px #00ff7f;
}

.gaming-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.gaming-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 1; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.5; }
}

/* Main Header Styles */
.main-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.nord-text {
    color: #00ff7f;
    text-shadow: 
        0 0 10px #00ff7f,
        0 0 20px #00ff7f,
        0 0 30px #00ff7f,
        0 0 40px #00ff7f;
    animation: glow-green 2s ease-in-out infinite alternate;
}

.store-text {
    color: #00ffff;
    text-shadow: 
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 30px #00ffff,
        0 0 40px #00ffff;
    animation: glow-cyan 2s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}

.land-text {
    color: #7fff00;
    text-shadow: 
        0 0 10px #7fff00,
        0 0 20px #7fff00,
        0 0 30px #7fff00,
        0 0 40px #7fff00;
    animation: glow-lime 2s ease-in-out infinite alternate;
    animation-delay: 1s;
}

@keyframes glow-green {
    from { text-shadow: 0 0 10px #00ff7f, 0 0 20px #00ff7f, 0 0 30px #00ff7f; }
    to { text-shadow: 0 0 20px #00ff7f, 0 0 30px #00ff7f, 0 0 40px #00ff7f, 0 0 50px #00ff7f; }
}

@keyframes glow-cyan {
    from { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff; }
    to { text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff, 0 0 50px #00ffff; }
}

@keyframes glow-lime {
    from { text-shadow: 0 0 10px #7fff00, 0 0 20px #7fff00, 0 0 30px #7fff00; }
    to { text-shadow: 0 0 20px #7fff00, 0 0 30px #7fff00, 0 0 40px #7fff00, 0 0 50px #7fff00; }
}

.subtitle {
    font-size: 1.2rem;
    color: #00ff7f;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Header Styles for other sections */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 255, 127, 0.2);
    border: 1px solid rgba(0, 255, 127, 0.3);
}

header h1 {
    color: #00ff7f;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 0 0 10px #00ff7f;
    font-family: 'Orbitron', monospace;
}

/* Button Styles */
button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#adminBtn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

#adminLoginLink {
    position: fixed;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

#adminLoginLink:hover {
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
}

/* Section Buttons */
.section-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.section-btn {
    position: relative;
    padding: 0;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px rgba(0, 255, 127, 0.3);
}

.section-btn:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px rgba(0, 255, 127, 0.6),
        0 0 50px rgba(0, 255, 127, 0.3);
}

.btn-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    transition: all 0.4s ease;
    z-index: 1;
}

.gaming-bg {
    background: 
        linear-gradient(45deg, rgba(0, 255, 127, 0.8), rgba(127, 255, 0, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23001122" width="400" height="300"/><circle cx="100" cy="100" r="30" fill="%2300ff7f" opacity="0.3"/><circle cx="300" cy="200" r="25" fill="%237fff00" opacity="0.4"/><polygon points="200,50 250,150 150,150" fill="%2300ffff" opacity="0.2"/><rect x="50" y="200" width="80" height="50" fill="%23ff6b6b" opacity="0.3"/><text x="200" y="150" text-anchor="middle" fill="%2300ff7f" font-size="24" font-family="monospace">ML</text></svg>');
}

.streaming-bg {
    background: 
        linear-gradient(45deg, rgba(255, 0, 127, 0.6), rgba(0, 255, 255, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23000011" width="400" height="300"/><rect x="50" y="50" width="80" height="50" fill="%23e50914" rx="5"/><text x="90" y="80" text-anchor="middle" fill="white" font-size="12" font-family="Arial">Netflix</text><rect x="150" y="50" width="80" height="50" fill="%23663399" rx="5"/><text x="190" y="80" text-anchor="middle" fill="white" font-size="10" font-family="Arial">HBO Max</text><rect x="250" y="50" width="80" height="50" fill="%23113CCF" rx="5"/><text x="290" y="80" text-anchor="middle" fill="white" font-size="10" font-family="Arial">Disney+</text><rect x="50" y="120" width="80" height="50" fill="%23FF6600" rx="5"/><text x="90" y="150" text-anchor="middle" fill="white" font-size="10" font-family="Arial">Crunchyroll</text><rect x="150" y="120" width="80" height="50" fill="%23000000" rx="5"/><text x="190" y="150" text-anchor="middle" fill="white" font-size="10" font-family="Arial">Prime</text><rect x="250" y="120" width="80" height="50" fill="%2300D4AA" rx="5"/><text x="290" y="150" text-anchor="middle" fill="white" font-size="10" font-family="Arial">Spotify</text></svg>');
}

.section-btn:hover .btn-background {
    opacity: 0.9;
    transform: scale(1.1);
}

.btn-content {
    position: relative;
    z-index: 3;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    padding: 20px;
}

.btn-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #00ff7f;
    text-shadow: 
        0 0 10px #00ff7f,
        0 0 20px #00ff7f,
        0 0 30px #00ff7f;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.btn-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-content p {
    font-size: 1.1em;
    opacity: 0.9;
    font-weight: 400;
}

.btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff7f, #00ffff, #7fff00, #ff6b6b);
    border-radius: 25px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate-glow 3s linear infinite;
}

.section-btn:hover .btn-glow {
    opacity: 0.7;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Yape QR Styles */
.yape-qr-container {
    background: white;
    padding: 20px;
    border-radius: 15px;
    color: black;
    max-width: 250px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid #722F37;
}

.yape-logo {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #722F37;
}

.yape-qr-image {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 15px;
}

.yape-qr-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.yape-qr-image p {
    margin: 10px 0;
    font-weight: 600;
    color: black;
}

.phone-number {
    background: white;
    color: black;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    font-size: 1.1rem;
    border: 2px solid #722F37;
}

/* 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.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #4a5568;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
}

.modal-content button {
    margin: 10px 5px;
    width: 45%;
}

/* Section Styles */
.section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 255, 127, 0.3);
}

/* Empty cart message styling */
.empty-cart-message {
    background: rgba(0, 255, 127, 0.1);
    border: 2px solid #00ff7f;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #1a202c;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.2);
}

/* Loading message styling */
.loading-message {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #00ffff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    color: #1a202c;
    font-size: 1.2em;
    font-weight: bold;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
}

/* Product availability messages */
.no-products-message {
    background: rgba(255, 255, 0, 0.1);
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    color: #1a202c;
    font-size: 1.2em;
    font-weight: bold;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.hidden {
    display: none;
}

/* User Info Form */
.user-info-form {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid #e2e8f0;
}

.user-info-form h3 {
    margin-bottom: 20px;
    color: #4a5568;
}

.user-info-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
}

/* Products Grid */
.products-grid {
    margin-top: 30px;
}

.products-grid h3 {
    margin-bottom: 25px;
    color: #ffffff;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 25px;
    border-radius: 12px;
    border: 2px solid #00ff7f;
    box-shadow: 0 0 20px rgba(0, 255, 127, 0.3);
    text-shadow: 0 0 10px #00ff7f;
}

#gamingProductsList,
#streamingProductsList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.product-card h4 {
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    object-fit: contain;
}

.product-card .price {
    color: #e53e3e;
    font-size: 1.8em;
    font-weight: bold;
    margin: 10px 0;
}

.product-card .stock {
    color: #38a169;
    font-weight: 600;
    margin: 5px 0;
}

.product-card .description {
    color: #718096;
    margin: 10px 0;
    font-size: 1.1em;
    line-height: 1.4;
}

.product-card button {
    width: 100%;
    margin-top: 15px;
    background: linear-gradient(45deg, #48bb78, #38a169);
}

/* Cart Styles */
.cart-btn {
    background: linear-gradient(45deg, #ed8936, #dd6b20);
    position: relative;
}

#cartItems {
    margin-bottom: 30px;
}

.cart-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid #00ff7f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.2);
}

.cart-item-info h4 {
    color: #1a202c;
    margin-bottom: 8px;
    font-size: 1.2em;
    font-weight: bold;
}

.cart-item-info p {
    color: #2d3748;
    font-size: 1em;
    font-weight: 600;
    background: rgba(0, 255, 127, 0.1);
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
    margin: 2px 0;
}

.cart-item-price {
    color: #e53e3e;
    font-size: 1.4em;
    font-weight: bold;
    background: rgba(229, 62, 62, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
}

#cartTotal {
    background: #4a5568;
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 30px;
}

.payment-section {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: center;
}

.payment-section h3 {
    margin-bottom: 20px;
    color: #4a5568;
}

#paymentMethods {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 2px dashed #e2e8f0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pay-btn {
    background: linear-gradient(45deg, #48bb78, #38a169);
    font-size: 1.2em;
    padding: 15px 30px;
    width: 100%;
}

/* Admin Styles */
.admin-tabs {
    display: flex;
    margin-bottom: 30px;
    background: #f7fafc;
    border-radius: 12px;
    padding: 5px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    color: #222222;
    border-radius: 8px;
    margin: 0 2px;
}

.tab-btn.active {
    background: white;
    color: #222222;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-type-tabs {
    display: flex;
    margin-bottom: 25px;
    background: #edf2f7;
    border-radius: 8px;
    padding: 3px;
}

.product-tab-btn {
    flex: 1;
    background: transparent;
    color: #222222;
    border-radius: 6px;
    margin: 0 1px;
    padding: 10px;
}

.product-tab-btn.active {
    background: white;
    color: #222222;
}

.add-product-form {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid #e2e8f0;
}

/* Admin section titles styling */
.admin-section-title {
    color: #ffffff;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 25px;
    border-radius: 12px;
    border: 2px solid #00ff7f;
    box-shadow: 0 0 20px rgba(0, 255, 127, 0.3);
    text-shadow: 0 0 10px #00ff7f;
    margin-bottom: 25px;
}

/* Admin empty state messages */
.admin-empty-message {
    background: rgba(0, 255, 127, 0.1);
    border: 2px solid #00ff7f;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #1a202c;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.2);
}

.add-product-form input,
.add-product-form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
}

.add-product-form textarea {
    height: 80px;
    resize: vertical;
}

.admin-product-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.admin-product-card h4 {
    color: #222222;
    margin-bottom: 10px;
}

.admin-product-card img {
    max-width: 150px;
    display: block;
    margin-bottom: 10px;
    border-radius: 8px;
}

.admin-product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.admin-product-actions button {
    flex: 1;
    padding: 8px 16px;
    font-size: 14px;
}

.edit-btn {
    background: linear-gradient(45deg, #ed8936, #dd6b20);
}

.delete-btn {
    background: linear-gradient(45deg, #e53e3e, #c53030);
}

/* Order Styles */
.order-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pendiente {
    background: #fed7d7;
    color: #c53030;
}

.status-terminado {
    background: #c6f6d5;
    color: #2f855a;
}

.status-pendiente.verificación {
    background: #fed7d7;
    color: #c53030;
}

.status-verificado {
    background: #bee3f8;
    color: #2b6cb0;
}

.status-completado {
    background: #c6f6d5;
    color: #2f855a;
}

.status-rechazado {
    background: #fed7d7;
    color: #c53030;
}

.verify-btn, .complete-btn, .reject-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin: 2px;
    transition: all 0.3s ease;
}

.verify-btn:hover {
    background: #38a169 !important;
    transform: translateY(-1px);
}

.complete-btn:hover {
    background: #3182ce !important;
    transform: translateY(-1px);
}

.reject-btn:hover {
    background: #c53030 !important;
    transform: translateY(-1px);
}

.order-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.order-actions button {
    flex: 1;
    padding: 8px 16px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .nord-text, .store-text, .land-text {
        display: block;
        margin: 5px 0;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    .section-buttons {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .section-btn {
        min-height: 250px;
    }
    
    .btn-content h2 {
        font-size: 1.8em;
    }
    
    .btn-icon {
        font-size: 2.5rem;
    }
    
    #gamingProductsList,
    #streamingProductsList {
        grid-template-columns: 1fr;
    }
    
    .admin-product-actions,
    .order-actions {
        flex-direction: column;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .yape-qr-container {
        max-width: 200px;
    }
    
    .yape-logo {
        font-size: 1.5rem;
    }
    
    .qr-placeholder {
        padding: 20px;
    }
    
    .qr-placeholder i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .section-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-btn {
        min-height: 200px;
    }
    
    .btn-content {
        padding: 15px;
    }
    
    .btn-content h2 {
        font-size: 1.5em;
    }
    
    .btn-icon {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.5s ease-out;
}

/* Payment Proof Section Styles */
.payment-proof-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.payment-summary {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.payment-summary h3 {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.proof-upload-section {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: center;
}

.proof-upload-section h3 {
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.proof-upload-section p {
    color: #718096;
    margin-bottom: 25px;
}

.upload-area {
    margin: 20px 0;
}

.upload-placeholder {
    border: 3px dashed #cbd5e0;
    border-radius: 12px;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.upload-placeholder:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.upload-placeholder i {
    font-size: 3rem;
    color: #a0aec0;
    margin-bottom: 15px;
    display: block;
}

.upload-placeholder p {
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 5px;
}

.upload-placeholder small {
    color: #718096;
    font-size: 0.9em;
}

.upload-preview {
    position: relative;
    display: inline-block;
    margin: 20px 0;
}

.upload-preview img {
    max-width: 300px;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.remove-image-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.remove-image-btn:hover {
    background: #c53030;
}

.upload-status {
    margin: 15px 0;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
}

.upload-status.success {
    background: #c6f6d5;
    color: #2f855a;
    border: 2px solid #9ae6b4;
}

.error {
    background: #fed7d7;
    color: #c53030;
    border: 2px solid #feb2b2;
}

/* Notificación flotante */
.floating-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: slideInRight 0.5s ease-out;
}

.floating-notification i {
    font-size: 1.2em;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Controles de cantidad en el carrito */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    background: rgba(0, 255, 127, 0.1);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 127, 0.3);
}

.quantity-btn {
    background: linear-gradient(45deg, #00ff7f, #38a169);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 255, 127, 0.3);
}

.quantity-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.5);
    background: linear-gradient(45deg, #38a169, #00ff7f);
}

.quantity-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.quantity-display {
    background: white;
    border: 2px solid #00ff7f;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    color: #1a202c;
    min-width: 50px;
    text-align: center;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(0, 255, 127, 0.2);
}

/* Botones de acción en gestión de pedidos */
.order-transaction-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e2e8f0;
}

.verify-btn {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.complete-btn {
    background: linear-gradient(45deg, #4299e1, #3182ce);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.complete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.reject-btn {
    background: linear-gradient(45deg, #e53e3e, #c53030);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reject-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.upload-status.loading {
    background: #bee3f8;
    color: #2b6cb0;
    border: 2px solid #90cdf4;
}

.send-btn {
    background: linear-gradient(45deg, #48bb78, #38a169);
    font-size: 1.2em;
    padding: 15px 30px;
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.send-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    opacity: 0.6;
}

.send-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Admin Image Upload Styles */
.image-upload-section {
    margin: 15px 0;
}

.image-upload-section label {
    display: block;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 10px;
}

.admin-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
}

.admin-upload-area:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.admin-upload-area i {
    font-size: 2rem;
    color: #a0aec0;
    margin-bottom: 10px;
    display: block;
}

.admin-upload-area p {
    color: #4a5568;
    font-weight: 600;
    margin: 0;
}

.admin-image-preview {
    position: relative;
    display: inline-block;
    margin: 15px 0;
}

.admin-image-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remove-preview-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-preview-btn:hover {
    background: #c53030;
}

/* Discount Section Enhancement */
.discount-section {
    background: #f0fff4;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #9ae6b4;
    margin: 20px 0;
}

.discount-section h4 {
    color: #2f855a;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.discount-btn {
    background: linear-gradient(45deg, #48bb78, #38a169);
    margin-top: 10px;
}

/* Starry Background Effect */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0.8;
    animation: starFall linear infinite;
    box-shadow: 0 0 6px #ffffff;
}

.layer-0 .star {
    opacity: 0.6;
    animation-duration: 3s;
}

.layer-1 .star {
    opacity: 0.8;
    animation-duration: 4s;
    box-shadow: 0 0 8px #00ff7f;
    background: #00ff7f;
}

.layer-2 .star {
    opacity: 1;
    animation-duration: 5s;
    box-shadow: 0 0 10px #00ffff;
    background: #00ffff;
}

@keyframes starFall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-weight: 600;
}

.success {
    background: #c6f6d5;
    color: #2f855a;
    border: 2px solid #9ae6b4;
}

/* Processing Screen Styles */
.processing-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.processing-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.processing-icon {
    font-size: 4em;
    color: #00ff7f;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 0 20px rgba(0, 255, 127, 0.5);
    }
    50% { 
        transform: scale(1.1);
        text-shadow: 0 0 30px rgba(0, 255, 127, 0.8), 0 0 40px rgba(0, 255, 127, 0.6);
    }
}

.processing-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.processing-subtitle {
    font-size: 1.3em;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 500;
}

.processing-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.8;
    line-height: 1.6;
}

.whatsapp-retry-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.whatsapp-retry-section h4 {
    color: #ff6b6b;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: bold;
}

.retry-whatsapp-btn {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.retry-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(45deg, #128c7e, #25d366);
}

.waiting-status {
    background: rgba(0, 255, 127, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    border: 1px solid rgba(0, 255, 127, 0.3);
}

.waiting-status p {
    margin: 0;
    font-size: 1em;
    color: #00ff7f;
    font-weight: 600;
}

/* Completion Screen Styles */
.completion-container {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.completion-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.completion-icon {
    font-size: 5em;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: bounce-in 1s ease-out;
}

@keyframes bounce-in {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

.completion-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.order-completion-card {
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid #38a169;
}

.order-completion-card h3 {
    color: #38a169;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
}

.order-completion-card .status-badge {
    background: #38a169;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    margin-top: 10px;
}

.completion-message {
    font-size: 1.2em;
    margin: 25px 0;
    line-height: 1.6;
    opacity: 0.9;
}

.home-return-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    margin-top: 20px;
}

.home-return-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(45deg, #0056b3, #007bff);
}

/* Cherry Blossom Petals Rain Effect */
.cherry-blossoms {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0; /* fondo */
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -40px;
    width: 16px;
    height: 16px;
    border-radius: 60% 40% 60% 40% / 60% 40% 60% 40%;
    background: radial-gradient(circle at 60% 40%, #ffd1e6 70%, #fff 100%);
    opacity: 0.55;
    box-shadow: 0 0 12px #ffd1e6, 0 0 2px #fff;
    animation: fall 12s linear infinite;
    will-change: transform, opacity, top;
    pointer-events: none;
}

@keyframes fall {
    0% {
        top: -40px;
        opacity: 0.55;
        transform: rotate(0deg) scale(1);
    }
    80% {
        opacity: 0.45;
        transform: rotate(360deg) scale(1.1);
    }
    100% {
        top: 100vh;
        opacity: 0.15;
        transform: rotate(720deg) scale(0.8);
    }
}

.petal.drift-left { animation-name: fall, driftLeft; }
.petal.drift-right { animation-name: fall, driftRight; }

@keyframes driftLeft {
    0% { left: 0; }
    100% { left: -60px; }
}
@keyframes driftRight {
    0% { left: 0; }
    100% { left: 60px; }
}

.admin-sort-section {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 2px solid #ffb7d5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(255,183,213,0.12);
    margin-bottom: 18px;
}

.admin-sort-section label {
    font-weight: bold;
    color: #e75480;
    font-size: 1em;
}

.admin-sort-section select {
    padding: 6px 12px;
    border: 2px solid #e75480;
    border-radius: 8px;
    background: #fff;
    color: #e75480;
    font-size: 1em;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s;
}

.admin-sort-section select:focus {
    border-color: #ffb7d5;
    background: #ffe3f1;
}
