.app-view {
    --app-accent: #ff8c00;
    --app-accent-soft: #ffb45c;
    --app-text: #17253b;
    --app-muted: #64748b;
    --app-surface: #ffffff;
    --app-border: rgba(255, 140, 0, 0.16);
    --app-shadow: 0 18px 42px rgba(255, 140, 0, 0.10);
    color: var(--app-text);
}

.app-view a,
.app-view button,
.app-view * {
    transition: none !important;
}

.app-view nav a:hover {
    color: white;
}

.app-view .footer-column a:hover {
    color: #6c757d;
    transform: none;
}

.app-view .newsletter-form button:hover {
    background: #e67e00;
}

.app-view .cta-button:hover {
    background: #FF8C00;
    color: white;
}

.app-download-frame {
    display: none;
}

.app-preview-section,
.app-list-section {
    padding: clamp(20px, 3vw, 36px) 0 clamp(42px, 5vw, 72px);
}

.app-preview-card,
.app-screen-card,
.app-list-card {
    background: var(--app-surface);
    border-radius: 22px;
    border: 1px solid var(--app-border);
    box-shadow: var(--app-shadow);
}

.app-preview-card {
    padding: clamp(18px, 2.8vw, 30px);
    background:
        radial-gradient(circle at top right, rgba(255, 180, 92, 0.14), transparent 34%),
        linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
}

.app-detail-panel,
.app-gallery-panel {
    height: 100%;
}

.app-detail-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: clamp(0px, 1vw, 10px);
}

.app-gallery-panel {
    position: relative;
}

.app-preview-head {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 20px);
    margin-bottom: clamp(18px, 2vw, 24px);
}

.app-preview-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    font-weight: 800;
    color: var(--app-text);
    word-break: break-word;
}

.app-icon-box {
    width: clamp(86px, 9vw, 120px);
    height: clamp(86px, 9vw, 120px);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 140, 0, 0.20);
    background: linear-gradient(180deg, #fff9f0 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(255, 140, 0, 0.10);
    flex-shrink: 0;
}

.app-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-download-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(100%, 320px);
    padding: 15px 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--app-accent) 0%, var(--app-accent-soft) 100%);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow: 0 16px 34px rgba(255, 140, 0, 0.22);
}

.app-summary-box {
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff9f0 0%, #fffdf9 100%);
    border: 1px solid rgba(255, 140, 0, 0.14);
}

.app-summary-box p {
    margin: 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.75;
}

.app-screens-wrap {
    position: relative;
    min-height: clamp(360px, 48vw, 590px);
    padding: clamp(14px, 2vw, 18px);
    border-radius: 24px;
    border: 1px solid rgba(255, 140, 0, 0.12);
    background: linear-gradient(180deg, rgba(255, 249, 240, 0.78) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.app-screens-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 50px;
    scrollbar-width: none;
}

.app-screens-rail::-webkit-scrollbar {
    display: none;
}

.app-screen-card {
    padding: 10px;
    min-width: clamp(188px, 25vw, 300px);
    flex: 0 0 clamp(188px, 25vw, 300px);
}

.app-screen-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.app-screen-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 19;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.app-scroll-btn,
.app-image-preview-close,
.app-image-preview-nav {
    border: 0;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--app-accent) 0%, var(--app-accent-soft) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    box-shadow: 0 8px 18px rgba(255, 140, 0, 0.24);
    z-index: 2;
}

.app-scroll-btn--left {
    left: 16px;
}

.app-scroll-btn--right {
    right: 16px;
}

.app-scroll-btn[hidden],
.app-image-preview[hidden],
.app-image-preview-nav[hidden] {
    display: none !important;
}

.app-image-preview {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 2vw, 26px);
    border-radius: 24px;
    background: rgba(255, 249, 240, 0.94);
    backdrop-filter: blur(8px);
    z-index: 4;
}

.app-image-preview-inner {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 66px 66px 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 1px solid rgba(255, 140, 0, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 238, 0.98) 100%);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.14);
    overflow: hidden;
}

.app-image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.app-image-preview-count,
.app-image-preview-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--app-text);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(31, 47, 70, 0.08);
}

.app-image-preview-count {
    top: 18px;
    left: 18px;
    min-width: 72px;
}

.app-image-preview-badge {
    left: 18px;
    bottom: 18px;
}

.app-image-preview-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    box-shadow: 0 10px 24px rgba(255, 140, 0, 0.24);
    z-index: 1;
}

.app-image-preview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    box-shadow: 0 10px 24px rgba(255, 140, 0, 0.22);
    z-index: 1;
}

.app-image-preview-nav--prev {
    left: 16px;
}

.app-image-preview-nav--next {
    right: 16px;
}

.app-list-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px 22px;
    min-height: 248px;
    height: 100%;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(255, 169, 77, 0.18), transparent 45%),
        linear-gradient(180deg, #fffaf3 0%, #ffffff 52%, #fffdf8 100%);
}

.app-list-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--app-accent) 0%, var(--app-accent-soft) 100%);
}

.app-list-icon {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 140, 0, 0.18);
    background: linear-gradient(180deg, #fff8ee 0%, #ffffff 100%);
    padding: 4px;
    box-shadow: 0 14px 24px rgba(255, 140, 0, 0.12);
}

.app-list-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.app-list-name {
    margin: 18px 0 10px;
    max-width: 220px;
    font-size: clamp(20px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--app-text);
}

.app-list-info {
    margin: 0 0 10px;
    color: var(--app-muted);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.app-list-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.12);
    color: var(--app-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 2px;
}

.app-empty-state {
    padding: 22px 24px;
    font-size: 16px;
    color: var(--app-muted);
}

@media (max-width: 1199px) {
    .app-image-preview-inner {
        padding: 60px 52px 70px;
    }
}

@media (max-width: 991px) {
    .app-detail-panel {
        align-items: center;
        padding-right: 0;
        text-align: center;
    }

    .app-preview-head {
        justify-content: center;
    }

    .app-download-wrap {
        justify-content: center;
        width: 100%;
    }

    .app-summary-box {
        width: min(100%, 560px);
    }

    .app-screens-wrap {
        min-height: clamp(320px, 60vw, 540px);
    }

    .app-image-preview-inner {
        padding: 58px 40px 66px;
    }
}

@media (max-width: 767px) {
    .app-preview-card {
        padding: 16px;
    }

    .app-preview-head {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 18px;
        text-align: center;
    }

    .app-preview-head h2 {
        font-size: 28px;
    }

    .app-icon-box {
        width: 92px;
        height: 92px;
    }

    .app-download-btn {
        width: 100%;
        font-size: 17px;
    }

    .app-summary-box p {
        font-size: 16px;
    }

    .app-screens-wrap {
        min-height: 336px;
    }

    .app-screen-card {
        min-width: 176px;
        flex-basis: 176px;
        padding: 8px;
    }

    .app-screens-rail {
        gap: 12px;
        padding: 0 40px;
    }

    .app-scroll-btn {
        width: 34px;
        height: 34px;
    }

    .app-scroll-btn--left {
        left: 8px;
    }

    .app-scroll-btn--right {
        right: 8px;
    }

    .app-image-preview {
        padding: 12px;
    }

    .app-image-preview-inner {
        padding: 52px 12px 52px;
    }

    .app-image-preview-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .app-image-preview-nav {
        width: 38px;
        height: 38px;
    }

    .app-image-preview-nav--prev {
        left: 10px;
    }

    .app-image-preview-nav--next {
        right: 10px;
    }

    .app-image-preview-count {
        top: 12px;
        left: 12px;
        min-width: 64px;
        padding: 7px 12px;
    }

    .app-image-preview-badge {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 7px 12px;
        justify-content: center;
        font-size: 12px;
    }

    .app-list-card {
        min-height: 216px;
        padding: 24px 18px 20px;
    }

    .app-list-icon {
        width: 78px;
        height: 78px;
    }

    .app-list-name {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .app-preview-section,
    .app-list-section {
        padding-top: 18px;
    }

    .app-preview-head h2 {
        font-size: 26px;
    }

    .app-screens-wrap {
        min-height: 312px;
        padding: 12px;
    }

    .app-screen-card {
        min-width: 160px;
        flex-basis: 160px;
        padding: 6px;
    }

    .app-screens-rail {
        padding: 0 34px;
    }

    .app-scroll-btn--left {
        left: 6px;
    }

    .app-scroll-btn--right {
        right: 6px;
    }

    .app-image-preview-nav {
        width: 34px;
        height: 34px;
    }

    .app-image-preview-nav--prev {
        left: 6px;
    }

    .app-image-preview-nav--next {
        right: 6px;
    }

    .app-image-preview-close {
        top: 8px;
        right: 8px;
    }

    .app-image-preview-count {
        top: 8px;
        left: 8px;
    }

    .app-image-preview-badge {
        font-size: 11px;
    }
}

