:root {
    --bg-dark: #000000;
    --text-white: #ffffff;
    --text-muted: #555555;
    --accent: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg-dark); color: var(--text-white); scroll-behavior: smooth; overflow-x: hidden; }

/* Intro Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1.2s ease-in-out, visibility 1.2s;
}

#loading-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.intro-logo {
    font-weight: 900;
    font-size: 3rem;
    letter-spacing: 15px;
    animation: intro-pulse 2s ease-in-out;
}

@keyframes intro-pulse {
    0% { opacity: 0; letter-spacing: 30px; filter: blur(10px); }
    50% { opacity: 1; letter-spacing: 15px; filter: blur(0px); }
    100% { opacity: 1; }
}

/* Nav */
nav { display: flex; justify-content: space-between; padding: 25px 5%; background: rgba(0,0,0,0.9); backdrop-filter: blur(15px); position: fixed; width: 100%; top: 0; z-index: 999; border-bottom: 1px solid #222; }
.logo { font-weight: 900; letter-spacing: 6px; font-size: 1.4rem; }
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a, .cart-toggle-btn { background: none; border: none; color: #fff; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 0.75rem; cursor: pointer; letter-spacing: 1px; }

/* Hero */
.hero-section { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.giant-text { 
    font-size: clamp(5rem, 20vw, 16rem); 
    font-weight: 900; 
    letter-spacing: -10px; 
    line-height: 0.8; 
    margin-bottom: 20px; 
    opacity: 0;
    transform: translateY(20px);
    transition: 1.5s ease-out;
    transition-delay: 0.8s;
}

.giant-text.reveal {
    opacity: 1;
    transform: translateY(0);
}

.glow-circle { position: absolute; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%); filter: blur(60px); z-index: -1; animation: pulse 6s infinite alternate; }
@keyframes pulse { from { opacity: 0.3; transform: scale(0.8); } to { opacity: 0.8; transform: scale(1.2); } }
.shop-trigger-btn { display: inline-block; padding: 18px 50px; background: #fff; color: #000; text-decoration: none; font-weight: 900; letter-spacing: 2px; }

/* Shop */
.shop-page { min-height: 100vh; background: #000; color: #fff; padding-top: 100px; }
.shop-layout { display: flex; }
.sidebar { width: 300px; padding: 60px 5%; border-right: 1px solid #222; }
.filter-btn { display: block; width: 100%; text-align: left; background: none; border: none; padding: 15px 0; font-weight: 800; color: #fff; cursor: pointer; text-transform: uppercase; border-bottom: 1px solid #222; }
.filter-btn.active { border-bottom: 2px solid #fff; }

.product-grid { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); }
.product-card { padding: 30px; border: 0.5px solid #222; background: #000; text-align: center; transition: 0.3s; }
.product-card:hover { border-color: #555; }

/* Image Toggle System */
.image-container { position: relative; width: 100%; aspect-ratio: 1/1; background: #111; margin-bottom: 20px; overflow: hidden; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; }
.view-toggle { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; opacity: 0; transition: 0.3s; }
.product-card:hover .view-toggle { opacity: 1; }
.dot { width: 12px; height: 12px; background: rgba(255,255,255,0.2); border-radius: 50%; cursor: pointer; border: 1px solid rgba(255,255,255,0.4); }
.dot.active { background: #fff; border-color: #fff; }

.product-card h4 { font-weight: 900; letter-spacing: 1px; margin-bottom: 5px; text-transform: uppercase; }
.product-card p { color: #888; font-weight: 700; margin-bottom: 20px; }
.add-btn { width: 100%; padding: 15px; background: #fff; color: #000; border: none; font-weight: 900; cursor: pointer; text-transform: uppercase; transition: 0.3s; }
.add-btn:hover { background: #ccc; }

/* Cart */
.cart-sidebar { position: fixed; right: -450px; top: 0; width: 450px; height: 100%; background: #fff; color: #000; z-index: 2000; transition: 0.4s; padding: 50px; display: flex; flex-direction: column; max-width: 100vw; }
.cart-sidebar.open { right: 0; }
.cart-item { border-bottom: 1px solid #eee; padding: 20px 0; display: flex; justify-content: space-between; }
.cart-item h5 { text-transform: uppercase; font-weight: 900; }
.checkout-btn { width: 100%; padding: 20px; background: #000; color: #fff; border: none; font-weight: 900; cursor: pointer; }

/* Footer */
footer { padding: 120px 5%; background: #000; text-align: center; border-top: 1px solid #222; }
.tiktok-wrapper { width: 80px; height: 80px; margin: 0 auto 20px; background: #111; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.tiktok-link { text-decoration: none; color: white; display: inline-block; }
.tiktok-link:hover .tiktok-wrapper { transform: scale(1.1); background: #222; }
.tiktok-link svg { width: 40px; height: 40px; }
.tiktok-link span { font-weight: 900; letter-spacing: 3px; font-size: 0.8rem; }
.copyright { margin-top: 40px; color: #333; font-size: 0.7rem; font-weight: 700; }

@media (max-width: 768px) {
    .shop-layout { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid #222; }
    .cart-sidebar { width: 100%; right: -100%; }
}
