/* 
  Red Teamer Shop - Design System V2
  Aesthetic: Ultra-Modern / Cyberpunk / Glassmorphism
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@600;800&display=swap');

:root {
    /* Color Palette */
    --color-bg: #050510;
    --color-surface-trans: rgba(20, 20, 35, 0.6);
    --color-surface: #0f0f1a;
    --color-primary: #ff2a2a;
    /* Red Team Crimson */
    --color-secondary: #00f0ff;
    /* Electric Cyan */
    --color-accent: #bf00ff;
    /* Neon Purple */
    --color-text: #e0e0e0;
    --color-text-muted: #808090;
    --color-border: rgba(255, 255, 255, 0.08);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(255, 42, 42, 0.1) 0%, rgba(5, 5, 16, 0) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    --gradient-btn: linear-gradient(90deg, #ff2a2a 0%, #d40000 100%);

    /* Effects */
    --blur: blur(20px);
    --glow-primary: 0 0 20px rgba(255, 42, 42, 0.4);
    --glow-secondary: 0 0 20px rgba(0, 240, 255, 0.4);
    --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border_box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 42, 42, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 40%);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.text-primary {
    color: var(--color-primary);
}

.text-gradient {
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--color-surface-trans);
    backdrop-filter: var(--blur);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 42, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(255, 42, 42, 0.6);
    transform: scale(1.05);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-ghost:hover {
    background: rgba(255, 42, 42, 0.1);
    box-shadow: var(--glow-primary);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--color-text-muted);
    font-weight: 500;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    /* Navigation */
    .mobile-toggle {
        display: block !important;
        font-size: 1.5rem;
        cursor: pointer;
        color: #fff;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 16, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
        animation: fadeIn 0.3s ease-out forwards;
    }

    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Layout Fixes */
    .glass-card {
        margin-bottom: 1rem;
    }
    
    header {
        position: fixed; /* Ensure it stays fixed */
    }
}

@media (min-width: 769px) {
    .mobile-toggle {
        display: none;
    }
}