/* LoveBadger Public Styles */
:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --surface-2: #1e1e1e;
    --border: #2a2a2a;
    --text: #f0f0f0;
    --text-muted: #888;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-glow: rgba(245, 158, 11, 0.3);
    --radius: 12px;
}

/* Light Theme Override */
.theme-light {
    --bg: #ffffff;
    --surface: #f0f0f0;
    --surface-2: #e5e5e5;
    --border: #ddd;
    --text: #1a1a1a;
    --text-muted: #666;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Profile Page */
.profile-page {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.profile-container {
    width: 100%;
    max-width: 480px;
}

/* Profile Header */
.profile-header {
    text-align: center;
    padding: 2rem 0;
}

.profile-photo-wrapper {
    display: inline-block;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ec4899, #8b5cf6);
    margin-bottom: 1rem;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg);
    display: block;
}

.profile-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-muted);
    background: var(--surface);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
}

.profile-handle {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.profile-bio {
    color: var(--text-muted);
    font-size: 0.9375rem;
    max-width: 360px;
    margin: 0 auto;
}

/* Badge CTA */
/* ORIGINAL (revert to this if gold doesn't work):
.badge-cta {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
*/
.badge-cta {
    background: linear-gradient(135deg, #3d2e05 0%, #5e4510 20%, #8a6818 40%, #a07a1c 50%, #8a6818 60%, #5e4510 80%, #3d2e05 100%);
    border: 1px solid #b8952e;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 215, 0, 0.3);
}

.badge-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.18), transparent);
    animation: goldShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes goldShimmer {
    0% { left: -60%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-desc {
    color: #ffe98a;
    font-size: 0.9375rem;
    margin: 0.5rem 0 1.25rem;
}

/* Tier Buttons */
.tier-grid {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.tier-btn {
    padding: 0.5rem 0.55rem;
    background: var(--surface-2);
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.tier-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(245, 158, 11, 0.1);
}

.tier-btn.tier-active {
    border-color: var(--accent);
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.custom-dollar {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.custom-amount-input {
    width: 80px;
    padding: 0.75rem 0.5rem;
    background: var(--surface-2);
    border: 2px solid var(--accent);
    border-radius: 50px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-align: center;
    -moz-appearance: textfield;
}

.custom-amount-input::-webkit-inner-spin-button,
.custom-amount-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-amount-input:focus {
    outline: none;
    border-color: var(--accent);
}

.custom-go {
    padding: 0.75rem 1rem;
}

.btn-badge {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    background: var(--accent);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 20px var(--accent-glow);
    text-decoration: none;
}

.btn-badge:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-badge:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Supporter Wall */
.wall-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    padding-top: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    margin-top: 2.5rem;
}

.wall-badger {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%) rotate(3deg);
    width: 100px;
    pointer-events: none;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.85));
}

.wall-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.wall-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
}

.wall-count {
    font-size: 0.8125rem;
    color: var(--text-muted);
    background: var(--surface-2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.wall-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* Ranked Supporter List */
.wall-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.wall-supporter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.5rem;
    border-radius: 10px;
    transition: background 0.2s;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.wall-supporter:hover {
    background: var(--surface-2);
}

.supporter-rank {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 28px;
    text-align: center;
}

.badge-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b22, #ec489922);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

/* Medal styles */
.badge-avatar.medal-gold {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fbbf2433, #f59e0b33);
    font-size: 1.25rem;
}

.badge-avatar.medal-silver {
    border-color: #9ca3af;
    background: linear-gradient(135deg, #9ca3af33, #6b728033);
    font-size: 1.25rem;
}

.badge-avatar.medal-bronze {
    border-color: #cd7f32;
    background: linear-gradient(135deg, #cd7f3233, #b8690033);
    font-size: 1.25rem;
}

.medal-gold .supporter-rank { color: #fbbf24; }
.medal-silver .supporter-rank { color: #9ca3af; }
.medal-bronze .supporter-rank { color: #cd7f32; }

.supporter-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.badge-handle {
    font-size: 0.8125rem;
    color: var(--text);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.supporter-total {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Tier Sections */
.tier-section {
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid transparent;
}

.tier-god {
    background: linear-gradient(135deg, rgba(212,175,55,0.12) 0%, rgba(255,215,0,0.06) 100%);
    border-color: rgba(212,175,55,0.3);
}

.tier-archangel {
    background: linear-gradient(135deg, rgba(192,192,192,0.1) 0%, rgba(200,200,200,0.05) 100%);
    border-color: rgba(192,192,192,0.25);
}

.tier-angel {
    background: linear-gradient(135deg, rgba(205,127,50,0.1) 0%, rgba(180,100,30,0.05) 100%);
    border-color: rgba(205,127,50,0.25);
}

.tier-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-top: 1px solid transparent;
}

.tier-label-god {
    color: #d4af37;
    border-top-color: rgba(212,175,55,0.2);
}

.tier-label-archangel {
    color: #c0c0c0;
    border-top-color: rgba(192,192,192,0.2);
}

.tier-label-angel {
    color: #cd7f32;
    border-top-color: rgba(205,127,50,0.2);
}

/* Footer */
.profile-footer {
    text-align: center;
    padding: 1.5rem;
}

.profile-footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.2s;
}

.profile-footer a:hover {
    color: var(--text);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 100;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.2s;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover { color: var(--text); }

.modal h2 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.modal label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
    margin-top: 1rem;
}

.modal label:first-of-type { margin-top: 0; }

.modal input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9375rem;
    font-family: inherit;
}

.modal input:focus {
    outline: none;
    border-color: var(--accent);
}

.email-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

#payment-element {
    margin-bottom: 0.75rem;
}

.payment-error {
    color: #f87171;
    font-size: 0.8125rem;
    min-height: 1.25rem;
    margin-bottom: 0.5rem;
}

.back-link {
    background: none;
    border: none;
    color: var(--text-muted, #888);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
    display: block;
    text-align: left;
}
.back-link:hover {
    color: var(--text, #fff);
}

.tos-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.tos-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}

.tos-check label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 !important;
    cursor: pointer;
    line-height: 1.4;
}

.tos-check a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.tos-check a:hover {
    text-decoration: underline;
}

/* TOS Modal */
.modal-tos {
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.tos-content {
    overflow-y: auto;
    flex: 1;
    padding-right: 0.5rem;
    margin-bottom: 1rem;
}

.tos-content::-webkit-scrollbar {
    width: 4px;
}

.tos-content::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.tos-updated {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.tos-content h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.375rem;
    color: var(--text);
}

.tos-content p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.tos-close-btn {
    width: 100%;
    flex-shrink: 0;
}

.modal .btn-badge {
    width: 100%;
    margin-top: 1.5rem;
}

/* Landing Page */
/* Landing Page */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.landing-brand-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.btn-outline {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: transparent;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1.5rem 3rem;
}

.landing-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.landing-hero h1 span {
    color: var(--accent);
}

.landing-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.landing-hero p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.landing-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.landing-cta .btn-badge {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

.landing-example {
    font-size: 1rem;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-family: monospace;
}

.landing-example strong {
    color: var(--accent);
}

/* How it Works */
.landing-how {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.landing-how h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Features */
.landing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Bottom CTA */
.landing-bottom-cta {
    text-align: center;
    padding: 4rem 1.5rem;
    border-top: 1px solid var(--border);
}

.landing-bottom-badger {
    width: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

.landing-bottom-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.landing-bottom-cta .btn-badge {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

/* Footer */
.landing-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
    border-top: 1px solid var(--border);
}

/* ============ FUN LANDING ADDITIONS ============ */

/* Live ticker */
.ticker {
    background: linear-gradient(90deg, rgba(245,158,11,0.08), rgba(236,72,153,0.08), rgba(139,92,246,0.08));
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 0.65rem 0;
    white-space: nowrap;
    position: relative;
}
.ticker::before, .ticker::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker-track {
    display: inline-flex;
    gap: 2.5rem;
    animation: tickerScroll 45s linear infinite;
    padding-left: 2rem;
}
.ticker-item {
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-shrink: 0;
}
.ticker-item strong { color: var(--text); font-weight: 600; }
.ticker-item em { color: var(--accent); font-style: normal; font-weight: 700; }
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Hero — punchier */
.hero-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.hero-headline {
    font-size: clamp(2.5rem, 7vw, 4.75rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.hero-grad {
    background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.hero-sub strong { color: var(--text); }
.btn-badge-xl {
    padding: 1.1rem 2.75rem !important;
    font-size: 1.125rem !important;
    box-shadow: 0 0 30px var(--accent-glow), 0 8px 24px rgba(0,0,0,0.3) !important;
    animation: ctaPulse 2.4s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 30px var(--accent-glow), 0 8px 24px rgba(0,0,0,0.3); }
    50% { transform: translateY(-2px); box-shadow: 0 0 45px var(--accent-glow), 0 12px 28px rgba(0,0,0,0.4); }
}
.hero-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Browser-window preview with mock leaderboard */
.hero-preview {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    perspective: 1200px;
}
.preview-window {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 80px rgba(245,158,11,0.08);
    transform: rotateX(4deg);
    animation: previewFloat 6s ease-in-out infinite;
}
@keyframes previewFloat {
    0%, 100% { transform: rotateX(4deg) translateY(0); }
    50% { transform: rotateX(4deg) translateY(-6px); }
}
.preview-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}
.preview-dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.preview-url {
    margin-left: 0.5rem;
    font-family: monospace;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.preview-url strong { color: var(--accent); }
.preview-body { padding: 1.25rem; }
.preview-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.preview-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #fff; font-size: 1.25rem;
}
.preview-name { font-weight: 700; font-size: 1rem; }
.preview-handle { font-size: 0.8125rem; color: var(--text-muted); }
.preview-wall-title {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.preview-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.65rem;
    border-radius: 10px;
    margin-bottom: 0.35rem;
    background: var(--surface-2);
    position: relative;
}
.preview-rank {
    font-size: 1.05rem;
    font-weight: 800;
    width: 24px;
    text-align: center;
    color: var(--text-muted);
}
.preview-bubble {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b33, #ec489933);
    border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8125rem; font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}
.preview-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.preview-info strong { font-size: 0.875rem; font-weight: 600; }
.preview-info small { font-size: 0.6875rem; color: var(--text-muted); }
.preview-gold { background: linear-gradient(90deg, rgba(251,191,36,0.18), rgba(251,191,36,0.04)); border: 1px solid rgba(251,191,36,0.3); }
.preview-silver { background: linear-gradient(90deg, rgba(192,192,192,0.15), rgba(192,192,192,0.03)); border: 1px solid rgba(192,192,192,0.25); }
.preview-bronze { background: linear-gradient(90deg, rgba(205,127,50,0.15), rgba(205,127,50,0.03)); border: 1px solid rgba(205,127,50,0.25); }
.preview-pulse {
    background: var(--accent);
    color: #000;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    animation: pulsePop 1.6s ease-in-out infinite;
}
@keyframes pulsePop {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.85; }
}

/* Section titles */
.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}
.section-sub {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 2.5rem;
}
.section-sub em { color: var(--accent); font-style: normal; font-weight: 600; }

/* Why grid */
.landing-why {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.why-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: left;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 30px rgba(245,158,11,0.1);
}
.why-emoji { font-size: 2.25rem; margin-bottom: 0.75rem; line-height: 1; }
.why-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.55; }

/* Steps v2 — 4 across on desktop */
.landing-how { max-width: 1000px; }
.steps-v2 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) {
    .steps-v2 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Scoreboard band */
.landing-band {
    max-width: 1000px;
    margin: 2rem auto 4rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(236,72,153,0.06), rgba(139,92,246,0.06));
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
}
.band-item { text-align: center; flex: 1; min-width: 0; }
.band-num {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.4rem;
}
.band-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.band-divider { width: 1px; align-self: stretch; background: var(--border); }
@media (max-width: 640px) {
    .landing-band { flex-wrap: wrap; gap: 1.5rem 0.5rem; }
    .band-item { flex: 0 0 calc(50% - 1rem); }
    .band-divider { display: none; }
}

/* Built for who */
.landing-for {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    text-align: center;
}
.for-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-top: 2rem;
}
.for-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.65rem 1.1rem;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
}
.for-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Trust block */
.landing-trust {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem 2.5rem;
}
.trust-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.trust-item p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.55; }

/* Bottom CTA enhancements */
.landing-bottom-cta { padding: 5rem 1.5rem; background: linear-gradient(180deg, transparent, rgba(245,158,11,0.04)); }
.landing-bottom-cta h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900; letter-spacing: -0.01em; }
.bottom-sub { color: var(--text-muted); max-width: 480px; margin: 0.75rem auto 2rem; font-size: 1rem; }
.bottom-example {
    margin-top: 1.5rem;
    font-family: monospace;
    font-size: 0.9375rem;
    color: var(--text-muted);
}
.bottom-example strong { color: var(--accent); }

@media (max-width: 640px) {
    .landing-nav { padding: 1rem; }
    .landing-hero { padding: 3rem 1rem 2rem; }
    .landing-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

    .wall-supporter {
        display: grid;
        grid-template-columns: 28px 1fr;
        grid-template-rows: auto auto;
        column-gap: 0.5rem;
        row-gap: 0.15rem;
        align-items: start;
    }

    .supporter-rank {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: center;
    }

    .badge-avatar {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
    }

    .supporter-info {
        grid-column: 2;
        grid-row: 2;
    }

    .badge-handle {
        white-space: normal;
        word-break: break-word;
        font-size: 0.75rem;
    }

    .supporter-total {
        font-size: 0.6875rem;
    }
}
