/* CrossFire V3 Tactical HUD: Download Page Scoped Styles */
.cf-page-download .dl-page {
    width: min(1440px, calc(100% - 32px));
    max-width: 1440px;
    margin: 20px auto 60px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.cf-page-download .dl-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--cf-border);
    border-radius: 4px;
    background: var(--cf-dark-surface);
    box-shadow: inset 0 2px 0 var(--cf-orange), 0 16px 48px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.cf-page-download .dl-hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 120px;
    height: 3px;
    background: var(--cf-orange);
    box-shadow: 0 0 10px var(--cf-orange-glow);
    z-index: 2;
}

.cf-page-download .dl-hero-main {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.cf-page-download .dl-eyebrow,
.cf-page-download .dl-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cf-orange);
    background: rgba(255, 157, 43, 0.12);
    border: 1px solid rgba(255, 157, 43, 0.35);
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 8px;
}

.cf-page-download .dl-hero h1 {
    margin: 12px 0 10px;
    color: #ffffff;
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cf-page-download .dl-hero h1 span {
    color: var(--cf-orange);
    text-shadow: 0 0 16px rgba(255, 157, 43, 0.45);
}

.cf-page-download .dl-hero-main > p {
    max-width: 620px;
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.cf-page-download .dl-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 20px;
}

.cf-page-download .dl-hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
}

.cf-page-download .dl-hero-tags i {
    color: var(--cf-orange);
}

.cf-page-download .dl-hero-art {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 140px;
    height: 140px;
    border: 1px solid rgba(255, 157, 43, 0.35);
    border-radius: 4px;
    background: rgba(10, 14, 22, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.5);
    color: var(--cf-orange);
}

.cf-page-download .dl-crosshair {
    font-size: 40px;
    text-shadow: 0 0 20px rgba(255, 157, 43, 0.5);
}

.cf-page-download .dl-hero-art > span {
    color: var(--cf-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.4;
}

.cf-page-download .dl-config-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 18px 0;
    padding: 14px 18px;
    border: 1px solid rgba(255, 157, 43, 0.25);
    border-radius: 4px;
    background: rgba(255, 157, 43, 0.06);
    color: #f1f5f9;
}

.cf-page-download .dl-config-notice > i {
    margin-top: 2px;
    font-size: 16px;
    color: var(--cf-orange);
}

.cf-page-download .dl-config-notice div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cf-page-download .dl-config-notice strong {
    font-size: 12.5px;
    font-weight: 800;
    color: #ffffff;
}

.cf-page-download .dl-config-notice span {
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.6;
}

.cf-page-download .dl-section {
    margin-top: 24px;
}

.cf-page-download .dl-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 16px;
    padding: 0;
}

.cf-page-download .dl-section-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cf-page-download .dl-section-heading p {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.6;
}

.cf-page-download .dl-heading-mark {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: rgba(10, 14, 22, 0.94);
    color: var(--cf-orange);
    font-size: 16px;
}

.cf-page-download .dl-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cf-page-download .dl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--cf-border);
    border-radius: 4px;
    background: var(--cf-dark-surface);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cf-page-download .dl-card:hover {
    border-color: rgba(255, 157, 43, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 157, 43, 0.15);
}

.cf-page-download .dl-card-featured {
    border-color: rgba(255, 157, 43, 0.35);
    background: linear-gradient(145deg, rgba(20, 26, 38, 0.98), rgba(10, 14, 22, 0.98));
    box-shadow: inset 0 2px 0 var(--cf-orange), 0 8px 32px rgba(0, 0, 0, 0.5);
}

.cf-page-download .dl-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cf-page-download .dl-card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 157, 43, 0.3);
    border-radius: 4px;
    background: rgba(255, 157, 43, 0.1);
    color: var(--cf-orange);
    font-size: 18px;
}

.cf-page-download .dl-card-badge {
    padding: 4px 8px;
    border: 1px solid rgba(255, 157, 43, 0.35);
    border-radius: 2px;
    background: rgba(255, 157, 43, 0.12);
    color: var(--cf-orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cf-page-download .dl-card-badge-muted {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
}

.cf-page-download .dl-card h3 {
    margin: 18px 0 8px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.cf-page-download .dl-card-description {
    min-height: 40px;
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.6;
}

.cf-page-download .dl-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0 22px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    list-style: none;
}

.cf-page-download .dl-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 12px;
}

.cf-page-download .dl-features i {
    color: var(--cf-orange);
    font-size: 11px;
}

.cf-page-download .dl-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    height: 44px;
    margin-top: auto;
    padding: 0 16px;
    border: 1px solid #ff9d2b;
    border-radius: 4px;
    background: linear-gradient(135deg, #ff9d2b, #ff6b00);
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
    color: #0b0c0e;
    text-decoration: none;
    text-align: center;
    font-size: 12.5px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.cf-page-download .dl-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 0, 0.5);
    background: linear-gradient(135deg, #ffaa40, #ff7a1a);
}

.cf-page-download .dl-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    color: #ffffff;
}

.cf-page-download .dl-button-secondary:hover {
    border-color: rgba(255, 157, 43, 0.4);
    background: rgba(255, 157, 43, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.cf-page-download .dl-button.is-disabled {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    color: #64748b;
    cursor: not-allowed;
    pointer-events: none;
}

.cf-page-download .dl-install-section {
    padding: 24px;
    border: 1px solid var(--cf-border);
    border-radius: 4px;
    background: var(--cf-dark-surface);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}

.cf-page-download .dl-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.cf-page-download .dl-steps article {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    background: rgba(10, 14, 22, 0.85);
    box-sizing: border-box;
}

.cf-page-download .dl-steps article > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 157, 43, 0.3);
    border-radius: 4px;
    background: rgba(255, 157, 43, 0.1);
    color: var(--cf-orange);
    font-size: 11px;
    font-weight: 900;
}

.cf-page-download .dl-steps h3 {
    margin: 0;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.cf-page-download .dl-steps p {
    margin: 0;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.6;
}

.cf-page-download .dl-bottom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.cf-page-download .dl-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--cf-border);
    border-radius: 4px;
    background: var(--cf-dark-surface);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.cf-page-download .dl-info-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 157, 43, 0.3);
    border-radius: 4px;
    background: rgba(255, 157, 43, 0.1);
    color: var(--cf-orange);
    font-size: 15px;
}

.cf-page-download .dl-info-card h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cf-page-download .dl-info-card p {
    margin: 0;
    color: #94a3b8;
    font-size: 11.5px;
    line-height: 1.6;
}

.cf-page-download .dl-info-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--cf-orange);
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    transition: color 0.15s ease;
}

.cf-page-download .dl-info-card a:hover {
    color: var(--cf-orange-hover);
    text-decoration: underline;
}

.cf-page-download .dl-footer {
    margin-top: 24px;
    color: #64748b;
    font-size: 11px;
    text-align: center;
    line-height: 1.7;
}

.cf-page-download .dl-footer span {
    padding: 0 6px;
    color: var(--cf-orange);
    font-weight: 700;
}

.cf-page-download .dl-drive-fallback {
    display: block;
    margin-top: 10px;
    color: #94a3b8;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
    transition: color 0.15s ease;
}

.cf-page-download .dl-drive-fallback:hover {
    color: var(--cf-orange);
    text-decoration: underline;
}

@media (max-width: 820px) {
    .cf-page-download .dl-page {
        width: calc(100% - 24px);
        margin: 20px auto 48px;
    }
    .cf-page-download .dl-hero {
        padding: 24px 20px;
    }
    .cf-page-download .dl-hero-art {
        flex-basis: 110px;
        height: 110px;
    }
    .cf-page-download .dl-crosshair {
        font-size: 28px;
    }
    .cf-page-download .dl-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .cf-page-download .dl-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .cf-page-download .dl-hero-art {
        display: none;
    }
    .cf-page-download .dl-hero h1 {
        font-size: 28px;
    }
    .cf-page-download .dl-options,
    .cf-page-download .dl-bottom-grid {
        grid-template-columns: 1fr;
    }
    .cf-page-download .dl-card {
        padding: 20px;
    }
    .cf-page-download .dl-steps {
        grid-template-columns: 1fr;
    }
}
