@import url('fonts.css');
@import url('project-detail.css');

/* ==========================================================================
   Google Play Apps Showcase Styles
   ========================================================================== */

.gplay-hero {
    background: radial-gradient(circle at 50% 20%, rgba(0, 195, 255, 0.08), transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.05), transparent 50%),
                #0a0a0c;
    padding: 120px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.gplay-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 195, 255, 0.4), transparent);
}

.gplay-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 195, 255, 0.1);
    border: 1px solid rgba(0, 195, 255, 0.25);
    border-radius: 999px;
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.gplay-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.gplay-hero-title span {
    background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gplay-hero-desc {
    font-size: 1.15rem;
    color: #a1a1aa;
    max-width: 680px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.gplay-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

.gplay-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 24px;
    min-width: 140px;
}

.gplay-stat-num {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.gplay-stat-label {
    font-size: 0.85rem;
    color: #71717a;
    margin-top: 4px;
}

/* Developer Profile Banner Card */
.dev-profile-banner {
    margin: 40px 0;
    background: linear-gradient(135deg, rgba(24, 24, 27, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}

.dev-profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dev-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0284c7 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
    flex-shrink: 0;
}

.dev-text h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 4px;
    font-weight: 700;
}

.dev-text p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}

/* App Showcase Section */
.apps-showcase-section {
    padding: 60px 0 100px;
    background: #08080a;
}

.section-headline {
    text-align: center;
    margin-bottom: 50px;
}

.section-headline h2 {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-headline p {
    color: #71717a;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.app-feature-card {
    background: rgba(18, 18, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 48px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.app-feature-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.1);
    transform: translateY(-4px);
}

.app-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .app-grid-layout {
        grid-template-columns: 1fr;
    }
}

.app-header-area {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.app-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-titles h3 {
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 4px;
}

.app-category-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #38bdf8;
}

.app-full-desc {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.app-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.app-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.app-highlights-list li i {
    color: #34d399;
    margin-top: 4px;
}

.app-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.app-tech-pill {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.app-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-google-play {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000000;
    color: #ffffff !important;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.btn-google-play:hover {
    background: #0f172a;
    border-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.btn-google-play .gplay-icon {
    font-size: 1.6rem;
    color: #38bdf8;
}

.btn-google-play .btn-text-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

[dir="rtl"] .btn-google-play .btn-text-wrap {
    text-align: right;
}

.btn-google-play .btn-small-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.btn-google-play .btn-bold-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.btn-secondary-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-secondary-app:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* App Media / Screenshots Preview */
.app-media-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-banner-container {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    background: #111;
}

.app-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.app-screenshots-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.app-screenshot-thumb {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #111;
    aspect-ratio: 9/16;
}

.app-screenshot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.app-screenshot-thumb:hover img {
    transform: scale(1.05);
}

/* RTL Adjustments */
[dir="rtl"] .gplay-hero-desc {
    text-align: right;
}

[dir="rtl"] .dev-profile-banner {
    flex-direction: row-reverse;
}

[dir="rtl"] .dev-profile-info {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .app-header-area {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .app-highlights-list li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .btn-google-play {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .dev-profile-banner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .dev-profile-info {
        flex-direction: column;
        text-align: center;
    }
    .app-header-area {
        flex-direction: column;
        text-align: center;
    }
    .app-action-buttons {
        justify-content: center;
    }
    [dir="rtl"] .dev-profile-banner,
    [dir="rtl"] .dev-profile-info,
    [dir="rtl"] .app-header-area {
        flex-direction: column;
        text-align: center;
    }
}
