/* ===================================
   NEOWORK STUDIOS APPAREL SHOP
   Dark Theme Styles
   =================================== */

:root {
    /* Dark Theme Colors */
    --primary: #0A0E27;
    --bg-dark: #0F1117;
    --bg-darker: #080A12;
    --accent: #00c1f7;
    --accent-dark: #008492;
    --secondary: #FF6B35;
    --white: #FFFFFF;
    --gray-100: #1A1D2E;
    --gray-200: #2A2D3E;
    --gray-300: #3A3D4E;
    --gray-400: #4A4D5E;
    --gray-500: #6A6D7E;
    --gray-600: #8A8D9E;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B3C0;
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px;
    --container-max: 1400px;
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glow-accent: 0 0 20px rgba(0, 245, 160, 0.3);
}

/* ===================================
   BASE STYLES
   =================================== */

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

body {
    font-family: var(--font-body);
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   BACKGROUND EFFECTS
   =================================== */

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.05;
    pointer-events: none;
    background-image: 
        repeating-linear-gradient(45deg, var(--accent) 0, var(--accent) 1px, transparent 0, transparent 50%),
        repeating-linear-gradient(-45deg, var(--accent) 0, var(--accent) 1px, transparent 0, transparent 50%);
    background-size: 20px 20px;
    animation: patternShift 60s linear infinite;
}

@keyframes patternShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    background: var(--accent);
    top: -200px;
    left: -200px;
    animation: float 20s ease-in-out infinite;
}

.glow-2 {
    background: var(--secondary);
    bottom: -200px;
    right: -200px;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(100px, 100px); }
}

/* ===================================
   HEADER STYLES
   =================================== */

header {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    color: var(--white);
    padding: 60px 20px 80px;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-200);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 245, 160, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 50%);
    animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.header-content {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

.logo {
    display: inline-block;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.accent-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 400;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.badge {
    display: inline-block;
    background: rgba(0, 245, 160, 0.1);
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
    box-shadow: var(--glow-accent);
}

/* ===================================
   FEATURE PILLS
   =================================== */

.features {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s backwards;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-200);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-pill:hover {
    background: rgba(0, 245, 160, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--glow-accent);
}

.feature-pill::before {
    content: '✓';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.8rem;
    line-height: 18px;
    text-align: center;
}

/* ===================================
   SHOP CONTAINER
   =================================== */

.shop-container {
    position: relative;
    max-width: var(--container-max);
    margin: -40px auto 0;
    padding: 0 20px 80px;
    z-index: 1;
}

.shop-wrapper {
    background: var(--gray-100);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: visible;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
    border: 1px solid var(--gray-200);
}

.shop-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    padding: 30px;
    border-bottom: 2px solid var(--accent);
    border-radius: 20px 20px 0 0;
}

.shop-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 800;
}

.shop-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===================================
   SPREADSHOP EMBED - FIXED STYLING
   =================================== */

#myShop {
    min-height: 600px;
    padding: 0;
    background: var(--gray-100);
    position: relative;
    width: 100%;
}

/* Style the fallback link */
#myShop > a {
    display: none;
}

/* Override Spreadshop default styles */
#myShop * {
    max-width: 100% !important;
}

/* Ensure proper spacing */
#myShop > div {
    background: var(--gray-100) !important;
}

/* Hide Spreadshop branding and footer */
#myShop [class*="footer"],
#myShop [class*="Footer"],
#myShop footer,
#myShop .sprd-footer,
#myShop [data-test="footer"] {
    display: none !important;
}

/* Style product grid */
#myShop [class*="grid"],
#myShop [class*="Grid"] {
    background: transparent !important;
}

/* ===================================
   INFO SECTION
   =================================== */

.info-section {
    background: var(--bg-dark);
    padding: 60px 20px;
    position: relative;
    border-top: 1px solid var(--gray-200);
}

.info-content {
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--gray-100);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    background: var(--gray-200);
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--glow-accent);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-darker) 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--gray-200);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 245, 160, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 245, 160, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 245, 160, 0.5);
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }
    
    header {
        padding: 40px 20px 60px;
    }
    
    .shop-container {
        margin-top: -30px;
    }
    
    .features {
        gap: 10px;
    }
    
    .feature-pill {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .shop-header {
        padding: 20px;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
