/* App Store Detail Page - content from JSON */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
    --ra-font-sans: 'Vazirmatn', 'Roboto', sans-serif;
}

body {
    font-family: var(--ra-font-sans);
}

input, button, textarea, select {
    font-family: inherit;
}

.detail-main {
    padding: 100px 0 64px;
    background: #f3f3f3;
    min-height: 100vh;
}

.detail-breadcrumb {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 24px;
}

.detail-breadcrumb a {
    color: #0078ff;
    text-decoration: none;
    transition: color 0.2s;
}

.detail-breadcrumb a:hover {
    color: #0056cc;
}

.detail-breadcrumb-sep {
    margin: 0 8px;
    opacity: 0.6;
}

/* Hero section */
.detail-hero {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.detail-hero-left {
    flex-shrink: 0;
}

.detail-icon-wrap {
    width: 180px;
    height: 180px;
    background: linear-gradient(145deg, #0078ff, #0056cc);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon-wrap i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.95);
}

.detail-icon-wrap--image {
    background: #fff;
    overflow: hidden;
}

.detail-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-right {
    flex: 1;
    min-width: 0;
}

.detail-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.2;
}

.detail-publisher {
    font-size: 1rem;
    color: #0078ff;
    font-weight: 600;
    margin-bottom: 12px;
}

.detail-publisher a {
    color: inherit;
    text-decoration: none;
}

.detail-publisher a:hover {
    text-decoration: underline;
}

.detail-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.detail-platform {
    font-size: 0.85rem;
    color: #555;
    background: rgba(0, 120, 255, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.detail-version {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 24px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.detail-btn-get {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(145deg, #0078ff, #0056cc);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.detail-btn-get:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 120, 255, 0.4);
    color: #fff;
}

.detail-btn-free {
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.95;
}

.detail-btn-coming {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #e9ecef;
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    cursor: default;
}

.detail-btn-back {
    font-size: 1rem;
    color: #0078ff;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.detail-btn-back:hover {
    background: rgba(0, 120, 255, 0.1);
    color: #0056cc;
}

/* Description */
.detail-description {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.detail-description h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.25rem;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 120, 255, 0.2);
}

.detail-description p {
    color: #444;
    line-height: 1.7;
    font-size: 1rem;
    white-space: pre-line;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.detail-tag {
    font-size: 0.85rem;
    color: #0078ff;
    background: rgba(0, 120, 255, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
}

.detail-developer-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.detail-developer-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.detail-developer-info ul {
    list-style: none;
}

.detail-developer-info li {
    margin-bottom: 8px;
}

.detail-developer-info a {
    color: #0078ff;
    text-decoration: none;
}

.detail-developer-info a:hover {
    text-decoration: underline;
}

.detail-developer-info i {
    margin-right: 8px;
    width: 1em;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .detail-main {
        padding: 80px 0 48px;
    }

    .detail-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px;
    }

    .detail-icon-wrap {
        width: 160px;
        height: 160px;
    }

    .detail-icon-wrap i {
        font-size: 4rem;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .detail-platforms {
        justify-content: center;
    }

    .detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .detail-btn-get,
    .detail-btn-coming {
        justify-content: center;
    }
}
