/* index.css */

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

        :root {
            --bg-deep: #020408;
            --bg-card: rgba(255, 255, 255, 0.03);
            --border-subtle: rgba(255, 255, 255, 0.08);
            --text-primary: #f0f4ff;
            --text-muted: #6e7a94;
            --accent-core: #00d4ff;
            --glow-intensity: 0 0 40px;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-deep);
            color: var(--text-primary);
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* ─── STARFIELD BG ─── */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background:
                radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 100, 200, 0.12) 0%, transparent 70%),
                radial-gradient(ellipse 60% 30% at 80% 110%, rgba(120, 0, 220, 0.08) 0%, transparent 60%);
            pointer-events: none;
            z-index: 0;
        }


        /* ─── HEADER ─── */
        header {
            position: relative;
            z-index: 10;
            text-align: center;
            padding: 140px 24px 60px;
        }

        .header-badge {
            display: inline-block;
            font-family: 'Orbitron', monospace;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: var(--accent-core);
            border: 1px solid rgba(0, 212, 255, 0.3);
            padding: 6px 20px;
            border-radius: 100px;
            margin-bottom: 28px;
            background: rgba(0, 212, 255, 0.05);
            animation: pulse-badge 3s ease-in-out infinite;
        }

        @keyframes pulse-badge {

            0%,
            100% {
                box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
            }

            50% {
                box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.15);
            }
        }

        h1 {
            font-family: 'Orbitron', monospace;
            font-size: clamp(2.4rem, 6vw, 5rem);
            font-weight: 900;
            line-height: 1.1;
            letter-spacing: -1px;
            background: linear-gradient(135deg, #ffffff 0%, #a8d8ff 40%, #00d4ff 70%, #7b4fff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 20px;
        }

        .header-sub {
            font-size: 1.12rem;
            font-weight: 600;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto 40px;
            line-height: 1.7;
        }

        .header-stats {
            display: flex;
            justify-content: center;
            gap: 48px;
            flex-wrap: wrap;
        }

        .stat {
            text-align: center;
        }

        .stat-value {
            font-family: 'Orbitron', monospace;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--accent-core);
            display: block;
        }

        .stat-label {
            font-size: 11px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-top: 4px;
        }

        /* ─── DIVIDER ─── */
        .divider {
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), rgba(123, 79, 255, 0.3), transparent);
            margin: 0 0 80px;
        }

        /* ─── GRID ─── */
        .nft-grid {
            position: relative;
            z-index: 5;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: 28px;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px 100px;
        }

        /* ─── NFT CARD ─── */
        .nft-card {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            backdrop-filter: blur(12px);
            transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .nft-card:hover {
            transform: translateY(-10px) scale(1.02);
        }

        /* color-themed glow on hover */
        .nft-card[data-theme="red"]:hover {
            box-shadow: 0 24px 60px rgba(255, 40, 40, 0.35), 0 0 0 1px rgba(255, 100, 100, 0.3);
        }

        .nft-card[data-theme="blue"]:hover {
            box-shadow: 0 24px 60px rgba(0, 100, 255, 0.35), 0 0 0 1px rgba(0, 150, 255, 0.3);
        }

        .nft-card[data-theme="purple"]:hover {
            box-shadow: 0 24px 60px rgba(140, 0, 255, 0.35), 0 0 0 1px rgba(180, 80, 255, 0.3);
        }

        .nft-card[data-theme="green"]:hover {
            box-shadow: 0 24px 60px rgba(0, 255, 100, 0.35), 0 0 0 1px rgba(50, 255, 120, 0.3);
        }

        .nft-card[data-theme="orange"]:hover {
            box-shadow: 0 24px 60px rgba(255, 120, 0, 0.35), 0 0 0 1px rgba(255, 160, 40, 0.3);
        }

        .nft-card[data-theme="black"]:hover {
            box-shadow: 0 24px 60px rgba(80, 80, 100, 0.5), 0 0 0 1px rgba(180, 180, 200, 0.2);
        }

        .nft-card[data-theme="gold"]:hover {
            box-shadow: 0 24px 60px rgba(220, 170, 0, 0.40), 0 0 0 1px rgba(255, 210, 80, 0.35);
        }

        .nft-card[data-theme="pink"]:hover {
            box-shadow: 0 24px 60px rgba(255, 0, 180, 0.35), 0 0 0 1px rgba(255, 80, 220, 0.3);
        }

        .nft-card[data-theme="cyan"]:hover {
            box-shadow: 0 24px 60px rgba(0, 220, 255, 0.35), 0 0 0 1px rgba(100, 240, 255, 0.3);
        }

        /* image wrapper */
        .nft-img-wrap {
            position: relative;
            width: 100%;
            padding-top: 66.67%;
            /* 3:2 */
            overflow: hidden;
            flex-shrink: 0;
        }

        .nft-img-wrap img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            display: block;
        }

        .nft-card:hover .nft-img-wrap img {
            transform: scale(1.06);
        }

        /* edition ribbon */
        .edition-ribbon {
            position: absolute;
            top: 14px;
            left: 14px;
            font-family: 'Orbitron', monospace;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 2px;
            padding: 5px 12px;
            border-radius: 100px;
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: #fff;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
            z-index: 2;
        }



        /* card body */
        .nft-body {
            padding: 20px 22px 22px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .nft-number {
            font-family: 'Orbitron', monospace;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 6px;
        }

        .nft-name {
            font-family: 'Orbitron', monospace;
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 10px;
            letter-spacing: 0.5px;
        }

        .nft-desc {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 18px;
            flex: 1;
        }


        .nft-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 16px;
        }

        .nft-price-label {
            font-size: 10px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-bottom: 3px;
        }

        .nft-price {
            font-family: 'Orbitron', monospace;
            font-size: 1.1rem;
            font-weight: 700;
        }

        .nft-btn {
            font-family: 'Orbitron', monospace;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1.5px;
            padding: 10px 20px;
            border-radius: 10px;
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            transition: all 0.25s ease;
            color: #fff;
        }

        .nft-btn:hover {
            transform: scale(1.06);
            filter: brightness(1.2);
        }

        .nft-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            filter: grayscale(0.8);
            transform: none !important;
            box-shadow: none !important;
        }

        /* ─── Theme colors ─── */
        /* 1 Red */
        [data-theme="red"] .edition-ribbon {
            background: rgba(220, 30, 30, 0.7);
        }

        [data-theme="red"] .nft-number {
            color: #ff4444;
        }

        [data-theme="red"] .nft-price {
            color: #ff6666;
        }

        [data-theme="red"] .nft-btn {
            background: linear-gradient(135deg, #c0392b, #ff4444);
            box-shadow: 0 4px 20px rgba(255, 68, 68, 0.4);
        }

        /* 2 Blue */
        [data-theme="blue"] .edition-ribbon {
            background: rgba(0, 80, 220, 0.7);
        }

        [data-theme="blue"] .nft-number {
            color: #4488ff;
        }

        [data-theme="blue"] .nft-price {
            color: #66aaff;
        }

        [data-theme="blue"] .nft-btn {
            background: linear-gradient(135deg, #1a56db, #4488ff);
            box-shadow: 0 4px 20px rgba(68, 136, 255, 0.4);
        }

        /* 3 Purple */
        [data-theme="purple"] .edition-ribbon {
            background: rgba(110, 0, 200, 0.7);
        }

        [data-theme="purple"] .nft-number {
            color: #b44fff;
        }

        [data-theme="purple"] .nft-price {
            color: #cc88ff;
        }

        [data-theme="purple"] .nft-btn {
            background: linear-gradient(135deg, #6c17d4, #b44fff);
            box-shadow: 0 4px 20px rgba(180, 79, 255, 0.4);
        }

        /* 4 Green */
        [data-theme="green"] .edition-ribbon {
            background: rgba(0, 150, 50, 0.7);
        }

        [data-theme="green"] .nft-number {
            color: #00ff88;
        }

        [data-theme="green"] .nft-price {
            color: #44ffaa;
        }

        [data-theme="green"] .nft-btn {
            background: linear-gradient(135deg, #00a855, #00ff88);
            box-shadow: 0 4px 20px rgba(0, 255, 136, 0.35);
        }

        /* 5 Orange */
        [data-theme="orange"] .edition-ribbon {
            background: rgba(200, 80, 0, 0.7);
        }

        [data-theme="orange"] .nft-number {
            color: #ff8800;
        }

        [data-theme="orange"] .nft-price {
            color: #ffaa44;
        }

        [data-theme="orange"] .nft-btn {
            background: linear-gradient(135deg, #d4600a, #ff8800);
            box-shadow: 0 4px 20px rgba(255, 136, 0, 0.4);
        }

        /* 6 Black */
        [data-theme="black"] .edition-ribbon {
            background: rgba(30, 30, 40, 0.85);
            border-color: rgba(200, 200, 220, 0.2);
        }

        [data-theme="black"] .nft-number {
            color: #aab0c0;
        }

        [data-theme="black"] .nft-price {
            color: #d0d8e8;
        }

        [data-theme="black"] .nft-btn {
            background: linear-gradient(135deg, #1c1c28, #4a4a60);
            border: 1px solid rgba(200, 200, 220, 0.2);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
        }

        /* 7 Gold */
        [data-theme="gold"] .edition-ribbon {
            background: rgba(160, 120, 0, 0.7);
        }

        [data-theme="gold"] .nft-number {
            color: #ffd700;
        }

        [data-theme="gold"] .nft-price {
            color: #ffe566;
        }

        [data-theme="gold"] .nft-btn {
            background: linear-gradient(135deg, #b8860b, #ffd700);
            color: #1a1000;
            box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
        }

        /* 8 Pink */
        [data-theme="pink"] .edition-ribbon {
            background: rgba(200, 0, 140, 0.7);
        }

        [data-theme="pink"] .nft-number {
            color: #ff44cc;
        }

        [data-theme="pink"] .nft-price {
            color: #ff88ee;
        }

        [data-theme="pink"] .nft-btn {
            background: linear-gradient(135deg, #c0168a, #ff44cc);
            box-shadow: 0 4px 20px rgba(255, 68, 204, 0.4);
        }

        /* 9 Cyan */
        [data-theme="cyan"] .edition-ribbon {
            background: rgba(0, 160, 200, 0.7);
        }

        [data-theme="cyan"] .nft-number {
            color: #00e8ff;
        }

        [data-theme="cyan"] .nft-price {
            color: #66f0ff;
        }

        [data-theme="cyan"] .nft-btn {
            background: linear-gradient(135deg, #0099cc, #00e8ff);
            box-shadow: 0 4px 20px rgba(0, 232, 255, 0.4);
        }

        /* ─── FOOTER ─── */
        footer {
            position: relative;
            z-index: 5;
            text-align: center;
            padding: 40px 24px 60px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--text-muted);
            font-size: 13px;
        }

        footer span {
            color: var(--accent-core);
            font-family: 'Orbitron', monospace;
            font-weight: 700;
        }

        /* ─── REVEAL ANIMATION ─── */
        .nft-card {
            opacity: 0;
            transform: translateY(40px);
            animation: card-reveal 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
        }

        .nft-card:nth-child(1) {
            animation-delay: 0.05s;
        }

        .nft-card:nth-child(2) {
            animation-delay: 0.12s;
        }

        .nft-card:nth-child(3) {
            animation-delay: 0.19s;
        }

        .nft-card:nth-child(4) {
            animation-delay: 0.26s;
        }

        .nft-card:nth-child(5) {
            animation-delay: 0.33s;
        }

        .nft-card:nth-child(6) {
            animation-delay: 0.40s;
        }

        .nft-card:nth-child(7) {
            animation-delay: 0.47s;
        }

        .nft-card:nth-child(8) {
            animation-delay: 0.54s;
        }

        .nft-card:nth-child(9) {
            animation-delay: 0.61s;
        }

        @keyframes card-reveal {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ─── RESPONSIVE ─── */
        @media (max-width: 600px) {
            .header-stats {
                gap: 24px;
            }

            .nft-grid {
                grid-template-columns: 1fr;
                padding: 0 16px 80px;
                gap: 20px;
            }
        }