/* PsycoCat Mint — Design System
 * Aesthetic: Psychotropic Neon Industrial
 * Fonts: Space Grotesk (display) + Outfit (body)
 */

:root {
    --clr-bg: 260 20% 4%;
    --clr-surface: 260 18% 8%;
    --clr-surface-raised: 260 16% 12%;
    --clr-primary: 280 80% 60%;
    --clr-secondary: 160 80% 50%;
    --clr-accent: 320 90% 60%;
    --clr-text: 0 0% 95%;
    --clr-text-muted: 0 0% 60%;
    --clr-danger: 0 70% 55%;
    --clr-success: 145 70% 50%;

    /* Faction: Vortex Maw */
    --clr-vortex-primary: 280 80% 60%;
    --clr-vortex-secondary: 170 80% 50%;
    --clr-vortex-accent: 45 90% 60%;
    
    /* Faction: Ledger Shadow */
    --clr-ledger-primary: 190 90% 60%;
    --clr-ledger-secondary: 320 90% 60%;

    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-s: 1rem;
    --space-m: 2rem;
    --space-l: 4rem;
    --space-xl: 6rem;

    --font-body: 'Outfit', system-ui, sans-serif;
    --font-display: 'Space Grotesk', 'Outfit', sans-serif;

    --radius-s: 6px;
    --radius-m: 12px;
    --radius-l: 20px;

    --glow-primary: 0 0 20px hsla(280, 80%, 60%, 0.4);
    --glow-mint: 0 0 40px hsla(280, 80%, 60%, 0.6), 0 0 80px hsla(160, 80%, 50%, 0.2);
    --glass-bg: rgba(10, 6, 18, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-hover: rgba(280, 80%, 60%, 0.3);

    --anim-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --anim-slow: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ─── Textures & Global Background ─── */
.bg-image {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url('../img/bg-universe.jpg'); /* The user's image goes here */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -10;
    opacity: 0.6; /* Dim the image a bit so text is readable */
    filter: contrast(1.1) brightness(0.8);
}

.bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 6, 18, 0.8) 100%);
    z-index: -9;
    pointer-events: none;
}

.scanlines::before {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 3px 100%;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.3;
}

.noise::after {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 1001;
    pointer-events: none;
}

/* ─── Global Cursor Glow & Chroma Lens ─── */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, 
        hsla(var(--clr-primary), 0.1) 0%, 
        transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.chroma-lens {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, hsla(280, 80%, 60%, 0.15) 0%, transparent 65%);
    display: none;
}

@media (hover: hover) {
    .chroma-lens { display: block; }
}

@keyframes glow-rotate {
    from { opacity: 0.6; }
    50% { opacity: 0.8; }
    to { opacity: 0.6; }
}


/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: hsl(var(--clr-bg));
    color: hsl(var(--clr-text));
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* ─── Layout ─── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 var(--space-s); }
[hidden] { display: none !important; }

/* ─── Header ─── */
.header {
    position: sticky; top: 0; z-index: 100;
    background: hsla(var(--clr-bg), 0.85);
    border-bottom: none;
    transition: all 0.3s ease;
}

.header-scrolled {
    background: hsla(var(--clr-bg), 0.95);
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-s) 0;
    gap: var(--space-s);
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

.logo {
    display: flex; align-items: center; gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.35rem; font-weight: 700;
}

.logo-text {
    background: linear-gradient(135deg, hsl(var(--clr-primary)), hsl(var(--clr-secondary)));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shimmer 3s ease-in-out infinite alternate;
}

@keyframes text-shimmer {
    from { filter: hue-rotate(0deg) brightness(1); }
    to { filter: hue-rotate(45deg) brightness(1.2); }
}

.nav-list { display: flex; gap: var(--space-s); }

.nav-link {
    font-size: 0.875rem; font-weight: 600;
    color: hsl(var(--clr-text-muted));
    transition: color 0.2s;
    padding: var(--space-2xs) 0;
}
.nav-link:hover { color: hsl(var(--clr-text)); }

.header-actions { display: flex; align-items: center; gap: var(--space-xs); }

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
    padding: 0.65rem 1.25rem;
    border: none; border-radius: var(--radius-s);
    font-family: var(--font-display);
    font-weight: 600; font-size: 0.875rem;
    text-transform: uppercase; letter-spacing: 0.04em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
}

.btn-magnetic {
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-icon { padding: 0.5rem; background: transparent; color: hsl(var(--clr-text-muted)); }
.btn-icon:hover { color: hsl(var(--clr-primary)); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border-hover);
    color: hsl(var(--clr-text));
}
.btn-outline:hover {
    border-color: hsl(var(--clr-primary));
    color: hsl(var(--clr-primary));
    box-shadow: var(--glow-primary);
}

.btn-primary {
    background: hsl(var(--clr-primary));
    color: hsl(0 0% 100%);
    box-shadow: var(--glow-primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-mint); }

.btn-mint {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background: linear-gradient(135deg, hsl(var(--clr-primary)), hsl(280 90% 50%));
    color: hsl(0 0% 100%);
    border: none; border-radius: var(--radius-m);
    box-shadow: var(--glow-primary);
    animation: pulse-glow 2.5s ease-in-out infinite;
}
.btn-mint:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--glow-mint); }
.btn-mint:disabled { opacity: 0.5; cursor: not-allowed; animation: none; }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px hsla(280, 80%, 60%, 0.3); }
    50% { box-shadow: 0 0 40px hsla(280, 80%, 60%, 0.55), 0 0 80px hsla(160, 80%, 50%, 0.12); }
}

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

.float {
    animation: float 4s ease-in-out infinite;
}

.btn-qty {
    width: 40px; height: 40px;
    background: hsl(var(--clr-surface-raised));
    color: hsl(var(--clr-text));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-s);
    font-size: 1.2rem;
}
.btn-qty:hover { border-color: hsl(var(--clr-primary)); }

/* ─── Hero ─── */
.hero { min-height: 85vh; display: flex; align-items: center; padding: var(--space-xl) 0; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--space-l);
    align-items: center;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    margin-bottom: var(--space-m);
}

.hero-cat-art {
    flex: 0 0 320px;
    filter: drop-shadow(0 0 30px hsla(var(--clr-primary), 0.3));
}

.hero-cat-art img {
    width: 100%;
    height: auto;
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: hsl(var(--clr-secondary));
    margin-bottom: var(--space-xs);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-transform: uppercase;
    margin-bottom: var(--space-s);
}

.hero-title-accent {
    background: linear-gradient(135deg, hsl(var(--clr-primary)), hsl(var(--clr-accent)), hsl(var(--clr-secondary)));
    background-size: 200% 200%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 5s ease infinite;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-desc {
    font-size: 1.05rem;
    color: hsl(var(--clr-text-muted));
    max-width: 480px;
    margin-bottom: var(--space-m);
}

.hero-stats {
    display: flex; gap: var(--space-m);
    padding-top: var(--space-s);
    border-top: 1px solid var(--glass-border);
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 700;
    color: hsl(var(--clr-text));
}

.stat-label {
    font-size: 0.75rem;
    color: hsl(var(--clr-text-muted));
    text-transform: uppercase; letter-spacing: 0.08em;
}

/* ─── Mint Card (Glassmorphism) ─── */
.mint-card {
    background: rgba(15, 10, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-l);
    padding: var(--space-m);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex; flex-direction: column; gap: var(--space-s);
    max-width: 400px; /* Make the card smaller */
    margin: 0 auto;
}

.cat-preview {
    aspect-ratio: auto;
    width: 100%;
    background: transparent;
    border-radius: var(--radius-m);
    overflow: hidden;
    position: relative;
    padding: 2px; /* For animated border */
    transition: transform var(--anim-slow);
}

.cat-preview:hover {
    transform: scale(1.02) rotateX(2deg) rotateY(2deg);
}

.card-inner {
    background: var(--glass-bg);
    border-radius: calc(var(--radius-m) - 2px);
    overflow: hidden;
    display: flex;
    height: 100%;
    position: relative;
}

.card-inner::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(rgba(255,255,255,0.1), transparent);
    pointer-events: none;
}

.cat-preview img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 250px; /* Constrain image height */
}

/* Theme: Vortex Maw (Arcane Cosmic) */
.theme-vortex {
    background: linear-gradient(135deg, hsl(var(--clr-vortex-primary)), hsl(var(--clr-vortex-secondary)), hsl(var(--clr-vortex-accent)));
    box-shadow: 0 0 20px hsla(var(--clr-vortex-primary), 0.3), 0 0 40px hsla(var(--clr-vortex-secondary), 0.1);
}

/* Theme: Ledger Shadow (Cyber Occult) */
.theme-ledger {
    background: linear-gradient(135deg, hsl(var(--clr-ledger-primary)), hsl(var(--clr-ledger-secondary)));
    box-shadow: 0 0 20px hsla(var(--clr-ledger-primary), 0.4), 0 0 40px hsla(var(--clr-ledger-secondary), 0.2);
}

.mint-progress { display: flex; flex-direction: column; gap: var(--space-2xs); }

.progress-bar {
    height: 6px;
    background: hsl(var(--clr-surface-raised));
    border-radius: 3px; overflow: hidden;
}

.progress-inner {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, hsl(var(--clr-primary)), hsl(var(--clr-secondary)));
    border-radius: 3px;
    transition: width 0.8s ease-out;
}

.progress-text {
    font-size: 0.8rem;
    color: hsl(var(--clr-text-muted));
    text-align: right;
}

.mint-quantity {
    display: flex; align-items: center; justify-content: space-between;
}

.qty-label {
    font-size: 0.875rem; font-weight: 600;
    color: hsl(var(--clr-text-muted));
}

.qty-controls { display: flex; align-items: center; gap: var(--space-xs); }

.qty-input {
    width: 48px; height: 40px;
    text-align: center;
    background: hsl(var(--clr-surface));
    color: hsl(var(--clr-text));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-s);
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 700;
}

.mint-total {
    display: flex; justify-content: space-between; align-items: center;
    padding: var(--space-xs) 0;
    border-top: 1px solid var(--glass-border);
    font-weight: 600;
}

.total-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: hsl(var(--clr-primary));
}

.mint-status {
    font-size: 0.85rem;
    text-align: center;
    min-height: 1.4em;
}
.mint-status.error { color: hsl(var(--clr-danger)); }
.mint-status.success { color: hsl(var(--clr-success)); }

/* ─── Collection Grid ─── */
.section-collection, .section-about { padding: var(--space-xl) 0; }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.section-subtitle {
    color: hsl(var(--clr-text-muted));
    margin-bottom: var(--space-m);
    max-width: 480px;
}

.faction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-l);
    margin-bottom: var(--space-xl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-s);
}

.gallery-item {
    border-radius: var(--radius-m);
    overflow: hidden;
    background: transparent;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: hsl(var(--clr-primary));
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.faction-card {
    border-radius: var(--radius-l);
    padding: 2px; /* Gradient border space */
    position: relative;
    transition: transform 0.3s;
    background: rgba(15, 10, 25, 0.4);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    max-width: 350px; /* Make cards smaller */
    margin: 0 auto;
}

.faction-card:hover {
    transform: translateY(-8px);
}

.faction-card .faction-image-wrapper {
    background: rgba(0,0,0,0.2);
    border-radius: calc(var(--radius-l) - 2px) calc(var(--radius-l) - 2px) 0 0;
    overflow: hidden;
    height: auto; /* Show full card */
}

.faction-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.faction-info {
    background: rgba(10, 6, 18, 0.5);
    border-radius: 0 0 calc(var(--radius-l) - 2px) calc(var(--radius-l) - 2px);
    padding: var(--space-s) var(--space-m);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faction-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    font-family: var(--font-display);
}

.theme-vortex .faction-info h3 {
    background: linear-gradient(90deg, hsl(var(--clr-vortex-primary)), hsl(var(--clr-vortex-accent)));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.theme-ledger .faction-info h3 {
    background: linear-gradient(90deg, hsl(var(--clr-ledger-primary)), hsl(var(--clr-ledger-secondary)));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.lore-text {
    font-style: italic;
    color: hsl(var(--clr-text));
    margin-bottom: var(--space-xs);
    font-family: var(--font-display);
    opacity: 0.9;
}

/* ─── About ─── */
.about-content-centered {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-copy p {
    color: hsl(var(--clr-text-muted));
    margin-top: var(--space-s);
}

.lore-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: hsl(var(--clr-accent)) !important;
    margin-bottom: var(--space-m);
}

.about-features { display: flex; flex-direction: column; gap: var(--space-s); }

.feature {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-m);
    padding: var(--space-s);
    transition: border-color 0.3s;
}
.feature:hover { border-color: var(--glass-border-hover); }

.feature-icon { font-size: 1.5rem; display: block; margin-bottom: var(--space-xs); }

.feature h3 {
    font-size: 1rem;
    margin-bottom: var(--space-2xs);
}

.feature p { font-size: 0.85rem; color: hsl(var(--clr-text-muted)); }

/* ─── Footer ─── */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: var(--space-m) 0;
}

.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
}

.footer-brand { font-size: 0.85rem; color: hsl(var(--clr-text-muted)); }
.footer-links { display: flex; gap: var(--space-s); }
.footer-links a {
    font-size: 0.85rem; color: hsl(var(--clr-text-muted));
    transition: color 0.2s;
}
.footer-links a:hover { color: hsl(var(--clr-primary)); }

/* ─── Toast ─── */
.toast-container {
    position: fixed; bottom: var(--space-m); right: var(--space-m);
    z-index: 200; display: flex; flex-direction: column; gap: var(--space-xs);
    pointer-events: none;
}

.toast {
    padding: var(--space-xs) var(--space-s);
    background: hsl(var(--clr-surface-raised));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-s);
    font-size: 0.85rem;
    pointer-events: auto;
    animation: toast-in 0.3s ease-out;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Loading Gate ─── */
.loading-gate {
    position: fixed; inset: 0; z-index: 999;
    background: hsl(var(--clr-bg));
}

/* ─── Accessibility ─── */
:focus-visible {
    outline: 2px solid hsl(var(--clr-primary));
    outline-offset: 3px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-title-wrapper { flex-direction: column; gap: var(--space-s); }
    .hero-cat-art { flex: 0 0 auto; width: 240px; margin: 0 auto; }
    .hero-desc { margin-inline: auto; }
    .hero-stats { justify-content: center; }
    .faction-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .nav { display: none; }
}

@media (max-width: 480px) {
    .header-inner { flex-wrap: wrap; }
    .hero-stats { flex-direction: column; gap: var(--space-xs); }
    .footer-inner { flex-direction: column; gap: var(--space-xs); text-align: center; }
}

/* ─── Modern Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--anim-slow), transform var(--anim-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* ─── Hover Effects ─── */
.card-hover {
    position: relative;
    overflow: hidden;
}

.card-hover::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), hsla(280, 80%, 60%, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card-hover:hover::after {
    opacity: 1;
}

/* ─── Glitch Text ─── */
.glitch-hover:hover {
    animation: glitch 0.3s cubic-bezier(.25,.46,.45,.94) both infinite;
    color: hsl(var(--clr-accent));
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* ─── Floating Animation ─── */
.float {
    animation: float 6s ease-in-out infinite;
}

/* ─── Decorative Borders ─── */
.neon-border-box {
    position: relative;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.neon-border-box::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, 
        hsl(var(--clr-vortex-primary)), 
        transparent, 
        hsl(var(--clr-ledger-primary)));
    z-index: -1;
    border-radius: inherit;
    opacity: 0.5;
}

.neon-border-box::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
    border-radius: inherit;
}

.hero::after {
    display: none;
}

/* ─── LaunchMyNFT Integration ─── */
.mint-ui-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    margin-top: var(--space-s);
}

.mint-button-area {
    position: relative;
}

.mint-wallet-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 6, 18, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-m);
    z-index: 10;
    cursor: not-allowed;
    color: hsl(var(--clr-text-muted));
    font-size: 0.85rem;
    text-align: center;
    padding: var(--space-xs);
    backdrop-filter: blur(2px);
    transition: opacity 0.3s;
}

#mint-counter {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    font-family: var(--font-display);
    font-size: 1rem;
    color: hsl(var(--clr-text-muted));
}

.mint-counter-custom {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: hsl(var(--clr-primary));
}

.mint-button-custom {
    display: flex;
    justify-content: center;
}

/* Override LaunchMyNFT default styles to match theme */
#mint-button-container button {
    width: 100% !important;
    min-height: 60px !important;
    padding: 0.8rem 1.5rem !important;
    font-size: 1.1rem !important;
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    background: linear-gradient(135deg, hsl(var(--clr-primary)), hsl(280 90% 50%)) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-m) !important;
    box-shadow: var(--glow-primary) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: pulse-glow 2.5s ease-in-out infinite !important;
    
    /* Center text alignment fix */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.1 !important;
    text-align: center !important;
}

#mint-button-container button:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--glow-mint) !important;
    filter: brightness(1.1) !important;
}

#mint-button-container button:active {
    transform: translateY(0) !important;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
