/* =========================================
   X-NFT — Global Styles
   ========================================= */

:root {
    --primary: #5C27FE;
    --primary-color: var(--primary);
    --primary-light: #7543ff;
    --primary-text: #a78bff;          /* readable purple for text on dark bg */
    --accent: #DEC7FF;
    --bg: #0c1035;
    --bg-deep: #080b26;
    --surface: linear-gradient(145deg, #1a1f4d, #0f1333);
    --surface-solid: #151a45;
    --text: #ffffff;
    --muted: #b4b7d0;
    --border: rgba(92, 39, 254, 0.25);
    --border-strong: rgba(92, 39, 254, 0.5);
    --glow: 0 10px 30px rgba(92, 39, 254, 0.3);
    --btn-gradient: linear-gradient(264.28deg, #DEC7FF -38.2%, #5C27FE 103.12%);
    --success: #2ecc71;
    --warning: #ffc107;
    --danger: #ff5c7a;
    --radius: 20px;
    --header-h: 84px;
    --font-display: "Audiowide", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    background-image:
        radial-gradient(circle at 10% 0%, rgba(92, 39, 254, 0.18), transparent 40%),
        radial-gradient(circle at 90% 30%, rgba(222, 199, 255, 0.08), transparent 35%);
    background-attachment: fixed;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

ul,
li {
    list-style-type: none;
}

p {
    margin-bottom: 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-text);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

::selection {
    background: var(--primary);
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 0;
}

h2,
.h2 {
    font-size: clamp(32px, 5vw, 60px);
}

.heading {
    font-size: clamp(32px, 5vw, 58px);
    letter-spacing: 0.5px;
}

.text-gradient {
    background: linear-gradient(90deg, #fff 0%, var(--accent) 40%, #8f6bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nowrap {
    white-space: nowrap;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    margin-bottom: 18px;
    border: 1px solid var(--border-strong);
    border-radius: 30px;
    background: rgba(92, 39, 254, 0.12);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.section-head {
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.2vw, 36px);
    color: #fff;
    margin-bottom: 18px;
}

.section-desc {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.section-head .section-desc {
    margin-bottom: 0;
}

.page-hero {
    padding: 70px 0 30px;
}

.about-hero .desc,
.contact-hero .desc,
.roadmap-hero .desc,
.explore-section .desc {
    color: var(--muted);
    font-size: 18px;
    max-width: 620px;
    margin: 0 auto;
}

.microcopy {
    color: var(--muted);
    font-size: 14px;
}

/* =========================================
   Buttons
   ========================================= */
.action-btn {
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    background: none;
    padding: 0;
    transition: transform 0.3s ease;
}

.action-btn span {
    display: inline-block;
    background: var(--btn-gradient);
    padding: 16px 44px;
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 15px;
    white-space: nowrap;
    transition: box-shadow 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.action-btn:hover span {
    box-shadow: 0 8px 24px rgba(92, 39, 254, 0.55);
}

.action-btn.action-btn--ghost span {
    background: transparent;
    border: 2px solid var(--border-strong);
    padding: 14px 40px;
}

.action-btn.action-btn--ghost:hover span {
    border-color: var(--primary);
    background: rgba(92, 39, 254, 0.15);
}

/* =========================================
   Header
   ========================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.is-scrolled {
    background: rgba(12, 16, 53, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: rgba(92, 39, 254, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.header > .container {
    width: 100%;
}

.header__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header__logo {
    white-space: nowrap;
}

.header__logo .heart {
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav .menu {
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 0;
    padding: 0;
}

.main-nav .menu a {
    position: relative;
    font-family: var(--font-display);
    font-size: 15px;
    padding: 6px 0;
}

.main-nav .menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--btn-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-nav .menu a:hover::after,
.main-nav .menu a.active::after {
    transform: scaleX(1);
}

a.active {
    color: var(--primary-text) !important;
}

.main-nav__cta {
    display: none;
}

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

.header__action .action-btn span {
    padding: 12px 30px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: rgba(92, 39, 254, 0.12);
    cursor: pointer;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
}

/* =========================================
   Home — Banner
   ========================================= */
.banner {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: 40px 0 80px;
}

.banner__left {
    padding: 40px 0;
}

.block-text .heading {
    margin-bottom: 24px;
}

.block-text .desc {
    color: var(--muted);
    margin-bottom: 34px;
    font-size: 17px;
    line-height: 1.7;
    max-width: 560px;
}

.banner__ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.banner__ctas .microcopy {
    width: 100%;
    margin-top: 6px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    padding: 0;
}

.hero-points li {
    flex: 1 1 140px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.hero-points li span {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 24px;
    color: #fff;
    letter-spacing: 0;
}

.banner__right {
    padding: 40px 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner__art {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1.3;
    position: relative;
    border-radius: 130px;
}

.banner__art::before,
.banner__art::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 130px;
    border: 1px solid rgba(222, 199, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.banner__art::before {
    transform: rotate(-14deg);
}

.banner__art::after {
    transform: rotate(-6deg);
    background: rgba(92, 39, 254, 0.12);
}

.banner__img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 130px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 80px rgba(92, 39, 254, 0.25);
}

.hero-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    color: var(--bg);
}

.hero-chip p {
    color: #5a5f80;
    font-size: 13px;
}

.hero-chip h5 {
    color: var(--bg);
    font-size: 18px;
}

.hero-chip--bid {
    top: 16%;
    right: 0;
    animation: float 6s ease-in-out infinite;
}

.hero-chip--owner {
    bottom: 16%;
    left: 0;
    animation: float 6s ease-in-out 1.5s infinite;
}

.hero-chip__icon {
    width: 46px;
    height: 46px;
    filter: drop-shadow(0 10px 14px rgba(164, 128, 255, 0.5));
}

.hero-chip__avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
}

.hero-chip__timer {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

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

/* =========================================
   Home — Sections
   ========================================= */
.home-section {
    padding: 100px 0;
}

.home-section--alt {
    background: linear-gradient(180deg, rgba(26, 31, 77, 0.6), rgba(15, 19, 51, 0.6));
    border-top: 1px solid rgba(92, 39, 254, 0.12);
    border-bottom: 1px solid rgba(92, 39, 254, 0.12);
}

.section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: none;
    text-align: left;
}

.scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.link-arrow {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--primary-text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-arrow::after {
    content: "→";
    transition: transform 0.3s ease;
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

.step-card {
    position: relative;
    height: 100%;
    padding: 34px 26px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.step-card__num {
    position: absolute;
    top: 22px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 40px;
    color: rgba(255, 255, 255, 0.06);
}

.step-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: rgba(92, 39, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.step-card h5 {
    font-size: 19px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--muted);
    font-size: 15px;
}

/* =========================================
   Explore / NFT Cards
   ========================================= */
.explore-section {
    padding: 70px 0 100px;
    min-height: 100vh;
}

.explore-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.search-field {
    position: relative;
    width: 100%;
    max-width: 460px;
}

.search-field svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.search-field input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border-radius: 30px;
    border: 2px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(92, 39, 254, 0.25);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
}

.filter-btn {
    padding: 10px 26px;
    background: transparent;
    border: 2px solid var(--border-strong);
    color: #fff;
    border-radius: 30px;
    font-family: var(--font-display);
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.results-count {
    color: var(--muted);
    font-size: 14px;
}

.empty-state {
    display: none;
    padding: 60px 20px;
    text-align: center;
    color: var(--muted);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
}

.empty-state.is-visible {
    display: block;
}

.empty-state h5 {
    margin-bottom: 10px;
}

.nft-col.is-hidden {
    display: none;
}

.nft-card {
    --card-gradient: linear-gradient(145deg, #1a1f4d, #0f1333);
    --image-opacity: 1;
    --image-blend: normal;
    --image-filter: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--card-gradient);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-cosmic {
    --card-gradient: linear-gradient(145deg, #1f1b4d, #3a1f7a);
    --image-opacity: 0.85;
    --image-blend: screen;
    --image-filter: saturate(1.1);
}

.theme-harmony {
    --card-gradient: linear-gradient(145deg, #2b1b52, #4c2360);
    --image-opacity: 0.9;
    --image-blend: lighten;
    --image-filter: hue-rotate(12deg) saturate(1.2);
}

.theme-wave {
    --card-gradient: linear-gradient(145deg, #0f2f49, #1d5665);
    --image-opacity: 0.8;
    --image-blend: screen;
    --image-filter: hue-rotate(190deg) saturate(1.3);
}

.theme-neon {
    --card-gradient: linear-gradient(145deg, #281642, #471b70);
    --image-opacity: 0.95;
    --image-blend: lighten;
    --image-filter: saturate(1.4);
}

.theme-pixel {
    --card-gradient: linear-gradient(145deg, #1a1a1a, #2e2137);
    --image-opacity: 0.88;
    --image-blend: normal;
    --image-filter: contrast(1.1) saturate(1.2);
}

.theme-cyber {
    --card-gradient: linear-gradient(145deg, #00283a, #014f5f);
    --image-opacity: 0.85;
    --image-blend: screen;
    --image-filter: hue-rotate(150deg) saturate(1.4);
}

.theme-galaxy {
    --card-gradient: linear-gradient(145deg, #120f2a, #2a1b55);
    --image-opacity: 0.82;
    --image-blend: screen;
    --image-filter: saturate(1.3);
}

.theme-future {
    --card-gradient: linear-gradient(145deg, #361344, #711a4f);
    --image-opacity: 0.9;
    --image-blend: lighten;
    --image-filter: hue-rotate(-20deg) saturate(1.25);
}

.nft-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.nft-card__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: var(--card-gradient);
}

.nft-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: var(--image-opacity);
    mix-blend-mode: var(--image-blend);
    filter: var(--image-filter);
}

.nft-card:hover .nft-card__image img {
    transform: scale(1.08);
}

.nft-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(8, 11, 38, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.like-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    border-radius: 20px;
    background: rgba(8, 11, 38, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.like-btn svg {
    transition: transform 0.3s ease, fill 0.3s ease;
}

.like-btn:hover {
    background: rgba(92, 39, 254, 0.7);
}

.like-btn[aria-pressed="true"] svg {
    fill: var(--danger);
    stroke: var(--danger);
    transform: scale(1.15);
}

.nft-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.nft-card__content h5 {
    font-size: 17px;
    margin-bottom: 10px;
}

.nft-card__desc {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.nft-card__creator {
    gap: 10px;
}

.creator-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.creator-name {
    font-size: 14px;
    color: var(--muted);
}

.nft-card__content .nft-card__creator {
    margin-bottom: 16px;
}

/* pin footer to card bottom so prices align across a row (overrides .mt-3) */
.nft-card__footer {
    margin-top: auto !important;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.price-value {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--accent);
    margin: 0;
}

.nft-edition {
    display: block;
    font-size: 12px;
    color: var(--primary-text);
    margin-top: 4px;
}

.bid-btn {
    padding: 9px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.bid-btn:hover {
    background: var(--primary-light);
    transform: scale(1.05);
    color: #fff;
}

/* =========================================
   About
   ========================================= */
.about-story {
    padding: 80px 0;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(92, 39, 254, 0.3);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-content {
    padding: 0 30px;
}

.about-list {
    margin: 24px 0 0;
    padding: 0;
    color: #d6d8ea;
}

.about-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(92, 39, 254, 0.3);
    color: var(--accent);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-vision {
    padding: 80px 0;
    background: var(--surface);
}

.mission-card {
    background: rgba(92, 39, 254, 0.1);
    border: 2px solid rgba(92, 39, 254, 0.3);
    border-radius: var(--radius);
    padding: 40px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(92, 39, 254, 0.4);
}

.mission-card .icon-wrapper {
    margin-bottom: 25px;
}

.mission-card h4 {
    font-size: 28px;
    margin-bottom: 20px;
}

.mission-card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.core-values {
    padding: 80px 0;
}

.value-card {
    text-align: center;
    padding: 34px 22px;
    background: var(--surface);
    border-radius: var(--radius);
    height: 100%;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.value-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.value-card h5 {
    font-size: 20px;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.stats-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary), #7543ff 60%, #9b6bff);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15), transparent 40%);
    pointer-events: none;
}

.stat-card {
    padding: 24px 16px;
    position: relative;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    color: #fff;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-section {
    padding: 80px 0;
}

.team-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.team-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-info {
    padding: 24px 20px;
}

.team-info h5 {
    font-size: 19px;
    margin-bottom: 8px;
}

.team-role {
    color: var(--primary-text);
    font-size: 14px;
    margin-bottom: 15px;
}

.team-social a {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 13px;
}

.team-social a:hover {
    color: var(--accent);
}

/* =========================================
   CTA
   ========================================= */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: 70px 30px;
    border-radius: 30px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    text-align: center;
}

.cta-box::before,
.cta-box::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
}

.cta-box::before {
    background: var(--primary);
    top: -160px;
    left: -100px;
}

.cta-box::after {
    background: #b06bff;
    bottom: -180px;
    right: -100px;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 42px);
    color: #fff;
    margin-bottom: 18px;
}

.cta-desc {
    color: var(--muted);
    font-size: 18px;
    max-width: 560px;
    margin: 0 auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 34px;
}

/* =========================================
   RoadMap
   ========================================= */
.roadmap-timeline {
    padding: 80px 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--success), var(--primary) 45%, rgba(92, 39, 254, 0.2));
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(92, 39, 254, 0.2), 0 0 0 16px rgba(92, 39, 254, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
}

.timeline-item.completed .timeline-icon {
    background: var(--success);
    box-shadow: 0 0 0 8px rgba(46, 204, 113, 0.18), 0 0 0 16px rgba(46, 204, 113, 0.08);
}

.timeline-item.in-progress .timeline-icon {
    background: var(--warning);
    animation: pulse 2s infinite;
}

.timeline-item.upcoming .timeline-icon {
    background: #3a2a8a;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(255, 193, 7, 0.2), 0 0 0 16px rgba(255, 193, 7, 0.1);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(255, 193, 7, 0.3), 0 0 0 24px rgba(255, 193, 7, 0.15);
    }
}

.timeline-content {
    width: calc(50% - 60px);
    padding: 30px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 2px solid rgba(92, 39, 254, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item.in-progress .timeline-content {
    border-color: rgba(255, 193, 7, 0.5);
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.timeline-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--success);
    color: #062814;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.in-progress-badge {
    background: var(--warning);
    color: #000;
}

.upcoming-badge {
    background: rgba(92, 39, 254, 0.6);
    color: #fff;
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.timeline-date {
    color: var(--primary-text);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-list {
    padding: 0;
    margin: 0;
}

.timeline-list li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    padding-left: 25px;
    position: relative;
}

.timeline-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.timeline-item.in-progress .timeline-list li::before {
    content: "▸";
    color: var(--warning);
}

.timeline-item.upcoming .timeline-list li::before {
    content: "○";
    color: var(--primary-text);
}

.roadmap-stats {
    padding: 80px 0;
    background: var(--surface);
}

.progress-card {
    background: rgba(92, 39, 254, 0.1);
    border: 2px solid rgba(92, 39, 254, 0.3);
    border-radius: var(--radius);
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.progress-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progress-header h5 {
    font-size: 17px;
}

.progress-percentage {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--accent);
}

.progress-bar-custom {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #b38bff);
    border-radius: 10px;
    transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* =========================================
   Contact & Join Forms
   ========================================= */
.contact-content {
    padding: 60px 0 80px;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 40px;
    border: 2px solid rgba(92, 39, 254, 0.3);
    height: 100%;
}

.form-title,
.info-title {
    font-family: var(--font-display);
    font-size: 26px;
    color: #fff;
    margin-bottom: 28px;
}

.info-title {
    margin-bottom: 12px;
}

.form-group {
    margin-bottom: 4px;
}

.form-group label {
    display: block;
    color: #d6d8ea;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(92, 39, 254, 0.25);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    color: #fff;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(92, 39, 254, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23DEC7FF' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
}

select.form-control option {
    background: var(--surface-solid);
    color: #fff;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-control.has-error {
    border-color: var(--danger);
}

.field-error {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: var(--danger);
    font-size: 13px;
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 70px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 10px;
    border: none;
    border-radius: 8px;
    background: rgba(92, 39, 254, 0.25);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.password-strength {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.password-strength span {
    flex: 1;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.password-strength[data-level="1"] span:nth-child(-n+1) { background: var(--danger); }
.password-strength[data-level="2"] span:nth-child(-n+2) { background: var(--warning); }
.password-strength[data-level="3"] span:nth-child(-n+3) { background: #8bd450; }
.password-strength[data-level="4"] span:nth-child(-n+4) { background: var(--success); }

.form-check-label {
    color: var(--muted);
    font-size: 14px;
}

.form-check-label a,
.form-link {
    color: var(--accent);
    font-family: var(--font-body);
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(92, 39, 254, 0.4);
    width: 1.2em;
    height: 1.2em;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(92, 39, 254, 0.25);
    border-color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 17px 40px;
    background: var(--btn-gradient);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(92, 39, 254, 0.5);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: progress;
    transform: none;
}

.submit-btn .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.join-perks {
    display: grid;
    gap: 14px;
    margin: 0 0 30px;
    padding: 0;
}

.join-perks li {
    display: flex;
    gap: 12px;
    color: var(--muted);
    font-size: 15px;
}

.join-perks li::before {
    content: "✓";
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(92, 39, 254, 0.3);
    color: var(--accent);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.wallet-btn {
    padding: 12px;
    border-radius: 10px;
    border: 2px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.wallet-btn:hover {
    border-color: var(--primary);
    background: rgba(92, 39, 254, 0.15);
}

.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.info-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 34px;
}

.contact-details {
    margin-bottom: 34px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
    padding: 20px;
    background: rgba(92, 39, 254, 0.06);
    border-radius: 15px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-item:hover {
    background: rgba(92, 39, 254, 0.12);
    transform: translateX(5px);
}

.contact-icon {
    min-width: 50px;
    width: 50px;
    height: 50px;
    background: rgba(92, 39, 254, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text h5 {
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-text p,
.contact-text a {
    display: block;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.5;
}

.contact-text a:hover {
    color: var(--accent);
}

.social-links h5 {
    font-size: 17px;
    margin-bottom: 18px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(92, 39, 254, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(92, 39, 254, 0.4);
    color: #fff;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--surface);
}

.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: rgba(92, 39, 254, 0.3);
}

.accordion-item {
    background: rgba(92, 39, 254, 0.05);
    border: 2px solid rgba(92, 39, 254, 0.3);
    border-radius: 15px !important;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-button {
    background: transparent;
    color: #fff;
    font-family: var(--font-display);
    font-size: 16px;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: rgba(92, 39, 254, 0.2);
    color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -4px;
}

.accordion-button::after {
    flex-shrink: 0;
    margin-left: 16px;
    background-image: none;
    content: "+";
    font-size: 24px;
    line-height: 1;
    color: var(--accent);
    width: auto;
    height: auto;
}

.accordion-button:not(.collapsed)::after {
    content: "−";
    transform: none;
}

.accordion-body {
    background: rgba(0, 0, 0, 0.2);
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    padding: 22px 25px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 80px 0 30px;
    background: var(--bg-deep);
    border-top: 1px solid rgba(92, 39, 254, 0.2);
}

.footer__brand .heart {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer__brand p {
    color: var(--muted);
    font-size: 15px;
    max-width: 320px;
    margin-bottom: 24px;
}

.footer__title {
    font-size: 15px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer__links {
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 15px;
}

.footer__links a:hover {
    color: #fff;
}

.newsletter {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border);
    transition: border-color 0.3s ease;
}

.newsletter:focus-within {
    border-color: var(--primary);
}

.newsletter input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 15px;
}

.newsletter input:focus {
    outline: none;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: var(--btn-gradient);
    color: #fff;
    font-family: var(--font-display);
    font-size: 13px;
    cursor: pointer;
}

.footer__note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 60px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 14px;
}

.footer__bottom nav {
    display: flex;
    gap: 22px;
}

.footer__bottom a {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 14px;
}

.footer__bottom a:hover {
    color: #fff;
}

/* =========================================
   Toast, Back to Top, Reveal
   ========================================= */
.toast-msg {
    position: fixed;
    left: 50%;
    bottom: 30px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 32px);
    padding: 14px 22px;
    border-radius: 14px;
    background: rgba(21, 26, 69, 0.96);
    border: 1px solid var(--border-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.toast-msg.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.toast-msg::before {
    content: "✓";
    flex: 0 0 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--success);
    color: #062814;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-msg.is-info::before {
    content: "i";
    background: var(--primary);
    color: #fff;
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.3s ease, color 0.3s ease;
    z-index: 9999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 6px 20px rgba(92, 39, 254, 0.4);
    transform: translateY(-5px);
}

.reveal {
    opacity: 0;
    translate: 0 30px;
    transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    translate: 0 0;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1199.98px) {
    .main-nav .menu {
        gap: 26px;
    }

    .about-content {
        padding: 0 15px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-h: 72px;
    }

    .header {
        background: rgba(12, 16, 53, 0.9);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .nav-toggle {
        display: block;
    }

    .header__action .action-btn {
        display: none;
    }

    /* 16px+ stops iOS Safari from zooming in when a field is focused */
    .form-control,
    .search-field input,
    .newsletter input {
        font-size: 16px;
    }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        padding: 30px 24px 40px;
        background: rgba(8, 11, 38, 0.98);
        display: flex;
        flex-direction: column;
        gap: 30px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav .menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav .menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav .menu a {
        display: block;
        padding: 18px 4px;
        font-size: 20px;
    }

    .main-nav .menu a::after {
        display: none;
    }

    .main-nav__cta {
        display: block;
    }

    .main-nav__cta span {
        display: block;
        text-align: center;
    }

    .banner {
        min-height: auto;
        padding: 30px 0 60px;
    }

    .banner__left {
        text-align: center;
    }

    .block-text .desc {
        margin-left: auto;
        margin-right: auto;
    }

    .banner__ctas {
        justify-content: center;
    }

    .banner__art {
        max-width: 360px;
    }

    .home-section,
    .cta-section {
        padding: 70px 0;
    }

    .about-story,
    .mission-vision,
    .core-values,
    .team-section,
    .roadmap-timeline,
    .roadmap-stats,
    .faq-section {
        padding: 60px 0;
    }

    .about-image img {
        height: 400px;
    }

    .about-content {
        margin-top: 10px;
    }

    .mission-card,
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px;
    }

    .nft-card__image {
        height: 220px;
    }
}

/* ---------- Phones & small tablets ---------- */
@media (max-width: 767.98px) {
    :root {
        --header-h: 64px;
        --radius: 16px;
        --gutter: 16px;
    }

    .container {
        padding-left: var(--gutter);
        padding-right: var(--gutter);
    }

    /* Bootstrap's large gutters push rows past the 16px side padding */
    .row {
        --bs-gutter-x: 1rem;
    }

    .header__logo .heart {
        font-size: 24px;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
    }

    .nav-toggle span {
        left: 11px;
    }

    .nav-toggle span:nth-child(1) { top: 15px; }
    .nav-toggle span:nth-child(2) { top: 21px; }
    .nav-toggle span:nth-child(3) { top: 27px; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1),
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; }

    .main-nav {
        padding: 12px 16px calc(28px + env(safe-area-inset-bottom));
        gap: 24px;
    }

    .main-nav .menu a {
        padding: 16px 4px;
        font-size: 19px;
    }

    .main-nav.is-open .menu li {
        animation: menuItemIn 0.4s ease both;
    }

    .main-nav.is-open .menu li:nth-child(2) { animation-delay: 0.04s; }
    .main-nav.is-open .menu li:nth-child(3) { animation-delay: 0.08s; }
    .main-nav.is-open .menu li:nth-child(4) { animation-delay: 0.12s; }
    .main-nav.is-open .menu li:nth-child(5) { animation-delay: 0.16s; }

    /* Typography */
    .heading {
        font-size: clamp(28px, 8.4vw, 38px);
    }

    .section-title {
        font-size: clamp(22px, 6.4vw, 28px);
        margin-bottom: 12px;
    }

    .section-desc {
        font-size: 15px;
        line-height: 1.7;
    }

    .section-head {
        margin-bottom: 28px;
    }

    .eyebrow {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .page-hero {
        padding: 36px 0 8px;
    }

    .about-hero .desc,
    .contact-hero .desc,
    .roadmap-hero .desc,
    .explore-section .desc {
        font-size: 15px;
    }

    .action-btn span {
        padding: 14px 28px;
        font-size: 14px;
    }

    .action-btn.action-btn--ghost span {
        padding: 12px 26px;
    }

    /* Section rhythm */
    .home-section,
    .cta-section,
    .about-story,
    .mission-vision,
    .core-values,
    .team-section,
    .roadmap-timeline,
    .roadmap-stats,
    .faq-section {
        padding: 52px 0;
    }

    .contact-content {
        padding: 28px 0 52px;
    }

    .explore-section {
        padding: 36px 0 52px;
    }

    /* ----- Home hero ----- */
    .banner {
        padding: 16px 0 44px;
    }

    .banner .row {
        --bs-gutter-y: 0;
    }

    .banner__left {
        padding: 16px 0 8px;
    }

    .block-text .heading {
        margin-bottom: 16px;
    }

    .block-text .desc {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .banner__ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .banner__ctas .action-btn span {
        display: block;
        text-align: center;
    }

    .banner__ctas .microcopy {
        margin-top: 0;
        text-align: center;
    }

    .hero-points {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 24px;
    }

    .hero-points li {
        padding: 12px 6px;
        font-size: 10px;
        letter-spacing: 0.5px;
        text-align: center;
    }

    .hero-points li span {
        font-size: 18px;
    }

    .banner__right {
        padding: 28px 16px 8px;
    }

    .banner__art {
        max-width: 270px;
        border-radius: 100px;
    }

    .banner__art::before,
    .banner__art::after,
    .banner__img {
        border-radius: 100px;
    }

    .hero-chip {
        padding: 9px 12px;
        gap: 10px;
        border-radius: 16px;
    }

    .hero-chip h5 {
        font-size: 14px;
    }

    .hero-chip p {
        font-size: 11px;
    }

    .hero-chip__timer {
        font-size: 11px;
    }

    .hero-chip--bid {
        top: 10%;
        right: 0;
    }

    .hero-chip--owner {
        bottom: 8%;
        left: 0;
    }

    .hero-chip__icon {
        width: 32px;
        height: 32px;
    }

    .hero-chip__avatar {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    /* ----- Horizontal swipe rows (trending drops) ----- */
    .scroll-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        /* columns carry 8px of gutter padding, so offset by that to line cards up with the page edge */
        scroll-padding-left: calc(var(--gutter) - 8px);
        margin-left: calc(-1 * var(--gutter));
        margin-right: calc(-1 * var(--gutter));
        padding: 4px calc(var(--gutter) - 8px) 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .scroll-row::-webkit-scrollbar {
        display: none;
    }

    .scroll-row > [class*="col-"] {
        flex: 0 0 78%;
        max-width: 300px;
        scroll-snap-align: start;
    }

    .scroll-hint {
        display: flex;
    }

    .section-head--split {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .section-head--split .section-desc {
        margin-bottom: 0;
    }

    /* ----- Compact icon rows: steps & values ----- */
    .step-card,
    .value-card {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 16px;
        align-items: start;
        padding: 20px 18px;
        text-align: left;
    }

    .step-card__icon,
    .value-icon {
        grid-row: span 2;
        width: 48px;
        height: 48px;
        margin: 0;
        border-radius: 14px;
        background: rgba(92, 39, 254, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .value-icon svg {
        width: 26px;
        height: 26px;
    }

    .step-card h5,
    .value-card h5 {
        font-size: 16px;
        margin: 2px 0 6px;
    }

    .step-card p,
    .value-card p {
        font-size: 14px;
        line-height: 1.55;
    }

    .step-card__num {
        top: 16px;
        right: 16px;
        font-size: 24px;
    }

    .row.g-4:has(> [class*="col-"] > .step-card),
    .row.g-4:has(> [class*="col-"] > .value-card) {
        --bs-gutter-y: 12px;
    }

    /* ----- Stats band ----- */
    .stats-section {
        padding: 28px 0;
    }

    .stats-section .row {
        --bs-gutter-y: 0;
    }

    .stat-card {
        padding: 14px 6px;
    }

    .stat-number {
        font-size: 30px;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* ----- CTA ----- */
    .cta-box {
        padding: 40px 20px;
        border-radius: 22px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-desc {
        font-size: 15px;
    }

    .cta-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 26px;
    }

    .cta-actions .action-btn span {
        display: block;
        text-align: center;
    }

    /* ----- Explore ----- */
    .explore-toolbar {
        gap: 14px;
        margin-bottom: 28px !important;
    }

    .search-field input {
        padding: 13px 18px 13px 46px;
    }

    .filter-bar {
        width: calc(100% + 2 * var(--gutter));
        gap: 8px;
        margin: 0 calc(-1 * var(--gutter));
        padding: 2px var(--gutter) 6px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent);
        mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent);
    }

    .filter-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 8px 18px;
        font-size: 13px;
        scroll-snap-align: start;
    }

    .filter-btn:hover,
    .filter-btn.active {
        transform: none;
    }

    .nft-card__image {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .nft-card__content {
        padding: 16px;
    }

    .nft-card__content h5 {
        font-size: 16px;
    }

    .like-btn {
        min-height: 36px;
        padding: 6px 12px;
    }

    .bid-btn {
        min-height: 40px;
        padding: 10px 18px;
    }

    /* ----- About ----- */
    .about-image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .about-content {
        padding: 0;
    }

    .mission-card {
        padding: 24px 20px;
    }

    .mission-card .icon-wrapper {
        margin-bottom: 14px;
    }

    .mission-card .icon-wrapper svg {
        width: 40px;
        height: 40px;
    }

    .mission-card h4 {
        font-size: 21px;
        margin-bottom: 10px;
    }

    .mission-card p {
        font-size: 15px;
    }

    .team-section .row {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }

    .team-image {
        height: auto;
        aspect-ratio: 1;
    }

    .team-info {
        padding: 14px 10px 16px;
    }

    .team-info h5 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .team-role {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .team-social a {
        display: inline-block;
        padding: 4px 2px;
        font-size: 12px;
    }

    /* ----- Roadmap timeline: single column ----- */
    .roadmap-timeline {
        padding-top: 32px;
    }

    .timeline::before {
        left: 21px;
        width: 3px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-item {
        margin-bottom: 20px;
        align-items: flex-start;
    }

    .timeline-marker {
        left: 22px;
        top: 20px;
    }

    .timeline-icon {
        width: 42px;
        height: 42px;
    }

    .timeline-icon svg {
        width: 20px;
        height: 20px;
    }

    .timeline-item.completed .timeline-icon,
    .timeline-item.upcoming .timeline-icon,
    .timeline-icon {
        box-shadow: 0 0 0 5px rgba(12, 16, 53, 1);
    }

    .timeline-content {
        width: calc(100% - 58px);
        margin-left: 58px !important;
        padding: 20px 18px;
    }

    .timeline-content:hover {
        transform: none;
    }

    .timeline-badge {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .timeline-content h3 {
        font-size: 18px;
    }

    .timeline-date {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .timeline-list li {
        font-size: 14px;
        line-height: 1.55;
        padding: 4px 0 4px 22px;
    }

    .timeline-list li::before {
        top: 4px;
    }

    .roadmap-stats .row {
        --bs-gutter-y: 12px;
    }

    .progress-card {
        padding: 20px;
    }

    .progress-header {
        margin-bottom: 14px;
    }

    .progress-header h5 {
        font-size: 15px;
    }

    .progress-percentage {
        font-size: 18px;
    }

    /* ----- Forms (contact & join) ----- */
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 24px 18px;
    }

    .form-title,
    .info-title {
        font-size: 21px;
        margin-bottom: 20px;
    }

    .info-title {
        margin-bottom: 8px;
    }

    .info-desc {
        margin-bottom: 22px;
    }

    .contact-form .row {
        --bs-gutter-y: 0.6rem;
    }

    .form-control {
        padding: 13px 16px;
    }

    .field-error {
        min-height: 0;
        margin-top: 4px;
    }

    .field-error:empty {
        display: none;
    }

    .password-toggle {
        min-height: 36px;
        padding: 8px 12px;
    }

    .form-check {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px;
        padding-left: 0;
    }

    .form-check .form-check-input {
        flex: 0 0 auto;
        float: none;
        width: 22px;
        height: 22px;
        margin: 0;
    }

    .form-check .form-check-label {
        flex: 1;
        line-height: 1.5;
    }

    .form-check .field-error {
        flex-basis: 100%;
    }

    .submit-btn {
        padding: 16px 24px;
        font-size: 15px;
    }

    .join-perks {
        gap: 12px;
        margin-bottom: 22px;
    }

    .join-perks li {
        font-size: 14px;
    }

    .wallet-btn {
        min-height: 48px;
    }

    .divider {
        margin: 20px 0;
    }

    .contact-item {
        gap: 14px;
        margin-bottom: 10px;
        padding: 14px;
    }

    .contact-item:hover {
        transform: none;
    }

    .contact-icon {
        min-width: 44px;
        width: 44px;
        height: 44px;
    }

    .contact-text h5 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .contact-text a {
        padding: 3px 0;
    }

    .contact-details {
        margin-bottom: 24px;
    }

    /* ----- FAQ ----- */
    .accordion-item {
        margin-bottom: 10px;
        border-radius: 12px !important;
    }

    .accordion-button {
        font-size: 14px;
        line-height: 1.45;
        padding: 16px 18px;
    }

    .accordion-body {
        font-size: 14px;
        padding: 16px 18px;
    }

    /* ----- Footer ----- */
    .footer {
        padding: 48px 0 calc(24px + env(safe-area-inset-bottom));
    }

    .footer .row {
        --bs-gutter-y: 2rem;
    }

    .footer__brand p {
        margin-bottom: 18px;
    }

    .footer__title {
        margin-bottom: 10px;
    }

    .footer__links li {
        margin-bottom: 0;
    }

    .footer__links a {
        display: block;
        padding: 9px 0;
    }

    .newsletter button {
        min-height: 42px;
    }

    .footer__bottom {
        flex-direction: column-reverse;
        text-align: center;
        gap: 4px;
        margin-top: 36px;
        padding-top: 18px;
    }

    .footer__bottom nav a {
        display: inline-block;
        padding: 10px 6px;
    }

    /* ----- Floating UI ----- */
    #back-to-top {
        bottom: calc(16px + env(safe-area-inset-bottom));
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    .toast-msg {
        bottom: calc(16px + env(safe-area-inset-bottom));
        width: calc(100% - 32px);
        font-size: 14px;
    }
}

/* ---------- Small phones (iPhone SE, Galaxy S8, etc.) ---------- */
@media (max-width: 375.98px) {
    :root {
        --gutter: 14px;
    }

    .hero-points li span {
        font-size: 16px;
    }

    .banner__art {
        max-width: 230px;
    }

    .hero-chip__timer {
        display: none;
    }

    .stat-number {
        font-size: 26px;
    }

    .wallet-btns {
        gap: 8px;
    }

    .wallet-btn {
        font-size: 13px;
        padding: 10px 6px;
    }
}

@keyframes menuItemIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Touch screens: no sticky hover lifts after a tap */
@media (hover: none) {
    .nft-card:hover,
    .step-card:hover,
    .value-card:hover,
    .mission-card:hover,
    .team-card:hover,
    .progress-card:hover,
    .timeline-content:hover,
    .action-btn:hover,
    .submit-btn:hover,
    .social-icon:hover,
    .bid-btn:hover {
        transform: none;
    }

    .nft-card:hover .nft-card__image img,
    .team-card:hover .team-image img {
        transform: none;
    }

    .action-btn:active,
    .submit-btn:active,
    .bid-btn:active,
    .filter-btn:active,
    .wallet-btn:active {
        transform: scale(0.97);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        translate: none;
    }
}
