/* Earn Sats - Top-level Offerwall Page Styles */

.earn-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.earn-container {
    width: 100%;
}

/* Gate States (auth required, ineligible, loading) */
.earn-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
}

.gate-card {
    max-width: 400px;
}

.gate-icon {
    color: var(--text-muted, #666);
    margin-bottom: 1rem;
}

.gate-icon-warning {
    color: var(--color-btc-orange, #f7931a);
}

.gate-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    color: var(--text-primary, #fff);
}

.gate-card p {
    color: var(--text-secondary, #a0a0a0);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.gate-card .btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--color-btc-orange, #f7931a), #cc7a15);
    color: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.gate-card .btn-primary:hover {
    opacity: 0.9;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-subtle, #2a2a3e);
    border-top-color: var(--color-btc-orange, #f7931a);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1rem;
}

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

/* Hero Section */
.earn-hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.earn-hero-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(247, 147, 26, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.earn-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary, #fff);
    margin: 0 0 0.75rem;
    line-height: 1.15;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s ease-out both;
}

.gold-text {
    background: linear-gradient(135deg, #f7931a, #ffaa33, #f7931a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

.earn-hero-sub {
    font-size: 1.05rem;
    color: var(--text-secondary, #a0a0a0);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s ease-out 0.1s both;
}

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

/* How It Works */
.how-it-works {
    margin-bottom: 2rem;
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 220px;
    text-align: center;
    padding: 1.25rem 1rem;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(247, 147, 26, 0.4);
    background: rgba(247, 147, 26, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-btc-orange, #f7931a);
}

.step-icon {
    color: var(--text-muted, #666);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
}

.step-card h3 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary, #fff);
}

.step-card p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted, #666);
    line-height: 1.5;
}

.step-connector {
    color: var(--border-subtle, #2a2a3e);
    display: flex;
    align-items: center;
    padding-top: 1.75rem;
}

/* Value Props Section */
.earn-value-props {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.value-card {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-subtle, #2a2a3e);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.value-card:hover {
    border-color: rgba(247, 147, 26, 0.2);
    transform: translateY(-2px);
}

.value-icon {
    color: var(--color-btc-orange, #f7931a);
    margin-bottom: 0.75rem;
}

.value-card h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary, #fff);
}

.value-card p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted, #666);
    line-height: 1.5;
}

/* Signup CTA (guest only) */
.earn-signup-cta {
    margin-bottom: 2.5rem;
}

.signup-card {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.08), rgba(247, 147, 26, 0.02));
    border: 1px solid rgba(247, 147, 26, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.signup-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #fff);
}

.signup-card p {
    margin: 0 0 1.5rem;
    color: var(--text-secondary, #a0a0a0);
    font-size: 1rem;
}

.signup-card .btn-primary.btn-lg {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: linear-gradient(135deg, var(--color-btc-orange, #f7931a), #cc7a15);
    color: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.signup-card .btn-primary.btn-lg:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.signup-hint {
    margin-top: 1rem !important;
    font-size: 0.85rem !important;
    color: var(--text-muted, #666) !important;
}

.signup-hint a {
    color: var(--color-btc-orange, #f7931a);
    text-decoration: none;
}

.signup-hint a:hover {
    text-decoration: underline;
}

/* Inline notice (replaces full-page gate for ineligible users) */
.earn-inline-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(247, 147, 26, 0.06);
    border: 1px solid rgba(247, 147, 26, 0.2);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-btc-orange, #f7931a);
}

.earn-inline-notice strong {
    color: var(--text-primary, #fff);
    display: block;
    margin-bottom: 0.25rem;
}

.earn-inline-notice p {
    margin: 0 0 0.75rem;
    color: var(--text-secondary, #a0a0a0);
    font-size: 0.9rem;
}

.earn-inline-notice .btn-sm {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--bg-card, #1a1a2e);
    color: var(--text-primary, #fff);
    border: 1px solid var(--border-subtle, #2a2a3e);
    border-radius: 6px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: border-color 0.2s;
}

.earn-inline-notice .btn-sm:hover {
    border-color: var(--color-btc-orange, #f7931a);
}

/* Daily Progress Bar */
.daily-progress {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-subtle, #2a2a3e);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    transition: box-shadow 0.4s ease;
}

.daily-progress.has-progress {
    box-shadow: 0 0 20px rgba(247, 147, 26, 0.06);
    border-color: rgba(247, 147, 26, 0.15);
}

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

.progress-label {
    font-weight: 600;
    color: var(--text-primary, #fff);
    font-size: 0.95rem;
}

.progress-values {
    font-size: 0.9rem;
    color: var(--text-secondary, #a0a0a0);
}

.progress-values #today-earned {
    color: var(--color-btc-orange, #f7931a);
    font-weight: 700;
}

.progress-bar {
    height: 8px;
    background: var(--border-subtle, #2a2a3e);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-btc-orange, #f7931a), #ffaa33);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-hint {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted, #666);
}

/* Trust Disclaimer */
.earn-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-subtle, #2a2a3e);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.disclaimer-icon {
    flex-shrink: 0;
    color: var(--text-muted, #666);
    margin-top: 1px;
}

.disclaimer-text {
    color: var(--text-muted, #666);
}

.disclaimer-text strong {
    color: var(--text-secondary, #a0a0a0);
}

.disclaimer-text a {
    color: var(--color-btc-orange, #f7931a);
    text-decoration: none;
}

.disclaimer-text a:hover {
    text-decoration: underline;
}

/* Offerwall Container */
.offerwall-container {
    margin-bottom: 2rem;
}

.offerwall-placeholder {
    background: var(--bg-card, #1a1a2e);
    border: 2px dashed var(--border-subtle, #2a2a3e);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    color: var(--text-muted, #666);
    margin-bottom: 1rem;
}

.offerwall-placeholder h3 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    color: var(--text-primary, #fff);
}

.offerwall-placeholder p {
    margin: 0 0 0.5rem;
    color: var(--text-secondary, #a0a0a0);
    font-size: 0.95rem;
    line-height: 1.5;
}

.placeholder-hint {
    font-size: 0.85rem;
}

.placeholder-hint a {
    color: var(--color-btc-orange, #f7931a);
    text-decoration: none;
}

.placeholder-hint a:hover {
    text-decoration: underline;
}

.offerwall-iframe {
    width: 100%;
    min-height: 700px;
    border: none;
    border-radius: 12px;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid rgba(247, 147, 26, 0.1);
}

/* Earnings Section */
.earnings-section {
    margin-bottom: 2rem;
}

.earnings-section h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin: 0 0 1rem;
}

.earnings-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.earnings-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-secondary, #a0a0a0);
}

.earnings-empty p {
    margin: 0;
    font-size: 0.9rem;
}

.earning-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-subtle, #2a2a3e);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s, background 0.2s;
}

.earning-card:hover {
    border-color: rgba(247, 147, 26, 0.15);
    background: rgba(247, 147, 26, 0.02);
}

.earning-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.earning-name {
    font-weight: 500;
    color: var(--text-primary, #fff);
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.earning-date {
    font-size: 0.75rem;
    color: var(--text-muted, #666);
}

.earning-amount {
    color: #22c55e;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Totals */
.earnings-totals {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-subtle, #2a2a3e);
    border-radius: 10px;
}

.total-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.total-label {
    font-size: 0.75rem;
    color: var(--text-muted, #666);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.total-value {
    font-weight: 700;
    color: var(--text-primary, #fff);
    font-size: 1rem;
}

/* Earn Toast Notifications */
.earn-toast-container {
    position: fixed;
    top: 80px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.earn-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-left: 3px solid #22c55e;
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 260px;
    max-width: 360px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: toastIn 0.4s ease-out;
}

.earn-toast.toast-out {
    animation: toastOut 0.3s ease-in forwards;
}

.earn-toast-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
}

.earn-toast-body {
    flex: 1;
    min-width: 0;
}

.earn-toast-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary, #fff);
    margin-bottom: 2px;
}

.earn-toast-detail {
    font-size: 0.75rem;
    color: var(--text-muted, #666);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.earn-toast-amount {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: #22c55e;
}

.earn-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-muted, #666);
    cursor: pointer;
    padding: 2px;
    line-height: 1;
    font-size: 1.1rem;
}

.earn-toast-close:hover {
    color: var(--text-primary, #fff);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

/* Earning card highlight when newly credited */
.earning-card.new-earning {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.04);
    animation: earningPulse 2s ease-out;
}

@keyframes earningPulse {
    0% { background: rgba(34, 197, 94, 0.12); }
    100% { background: rgba(34, 197, 94, 0.04); }
}

/* Catch-up banner (shown when user returns to tab) */
.earn-catchup-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.03));
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-left: 3px solid #22c55e;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 1.25rem;
    color: #22c55e;
    animation: toastIn 0.4s ease-out;
}

.earn-catchup-banner.toast-out {
    animation: toastOut 0.3s ease-in forwards;
}

.catchup-text {
    flex: 1;
}

.catchup-text strong {
    display: block;
    color: var(--text-primary, #fff);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.catchup-item {
    font-size: 0.8rem;
    color: var(--text-secondary, #aaa);
    line-height: 1.6;
}

/* FAQ Section */
.earn-faq {
    margin-bottom: 2rem;
}

.earn-faq h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin: 0 0 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border: 1px solid var(--border-subtle, #2a2a3e);
    border-radius: 0;
    background: var(--bg-card, #1a1a2e);
}

.faq-item:first-child {
    border-radius: 10px 10px 0 0;
}

.faq-item:last-child {
    border-radius: 0 0 10px 10px;
}

.faq-item:only-child {
    border-radius: 10px;
}

.faq-item + .faq-item {
    border-top: none;
}

.faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary, #fff);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-btc-orange, #f7931a);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
    content: '\2212';
}

.faq-question:hover {
    color: var(--color-btc-orange, #f7931a);
}

.faq-answer {
    padding: 0 1.25rem 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary, #a0a0a0);
    line-height: 1.6;
}

/* ── Watch Ads Coming Soon ── */
.watch-ads-coming-soon {
    margin-bottom: 2rem;
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.coming-soon-card {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-subtle, #2a2a3e);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.coming-soon-icon {
    color: var(--text-muted, #666);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.coming-soon-badge-label {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 193, 7, 0.12);
    color: rgba(255, 193, 7, 0.85);
    margin-bottom: 1rem;
}

.coming-soon-card h2 {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #fff);
}

.coming-soon-subtitle {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: var(--color-btc-orange, #f7931a);
    font-weight: 600;
}

.coming-soon-body {
    margin: 0 0 1.5rem;
    color: var(--text-secondary, #a0a0a0);
    font-size: 0.95rem;
    line-height: 1.6;
}

.coming-soon-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.coming-soon-detail {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary, #a0a0a0);
    font-size: 0.85rem;
    font-weight: 500;
}

.coming-soon-detail svg {
    color: var(--color-btc-orange, #f7931a);
    flex-shrink: 0;
}

.coming-soon-hint {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted, #666);
    line-height: 1.6;
}

.coming-soon-hint a {
    color: var(--color-btc-orange, #f7931a);
    text-decoration: none;
}

.coming-soon-hint a:hover {
    text-decoration: underline;
}

/* ── Custom Offer Grid ── */
.offer-grid-section {
    margin-bottom: 1.5rem;
}

.offer-grid-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.offer-grid-header h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin: 0;
}

.offer-grid-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Filter Chips (horizontally scrollable pill buttons) */
.offer-filter-chips {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
}

.offer-filter-chips::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    background: transparent;
    border: 1px solid var(--border-subtle, #2a2a3e);
    color: var(--text-secondary, #a0a0a0);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}

.filter-chip:hover {
    border-color: rgba(247, 147, 26, 0.3);
    color: var(--text-primary, #fff);
}

.filter-chip.active {
    border-color: var(--color-btc-orange, #f7931a);
    color: var(--color-btc-orange, #f7931a);
    background: rgba(247, 147, 26, 0.1);
    font-weight: 600;
}

/* Offer header row (title + result count) */
.offer-header-top {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.offer-result-count {
    font-size: 0.78rem;
    color: var(--text-muted, #666);
    font-weight: 400;
}

.offer-sort-select {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-subtle, #2a2a3e);
    color: var(--text-secondary, #a0a0a0);
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    font-size: 0.78rem;
    cursor: pointer;
    appearance: auto;
}

.offer-sort-select:focus {
    outline: none;
    border-color: rgba(247, 147, 26, 0.3);
}

/* Controls row (country + sort side by side) */
.offer-controls-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Country Filter */
.country-filter {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.country-filter-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--text-secondary, #a0a0a0);
    white-space: nowrap;
}

.country-filter-label svg {
    opacity: 0.6;
}

.country-select {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-subtle, #2a2a3e);
    color: var(--text-secondary, #a0a0a0);
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    font-size: 0.78rem;
    cursor: pointer;
    appearance: auto;
}

.country-select:focus {
    outline: none;
    border-color: rgba(247, 147, 26, 0.3);
}

/* Offer Grid Layout */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Offer Card */
.offer-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-subtle, #2a2a3e);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.offer-card:hover {
    transform: translateY(-2px);
    border-color: rgba(247, 147, 26, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.offer-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--border-subtle, #2a2a3e);
    overflow: hidden;
}

.offer-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.offer-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.offer-card-badge.badge-multistep {
    background: rgba(99, 102, 241, 0.85);
    color: #fff;
}

.offer-card-badge.badge-singlestep {
    background: rgba(34, 197, 94, 0.85);
    color: #fff;
}

.offer-card-body {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.offer-card-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary, #fff);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-card-desc {
    font-size: 0.78rem;
    color: var(--text-muted, #666);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.offer-category-tag {
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted, #666);
    text-transform: capitalize;
}

.offer-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
    border-top: 1px solid var(--border-subtle, #2a2a3e);
    margin-top: auto;
}

.offer-card-sats {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color-btc-orange, #f7931a);
    font-weight: 700;
    font-size: 0.88rem;
}

.offer-card-sats svg {
    flex-shrink: 0;
}

.offer-card-sats-variable {
    font-style: italic;
    opacity: 0.8;
}

.offer-card-cta {
    padding: 0.3rem 0.85rem;
    background: rgba(247, 147, 26, 0.15);
    color: #f7931a;
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    pointer-events: none;
    white-space: nowrap;
}

/* Multi-step goals (expandable) */
.offer-card-steps {
    padding: 0 0.75rem 0.5rem;
}

.offer-steps-toggle {
    background: none;
    border: none;
    color: var(--color-btc-orange, #f7931a);
    font-size: 0.73rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.offer-steps-toggle:hover {
    text-decoration: underline;
}

.offer-steps-toggle svg {
    transition: transform 0.2s;
}

.offer-steps-toggle.expanded svg {
    transform: rotate(180deg);
}

.offer-steps-list {
    display: none;
    margin-top: 0.4rem;
}

.offer-steps-list.show {
    display: block;
}

.offer-step-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 3px 0;
    font-size: 0.72rem;
    color: var(--text-muted, #666);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.offer-step-item:last-child {
    border-bottom: none;
}

.offer-step-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.offer-step-sats {
    flex-shrink: 0;
    color: var(--color-btc-orange, #f7931a);
    font-weight: 600;
}

/* BTC Price indicator */
.offer-grid-price-note {
    font-size: 0.72rem;
    color: var(--text-muted, #666);
    margin-left: auto;
}

/* Empty state */
.offer-grid-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary, #a0a0a0);
}

.offer-grid-empty p {
    margin: 0;
    font-size: 0.9rem;
}

/* Skeleton Loading */
.offer-card-skeleton {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--border-subtle, #2a2a3e);
    border-radius: 12px;
    overflow: hidden;
}

.skeleton-pulse {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.03) 75%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.skeleton-body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skeleton-line {
    height: 12px;
    border-radius: 4px;
}

.skeleton-line-short {
    width: 60%;
}

.skeleton-line-medium {
    width: 85%;
}

.skeleton-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
    border-top: 1px solid var(--border-subtle, #2a2a3e);
}

.skeleton-sats {
    width: 80px;
    height: 14px;
    border-radius: 4px;
}

.skeleton-btn {
    width: 55px;
    height: 26px;
    border-radius: 6px;
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .earn-page {
        padding: 1rem 0.75rem 2rem;
    }

    .earn-hero-title {
        font-size: 1.65rem;
    }

    .earn-hero-sub {
        font-size: 0.95rem;
    }

    .steps-row {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .step-card {
        max-width: 100%;
        padding: 0.75rem 1rem;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: 0;
    }

    .earn-value-props {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .value-card {
        padding: 1.25rem 1rem;
    }

    .signup-card {
        padding: 2rem 1.25rem;
    }

    .signup-card h2 {
        font-size: 1.25rem;
    }

    .daily-progress {
        padding: 1rem;
    }

    .earning-card {
        padding: 0.6rem 0.75rem;
    }

    .faq-question {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
    }

    .faq-answer {
        padding: 0 1rem 0.85rem;
        font-size: 0.8rem;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .offer-grid-controls {
        width: 100%;
    }

    .offer-filter-chips {
        padding-bottom: 2px;
    }

    .filter-chip {
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
    }

    .offer-controls-row {
        width: 100%;
        justify-content: space-between;
    }

    .country-filter-label {
        display: none;
    }
}
