@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;0,900;1,900&family=Roboto+Condensed:wght@400;700&family=Teko:wght@400;600;700&display=swap');

:root {
    --color-bg: #121212;
    --color-bg-dark: #0a0a0a;
    --color-primary: #FF0033;
    /* Neon Red */
    --color-primary-glow: rgba(255, 0, 51, 0.6);
    --color-text: #FFFFFF;
    --color-text-muted: #CCCCCC;
    --color-glass: rgba(20, 20, 20, 0.8);
    --color-glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto Condensed', sans-serif;
    --font-accent: 'Teko', sans-serif;
    --container-width: 1200px;
    --header-height: 70px;
    --transition: all 0.3s ease;
    --shadow-glow: 0 0 25px var(--color-primary-glow);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at center, rgba(30, 30, 30, 0.5) 0%, rgba(10, 10, 10, 1) 100%),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23222222' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    /* Global Padding for Mobile */
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 6px;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 15px var(--color-primary-glow);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: #d6002b;
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--color-primary-glow);
}

.btn-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 0, 51, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 51, 0);
    }
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    height: var(--header-height);
    background-color: rgba(10, 10, 10, 0.95);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-accent);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}

.logo span {
    color: var(--color-primary);
}

/* NEW LOGO CLASSES */
.header-logo {
    max-height: 40px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.header-logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.nav {
    display: none;
    /* Hidden on mobile by default */
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    font-size: 1.2rem;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px var(--color-primary-glow);
}

/* Hero Section */
.hero {
    padding-top: 0;
    /* Image touches header */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    /* Mobile Size */
    font-weight: 900;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-subheadline {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

/* Countdown Fix */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* Critical Gap */
    margin: 40px 0;
    /* Generous Margin */
}

.countdown-item {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    padding: 10px;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.2);
}

.countdown-number {
    display: block;
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
}

/* Products Section */
.products-section {
    padding: 60px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    font-style: italic;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: #fff;
}

.section-title span {
    color: var(--color-primary);
    text-shadow: 0 0 15px var(--color-primary-glow);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile First: 1 Column */
    gap: 40px;
    /* Generous Gap */
}

.product-card {
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-image {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.product-image img {
    max-height: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

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

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-primary);
    color: #fff;
    padding: 5px 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 0 10px var(--color-primary-glow);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.stars {
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 1rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    line-height: 1.2;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.product-price {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.old-price {
    font-size: 1rem;
    color: #888;
    text-decoration: line-through;
}

.new-price {
    font-family: var(--font-accent);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.3);
}

/* Social Proof */
.social-proof {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--color-glass-border);
    border-bottom: 1px solid var(--color-glass-border);
    margin-top: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background: var(--color-glass);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--color-glass-border);
    text-align: left;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
    background-size: cover;
    border: 2px solid var(--color-primary);
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background-color: #050505;
    text-align: center;
}

.footer-logo {
    max-height: 70px;
    width: auto;
    display: block;
    margin: 0 auto 20px auto;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 50px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.payment-icon {
    background: #fff;
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: #666;
    font-size: 0.8rem;
}

/* Cart Popup */
.cart-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.cart-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-popup {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--color-primary);
    box-shadow: 0 0 50px rgba(255, 0, 51, 0.3);
    width: 100%;
    max-width: 400px;
    position: relative;
}

.close-popup-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Desktop Responsive */
@media (min-width: 768px) {
    .hero-headline {
        font-size: 4rem;
    }

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

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .trust-badges,
    .payment-icons {
        justify-content: flex-start;
    }

    .nav {
        display: block;
    }

    .nav-list {
        display: flex;
        gap: 30px;
    }

    .nav-link {
        font-family: var(--font-heading);
        font-weight: 700;
        text-transform: uppercase;
        color: var(--color-text-muted);
    }

    .nav-link:hover {
        color: var(--color-primary);
    }

    .mobile-menu-btn {
        display: none;
    }
}
/* --- ESTILO DE PRODUTOS ESGOTADOS (SCARCITY) --- */

/* Deixa o card cinza e meio apagado */
.product-card.sold-out {
    opacity: 0.6;
    filter: grayscale(100%);
    position: relative; /* Necessário para a faixa */
    pointer-events: none; /* Impede o clique */
    border: 1px solid #333;
}

/* Faixa Diagonal 'ESGOTADO' */
.product-card.sold-out::after {
    content: 'ESGOTADO';
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: #990000; /* Vermelho escuro/sangue */
    color: #fff;
    padding: 5px 35px;
    transform: rotate(45deg);
    font-weight: 800;
    font-size: 12px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Botão 'Indisponível' */
.product-card.sold-out button {
    background-color: #444 !important;
    color: #888 !important;
    text-transform: uppercase;
    box-shadow: none;
    animation: none;
    border: none;
}
.product-card.sold-out button::after {
    content: ' (SEM ESTOQUE)';
    font-size: 10px;
}
