/* App Page Styles - Pink Theme */

/* Hero Section Enhancements */
.hero-section {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 50%, #9d174d 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* App Info Badges */
.app-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.app-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Download Buttons */
.download-btn {
    background: white;
    color: #be185d;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.1), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    background: #fdf2f8;
    border-color: #ec4899;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.2);
}

/* App Screenshot Container */
.app-screenshot {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 25px 50px rgba(236, 72, 153, 0.2);
    transition: transform 0.3s ease;
}

.app-screenshot:hover {
    transform: translateY(-5px) scale(1.02);
}

.app-screenshot img {
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

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

/* FREE Badge */
.free-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
    }
}

/* Game Screenshots Grid */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.screenshot-item {
    background: #f9fafb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    border-color: #ec4899;
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.2);
}

.screenshot-item img {
    transition: transform 0.3s ease;
}

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

/* Features Section */
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-icon {
    color: #10b981;
    font-size: 1.25rem;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-icon {
    color: #ec4899;
}

/* App Info Card */
.app-info-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.1);
    transition: all 0.3s ease;
}

.app-info-card:hover {
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.15);
    transform: translateY(-2px);
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-label {
    color: #6b7280;
    font-weight: 500;
}

.info-value {
    font-weight: 600;
    color: #1f2937;
}

/* User Reviews */
.review-card {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.review-card:hover {
    background: white;
    border-color: #ec4899;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.1);
}

.user-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #ec4899, #be185d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.review-card:hover .user-avatar {
    transform: scale(1.1);
}

/* Star Rating */
.star-rating {
    display: flex;
    align-items: center;
}

.star-rating i {
    color: #fbbf24;
    transition: color 0.3s ease;
}

.review-card:hover .star-rating i {
    color: #f59e0b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .download-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-screenshot {
        padding: 0.5rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Pink Theme Accents */
.pink-accent {
    color: #ec4899;
}

.pink-bg {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.pink-border {
    border-color: #ec4899;
}

.pink-shadow {
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.2);
}
