/* ═══════════════════════════════════════════════════════
   JustSendOne — Premium Design System
   ═══════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
    --black: #0a0a0a;
    --jet: #111111;
    --carbon: #1a1a1a;
    --charcoal: #222222;
    --graphite: #333333;
    --steel: #555555;
    --silver: #888888;
    --platinum: #e5e4e2;
    --white: #f5f5f5;
    --gold: #d4af37;
    --gold-light: #f0d060;
    --gold-dark: #a68a2a;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --plat-glow: rgba(229, 228, 226, 0.25);
    --danger: #ff4444;

    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ── Particle Canvas ── */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ── VIP Badge ── */
.vip-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--black);
    box-shadow: 0 4px 20px var(--gold-glow);
    animation: badgePulse 3s ease-in-out infinite;
}

.vip-icon {
    font-size: 1rem;
}

.hidden {
    display: none !important;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 4px 20px var(--gold-glow);
    }

    50% {
        box-shadow: 0 4px 40px var(--gold-glow), 0 0 60px rgba(212, 175, 55, 0.15);
    }
}

/* ── App / Sections ── */
.app {
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.section {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s;
    overflow-y: auto;
}

.section.active {
    opacity: 1;
    visibility: visible;
}

/* ═══════════ HERO ═══════════ */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    animation: fadeUp 1.2s var(--ease-out) both;
}

.hero-emblem {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emblem-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--gold);
    border-radius: 50%;
    animation: ringRotate 8s linear infinite;
    box-shadow: 0 0 30px var(--gold-glow), inset 0 0 30px var(--gold-glow);
}

.emblem-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--gold-light);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px var(--gold);
}

.emblem-symbol {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 30px var(--gold-glow);
}

@keyframes ringRotate {
    100% {
        transform: rotate(360deg);
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.title-line {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.title-line--just {
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--platinum);
    opacity: 0;
    animation: slideIn 0.8s var(--ease-out) 0.3s forwards;
}

.title-line--send {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--gold);
    text-shadow: 0 0 40px var(--gold-glow);
    opacity: 0;
    animation: slideIn 0.8s var(--ease-out) 0.5s forwards;
}

.title-line--one {
    font-size: clamp(3rem, 10vw, 6rem);
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: slideIn 0.8s var(--ease-out) 0.7s forwards;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--platinum);
    text-transform: uppercase;
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 200px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-diamond {
    color: var(--gold);
    font-size: 0.6rem;
}

.hero-sub {
    font-size: 0.85rem;
    color: var(--silver);
    line-height: 1.7;
    max-width: 400px;
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.btn--gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--black);
    box-shadow: 0 4px 30px var(--gold-glow);
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--gold-glow), 0 0 60px rgba(212, 175, 55, 0.2);
}

.btn--platinum {
    background: linear-gradient(135deg, #bbb, var(--platinum), #fff);
    color: var(--black);
    box-shadow: 0 4px 30px var(--plat-glow);
}

.btn--platinum:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--plat-glow), 0 0 60px rgba(229, 228, 226, 0.2);
}

.btn--outline {
    border: 1px solid var(--graphite);
    color: var(--platinum);
    background: transparent;
}

.btn--outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn--small {
    padding: 10px 24px;
    font-size: 0.75rem;
}

.btn--card {
    width: 100%;
    margin-top: auto;
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* ═══════════ TIERS ═══════════ */
.section--tiers {
    gap: 24px;
}

.tiers-header {
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--platinum);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--silver);
    max-width: 500px;
    margin: 0 auto;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 750px;
    width: 100%;
    padding: 0 20px;
}

.tier-card {
    position: relative;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-dark));
    transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.tier-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px var(--gold-glow);
}

.tier-card--million {
    background: linear-gradient(135deg, #888, var(--platinum), #888);
}

.tier-card--million:hover {
    box-shadow: 0 20px 60px var(--plat-glow);
}

.card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    background: conic-gradient(from 0deg, var(--gold), transparent 40%, var(--gold) 60%, transparent);
    filter: blur(20px);
    opacity: 0.4;
    animation: glowRotate 6s linear infinite;
    z-index: -1;
}

.card-glow--platinum {
    background: conic-gradient(from 0deg, var(--platinum), transparent 40%, var(--platinum) 60%, transparent);
}

@keyframes glowRotate {
    100% {
        transform: rotate(360deg);
    }
}

.card-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    padding: 6px 14px;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    background: var(--gold);
    color: var(--black);
    border-radius: 0 0 8px 8px;
    z-index: 2;
}

.card-badge--legend {
    background: linear-gradient(135deg, var(--platinum), #fff);
}

.card-inner {
    background: var(--jet);
    border-radius: 14px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    min-height: 380px;
    flex-grow: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    color: var(--gold);
}

.card-icon--platinum {
    color: var(--platinum);
}

.card-icon-svg {
    width: 100%;
    height: 100%;
}

.card-tier-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
}

.card-tier-label--platinum {
    color: var(--platinum);
}

.card-price {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.price-currency {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gold);
    margin-top: 8px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
}

.card-price--platinum .price-currency {
    color: var(--platinum);
}

.card-perks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    width: 100%;
}

.card-perks li {
    font-size: 0.8rem;
    color: var(--silver);
    padding-left: 4px;
}

.tiers-disclaimer {
    font-size: 0.7rem;
    color: var(--steel);
    text-align: center;
    line-height: 1.6;
    max-width: 500px;
}

/* ═══════════ REWARD / NFT ═══════════ */
.section--reward {
    gap: 20px;
}

.reward-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    max-width: 600px;
    position: relative;
}

.reward-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--platinum);
}

.reward-title span {
    color: var(--gold);
}

.reward-subtitle {
    font-size: 0.9rem;
    color: var(--silver);
}

.nft-frame {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--gold);
    box-shadow: 0 0 40px var(--gold-glow);
}

.nft-glow {
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, var(--gold), transparent 30%, var(--gold-light) 50%, transparent 70%, var(--gold));
    filter: blur(15px);
    opacity: 0.5;
    animation: glowRotate 4s linear infinite;
    z-index: 0;
}

#nft-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--jet);
}

.nft-serial {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--gold);
    z-index: 2;
    opacity: 0.8;
}

.nft-meta {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: var(--carbon);
    border-radius: 12px;
    border: 1px solid var(--charcoal);
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.meta-label {
    color: var(--steel);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.meta-value {
    color: var(--platinum);
    font-weight: 600;
    font-family: var(--font-display);
}

.reward-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ═══════════ SOCIAL SHARE ═══════════ */
.social-share {
    text-align: center;
}

.share-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--steel);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--charcoal);
    color: var(--platinum);
    transition: all 0.3s var(--ease-out);
}

.share-btn:hover {
    transform: translateY(-3px);
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 6px 20px var(--gold-glow);
}

/* ═══════════ MODAL ═══════════ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--jet);
    border: 1px solid var(--charcoal);
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: modalIn 0.4s var(--ease-spring);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--platinum);
}

.modal-sub {
    font-size: 0.85rem;
    color: var(--silver);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-form input {
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--carbon);
    border: 1px solid var(--graphite);
    border-radius: 8px;
    color: var(--white);
    outline: none;
    transition: border-color 0.3s;
}

.modal-form input:focus {
    border-color: var(--gold);
}

.modal-skip {
    font-size: 0.75rem;
    color: var(--steel);
    transition: color 0.3s;
}

.modal-skip:hover {
    color: var(--gold);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ═══════════ TOAST ═══════════ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 100px;
    z-index: 300;
    animation: toastIn 0.4s var(--ease-spring);
    box-shadow: 0 4px 20px var(--gold-glow);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ═══════════ CONFETTI ═══════════ */
.reward-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .card-inner {
        padding: 24px 20px;
        min-height: 0;
    }

    .price-amount {
        font-size: 2.2rem;
    }

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

    .section {
        padding: 20px 16px;
    }

    .hero-emblem {
        width: 90px;
        height: 90px;
    }

    .emblem-symbol {
        font-size: 2.5rem;
    }

    .reward-actions {
        flex-direction: column;
        width: 100%;
    }

    .reward-actions .btn {
        width: 100%;
    }
}

@media (max-height: 700px) {
    .hero-content {
        gap: 14px;
    }

    .hero-emblem {
        width: 70px;
        height: 70px;
    }

    .emblem-symbol {
        font-size: 2rem;
    }

    .section--tiers {
        gap: 14px;
    }

    .card-inner {
        padding: 20px 16px;
        min-height: 0;
        gap: 10px;
    }

    .card-perks {
        gap: 4px;
    }
}/* VIP Social Proof */
.card-social-proof {
    margin: 1.2rem 0;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    text-align: left;
}

.vip-proof-title {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.vip-proof-content {
    font-size: 0.85rem;
    color: #ccc;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.vip-proof-avatars {
    display: inline-flex;
    flex-direction: row;
    margin-right: 0.8rem;
}

.vip-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--gold);
    margin-left: -0.5rem;
    font-weight: bold;
}

.vip-avatar:first-child {
    margin-left: 0;
}

.m-avatar {
    background: #1a1a1a;
    z-index: 3;
}

.a-avatar {
    background: #222;
    z-index: 2;
}

.g-avatar {
    background: #333;
    z-index: 1;
}