@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Mono:wght@400;700&family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-bg: #FCFCFC; /* Off-white with a tiny bit of warmth */
    --color-text: #1C1C1C; /* Off-black */
    --color-text-muted: #808080;
    --color-accent: #000000;
    --color-border: #1C1C1C;
    
    --font-heading: 'Archivo Black', sans-serif;
    --font-tech: 'Space Mono', monospace;
    --font-nav: 'Syne', sans-serif;
    --font-body: 'Syne', sans-serif;
}

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

body {
    background-color: #E8E8E8; /* Background outside the frame */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--color-text);
    overflow-x: hidden;
}

/* =========================================================
   AURA STORE HOMEPAGE LAYOUT 
   ========================================================= */

.aura-body {
    padding: 0;
}

.aura-frame {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    overflow: hidden;
}

#mouse-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 45vw;
    height: 45vw;
    border-radius: 50%;
    background: #000;
    filter: blur(100px);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    will-change: left, top;
}

/* --- Navbar --- */
.aura-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem 1rem 0.5rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.aura-logo {
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.1;
    position: relative;
}
.logo-stars {
    position: absolute;
    top: 0;
    right: -15px;
    font-size: 0.6rem;
    line-height: 0.8;
}

.aura-links {
    display: flex;
    gap: 3rem;
}
.aura-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-family: var(--font-tech);
    text-transform: lowercase;
    font-size: 1rem;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}
.aura-links a:hover, .aura-links a.active {
    color: var(--color-text);
}

.aura-account {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    text-transform: lowercase;
    font-weight: 700;
}

/* --- Hero Row Layout --- */
.hero-row {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
}

/* --- Huge Background Text --- */
.aura-huge-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 8.5vw;
    color: var(--color-text);
    pointer-events: none;
    line-height: 1;
    letter-spacing: -2px;
    white-space: nowrap;
    z-index: 10;
}
.aura-huge-text.left {
    left: 1.5vw;   /* AMN'T: anchored to left edge, always fully visible */
}
.aura-huge-text.right {
    right: 1.5vw;  /* CLOTHING: anchored to right edge, always fully visible */
}

/* --- Center Model / Video --- */
.aura-center-model {
    position: absolute;
    left: 40%;
    transform: translateX(-50%);
    top: 80px;
    height: calc(100vh - 80px);
    width: 28vw;
    overflow: hidden;
    z-index: 20;
    pointer-events: auto;
}
.model-video {
    width: 100%;
    height: 112%;                     /* slightly taller than container = crops bottom (shoes) */
    object-fit: cover;
    object-position: 50% 0%;         /* anchor to top → shoes fall off the bottom */
    display: block;
}

/* --- Bottom Left Text Block --- */
.aura-bottom-left {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    z-index: 30;
    max-width: 350px;
}
.recycle-icon {
    margin-bottom: 1rem;
}
.recycle-icon svg {
    width: 40px;
    height: 40px;
}
.aura-bottom-left h2 {
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}
.aura-bottom-left p {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    line-height: 1.4;
    text-transform: lowercase;
    font-weight: 700;
}

/* --- Bottom Right Product Card --- */
.aura-bottom-right {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}
.aura-product-card {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-radius: 16px;
    width: 220px;
    height: 220px;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.product-placeholder {
    width: 80%;
    height: 70%;
    /* Placeholder background color for the jacket */
    background-color: transparent; 
}
.product-year {
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
    margin-bottom: 1rem;
}
.aura-btn {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 20px; /* Pill shape */
    background: var(--color-bg);
    padding: 0.6rem 1.5rem;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: lowercase;
    cursor: pointer;
    transition: all 0.3s;
}
.aura-btn:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* =========================================================
   MOBILE RESPONSIVENESS FOR HOMEPAGE
   ========================================================= */
@media (max-width: 1024px) {
    .aura-huge-text {
        font-size: 20vw;
    }
    .aura-huge-text.left { left: 2rem; top: 30%; transform: none; }
    .aura-huge-text.right { right: 2rem; top: 45%; transform: none; }
    .aura-links { display: none; }
    .aura-bottom-left { max-width: 250px; }
    .aura-product-card { width: 160px; height: 160px; }
}
@media (max-width: 768px) {
    .aura-body { padding: 0; }
    .aura-frame { height: 100vh; border-radius: 0; border: none; }
    .aura-nav { padding: 1.5rem; }
    .aura-account { display: none; }
    .aura-huge-text { font-size: 25vw; }
    .aura-huge-text.left { top: 20%; }
    .aura-huge-text.right { top: 35%; }
    .aura-center-model { height: 60%; }
    .aura-bottom-left { bottom: 1.5rem; left: 1.5rem; max-width: 200px; }
    .aura-bottom-left h2 { font-size: 1.5rem; }
    .aura-bottom-left p { font-size: 0.7rem; }
    .aura-bottom-right { bottom: 1.5rem; right: 1.5rem; }
    .aura-product-card { display: none; /* hide card on mobile to save space */ }
}

/* =========================================================
   COMMON UI COMPONENTS (For other pages)
   ========================================================= */

/* Brutalist Grid (for collection page) */
.brutalist-grid-wrap {
    display: flex;
    border: 2px solid var(--color-border);
    margin: 4rem auto;
    max-width: 1400px;
    background: var(--color-bg);
}
.vertical-banner {
    width: 100px;
    border-right: 2px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
}
.vertical-banner span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-heading);
    font-size: 4rem;
    letter-spacing: 2px;
}
.brutalist-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.brutalist-card {
    border-right: 2px solid var(--color-border);
    border-bottom: 2px solid var(--color-border);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    text-decoration: none;
    color: var(--color-text);
}
.brutalist-card:hover {
    background: #f0f0f0;
}
.brutalist-card-img {
    aspect-ratio: 1;
    background: transparent;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border); /* outline inside */
    display: flex;
    justify-content: center;
    align-items: center;
}
.brutalist-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.brutalist-card-info {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Modal and Utility Classes (Kept for checkout/cart functionality) */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
    background: rgba(255,255,255,0.7); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); width: 90%; max-width: 800px; padding: 3rem; position: relative; border: 1px solid rgba(0,0,0,0.1); border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.close-btn {
    position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--color-text);
}
.btn {
    display: inline-block; padding: 1rem 2.5rem; font-family: var(--font-tech); font-weight: 700; text-transform: uppercase;
    cursor: pointer; text-decoration: none; border: 1px solid rgba(0,0,0,0.1); background: rgba(255,255,255,0.5); backdrop-filter: blur(8px); color: var(--color-text);
    border-radius: 100px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.btn-dark { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.btn-dark:hover { background: rgba(255,255,255,0.9); color: var(--color-text); border-color: rgba(0,0,0,0.1); }
.full-width { width: 100%; text-align: center; }

/* Navbar for Collection/Checkout Pages */
.standard-nav {
    display: flex; justify-content: space-between; padding: 0.75rem 1.5rem 0.75rem 0.5rem; border-bottom: 1px solid rgba(0,0,0,0.08); background: rgba(255,255,255,0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); position: sticky; top: 0; z-index: 200;
}
.standard-nav a { text-decoration: none; color: var(--color-text); font-family: var(--font-tech); text-transform: uppercase; font-weight: 700; }
.standard-nav-links { display: flex; gap: 2rem; }

/* Form inputs */
input, textarea, select {
    padding: 1rem; border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; font-family: var(--font-tech); background: rgba(255,255,255,0.5); backdrop-filter: blur(10px); color: var(--color-text); outline: none; width: 100%; transition: all 0.3s; box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}
input:focus, textarea:focus, select:focus { background: rgba(255,255,255,0.9); border-color: rgba(0,0,0,0.2); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

/* --- Currency Modal --- */
.currency-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Highest layer */
    color: #FFFFFF;
    font-family: var(--font-body);
}

.currency-modal-content {
    background: #000000;
    border: 1px solid #222222;
    width: 90%;
    max-width: 450px;
    padding: 3rem 2rem;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 90px rgba(0,0,0,0.8);
}

.currency-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.currency-modal-header h2 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1.8rem;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.currency-modal-header p {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: #808080;
}

.currency-search-wrap {
    margin-bottom: 1.5rem;
}

.currency-search-input {
    background: #111111 !important;
    border: 1px solid #333333 !important;
    color: #FFFFFF !important;
    border-radius: 0 !important;
    font-family: var(--font-tech) !important;
    padding: 1.2rem !important;
    box-shadow: none !important;
}

.currency-list {
    list-style: none;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #333 #000;
}

.currency-list::-webkit-scrollbar {
    width: 4px;
}

.currency-list::-webkit-scrollbar-track {
    background: #000;
}

.currency-list::-webkit-scrollbar-thumb {
    background: #333;
}

.currency-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #111111;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-item:hover {
    background: #111111;
    border-color: #222222;
}

.currency-item strong {
    font-family: var(--font-tech);
    font-size: 1rem;
    color: #FFFFFF;
}

.currency-item span {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: #666666;
    text-transform: lowercase;
}

/* --- Logo and Theme Support --- */
.nav-logo-img {
    height: 38px; /* Slightly taller for visibility */
    width: auto;
    vertical-align: middle;
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.aura-logo-link, .standard-nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Dark mode logo flip */
[data-theme="dark"] .nav-logo-img {
    filter: invert(1) brightness(2);
}

/* Base styles for theme attributes */
[data-theme="dark"] body {
    background-color: #000;
    color: #fff;
}
