/* ========================================
   nfth.ing - Styles
   Street-style NFT aesthetic
   Monochrome + gradient-mesh accents
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pure-black: #0A0A0A;
    --pure-white: #FAFAFA;
    --mesh-violet: #8040E0;
    --mesh-teal: #40E0D0;
    --mesh-rose: #E04080;
    --token-silver: #808088;
    --noise-gray: #1A1A1E;
    --elastic-bezier: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--pure-black);
    color: var(--pure-white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- SVG Noise Overlay --- */
.noise-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.06;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 900;
    padding: 24px;
    opacity: 0;
    animation: fadeInNav 400ms ease forwards;
    animation-delay: 800ms;
}

@keyframes fadeInNav {
    to { opacity: 1; }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 910;
}

.nav-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pure-white);
    transition: transform 300ms var(--elastic-bezier), opacity 200ms ease;
}

.nav-toggle.active .nav-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 400ms var(--elastic-bezier);
}

.nav-menu.open {
    transform: translateX(0);
}

.nav-link {
    color: var(--pure-white);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.03em;
    opacity: 0.6;
    transition: opacity 200ms ease, transform 200ms var(--elastic-bezier);
}

.nav-link:hover {
    opacity: 1;
    transform: scaleX(1.02) scaleY(0.98);
}

/* --- Drop Section (Hero) --- */
.drop-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--pure-black);
}

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

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(48px, 12vw, 180px);
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--pure-white);
    animation: heroScale 600ms var(--elastic-bezier) forwards;
    cursor: default;
    transition: background 300ms ease;
}

.hero-title:hover {
    background: linear-gradient(135deg, var(--mesh-violet), var(--mesh-teal), var(--mesh-rose));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes heroScale {
    0% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.title-dot {
    color: var(--mesh-teal);
}

.hero-title:hover .title-dot {
    -webkit-text-fill-color: transparent;
}

.title-ing {
    opacity: 0.7;
}

.drop-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--token-silver);
    margin-top: 24px;
    opacity: 0;
    animation: fadeUp 500ms ease forwards;
    animation-delay: 700ms;
}

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

/* --- Holographic Gradient-Mesh Blobs --- */
.holo-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0;
    animation: blobFloat 800ms ease forwards;
    animation-delay: 800ms;
    will-change: transform;
}

.blob-1 {
    width: 200px;
    height: 200px;
    top: 15%;
    left: 10%;
    background: radial-gradient(circle, var(--mesh-violet) 0%, transparent 70%),
                conic-gradient(from 90deg, var(--mesh-teal), var(--mesh-violet), var(--mesh-rose), var(--mesh-teal));
    opacity: 0;
}

.blob-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 8%;
    background: radial-gradient(circle, var(--mesh-teal) 0%, transparent 70%),
                conic-gradient(from 180deg, var(--mesh-rose), var(--mesh-teal), var(--mesh-violet), var(--mesh-rose));
    animation-delay: 1000ms;
}

.blob-3 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    background: radial-gradient(circle, var(--mesh-rose) 0%, transparent 70%),
                conic-gradient(from 270deg, var(--mesh-violet), var(--mesh-rose), var(--mesh-teal), var(--mesh-violet));
    animation-delay: 1200ms;
}

.blob-4 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 25%;
    background: radial-gradient(circle, var(--mesh-violet) 0%, transparent 70%);
    animation-delay: 1100ms;
}

@keyframes blobFloat {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    to {
        opacity: 0.4;
        transform: scale(1) translateY(0);
    }
}

/* --- Abstract-Tech Token Symbols --- */
.token-symbol {
    position: absolute;
    opacity: 0.2;
    pointer-events: none;
    transition: transform 4s linear;
}

.token-hex-1 {
    width: 60px;
    height: 60px;
    top: 12%;
    right: 15%;
}

.token-tri-1 {
    width: 40px;
    height: 40px;
    bottom: 25%;
    right: 30%;
}

.token-dots-1 {
    width: 50px;
    height: 50px;
    top: 65%;
    left: 15%;
}

/* --- Collection Section --- */
.collection-section {
    position: relative;
    padding: 80px 0;
}

.collection-band {
    position: relative;
    width: 100%;
    padding: 64px 10%;
    opacity: 0.5;
    transition: opacity 300ms ease;
}

.collection-band.visible {
    opacity: 1;
}

.band-item {
    display: flex;
    align-items: center;
    gap: 8%;
    max-width: 1200px;
    margin: 0 auto;
}

.band-right .band-item {
    flex-direction: row;
}

.band-left .band-item {
    flex-direction: row;
}

.band-right .item-info {
    order: 1;
}

.band-right .item-visual {
    order: 2;
}

/* --- NFT Item Visual --- */
.item-visual {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nft-placeholder {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 250, 250, 0.08);
    transition: transform 200ms var(--elastic-bezier), border-color 300ms ease;
    cursor: pointer;
}

.nft-placeholder:hover {
    transform: scaleX(1.02) scaleY(0.98);
    border-color: rgba(250, 250, 250, 0.15);
}

.nft-placeholder:active {
    transform: scaleX(1.05) scaleY(0.95);
}

.nft-inner-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
}

.nft-1 .nft-inner-glow {
    background: radial-gradient(circle, rgba(128, 64, 224, 0.2) 0%, transparent 70%);
}

.nft-2 .nft-inner-glow {
    background: radial-gradient(circle, rgba(64, 224, 208, 0.2) 0%, transparent 70%);
}

.nft-3 .nft-inner-glow {
    background: radial-gradient(circle, rgba(224, 64, 128, 0.2) 0%, transparent 70%);
}

.nft-4 .nft-inner-glow {
    background: radial-gradient(circle, rgba(128, 64, 224, 0.15) 0%, transparent 70%);
}

.nft-5 .nft-inner-glow {
    background: radial-gradient(circle, rgba(64, 224, 208, 0.15) 0%, transparent 70%);
}

.nft-placeholder:hover .nft-inner-glow {
    opacity: 1;
}

.nft-geo {
    width: 65%;
    height: 65%;
    position: relative;
    z-index: 2;
}

/* --- Item Info --- */
.item-info {
    flex: 1;
}

.item-hash {
    font-family: 'Fira Code', monospace;
    font-weight: 400;
    font-size: 11px;
    color: var(--token-silver);
    opacity: 0.6;
    display: block;
    margin-bottom: 12px;
}

.item-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 3vw, 40px);
    letter-spacing: -0.03em;
    color: var(--pure-white);
    margin-bottom: 16px;
    line-height: 1.15;
}

.item-desc {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.7;
    color: var(--token-silver);
    max-width: 440px;
    margin-bottom: 20px;
}

.item-meta {
    display: flex;
    gap: 24px;
}

.meta-token,
.meta-edition {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--token-silver);
}

/* --- Band Blobs & Tokens (decorative) --- */
.band-blob {
    width: 120px;
    height: 120px;
    filter: blur(50px);
    animation: none;
    opacity: 0.3;
}

.band-blob-a {
    top: 20%;
    right: 5%;
    background: radial-gradient(circle, var(--mesh-violet) 0%, transparent 70%);
}

.band-blob-b {
    bottom: 10%;
    left: 3%;
    background: radial-gradient(circle, var(--mesh-teal) 0%, transparent 70%);
}

.band-blob-c {
    top: 30%;
    right: 8%;
    background: radial-gradient(circle, var(--mesh-rose) 0%, transparent 70%);
}

.band-blob-d {
    top: 15%;
    left: 5%;
    background: radial-gradient(circle, var(--mesh-violet) 0%, transparent 70%);
}

.band-blob-e {
    bottom: 15%;
    right: 10%;
    background: radial-gradient(circle, var(--mesh-teal) 0%, transparent 70%);
}

.band-token {
    width: 30px;
    height: 30px;
    opacity: 0.15;
}

.band-token-a {
    top: 60%;
    left: 3%;
}

.band-token-b {
    top: 20%;
    right: 6%;
}

.band-token-c {
    bottom: 20%;
    left: 5%;
}

.band-token-d {
    top: 40%;
    right: 3%;
}

.band-token-e {
    top: 10%;
    left: 8%;
}

/* --- About Section --- */
.about-section {
    position: relative;
    padding: 120px 10%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-blob-1 {
    width: 180px;
    height: 180px;
    top: 20%;
    right: 15%;
    background: radial-gradient(circle, var(--mesh-rose) 0%, transparent 70%),
                conic-gradient(from 45deg, var(--mesh-violet), var(--mesh-rose), var(--mesh-teal), var(--mesh-violet));
    animation: none;
    opacity: 0.3;
}

.about-blob-2 {
    width: 140px;
    height: 140px;
    bottom: 15%;
    left: 10%;
    background: radial-gradient(circle, var(--mesh-teal) 0%, transparent 70%);
    animation: none;
    opacity: 0.25;
}

.about-content {
    max-width: 640px;
    position: relative;
    z-index: 10;
}

.about-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 6vw, 72px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--pure-white);
    margin-bottom: 32px;
}

.about-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.7;
    color: var(--token-silver);
    margin-bottom: 20px;
}

.about-hash {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(250, 250, 250, 0.06);
}

.hash-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--token-silver);
    display: block;
    margin-bottom: 8px;
}

.hash-value {
    font-family: 'Fira Code', monospace;
    font-weight: 400;
    font-size: 11px;
    color: var(--token-silver);
    opacity: 0.6;
    word-break: break-all;
}

/* --- Footer --- */
.footer {
    padding: 40px 10%;
    border-top: 1px solid rgba(250, 250, 250, 0.04);
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.03em;
    color: var(--pure-white);
}

.footer-sep {
    color: var(--token-silver);
    opacity: 0.3;
}

.footer-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--token-silver);
    opacity: 0.5;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .band-item {
        flex-direction: column !important;
        gap: 32px;
    }

    .band-right .item-info {
        order: 2;
    }

    .band-right .item-visual {
        order: 1;
    }

    .item-visual {
        flex: none;
        width: 100%;
    }

    .nft-placeholder {
        width: 220px;
        height: 220px;
    }

    .collection-band {
        padding: 48px 6%;
    }

    .about-section {
        padding: 80px 6%;
    }

    .nav-menu {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(40px, 14vw, 120px);
    }
}

@media (max-width: 480px) {
    .nft-placeholder {
        width: 180px;
        height: 180px;
    }

    .collection-band {
        padding: 32px 5%;
    }
}
