/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-pink: #ff00ff;
    --neon-blue: #00ffff;
    --neon-green: #00ff00;
    --neon-purple: #bf00ff;
    --dark-bg: #0a0a16;
    --darker-bg: #050510;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header estilo Times Square */
.times-square-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
    border: 3px solid #ff00ff;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px #ff00ff,
        0 0 60px #00ffff,
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

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

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 3s ease infinite;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

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

.subtitle-marquee {
    font-size: 1.4rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.marquee-container {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffff00;
    border-radius: 10px;
    padding: 10px;
    margin: 15px 0;
    overflow: hidden;
    position: relative;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    color: #ffff00;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 0 5px #ffff00;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Efeitos de partículas no header */
.times-square-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 255, 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% 40%, rgba(255, 255, 0, 0.05) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Luzes piscantes */
.flashing-lights {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.flashing-light {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: flash 1.5s infinite;
}

.flashing-light:nth-child(1) { top: 10%; left: 5%; background: #ff00ff; animation-delay: 0s; }
.flashing-light:nth-child(2) { top: 10%; right: 5%; background: #00ffff; animation-delay: 0.5s; }
.flashing-light:nth-child(3) { bottom: 10%; left: 5%; background: #ffff00; animation-delay: 1s; }
.flashing-light:nth-child(4) { bottom: 10%; right: 5%; background: #00ff00; animation-delay: 0.75s; }

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

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Grid de Produtos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Cards de Produto */
.product-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

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

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-pink);
    box-shadow: 
        0 10px 30px rgba(255, 0, 255, 0.3),
        0 0 50px rgba(0, 255, 255, 0.1);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(10, 10, 22, 0.9));
}

.product-info {
    padding: 20px;
    position: relative;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.product-description {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.product-flavors {
    margin: 10px 0;
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.4;
}

.more-flavors {
    color: var(--neon-blue);
    font-weight: 600;
    text-shadow: 0 0 5px var(--neon-blue);
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
    margin-bottom: 15px;
}

/* Botões */
.buy-btn {
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

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

.buy-btn:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 20px var(--neon-pink),
        0 0 40px var(--neon-pink);
}

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

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalAppear 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.modal-header h2 {
    margin: 0;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--neon-pink);
}

/* Personalização do produto */
.product-customization {
    display: grid;
    gap: 30px;
    padding: 20px;
}

.customization-preview {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.customization-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.product-info-modal h3 {
    color: var(--neon-blue);
    margin-bottom: 5px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.product-info-modal p {
    color: #ccc;
    margin-bottom: 10px;
}

.product-price-modal {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.customization-options {
    display: grid;
    gap: 25px;
}

.option-group h4 {
    color: var(--neon-pink);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--neon-pink);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Grid de sabores */
.sabores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.sabor-option {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sabor-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.sabor-option:hover::before {
    opacity: 1;
}

.sabor-option:hover {
    border-color: var(--neon-blue);
    transform: translateY(-2px);
}

.sabor-option.selected {
    border-color: var(--neon-green);
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px var(--neon-green);
}

.sabor-nome {
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.sabor-desc {
    font-size: 0.8rem;
    color: #ccc;
}

.sabor-check {
    position: absolute;
    top: 5px;
    right: 5px;
    color: var(--neon-green);
    opacity: 0;
    transition: opacity 0.3s;
}

.sabor-option.selected .sabor-check {
    opacity: 1;
}

/* Layout do formulário */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--neon-blue);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-family: 'Exo 2', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Resumo do Pedido */
.resumo-pedido {
    padding: 20px;
    border-top: 1px solid var(--glass-border);
    margin-top: 20px;
}

.resumo-pedido h3 {
    color: var(--neon-green);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--neon-green);
}

.item-resumo {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-weight: 600;
}

.total-line.final {
    font-size: 1.2rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
    border-top: 1px solid var(--glass-border);
    padding-top: 10px;
}

.finalize-btn {
    background: linear-gradient(45deg, var(--neon-green), #00cc00);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.finalize-btn:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 20px var(--neon-green),
        0 0 40px var(--neon-green);
}

/* Estados Vazios */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    grid-column: 1 / -1;
}

.empty-state i {
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-sabores {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px dashed var(--glass-border);
    grid-column: 1 / -1;
}

/* ========== NOVOS ESTILOS ========== */

/* Popup de Verificação de Cidade */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    max-width: 500px;
    width: 90%;
    padding: 40px 30px;
    text-align: center;
    animation: popupAppear 0.5s ease;
    border: 3px solid var(--neon-blue);
    box-shadow: 
        0 0 50px var(--neon-blue),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
}

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

.popup-header h2 {
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.location-check {
    padding: 20px 0;
}

.location-check i {
    color: var(--neon-pink);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--neon-pink);
}

.location-check p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: white;
    line-height: 1.6;
}

.verify-btn {
    background: linear-gradient(45deg, var(--neon-green), #00cc00);
    border: none;
    color: white;
    padding: 18px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    justify-content: center;
    animation: pulseGlow 2s infinite;
    box-shadow: 
        0 0 25px var(--neon-green),
        0 0 50px rgba(0, 255, 0, 0.3);
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 
            0 0 25px var(--neon-green),
            0 0 50px rgba(0, 255, 0, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 35px var(--neon-green),
            0 0 70px rgba(0, 255, 0, 0.5);
    }
}

.verify-btn:hover {
    transform: scale(1.05);
    animation: none;
    box-shadow: 
        0 0 30px var(--neon-green),
        0 0 60px rgba(0, 255, 0, 0.5);
}

/* Alertas de Vendas */
.sales-alerts {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
}

.sales-alert {
    background: rgba(10, 10, 22, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-green);
    border-radius: 12px;
    padding: 15px;
    animation: slideInRight 0.5s ease;
    box-shadow: 
        0 5px 25px rgba(0, 255, 0, 0.2),
        0 0 15px rgba(0, 255, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.sales-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), transparent);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.alert-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alert-badge {
    font-size: 0.75rem;
    color: var(--neon-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alert-text {
    font-size: 0.9rem;
    color: white;
    line-height: 1.4;
}

.alert-time {
    font-size: 0.7rem;
    color: #888;
    font-style: italic;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle-marquee {
        font-size: 1.1rem;
    }

    .header-stats {
        flex-direction: column;
        gap: 15px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .customization-preview {
        flex-direction: column;
        text-align: center;
    }

    .sabores-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .modal-content {
        width: 95%;
        margin: 2% auto;
    }

    .popup-content {
        padding: 30px 20px;
    }
    
    .popup-header h2 {
        font-size: 1.4rem;
    }
    
    .verify-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .sales-alerts {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .sales-alert {
        padding: 12px;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-pink);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}


/* ========== CHECKOUT STYLES ========== */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.order-summary, .pix-payment {
    padding: 30px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: white;
    display: block;
    margin-bottom: 5px;
}

.item-sabores {
    font-size: 0.85rem;
    color: var(--neon-blue);
}

.item-price {
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.order-total {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--glass-border);
}

/* Timer */
.timer-container {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid var(--neon-blue);
}

.timer-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--neon-green) 0%, transparent 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
    animation: timerProgress 900s linear forwards;
    border: 3px solid var(--neon-green);
    box-shadow: 0 0 20px var(--neon-green);
}

@keyframes timerProgress {
    from {
        background: conic-gradient(var(--neon-green) 0%, transparent 0%);
    }
    to {
        background: conic-gradient(var(--neon-green) 100%, transparent 100%);
    }
}

.timer-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
}

.timer-label {
    color: var(--neon-blue);
    font-weight: 600;
    margin: 0;
}

.timer-circle.pulse {
    animation: pulse 1s infinite;
}

/* QR Code */
.qrcode-container {
    text-align: center;
    margin: 25px 0;
}

.qrcode-frame {
    display: inline-block;
    padding: 20px;
    background: white;
    border-radius: 15px;
    border: 3px solid var(--neon-blue);
    box-shadow: 
        0 0 30px var(--neon-blue),
        0 0 60px rgba(0, 255, 255, 0.3);
    margin-bottom: 15px;
}

.qrcode-frame img {
    width: 250px;
    height: 250px;
    border-radius: 8px;
}

.qrcode-instruction {
    color: var(--neon-blue);
    font-weight: 600;
    margin: 15px 0;
}

.pix-code {
    margin: 25px 0;
}

.pix-code label {
    display: block;
    margin-bottom: 12px;
    color: var(--neon-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.pix-code textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-family: 'Courier New', monospace;
    resize: none;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.copy-btn {
    background: linear-gradient(45deg, var(--neon-blue), #0080ff);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    font-weight: 600;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--neon-blue);
}

.copy-btn.copied {
    background: linear-gradient(45deg, var(--neon-green), #00cc00);
}

/* Instruções de pagamento */
.payment-instructions {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.payment-instructions h3 {
    color: var(--neon-green);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--neon-green);
}

.payment-instructions ol {
    color: #ccc;
    padding-left: 20px;
}

.payment-instructions li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Badges de segurança */
.checkout-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.badge i {
    color: var(--neon-green);
    font-size: 1.2rem;
}

.badge span {
    color: #ccc;
    font-weight: 600;
}

/* Mensagem de erro */
.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #ff4444;
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px #ff4444;
}

/* Responsividade do Checkout */
@media (max-width: 968px) {
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .security-badges {
        gap: 20px;
    }
    
    .badge {
        padding: 12px 20px;
    }
}

@media (max-width: 768px) {
    .timer-circle {
        width: 100px;
        height: 100px;
    }
    
    .timer-text {
        font-size: 1.4rem;
    }
    
    .qrcode-frame img {
        width: 200px;
        height: 200px;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
}


/* ========== ADMIN STYLES ========== */
.admin-container {
    max-width: 1400px;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.admin-section {
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.admin-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.05) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.admin-section:hover::before {
    opacity: 1;
}

.admin-section.full-width {
    grid-column: 1 / -1;
}

.admin-section h2 {
    color: var(--neon-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px var(--neon-blue);
    font-size: 1.4rem;
}

.admin-btn {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.admin-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px var(--neon-pink);
}

/* Lista de Produtos no Admin */
.products-list {
    display: grid;
    gap: 20px;
}

.admin-product-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.admin-product-card:hover {
    border-color: var(--neon-blue);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.admin-product-card .product-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.admin-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1;
}

.product-details h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.product-details p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-sabores {
    font-size: 0.8rem;
    color: var(--neon-blue);
    margin-bottom: 8px;
}

.more-sabores {
    color: var(--neon-pink);
    font-weight: 600;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.delete-btn {
    background: linear-gradient(45deg, #ff3333, #cc0000);
    color: white;
    padding: 10px 15px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.delete-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #ff3333;
}

/* Pedidos */
.orders-list {
    display: grid;
    gap: 15px;
}

.order-card {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 10px;
}

.order-id {
    font-weight: 700;
    color: var(--neon-blue);
}

.order-status {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.order-status.aguardando {
    background: rgba(255, 255, 0, 0.2);
    color: yellow;
    border: 1px solid yellow;
}

.order-date {
    color: #888;
    font-size: 0.9rem;
}

.order-details {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: start;
}

.order-client {
    color: #ccc;
    line-height: 1.5;
}

.order-products {
    color: #ccc;
}

.order-sabores {
    margin-top: 5px;
    color: var(--neon-blue);
}

.order-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neon-green);
    text-align: right;
}

/* Mensagens */
.message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.1), rgba(0, 255, 255, 0.1));
    border-left: 4px solid var(--neon-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.message i {
    color: var(--neon-green);
}

/* Preview de Imagem */
.image-preview {
    margin-top: 10px;
    padding: 20px;
    border: 2px dashed var(--glass-border);
    border-radius: 10px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-preview:hover {
    border-color: var(--neon-blue);
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 5px;
}

/* Estados Vazios */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state i {
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state small {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Responsividade do Admin */
@media (max-width: 968px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .order-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .order-total {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .admin-product-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .product-actions {
        width: 100%;
    }
    
    .delete-btn {
        justify-content: center;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-section {
        padding: 20px;
    }
}


/* ========== POPUP ATUALIZADO ========== */
.close-popup-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 0, 0, 0.3);
    border: 1px solid #ff4444;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-popup-btn:hover {
    background: rgba(255, 0, 0, 0.5);
    transform: scale(1.1);
    box-shadow: 0 0 15px #ff4444;
}

.location-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.skip-btn {
    background: linear-gradient(45deg, #666, #888);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    text-decoration: none;
}

.skip-btn:hover {
    background: linear-gradient(45deg, #777, #999);
    transform: scale(1.02);
}

/* Melhorar a mensagem de localização */
#cityMessage {
    font-size: 1.1rem;
    line-height: 1.6;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* Responsividade do popup */
@media (max-width: 768px) {
    .location-buttons {
        flex-direction: column;
    }
    
    .close-popup-btn {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    #cityMessage {
        font-size: 1rem;
        min-height: 80px;
    }
}

/* Badges do Gateway */
.gateway-badge {
    background: linear-gradient(45deg, var(--neon-green), #00cc00);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 15px var(--neon-green);
}

.gateway-badge.fallback {
    background: linear-gradient(45deg, var(--neon-blue), #0080ff);
    box-shadow: 0 0 15px var(--neon-blue);
}

.retry-btn {
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--neon-pink);
}

.debug-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid var(--neon-blue);
}

.debug-info p {
    margin: 5px 0;
    font-size: 0.9rem;
}