* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #000;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
}

.header {
    position: fixed;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scroll-down {
    z-index: 50;
}

.header.scrolled {
    padding: 15px 50px;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #ff6b9d;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
    filter: drop-shadow(0 0 10px rgba(255, 107, 157, 0.3));
    cursor: pointer;
}

.logo:hover {
    background: linear-gradient(135deg, #ff6b9d, #ffa36c, #FFD700) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    text-shadow: none !important;
    filter: drop-shadow(0 0 15px rgba(255, 107, 157, 0.6)) !important;
    transform: scale(1.05) !important;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
}

.nav a:hover {
    color: #ff6b9d;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #ff6b9d, #ffa36c);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.nav a.active {
    color: #ff6b9d;
}

.nav a.active::after {
    width: 100%;
}

.hero-banner {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(45, 39, 68, 0.95) 0%,
        rgba(23, 25, 35, 0.98) 50%,
        rgba(12, 15, 23, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 20, 147, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FF1493, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.feature-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #FFD700, #FF1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.1rem;
}

/* SEARCH BAR */
.search-container {
    padding: 15px 20px 20px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 70px;
    z-index: 99;
    border-bottom: 2px solid rgba(255, 107, 157, 0.1);
    transition: all 0.3s ease;
}

.search-container.scroll-down {
    z-index: 1001;
    top: 0;
}

.search-box {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}

.search-box:focus {
    border-color: rgba(255, 107, 157, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.search-box::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* FILTROS SCROLL HORIZONTAL */
.filtros-wrapper {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 0 25px;
    position: sticky;
    top: 140px;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 15px;
    border-top: 1px solid rgba(255, 107, 157, 0.05);
    transition: all 0.3s ease;
}

.filtros-wrapper.scroll-down {
    z-index: 1002;
    top: 70px;
}

.filtros {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filtros::-webkit-scrollbar {
    display: none;
}

/* PRODUTOS SECTION */
.produtos-section {
    padding: 0 15px 20px;
    background: linear-gradient(180deg, #000 0%, #1a0a1f 50%, #000 100%);
    min-height: 50vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}



.filtro_btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.filtro_btn:hover {
    background: rgba(255, 107, 157, 0.1);
    border-color: rgba(255, 107, 157, 0.6);
}

.filtro_btn.ativo {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* GRID PRODUTOS - 2 COLUNAS MOBILE */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* CARD PRODUTO MODERNO MOBILE */
.produto_card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.produto_card:active {
    transform: scale(0.97);
}

.produto-img {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2d1b3d, #1a1a2e);
    flex-shrink: 0;
}

.produto_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s, transform 0.5s;
    position: relative;
    z-index: 1;
}

.produto_card img[style*="opacity: 1"] {
    opacity: 1;
}

.produto_card:active .produto-img img {
    transform: scale(1.05);
}

.img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    z-index: 0;
}

.produto-info {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.produto-nome {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
    color: #fff;
    position: relative;
    z-index: 3;
}

.produto-preco {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff6b9d;
    margin-bottom: 10px;
    position: relative;
    z-index: 3;
}

.btn-comprar {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #25d366, #1ea952);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
    z-index: 3;
    margin-top: auto;
}

.btn-comprar:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
}

.btn-comprar:hover {
    color: #fff;
    text-decoration: none;
}

/* LOADING */
.loading {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.loading i {
    font-size: 2.5rem;
    color: #ff6b9d;
    margin-bottom: 15px;
    display: block;
}

.loading p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 3rem;
    color: rgba(255, 107, 157, 0.3);
    margin-bottom: 15px;
    display: block;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
}

/* BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    display: flex;
    justify-content: space-around;
    z-index: 100;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estados do bottom-nav baseados na seção */
.bottom-nav.hero-section {
    background: rgba(26, 10, 31, 0.4);
    border-top: 1px solid rgba(255, 107, 157, 0.15);
}

.bottom-nav.about-section {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    padding: 5px 15px;
}

.nav-item i {
    font-size: 1.3rem;
}

.nav-item.active {
    color: #ff6b9d;
}

.nav-item:active {
    transform: scale(0.9);
}

.nav-item:hover {
    color: #ff6b9d;
    text-decoration: none;
}

.footer {
    padding: 60px 50px 0;
    background: #0a0a0a;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 107, 157, 0.2);
}

.footer-contact, .footer-social {
    flex: 1;
    min-width: 250px;
}

.footer-contact h3, .footer-social h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-contact p {
    color: #b0b0b0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 157, 0.3);
    font-size: 24px;
    transition: all 0.3s;
    text-decoration: none;
    color: #ff6b9d;
}

.footer-social a:hover {
    background: rgba(255, 107, 157, 0.3);
    border-color: #ff6b9d;
    transform: scale(1.1);
    color: #fff;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
}

.footer-bottom strong {
    color: #ff6b9d;
    font-weight: 600;
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.produto_card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.produto_card:nth-child(1) { animation-delay: 0.05s; }
.produto_card:nth-child(2) { animation-delay: 0.1s; }
.produto_card:nth-child(3) { animation-delay: 0.15s; }
.produto_card:nth-child(4) { animation-delay: 0.2s; }
.produto_card:nth-child(5) { animation-delay: 0.25s; }
.produto_card:nth-child(6) { animation-delay: 0.3s; }
.produto_card:nth-child(n+7) { animation-delay: 0.35s; }

/* RESPONSIVO TABLET+ */
@media (min-width: 600px) {
    .produtos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .produto-img {
        height: 220px;
    }
}

@media (min-width: 900px) {
    .produtos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .produtos-section {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 30px 40px;
    }
    
    .bottom-nav {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        justify-content: center;
    }

    .nav {
        display: none !important;
    }

    .logo {
        font-size: 24px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* Ajustar posicionamento das barras no mobile */
    .search-container {
        top: 60px;
        padding: 12px 20px 18px;
    }

    .search-container.scroll-down {
        top: 0;
    }

    .filtros-wrapper {
        top: 120px;
        padding: 18px 0 22px;
        margin-top: 12px;
    }

    .filtros-wrapper.scroll-down {
        top: 58px;
    }

    .footer {
        padding: 40px 20px 0;
        margin-bottom: 80px;
    }
}

/* PULSE ANIMATION PARA LOADING */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading i {
    animation: pulse 1.5s ease-in-out infinite;
}

/* SCROLL SUAVE */
html {
    scroll-behavior: smooth;
}

/* Adicionar padding bottom no body para compensar a bottom nav */
body {
    padding-bottom: 80px;
}

/* Responsivo - ocultar bottom nav em desktop */
@media (min-width: 900px) {
    .bottom-nav {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
}
