/* ============================================================
   FREE DOWNLOAD WAIT PAGE — free-download.css
   DevsOnBudget Theme (Light Theme Version)
   ============================================================ */

/* ── Page Layout ─────────────────────────────────────────── */
.fd-page {
    min-height: calc(100vh - 68px); /* Account for navbar */
    background: var(--cream, #faf8f5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    position: relative;
}

/* Dots background like the site hero */
.fd-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 0, 0, .065) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* ── Card ─────────────────────────────────────────────────── */
.fd-card {
    position: relative;
    z-index: 10;
    background: var(--white, #ffffff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: var(--radius-lg, 24px);
    max-width: 580px;
    width: 100%;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg, 0 20px 60px rgba(0, 0, 0, .15));
    text-align: center;
}

/* Top badge */
.fd-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange-xl, #fff1e6);
    color: var(--orange, #ff6b00);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

/* Asset icon */
.fd-asset-emoji {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md, 18px);
    background: var(--white, #ffffff);
    border: 2px solid var(--border, #e5e7eb);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, .07));
}

/* Title & Subtitle */
.fd-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark, #0f0f0f);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.fd-subtitle {
    color: var(--gray, #6b7280);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ── Countdown Ring ──────────────────────────────────────── */
.fd-ring-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
}
.fd-ring-svg {
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}
.fd-ring-bg {
    fill: none;
    stroke: var(--light, #f4f4f4);
    stroke-width: 8;
}
.fd-ring-fill {
    fill: none;
    stroke: var(--orange, #ff6b00);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 377;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}
.fd-ring-number {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.fd-count {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark, #0f0f0f);
    line-height: 1;
}
.fd-count-label {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--gray, #6b7280);
    text-transform: uppercase;
}

/* ── Progress Bar ────────────────────────────────────────── */
.fd-progress-track {
    height: 8px;
    background: var(--light, #f4f4f4);
    border-radius: 999px;
    margin-bottom: 2rem;
    overflow: hidden;
}
.fd-progress-fill {
    height: 100%;
    background: var(--orange, #ff6b00);
    width: 0%;
    transition: width 1s linear;
}

/* ── Status Text ─────────────────────────────────────────── */
.fd-status {
    font-size: 0.9rem;
    color: var(--gray, #6b7280);
    margin-bottom: 2rem;
    font-weight: 600;
}

/* ── Steps ───────────────────────────────────────────────── */
.fd-steps {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.fd-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--gray, #6b7280);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border, #e5e7eb);
    background: var(--white, #ffffff);
}
.fd-step.done {
    color: #10b981;
    border-color: #10b981;
    background: #f0fdf4;
}
.fd-step.active {
    color: var(--orange, #ff6b00);
    border-color: var(--orange, #ff6b00);
    background: var(--orange-xl, #fff1e6);
}

/* ── Download Button (hidden until done) ─────────────────── */
.fd-btn-wrap {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.4s ease;
}
.fd-btn-wrap.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.fd-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange, #ff6b00);
    color: var(--white, #ffffff);
    font-size: 1.05rem;
    font-weight: 800;
    padding: 16px 40px;
    border-radius: var(--radius-md, 18px);
    box-shadow: 0 4px 20px rgba(255, 107, 0, .35);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.fd-download-btn:hover {
    background: var(--orange-d, #e05c00);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, .45);
    color: var(--white, #ffffff);
}

.fd-warning {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--gray, #6b7280);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 520px) {
    .fd-card { padding: 2rem 1.5rem; }
    .fd-title { font-size: 1.5rem; }
    .fd-steps { flex-direction: column; align-items: stretch; gap: 0.5rem; }
}
