﻿/* ==============================================================
   GAME DEV APPS & PACKAGES THEME
   ============================================================== */

/* Section Heading for Apps */
.gdev-tech-title {
    color: #0d1117;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gdev-text-accent {
    color: #0088ff; /* Trust/Tech Blue */
    text-shadow: 0 0 15px rgba(0, 136, 255, 0.4);
}

.gdev-tech-divider {
    height: 4px;
    width: 60px;
    background: #0088ff;
    margin: 15px auto 0;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.5);
    position: relative;
}

    .gdev-tech-divider::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 4px;
        background: #ffffff;
        right: -10px;
        border-radius: 4px;
    }

/* App Card Design */
.gdev-app-card {
    background: #161b22;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    position: relative;
}

    .gdev-app-card:hover {
        transform: translateY(-10px);
        border-color: rgba(0, 136, 255, 0.3);
        box-shadow: 0 15px 30px rgba(0, 136, 255, 0.15);
    }

/* Image & Overlay (Glassmorphism) */
.gdev-app-image-container {
    position: relative;
    width: 100%;
    height: 180px; /* تنظیم ارتفاع ثابت برای یکدستی کارت ها */
    overflow: hidden;
    background: #0d1117;
}

.gdev-app-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* برای اینکه لوگوی نرم افزارها دفرمه نشود */
    padding: 15px;
    transition: transform 0.5s ease;
}

.gdev-app-card:hover .gdev-app-img {
    transform: scale(1.1);
}

.gdev-app-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(4px); /* افکت شیشه ای */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gdev-app-card:hover .gdev-app-overlay {
    opacity: 1;
}

/* Action Button Inside Image */
.gdev-app-action-btn {
    background: linear-gradient(135deg, #0088ff, #0055ff);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.4);
}

.gdev-app-card:hover .gdev-app-action-btn {
    transform: translateY(0);
}

/* Trust Badge */
.gdev-app-trust-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* App Info Box */
.gdev-app-info {
    padding: 20px;
    background: #1a1e26;
    position: relative;
    text-align: center;
}

/* Tech Line Decorative */
.gdev-app-tech-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 12px;
}

.gdev-dot {
    width: 6px;
    height: 6px;
    background: #0088ff;
    border-radius: 50%;
    box-shadow: 0 0 8px #0088ff;
}

.gdev-dot-small {
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
}

.gdev-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, #0088ff, transparent);
}

/* Typography */
.gdev-app-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

    .gdev-app-title a {
        color: #ffffff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

.gdev-app-card:hover .gdev-app-title a {
    color: #0088ff;
}
