/* ==========================================================================
   App Store.app (Projects & Creations Showroom) Styling
   ========================================================================== */

.appstore-layout {
    display: flex;
    overflow: hidden;
    height: 100%;
}

.appstore-sidebar {
    width: 150px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--window-border);
    padding: 15px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.appstore-search-box {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.appstore-search-box input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 11.5px;
    outline: none;
    width: 100px;
    font-family: inherit;
}

.appstore-feed {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.appstore-hero-banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #00c6ff 100%);
    border-radius: 14px;
    padding: 24px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    margin-bottom: 24px;
    transition: transform 0.2s ease;
}

.appstore-hero-banner:hover {
    transform: scale(1.01);
}

.hero-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 6px;
}

.appstore-hero-banner h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
}

.appstore-hero-banner p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.hero-action-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.appstore-get-btn {
    background: #fff;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #007aff;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s, transform 0.15s;
}

.appstore-get-btn:hover {
    transform: scale(1.05);
    background: #f0f0f0;
}

.hero-btn {
    background: #fff;
    color: #007aff;
}

.app-rating {
    font-size: 12px;
    opacity: 0.85;
}

.appstore-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.appstore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.app-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.app-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.app-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.app-card-details {
    flex: 1;
    overflow: hidden;
}

.app-card-details h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-category {
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
}

.app-stars {
    font-size: 11px;
    color: #f6d365;
}

.rating-num { color: #888; margin-left: 2px; }

.app-desc {
    font-size: 11px;
    color: #aaa;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 3px;
    margin-bottom: 0 !important;
}
