/* =============================================
   IGY STREETWEAR - MAIN STYLES
   ============================================= */

/* Variables */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #888888;
    --dark-gray: #0a0a0a;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-text {
    font-size: 60px;
    font-weight: 900;
    letter-spacing: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

nav.scrolled {
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-link {
    position: relative;
}

.cart-link a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    background: var(--white);
    color: var(--black);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            var(--white) 2px,
            var(--white) 4px
        );
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.9;
    margin-bottom: 20px;
    animation: glitch 5s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        text-shadow: none;
    }
    92% {
        text-shadow: -2px 2px 0 rgba(255,0,0,0.5);
    }
    94% {
        text-shadow: 2px -2px 0 rgba(0,255,255,0.5);
    }
}

.title-line {
    display: block;
    overflow: hidden;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.cta-button:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-indicator span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--white);
    margin: 10px auto 0;
    opacity: 0.3;
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Sections */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-number {
    font-size: 80px;
    font-weight: 900;
    opacity: 0.05;
    position: absolute;
    top: 60px;
    left: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 60px;
}

/* Philosophy */
.philosophy {
    background: var(--dark-gray);
}

.philosophy-text {
    font-size: 20px;
    line-height: 1.8;
    max-width: 800px;
    opacity: 0.9;
    font-weight: 300;
}

/* Collection Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    position: relative;
    overflow: hidden;
    background: var(--dark-gray);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: bold;
    opacity: 0.1;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    color: var(--black);
    padding: 5px 15px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 25px;
}

.product-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-description {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 15px;
}

.product-price {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Process Section */
.process {
    background: var(--dark-gray);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
}

.process-item {
    text-align: center;
}

.process-number {
    font-size: 48px;
    font-weight: 900;
    opacity: 0.1;
    margin-bottom: 20px;
}

.process-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.process-item p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
}

/* Manifesto */
.manifesto {
    padding: 150px 40px;
    background: var(--black);
}

.manifesto-text {
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.4;
    font-weight: 100;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    font-style: italic;
}

/* Contact */
.contact {
    background: var(--dark-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.contact-info a {
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.contact-info a:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.social-links a:hover {
    opacity: 0.7;
}

/* Footer */
footer {
    padding: 60px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 11px;
    opacity: 0.5;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    opacity: 0.5;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

/* Floating Elements */
.float-element {
    position: fixed;
    font-size: 10px;
    opacity: 0.02;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: float 20s infinite linear;
    z-index: 1;
}

.float-1 {
    top: 20%;
    left: 10%;
}

.float-2 {
    top: 60%;
    right: 15%;
    animation-delay: 7s;
}

.float-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 14s;
}

@keyframes float {
    to {
        transform: translate(100px, -100px) rotate(360deg);
    }
}

/* =============================================
   PRIVY POPUP CUSTOM STYLES
   ============================================= */
.privy-popup-container {
    font-family: 'Helvetica Neue', Arial, sans-serif !important;
}

.privy-popup-container .privy-title {
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    font-size: 36px !important;
}

.privy-popup-container .privy-description {
    font-size: 14px !important;
    letter-spacing: 1px !important;
    opacity: 0.9 !important;
}

.privy-popup-container input[type="email"] {
    background: transparent !important;
    border