/* DetailsInfo 详情页信息组件样式 */
.pro_header {
    --hero-shadow-height: 680px;
    --hero-shadow-offset-y: 0px;
    --hero-shadow-aspect-ratio: none;
    --hero-shadow-color: #2d2d2d;
    --hero-shadow-light-color: var(--hero-shadow-color);
    --hero-shadow-dark-color: var(--hero-shadow-color);
    --hero-shadow-blur-value: 30px;
    --hero-background-height: 560px;
    --hero-background-width: 100%;
    --hero-background-mask-color2: rgba(0, 0, 0, 0.35);
    --hero-background-mask-color1: rgba(0, 0, 0, 0.15);
    --hero-background-aspect-ratio: 16 / 9;
    --logo-size: 72px;
    --logo-and-title-direction: row;
    --logo-and-title-width: 76%;
    --logo-gap: 1.8em;
    --logo-margin-bottom: 12px;
    --logo-order: 0;
    --title-font-size: 38px;
    --category-line-height: 24px;
    --transition-duration: var(--sl-transition-medium);
    --transition: all var(--transition-duration) ease-in;
    --info-margin-top: 55.5vw;
    --info-margin-bottom: 80px;
    --info-gap: var(--sl-spacing-small);
    --info-offset-top: 20%;
    --info-width: 38%;
    --info-desc-width: 80%;
    --info-desc-font-size: var(--sl-font-size-medium);
    position: relative;
}

.pro_header .blur-img {
    position: absolute;
    top: -200px;
    z-index: -1;
    left: var(--offset-left, 0);
    right: var(--offset-left, 0);
    height: 500px;
    background-size: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(40px) opacity(0.8);
    transform: translate3d(0px, 0px, 0px);
}

.pro_header .blur-img::before {
    content: "";
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    background: var(--theme-background-color, #fff);
    opacity: 0.4;
}

.pro_header .blur-img::after {
    content: "";
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, var(--theme-background-color, #fff), transparent 30%),
                      linear-gradient(to top, var(--theme-background-color, #fff), transparent 30%),
                      linear-gradient(to right, var(--theme-background-color, #fff), transparent 50%),
                      linear-gradient(to left, var(--theme-background-color, #fff), transparent 100%);
}

.pro_header .app-info-container {
    display: flex;
    gap: 2rem;
    margin: 6.75rem 0px 4.25rem;
    --right-side: max(338px, 22%);
    --side-spacing: 64px;
    --left-side: calc(100% - var(--right-side) - var(--side-spacing));
    width: var(--left-side);
}

.pro_header .image-logo-container,
.pro_header .logo-container {
    position: relative;
    height: 100%;
    width: auto;
}

.pro_header .logo {
    border-radius: var(--sl-border-radius-large);
    height: auto;
    width: 200px;
    vertical-align: middle;
}

.pro_header .logo.active {
    height: 200px;
    width: auto;
}

.pro_header .app-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.pro_header .app-info h1 {
    font-weight: var(--sl-title-font-weight);
    font-size: 28px;
    margin: var(--sl-spacing-x-small) 0;
}

.pro_header .app-info .subtitle {
    display: flex;
    align-items: center;
    gap: var(--sl-spacing-3x-small);
    font-size: var(--sl-font-size-medium);
    color: var(--sl-color-neutral-600);
    margin: 0px;
}

.pro_header .app-info .subtitle .label {
    height: 17px;
}

.pro_header .app-info .subtitle .publisher-link {
    display: flex;
    align-items: center;
    color: var(--theme-primary-element-color, #4285f4);
    min-height: var(--sl-input-height-medium);
    cursor: pointer;
}

.pro_header .app-info .subtitle .old {
    text-decoration: line-through;
    font-size: 12px;
}

.pro_header .app-info .buy-box-container {
    background-color: transparent;
    height: 46px;
    min-height: auto;
    min-width: 180px;
    max-width: 180px;
    align-items: center;
    font-weight: var(--sl-font-weight-semibold);
    font-size: 18px;
    line-height: 24px;
    font-family: var(--header-font);
    border-radius: var(--sl-input-border-radius-large);
}

.pro_header .app-info .buy-box-container.download-dropdown:hover {
    background-color: transparent;
}

.pro_header .reviews-age-rating-container {
    display: flex;
    gap: var(--sl-spacing-2x-small);
    flex-wrap: wrap;
    align-items: center;
}

.buy-box-container .install_btn {
    height: 100%;
    font-size: 18px;
}

/* 下载下拉菜单样式 */
.download-dropdown {
    position: relative;
}

.download-btn-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 46px;
    border-radius: var(--sl-input-border-radius-large);
    overflow: visible;
}

.download-btn-wrapper .btn-safe-download {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    height: 100%;
    background-color: var(--apps-primary-color) !important;
    border-radius: 0;
    border-top-left-radius: var(--sl-input-border-radius-large);
    border-bottom-left-radius: var(--sl-input-border-radius-large);
}

.download-btn-wrapper .btn-safe-download:hover {
    background-color: var(--apps-primary-color-hover) !important;
}

.download-btn-wrapper .install_btn span {
    line-height: 1.2;
    display: block;
}

.download-subtitle {
    font-size: 11px;
    opacity: 0.95;
    margin-top: 1px;
    font-weight: normal;
}

.download-dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 100%;
    cursor: pointer;
    background-color: var(--apps-primary-color);
    color: #fff;
    transition: background-color 0.2s;
    position: relative;
    z-index: 10;
    border-top-right-radius: var(--sl-input-border-radius-large);
    border-bottom-right-radius: var(--sl-input-border-radius-large);
}

.download-dropdown-icon:hover {
    background-color: var(--apps-primary-color-hover);
}

.download-dropdown-icon svg {
    width: 14px;
    height: 14px;
}

.download-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    width: 100%;
    /* background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
    pointer-events: none;
}

/* 菜单连接区域，用于接收鼠标事件，避免菜单消失 */
.download-menu-connector {
    height: 8px;
    width: 100%;
    background: transparent;
    pointer-events: auto;
}

.download-dropdown-icon:hover ~ .download-dropdown-menu,
.download-dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.download-dropdown-menu .download-menu-connector {
    height: 8px;
    width: 100%;
    background: transparent;
    pointer-events: auto;
}

.download-dropdown-menu .btn-normal-download {
    width: 100%;
    background-color: #f5f5f5 !important;
    color: #333 !important;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin: 0;
    min-height: 46px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    pointer-events: auto;
}

.download-dropdown-menu .btn-normal-download:hover {
    background-color: #e8e8e8 !important;
}

.download-dropdown-menu .install_btn .download-subtitle {
    display: none;
}

.download-dropdown-menu .install_btn span {
    display: block;
}

@media (max-width: 1959px) {
    .pro_header {
        --title-font-size: var(--sl-font-size-2x-large);
        --hero-shadow-height: 600px;
        --hero-background-width: 92%;
        --info-width: 48%;
        --info-desc-font-size: var(--sl-font-size-small);
    }
}

@media (max-width: 1599px) {
    .pro_header {
        --title-font-size: var(--sl-font-size-x-large);
        --info-offset-top: 36%;
        --info-gap: 0;
        --info-margin-bottom: 56px;
        --hero-shadow-height: 520px;
    }
}

@media (max-width: 1199px) {
    .pro_header {
        --info-offset-top: 40%;
        --hero-shadow-offset-y: 24px;
        --hero-background-width: 100%;
        --hero-shadow-height: 560px;
        --hero-shadow-aspect-ratio: none;
        --info-width: 100%;
        --logo-and-title-direction: row;
        --logo-margin-bottom: var(--sl-spacing-large);
        --logo-gap: var(--sl-spacing-large);
        --hero-shadow-blur-value: 12px;
        --info-desc-width: 100%;
        --logo-and-title-width: 100%;
    }

    .pro_header .app-info-container {
        width: 100%;
    }
}

@media (max-width: 999px) {
    .pro_header {
        --info-offset-top: 52%;
        --hero-shadow-height: 560px;
        --info-margin-bottom: 36px;
    }
}

@media (max-width: 575px) {
    .pro_header .app-info-container {
        flex-direction: column;
        align-items: center;
        margin-top: var(--sl-spacing-4x-large);
    }
    .pro_header .app-info {
        gap: 4px;
    }
    .pro_header .app-info h1 {
        text-align: center;
    }
    .pro_header .app-info .subtitle {
        justify-content: center;
    }
    .pro_header .reviews-age-rating-container {
        justify-content: center;
    }
    .pro_header .app-info .buy-box-container {
        margin: 0 auto;
    }
}

