@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg:           #1F1E1B;
    --bg-2:         #25241F;
    --surface:      #2A2825;
    --surface-2:    #34322D;
    --border:       #3A3833;
    --border-strong:#4A4842;
    --text:         #F0EBE0;
    --muted:        #A09B91;
    --muted-2:      #7A7670;
    --accent:       #D97757;
    --accent-hover: #C96442;
    --accent-soft:  rgba(217, 119, 87, 0.12);
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 85% 0%, rgba(217, 119, 87, 0.08), transparent 60%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(217, 119, 87, 0.04), transparent 60%);
    z-index: 0;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 40px 100px;
    position: relative;
    z-index: 1;
}

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

/* ── Topbar ── */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
    flex-shrink: 0;
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.brand-text { color: var(--text); }
.brand-text em { color: var(--accent); font-style: normal; }

.back-link {
    font-size: 13.5px;
    color: var(--muted);
    transition: color 0.15s;
}

.back-link:hover { color: var(--text); }

/* ── Hero ── */
.hero {
    padding: 80px 0 56px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 56px;
    animation: rise 0.7s cubic-bezier(0.16,1,0.3,1) both;
}

.section-num {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 0 24px;
}

.hero h1 .heart {
    color: var(--accent);
    font-style: italic;
}

.hero p {
    font-family: "Fraunces", Georgia, serif;
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
    font-style: italic;
    font-weight: 300;
    max-width: 540px;
    margin: 0;
}

/* ── Method list ── */
.section-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.methods-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: rise 0.7s 0.1s cubic-bezier(0.16,1,0.3,1) both;
}

.method-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 22px 24px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 14px;
    position: relative;
}

.method-card:hover {
    border-color: var(--accent);
    background: var(--surface-2);
    transform: translateY(-2px);
}

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid rgba(217, 119, 87, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.method-body { flex: 1; }

.method-name {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.method-desc {
    color: var(--muted);
    font-size: 13px;
}

.method-arrow {
    color: var(--border-strong);
    font-size: 16px;
    transition: color 0.2s, transform 0.2s;
}

.method-card:hover .method-arrow {
    color: var(--accent);
    transform: translate(2px, -2px);
}

/* ── Footer ── */
footer {
    margin-top: 80px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

/* ── Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 8, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
    animation: fadeIn 0.2s ease-out both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    padding: 32px;
    max-width: 420px;
    width: 100%;
    border-radius: 20px;
    text-align: center;
    animation: pop 0.25s cubic-bezier(0.16,1,0.3,1) both;
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

@keyframes pop {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-box h2 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 28px;
    font-weight: 300;
    color: var(--text);
    margin: 0 0 4px;
    letter-spacing: -0.015em;
}

.modal-titular {
    font-size: 12px;
    color: var(--muted);
    margin: 4px 0 20px;
    letter-spacing: 0.04em;
}

.modal-box img {
    width: 220px;
    height: 220px;
    display: block;
    margin: 0 auto 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-2);
    padding: 10px;
}

.modal-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
    text-align: left;
}

.pix-key {
    display: block;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--accent);
    padding: 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    word-break: break-all;
    margin: 0 0 20px;
    text-align: left;
    border-radius: 8px;
    letter-spacing: 0.02em;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.copy-btn,
.close-btn {
    flex: 1;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.18s;
    border-radius: 999px;
}

.copy-btn {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
}

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

.close-btn {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text);
}

.close-btn:hover {
    border-color: var(--text);
    background: var(--surface-2);
}

/* ── Animations ── */
@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .container { padding: 0 22px 60px; }
    .hero { padding: 56px 0 40px; margin-bottom: 40px; }
    .method-card { padding: 18px 20px; gap: 14px; }
    .method-icon { width: 38px; height: 38px; font-size: 12px; }
    .modal-box { padding: 24px; border-radius: 16px; }
    .modal-box img { width: 180px; height: 180px; }
}
