/* ===================================
   RobuxShop - ULTRA PREMIUM STYLES
   IRRESISTIBLE DESIGN
   =================================== */

/* ===================================
   THEME VARIABLES
   =================================== */
:root {
    /* Primary Colors */
    --primary: #8b5cf6;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --secondary: #06b6d4;
    --accent: #f43f5e;
    --accent-glow: rgba(244, 63, 94, 0.5);
    --success: #10b981;
    --warning: #f59e0b;
    --gold: #fbbf24;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-fire: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #fbbf24 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.5);
    --shadow-glow-accent: 0 0 40px rgba(244, 63, 94, 0.5);
    --shadow-glow-gold: 0 0 40px rgba(251, 191, 36, 0.5);
    
    /* Spacing */
    --container-width: 1320px;
    --section-padding: 100px;
    --card-radius: 24px;
    --btn-radius: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme (Default) */
[data-theme="dark"] {
    --bg-primary: #050508;
    --bg-secondary: #0a0a10;
    --bg-card: #111118;
    --bg-card-hover: #1a1a24;
    --bg-input: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(255, 255, 255, 0.08);
    --header-bg: rgba(5, 5, 8, 0.9);
    --gradient-bg: radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
                   radial-gradient(ellipse at 60% 80%, rgba(244, 63, 94, 0.06) 0%, transparent 40%);
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-input: rgba(0, 0, 0, 0.02);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 0, 0, 0.08);
    --header-bg: rgba(255, 255, 255, 0.95);
    --gradient-bg: radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.04) 0%, transparent 40%),
                   radial-gradient(ellipse at 60% 80%, rgba(244, 63, 94, 0.03) 0%, transparent 40%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

/* ===================================
   GLOBAL ANIMATED PARTICLES BACKGROUND
   =================================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--gradient-bg);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        radial-gradient(3px 3px at 10% 20%, rgba(139, 92, 246, 0.7), transparent),
        radial-gradient(3px 3px at 30% 60%, rgba(6, 182, 212, 0.6), transparent),
        radial-gradient(3px 3px at 50% 30%, rgba(244, 63, 94, 0.7), transparent),
        radial-gradient(3px 3px at 70% 70%, rgba(251, 191, 36, 0.6), transparent),
        radial-gradient(3px 3px at 90% 40%, rgba(139, 92, 246, 0.7), transparent),
        radial-gradient(2px 2px at 20% 80%, rgba(6, 182, 212, 0.5), transparent),
        radial-gradient(2px 2px at 60% 10%, rgba(244, 63, 94, 0.5), transparent),
        radial-gradient(2px 2px at 80% 90%, rgba(139, 92, 246, 0.6), transparent),
        radial-gradient(2px 2px at 15% 45%, rgba(16, 185, 129, 0.5), transparent),
        radial-gradient(2px 2px at 85% 15%, rgba(251, 191, 36, 0.5), transparent),
        radial-gradient(3px 3px at 40% 85%, rgba(6, 182, 212, 0.6), transparent),
        radial-gradient(2px 2px at 75% 55%, rgba(244, 63, 94, 0.4), transparent);
    background-size: 400px 400px;
    background-repeat: repeat;
    background-position: 0 0;
    animation: globalParticles 30s linear infinite;
    z-index: -1;
    pointer-events: none;
    will-change: background-position;
}

@keyframes globalParticles {
    0% { 
        background-position: 0 0;
    }
    100% { 
        background-position: 400px 400px;
    }
}

/* Light theme particle adjustments */
[data-theme="light"] body::after {
    background-image: 
        radial-gradient(3px 3px at 10% 20%, rgba(139, 92, 246, 0.5), transparent),
        radial-gradient(3px 3px at 30% 60%, rgba(6, 182, 212, 0.4), transparent),
        radial-gradient(3px 3px at 50% 30%, rgba(244, 63, 94, 0.5), transparent),
        radial-gradient(3px 3px at 70% 70%, rgba(251, 191, 36, 0.4), transparent),
        radial-gradient(3px 3px at 90% 40%, rgba(139, 92, 246, 0.5), transparent),
        radial-gradient(2px 2px at 20% 80%, rgba(6, 182, 212, 0.35), transparent),
        radial-gradient(2px 2px at 60% 10%, rgba(244, 63, 94, 0.35), transparent),
        radial-gradient(2px 2px at 80% 90%, rgba(139, 92, 246, 0.4), transparent),
        radial-gradient(2px 2px at 15% 45%, rgba(16, 185, 129, 0.35), transparent),
        radial-gradient(2px 2px at 85% 15%, rgba(251, 191, 36, 0.35), transparent),
        radial-gradient(3px 3px at 40% 85%, rgba(6, 182, 212, 0.4), transparent),
        radial-gradient(2px 2px at 75% 55%, rgba(244, 63, 94, 0.3), transparent);
    background-size: 400px 400px;
    background-repeat: repeat;
    background-position: 0 0;
    opacity: 0.8;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   THEME TOGGLE BUTTON
   =================================== */
.theme-toggle {
    position: relative;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.theme-toggle i {
    position: absolute;
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.theme-toggle .fa-sun {
    color: #fbbf24;
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.theme-toggle .fa-moon {
    color: var(--primary-light);
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* ===================================
   BUTTONS - IRRESISTIBLE
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    border: none;
    border-radius: var(--btn-radius);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition-slow);
    pointer-events: none;
    z-index: 0;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
}

.btn-glow {
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5); }
    50% { box-shadow: 0 8px 50px rgba(139, 92, 246, 0.8), 0 0 80px rgba(139, 92, 246, 0.4); }
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 8px 30px rgba(244, 63, 94, 0.5);
}

.btn-accent:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(244, 63, 94, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 22px 48px;
    font-size: 1.15rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-checkout-main {
    font-size: 1.15rem;
    padding: 20px;
    background: var(--gradient-success);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
    animation: checkoutPulse 2s ease-in-out infinite;
}

@keyframes checkoutPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 8px 50px rgba(16, 185, 129, 0.8), 0 0 60px rgba(16, 185, 129, 0.3); }
}

.btn-checkout-main:hover {
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.7);
}

/* ===================================
   HEADER
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: var(--transition-normal);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.85);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 900;
}

.logo i {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shop Gradient Effect */
.logo .shop-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 50%, #7c3aed 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shopGradientShift 3s ease infinite;
    font-weight: 900;
    letter-spacing: 1px;
}

@keyframes shopGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Logo Image Styling - Mantém transparência */
.logo-img {
    width: 36px;
    height: 36px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    background: transparent;
    transition: transform 0.3s ease;
    /* Garante que a logo mantenha transparência */
    mix-blend-mode: normal;
}

.logo:hover .logo-img {
    transform: rotate(5deg) scale(1.05);
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.cart-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    background: var(--gradient-accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: countPulse 2s infinite;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.5);
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.mobile-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 20px;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

/* ===================================
   HERO SECTION - ULTRA PREMIUM
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 0;
}

/* Hero particles removed - using only global background particles */

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient-fire);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 28px;
    box-shadow: 0 8px 30px rgba(244, 63, 94, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 0 8px 30px rgba(244, 63, 94, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 50px rgba(244, 63, 94, 0.7), 0 0 80px rgba(244, 63, 94, 0.3);
        transform: scale(1.02);
    }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.gradient-text {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 56px;
    margin-bottom: 36px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--success);
    font-size: 1.1rem;
}

.hero-image {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    background: var(--gradient-primary);
    opacity: 0.25;
    filter: blur(120px);
    border-radius: 50%;
    animation: heroGlow 5s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: scale(1); opacity: 0.25; }
    100% { transform: scale(1.3); opacity: 0.35; }
}

.floating-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--card-radius);
    backdrop-filter: blur(10px);
    animation: float 7s ease-in-out infinite;
    box-shadow: var(--shadow-xl);
}

.floating-card i {
    font-size: 3rem;
}

.floating-card span {
    font-weight: 800;
    font-size: 1rem;
}

.floating-card .discount-tag {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--gradient-accent);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.5);
    animation: discountPulse 2s infinite;
}

@keyframes discountPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.card-1 i {
    color: #06b6d4;
}

.card-2 {
    top: 45%;
    right: 5%;
    animation-delay: 2.5s;
}

.card-2 i {
    color: #f43f5e;
}

.card-3 {
    bottom: 15%;
    left: 25%;
    animation-delay: 5s;
}

.card-3 i {
    color: #fbbf24;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(-25px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-2deg); }
}

/* ===================================
   PROMO BANNER - URGENCY
   =================================== */
.promo-banner {
    background: var(--gradient-fire);
    padding: 24px 0;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.promo-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.1); }
}

.promo-text {
    text-align: center;
    color: white;
}

.promo-text h3 {
    font-size: 1.4rem;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.promo-text p {
    font-size: 1rem;
    opacity: 0.95;
}

.promo-banner .btn {
    background: white;
    color: #ef4444;
    padding: 14px 28px;
    font-weight: 800;
}

.promo-banner .btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ===================================
   CATEGORIES SECTION
   =================================== */
.categories {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--card-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.category-card.active {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.15) 0%, 
        rgba(6, 182, 212, 0.15) 100%
    ),
    var(--bg-card);
}

.category-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2.4rem;
    background: rgba(139, 92, 246, 0.1);
    color: white;
    transition: var(--transition-normal);
}

.category-icon i {
    color: white !important;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-icon.roblox-icon {
    background: linear-gradient(135deg, #e2231a 0%, #ff5c5c 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(226, 35, 26, 0.4);
}

.category-icon.steam { 
    background: linear-gradient(135deg, #1b2838, #2a475e); 
    color: white;
    box-shadow: 0 8px 25px rgba(27, 40, 56, 0.4);
}

.category-icon.playstation { 
    background: linear-gradient(135deg, #003087, #0070d1); 
    color: white;
    box-shadow: 0 8px 25px rgba(0, 48, 135, 0.4);
}

.category-icon.xbox { 
    background: linear-gradient(135deg, #107c10, #1ed760); 
    color: white;
    box-shadow: 0 8px 25px rgba(16, 124, 16, 0.4);
}

.category-icon.freefire { 
    background: linear-gradient(135deg, #ff5722, #ffeb3b); 
    color: white;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
}

.category-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.category-hot {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gradient-fire);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    animation: hotPulse 2s infinite;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

@keyframes hotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ===================================
   PRODUCTS SECTION - IRRESISTIBLE
   =================================== */
.products {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Product Type Tabs */
.product-type-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.type-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.type-tab i {
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.type-tab:hover {
    color: var(--text-primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.type-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5);
}

.type-tab.active i {
    color: white;
}

.type-tab.active::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive type tabs */
@media (max-width: 600px) {
    .product-type-tabs {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
    }
    
    .type-tab {
        justify-content: center;
        padding: 16px 24px;
    }
}

.products-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 56px;
}

.filter-btn {
    padding: 16px 32px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    color: white;
    border: none;
    padding: 18px 34px; /* Compensa a remoção da borda de 2px */
    background: var(--gradient-primary);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Borda gradiente externa usando pseudo-elemento */
.filter-btn.active::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: 53px;
    z-index: -1;
    opacity: 0.6;
}

/* Fundo interno do botão ativo */
.filter-btn.active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 50px;
    z-index: -1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 36px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.product-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.12);
}

.product-image .placeholder-icon {
    font-size: 5rem;
    color: var(--primary-light);
    opacity: 0.4;
    transition: var(--transition-normal);
}

.product-card:hover .placeholder-icon {
    transform: scale(1.15);
    opacity: 0.6;
}

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 8px 14px;
    background: var(--gradient-fire);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
    letter-spacing: 0.5px;
    /* No animation - static and professional */
}

.product-info {
    padding: 28px;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 1.7rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-price .original {
    display: block;
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 500;
    background: none;
    -webkit-text-fill-color: var(--text-muted);
}

.add-btn {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.add-btn:hover {
    transform: scale(1.12) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

/* ===================================
   HOW IT WORKS
   =================================== */
.how-it-works {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 48px 36px;
    background: var(--bg-card);
    border-radius: var(--card-radius);
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.step-card.highlight-card {
    border-color: var(--success);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 185, 129, 0.08) 100%);
}

.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.step-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon i {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.step-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-arrow {
    color: var(--primary-light);
    font-size: 1.8rem;
    opacity: 0.4;
}

/* ===================================
   FEATURES
   =================================== */
.features {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    padding: 40px;
    background: var(--bg-card);
    border-radius: var(--card-radius);
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.feature-icon.pulse {
    animation: featurePulse 2.5s infinite;
}

@keyframes featurePulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 10px 50px rgba(139, 92, 246, 0.7); }
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ===================================
   SECURITY BADGES CAROUSEL
   =================================== */
.security-badges {
    padding: 20px 0;
    background: rgba(139, 92, 246, 0.08);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.badges-track {
    overflow: hidden;
    width: 100%;
}

.badges-slide {
    display: flex;
    gap: 60px;
    animation: scrollBadges 30s linear infinite;
    width: max-content;
}

@keyframes scrollBadges {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.security-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--bg-card);
    border-radius: 50px;
    border: 2px solid var(--border-color);
    white-space: nowrap;
    transition: var(--transition-fast);
}

.security-badge-item:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.security-badge-item i {
    font-size: 1.3rem;
    color: var(--success);
    animation: badgeIconPulse 2s ease-in-out infinite;
}

@keyframes badgeIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.security-badge-item span {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Testimonials section removed */

/* ===================================
   STOCK COUNTER
   =================================== */
.stock-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    animation: stockPulse 2s ease-in-out infinite;
}

.stock-warning i {
    animation: stockIcon 1s ease-in-out infinite;
}

@keyframes stockPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes stockIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===================================
   FOOTER - SIMPLIFIED
   =================================== */
.footer {
    padding: 50px 0 28px;
    background: rgba(17, 17, 24, 0.85);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

[data-theme="light"] .footer {
    background: rgba(255, 255, 255, 0.85);
}

.footer-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-simple .logo {
    margin-bottom: 8px;
}

.footer-simple p {
    color: var(--text-secondary);
    max-width: 400px;
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
    margin-top: 24px;
    width: 100%;
}

.footer-bottom p {
    color: var(--text-muted);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.payment-methods i {
    font-size: 1.6rem;
    color: var(--primary-light);
    animation: pixPulse 2s ease-in-out infinite;
}

@keyframes pixPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===================================
   CART SIDEBAR
   =================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1001;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 460px;
    height: 100vh;
    background: var(--bg-primary);
    border-left: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: var(--transition-normal);
    z-index: 1002;
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px;
    border-bottom: 2px solid var(--border-color);
    background: var(--bg-card);
}

.cart-header h3 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.3rem;
    font-weight: 800;
}

.close-cart {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-cart:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 28px;
}

.cart-empty {
    text-align: center;
    padding: 56px 28px;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.2;
}

.cart-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 16px;
    margin-bottom: 18px;
    border: 2px solid var(--border-color);
    transition: var(--transition-fast);
}

.cart-item:hover {
    border-color: var(--primary);
}

.cart-item-image {
    width: 85px;
    height: 85px;
    background: var(--bg-input);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image i {
    font-size: 2.2rem;
    color: var(--primary-light);
    opacity: 0.4;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 800;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.cart-item-price {
    color: var(--primary-light);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-control button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.qty-control button:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.qty-control span {
    min-width: 28px;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    padding: 6px;
    transition: var(--transition-fast);
    font-size: 1.1rem;
}

.remove-btn:hover {
    transform: scale(1.25);
}

.cart-footer {
    padding: 28px;
    border-top: 2px solid var(--border-color);
    background: var(--bg-card);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.total-value {
    font-weight: 900;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-secure-text {
    text-align: center;
    color: var(--success);
    font-size: 0.9rem;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

/* ===================================
   PRODUCT MODAL
   =================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 2000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 92%;
    max-width: 850px;
    max-height: 90vh;
    background: var(--bg-card);
    border-radius: var(--card-radius);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 2001;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-xl);
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    font-size: 1.2rem;
}

.modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg) scale(1.1);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image {
    height: 450px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image i {
    font-size: 7rem;
    color: var(--primary-light);
    opacity: 0.25;
}

.modal-info {
    padding: 48px;
    display: flex;
    flex-direction: column;
}

.modal-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--primary-light);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.modal-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.modal-description {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.modal-price {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 28px;
}

.modal-quantity {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.qty-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1.2rem;
}

.qty-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.modal-quantity input {
    width: 70px;
    text-align: center;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 800;
}

.modal-quantity input:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-trust {
    display: flex;
    gap: 28px;
    margin-top: 20px;
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 600;
}

.modal-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===================================
   TOAST NOTIFICATIONS - TOP CENTER
   =================================== */
.toast-container {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 32px;
    background: var(--bg-card);
    border: 2px solid var(--success);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    animation: toastIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.toast.success {
    border-color: var(--success);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 185, 129, 0.08) 100%);
}

.toast.success i {
    color: var(--success);
    font-size: 1.4rem;
}

.toast.error {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(244, 63, 94, 0.08) 100%);
}

.toast.error i {
    color: var(--accent);
    font-size: 1.4rem;
}

.toast span {
    font-weight: 700;
    font-size: 1rem;
}

@keyframes toastIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toastOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-30px);
        opacity: 0;
    }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
        height: 320px;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        height: 280px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    .step-arrow {
        display: none;
    }
    
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        align-items: start;
    }
    
    .step-arrow {
        display: none;
    }
    
    .step-card {
        min-width: 0;
        max-width: none;
        padding: 20px 12px;
        flex: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .feature-card {
        padding: 20px 12px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }
    
    .promo-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat {
        flex: 1;
        min-width: 90px;
        max-width: 110px;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .stat-number i {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        text-align: center;
    }
    
    /* Promo Banner - Menor no mobile */
    .promo-banner {
        padding: 16px 0;
    }
    
    .promo-content {
        gap: 12px;
        padding: 0 12px;
    }
    
    .promo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .promo-text h3 {
        font-size: 1rem;
    }
    
    .promo-text p {
        font-size: 0.85rem;
    }
    
    .promo-banner .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card {
        min-width: 0;
        padding: 12px;
        border-radius: 16px;
    }
    
    .category-card {
        padding: 16px 10px;
        gap: 10px;
        border-radius: 16px;
    }
    
    .category-icon {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
        border-radius: 14px;
    }
    
    .category-card h3 {
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.2;
    }
    
    .category-count {
        font-size: 0.7rem;
    }
    
    .product-image {
        height: 140px;
        border-radius: 12px;
    }
    
    .product-info {
        padding: 8px 0 0 0;
    }
    
    .product-category {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    
    .product-title {
        font-size: 0.9rem;
        line-height: 1.3;
        margin: 4px 0;
        min-height: 2.6em;
    }
    
    .product-description {
        font-size: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 8px;
        min-height: 2.4em;
    }
    
    .product-footer {
        margin-top: 8px;
    }
    
    .product-price {
        font-size: 1rem;
    }
    
    .product-price .original {
        font-size: 0.75rem;
    }
    
    .add-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .product-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
        top: 8px;
        right: 8px;
        border-radius: 6px;
    }
    
    .stock-warning {
        font-size: 0.7rem;
        padding: 4px 8px;
        margin-top: 4px;
    }
    
    /* Reduzir espaçamentos gerais no mobile */
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 40px 0 30px 0;
    }
    
    .hero-content {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .hero-trust {
        gap: 16px;
        margin-top: 20px;
    }
    
    .categories {
        padding: 30px 0;
    }
    
    .products {
        padding: 30px 0;
    }
    
    .how-it-works {
        padding: 30px 0;
    }
    
    .features {
        padding: 30px 0;
    }
    
    /* Features Grid - 4 colunas no mobile */
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .feature-card {
        padding: 12px 4px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 8px;
        border-radius: 10px;
        font-size: 1rem;
    }
    
    .feature-card h3 {
        font-size: 0.7rem;
        margin-bottom: 2px;
        line-height: 1.2;
    }
    
    .feature-card p {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    
    /* Steps Grid - 3 colunas no mobile */
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        align-items: start;
    }
    
    .step-arrow {
        display: none; /* Ocultar setas no mobile */
    }
    
    .step-card {
        min-width: 0;
        max-width: none;
        padding: 20px 8px;
        flex: none;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        top: -12px;
        font-size: 0.9rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 12px;
        border-radius: 12px;
        font-size: 1.2rem;
    }
    
    .step-card h3 {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .step-card p {
        font-size: 0.7rem;
    }
    
    .modal-info {
        padding: 28px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .toast-container {
        width: 92%;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* ===================================
   ENHANCED ANIMATIONS - ENGAGING
   =================================== */

/* Magnetic hover effect for cards */
.product-card,
.category-card,
.feature-card,
.testimonial-card,
.step-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Glowing border animation */
@keyframes glowBorder {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3),
                    inset 0 0 20px rgba(139, 92, 246, 0.05);
    }
    50% { 
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.5),
                    inset 0 0 30px rgba(139, 92, 246, 0.1);
    }
}

/* Glow border disabled to prevent animation conflict */

/* Floating animation for sections */
@keyframes floatSection {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Staggered reveal animation */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Shine effect on buttons */
.btn-primary::after,
.btn-accent::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 60%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: none;
    pointer-events: none;
    z-index: 0;
}

/* Ensure button content is above effects */
.btn i,
.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary:hover::after,
.btn-accent:hover::after {
    animation: shine 0.6s ease forwards;
}

@keyframes shine {
    to { transform: translateX(100%) rotate(45deg); }
}

/* Pulsing glow for important elements */
@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.8));
    }
}

.hero-badge,
.category-hot {
    animation: pulseGlow 2s ease-in-out infinite, badgePulse 2s ease-in-out infinite;
}

/* Product badges are static - no animation */

/* Typewriter effect for titles */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

/* Rainbow border animation */
@keyframes rainbowBorder {
    0% { border-color: #8b5cf6; }
    25% { border-color: #06b6d4; }
    50% { border-color: #f43f5e; }
    75% { border-color: #fbbf24; }
    100% { border-color: #8b5cf6; }
}

/* Wobble on hover */
@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

.add-btn:hover {
    animation: wobble 0.3s ease;
}

/* Scale bounce effect */
@keyframes scaleBounce {
    0% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cart-count {
    animation: scaleBounce 0.5s ease, countPulse 2s infinite;
}

/* Gradient text animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-text {
    background: linear-gradient(90deg, #8b5cf6, #06b6d4, #f43f5e, #fbbf24, #8b5cf6);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

/* Section reveal animations - Simplified */
.hero ~ section .section-header {
    opacity: 0;
    transform: translateY(40px);
}

.hero ~ section .section-header.animate {
    animation: revealUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Products and cards - visible by default, no animation conflicts */
.product-card,
.category-card,
.step-card,
.feature-card {
    opacity: 1;
    transform: translateY(0);
}

/* Cards are now instantly visible - no animation delays needed */

/* Admin section headers should always be visible */
.admin-section .section-header {
    opacity: 1 !important;
    transform: none !important;
}

/* Neon glow effect */
.promo-banner {
    position: relative;
    animation: neonGlow 3s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    from {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.5),
                    0 0 40px rgba(249, 115, 22, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(239, 68, 68, 0.7),
                    0 0 60px rgba(249, 115, 22, 0.5),
                    0 0 80px rgba(251, 191, 36, 0.3);
    }
}

/* Floating icons in hero */
.floating-card {
    animation: float 7s ease-in-out infinite, floatGlow 4s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    from { box-shadow: var(--shadow-xl); }
    to { box-shadow: var(--shadow-xl), 0 0 40px rgba(139, 92, 246, 0.3); }
}

/* Smooth hover transitions for all interactive elements */
a, button, .product-card, .category-card, .step-card, .feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3D tilt effect on hover */
.product-card:hover {
    transform: translateY(-12px) scale(1.02) perspective(1000px) rotateX(2deg);
}

.category-card:hover {
    transform: translateY(-10px) perspective(1000px) rotateY(-2deg);
}

/* Enhanced focus states for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
}

/* Ripple effect on buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===================================
   PURCHASE NOTIFICATION SYSTEM
   =================================== */

.purchase-notification {
    position: fixed;
    top: 100px;
    left: 24px;
    width: 420px;
    z-index: 999;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.purchase-notification.active {
    transform: translateX(0);
    opacity: 1;
}

.purchase-notification.hiding {
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.4s ease-in, opacity 0.4s ease-in;
}

.purchase-notification:hover {
    transform: translateX(4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.3);
}

.purchase-notification-content {
    padding: 16px;
    display: flex;
    gap: 14px;
    position: relative;
}

.purchase-notification-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.purchase-notification-close:hover {
    background: var(--accent);
    color: white;
    transform: rotate(90deg);
}

.purchase-notification-close i {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.purchase-notification-close:hover i {
    color: white;
}

.purchase-notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-success);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    animation: iconEntrance 0.6s ease, iconPulse 2s ease-in-out infinite 0.6s;
}

.purchase-notification-icon i {
    font-size: 1.3rem;
    color: white;
}

@keyframes iconEntrance {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    60% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.purchase-notification-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 40px;
}

.purchase-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.purchase-notification-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 6px;
}

.purchase-notification-label i {
    font-size: 0.9rem;
    animation: checkBounce 0.5s ease;
}

@keyframes checkBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.purchase-notification-time {
    font-size: 0.75rem;
    font-weight: normal;
    color: var(--text-muted);
    white-space: nowrap;
}

.purchase-notification-product {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    animation: slideInRight 0.4s ease 0.1s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.purchase-notification-customer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    animation: slideInRight 0.4s ease 0.2s both;
}

.purchase-notification-customer i {
    font-size: 0.8rem;
    color: var(--primary-light);
}

.purchase-notification-customer span {
    font-weight: 600;
    color: var(--text-primary);
}

.purchase-notification-progress {
    height: 4px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--border-color);
}

.purchase-notification-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--gradient-primary);
    animation: progressShrink 6s linear forwards;
}

.purchase-notification-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmerProgress 1.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes progressShrink {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

@keyframes shimmerProgress {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(800%);
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .purchase-notification {
        width: calc(100% - 48px);
        left: 24px;
        top: 80px;
    }
    
    .purchase-notification-content {
        padding: 12px;
        gap: 12px;
    }
    
    .purchase-notification-icon {
        width: 40px;
        height: 40px;
    }
    
    .purchase-notification-icon i {
        font-size: 1.1rem;
    }
    
    .purchase-notification-close {
        width: 24px;
        height: 24px;
        top: 10px;
        right: 10px;
    }
    
    .purchase-notification-product {
        font-size: 0.95rem;
    }
    
    .purchase-notification-customer {
        font-size: 0.85rem;
    }
}
