@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --brand-red: #8B0000;
    --brand-red-dark: #0A0A0A;
    --brand-red-vibrant: #D00000;
    --brand-green: #00B341;
    --brand-green-dark: #00822F;
    --brand-white: #FFFFFF;
    --brand-gray: #F5F5F5;
    --brand-dark: #0A0A0A;
    --brand-shadow: rgba(0, 0, 0, 0.4);
    --brand-gradient-red: linear-gradient(135deg, #0A0A0A 0%, #1A0000 100%);
    --brand-gradient-yellow: linear-gradient(180deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Base Styles */
body {
    font-family: 'Outfit', sans-serif;
    background-color: #0A0A0A !important;
    color: var(--brand-white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka One', cursive;
    letter-spacing: 0.5px;
}

[id] {
    scroll-margin-top: 100px;
}

/* Red Textured Background */
.bg-textured {
    background-color: #0A0A0A !important;
    background: var(--brand-gradient-red) !important;
    background-image: 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='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M19 19V5h2v14h14v2H21v14h-2V21H5v-2h14z'/%3E%3C/g%3E%3C/svg%3E") !important;
}

/* Buttons */
.btn-primary {
    background: var(--brand-gradient-yellow);
    color: var(--brand-dark);
    font-family: 'Fredoka One', cursive;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 195, 0, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 195, 0, 0.4);
    background: var(--brand-green);
}

.btn-add {
    background: var(--brand-green);
    color: var(--brand-dark);
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .btn-add {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

.btn-add:hover {
    background: var(--brand-white);
}

/* Cards */
.product-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .product-card {
        padding: 16px;
    }
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-green);
    background: rgba(255, 255, 255, 0.08);
}

.product-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 12px;
}

.price-tag {
    color: var(--brand-green);
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .price-tag {
        font-size: 1.25rem;
    }
}

/* Categories */
.category-pill {
    background: rgba(255, 255, 255, 0.1);
    color: var(--brand-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.category-pill.active {
    background: var(--brand-green);
    color: var(--brand-dark);
    box-shadow: 0 4px 12px rgba(255, 195, 0, 0.3);
}

.category-pill:hover:not(.active) {
    border-color: var(--brand-green);
    color: var(--brand-green);
}

/* Layout Utilities */
.container-premium {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-banner {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--brand-white);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* Navigation */
.nav-premium {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-button-premium {
    background: var(--brand-gradient-yellow) !important;
    color: var(--brand-dark) !important;
    padding: 10px 24px;
    border-radius: 16px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 10px 20px -5px rgba(255, 195, 0, 0.3);
    transition: all 0.3s ease;
}

.cart-button-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 195, 0, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--brand-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--brand-red);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-red-vibrant);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Glassmorphism Utility */
.glass-effect {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Staggered animation for products */
.product-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.15s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.25s; }
.product-card:nth-child(5) { animation-delay: 0.3s; }
.product-card:nth-child(6) { animation-delay: 0.35s; }
.product-card:nth-child(7) { animation-delay: 0.4s; }
.product-card:nth-child(8) { animation-delay: 0.45s; }
