* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Password Notification */
.password-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1AFF64, #16e057);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    
    z-index: 1001;
    animation: fadeInOut 5s ease-in-out;
    text-align: center;
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.128);
    font-size: 1.1rem;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Header and Navigation */
header {
    background-color: #1AFF64;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.logo i {
    font-size: 2rem;
    margin-right: 10px;
    color: #fff;
}

.menu-toggle {
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: #1AFF64;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 1000;
    padding-top: 60px;
}

.side-menu.active {
    left: 0;
}

.side-menu ul {
    list-style: none;
}

.side-menu ul li {
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.side-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    transition: transform 0.3s ease;
}

.side-menu ul li a:hover {
    transform: translateX(10px);
}

.side-menu ul li i {
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* App Details Section */
.app-details-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.app-details-container {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    
}

.app-header {
    display: flex;
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.app-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-right: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-icon {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Platform Badge - Updated for Android */
.platform-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0000, #ff0000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    z-index: 2;
    border: 2px solid white;
}

.platform-badge.windows {
     background: linear-gradient(135deg, #0078d7, #0088ff);
}

.platform-badge.android {
     background: linear-gradient(135deg, #00ff73, #02ce39);
}

.platform-badge.mac {
     background: linear-gradient(135deg, #000000, #333333);
}

/* Center Badge - Small badge centered below logo */
.center-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: bold;
    z-index: 2;
    
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}

/* Center Badge variants */
.center-badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffa500);
}

.center-badge.pro {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.center-badge.mod {
    background: linear-gradient(135deg, #ff4757, #ff3838);
}

.app-info {
    flex: 1;
}

.app-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.app-developer {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.app-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.app-rating-stars {
    color: #ffc107;
    margin-right: 10px;
}

.app-rating-value {
    font-weight: bold;
    margin-right: 5px;
}

.app-rating-count {
    color: #666;
}

.app-action-buttons {
    display: flex;
    gap: 15px;
}

.download-btn {
    background-color: #1AFF64;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s;
    cursor: pointer;
    border: none;
}

.download-btn:hover {
    background-color: #16e057;
}

.download-btn i {
    margin-right: 8px;
}

/* Fast Download Button */
.fast-download-btn {
    background-color: #FFD700;
    color: #333;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s;
    cursor: pointer;
    border: none;
    margin-left: 10px;
}

.fast-download-btn:hover {
    background-color: #FFC107;
    color: #333;
}

.fast-download-btn i {
    margin-right: 8px;
}

/* Animation for fast download button */
@keyframes fastDownloadPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.fast-download-btn:active {
    animation: fastDownloadPulse 0.5s;
}

/* Responsive adjustments for buttons */
@media (max-width: 768px) {
    .app-action-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .fast-download-btn {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .download-btn, .fast-download-btn, .wishlist-btn {
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }
    
    .fast-download-btn {
        margin-left: 0;
    }
}

.wishlist-btn {
    background-color: #f8f9fa;
    color: #333;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s;
    border: 1px solid #ddd;
}

.wishlist-btn:hover {
    background-color: #e9ecef;
}

.wishlist-btn i {
    margin-right: 8px;
}

.app-content {
    display: flex;
    padding: 30px;
}

.app-main-content {
    flex: 2;
    padding-right: 30px;
}

.app-sidebar {
    flex: 1;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1AFF64;
}

.app-description {
    margin-bottom: 30px;
    line-height: 1.7;
    color: #444;
}

.app-screenshots {
    margin-bottom: 30px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.screenshot {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 200px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.screenshot:hover {
    transform: scale(1.03);
}

.app-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-weight: bold;
    color: #333;
}

.app-reviews {
    margin-top: 40px;
}

.review {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.review:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: bold;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
}

.review-content {
    color: #444;
    line-height: 1.6;
}

/* Related Apps in Sidebar */
        .related-apps-sidebar {
            background: white;
            border-radius: 12px;
            padding: 25px;
        }

        .related-app-card-sidebar {
            display: flex;
            align-items: center;
            padding: 15px;
            margin-bottom: 15px;
            background: #f8f9fa;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s;
            border: 1px solid transparent;
        }

        .related-app-card-sidebar:hover {
            transform: translateX(5px);
            border-color: #1AFF64;
            background: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        .related-app-image-sidebar {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            margin-right: 15px;
            background-size: cover;
            background-position: center;
        }

        .related-app-info-sidebar {
            flex: 1;
        }

        .related-app-name-sidebar {
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
            font-size: 0.95rem;
        }

        .related-app-meta-sidebar {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: #666;
        }

/* Related Apps Section - Updated to match index-style */
.related-apps-section {
    margin-top: 40px;
}

.related-apps-section h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.8rem;
    border-left: 5px solid #1AFF64;
    padding-left: 15px;
}

.related-apps-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.related-app-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 15px;
}

.related-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #1AFF64;
}

.related-app-image-container {
    position: relative;
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    margin-right: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.related-app-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.related-app-details {
    flex: 1;
}

.related-app-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #2d3436;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-app-rating {
    color: #ffc107;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.related-app-rating i {
    margin-right: 3px;
}

.related-app-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
}

/* Updated Badge styles to match index-style */
.related-app-platform-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    z-index: 2;
    border: 2px solid white;
}

.related-app-platform-badge.android {
    background: linear-gradient(135deg, #00ff73, #02ce39);
}

.related-app-platform-badge.windows {
    background: linear-gradient(135deg, #0078d7, #0088ff);
}

.related-app-platform-badge.mac {
    background: linear-gradient(135deg, #000000, #333333);
}
/* Updated Badge */
.updated-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(26, 255, 100, 0.15);
    color: #00d343;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #1AFF64;
}

.footer-column p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #ecf0f1;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #1AFF64;
}

.footer-links i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    background-color: #1AFF64;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Instagram and Telegram Floating Icons */
.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
}

.floating-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.floating-icon.telegram {
    background: linear-gradient(45deg, #0088cc, #34AADF);
}

.floating-icon:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* --- Desktop Banner Style --- */
.desktop-side-banner {
    display: none; /* Hidden by default for mobile */
    margin-top: 30px;
    
    overflow: hidden;
}

.desktop-side-banner img {
    width: 100%;
    height: auto;
    display: block;
   
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.desktop-side-banner img:hover {
    transform: scale(1.02);
}

/* --- Mobile Banner Style --- */
.mobile-side-banner {
    display: block; /* Visible by default (mobile first) */
    margin-top: 30px;
   
    overflow: hidden;
}

.mobile-side-banner img {
    width: 100%; /* Responsive width */
    height: auto;
    display: block;
   
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 900px) {
    .app-content {
        flex-direction: column;
    }
    
    .app-main-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .app-icon-container {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .app-action-buttons {
        justify-content: center;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .platform-badge {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
        top: -4px;
        left: -4px;
    }

    .center-badge {
        font-size: 0.55rem;
        padding: 2px 6px;
        bottom: -6px;
    }

    .password-notification {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Related apps responsive */
    .related-app-image-container {
        width: 70px;
        height: 70px;
        margin-right: 12px;
    }
    
    .related-app-platform-badge {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
        top: -4px;
        left: -4px;
    }
    
    .related-app-center-badge {
        font-size: 0.55rem;
        padding: 2px 6px;
        bottom: -6px;
    }
    
    .related-app-name {
        font-size: 1rem;
    }
    
    .related-app-rating {
        font-size: 0.8rem;
    }
    
    .related-app-meta {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 1.8rem;
    }
    
    .app-action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .download-btn, .wishlist-btn {
        justify-content: center;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .app-icon-container {
        width: 100px;
        height: 100px;
    }
    
    .platform-badge {
        width: 20px;
        height: 20px;
        font-size: 0.55rem;
        top: -3px;
        left: -3px;
    }

    .center-badge {
        font-size: 0.5rem;
        padding: 1px 5px;
        bottom: -5px;
    }

    .password-notification {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Related apps small screen */
    .related-app-image-container {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }
    
    .related-app-platform-badge {
        width: 20px;
        height: 20px;
        font-size: 0.55rem;
        top: -3px;
        left: -3px;
    }
    
    .related-app-center-badge {
        font-size: 0.5rem;
        padding: 1px 5px;
        bottom: -5px;
    }
    
    .related-app-name {
        font-size: 0.9rem;
    }
    
    .related-app-rating {
        font-size: 0.75rem;
    }
    
    .related-app-meta {
        font-size: 0.7rem;
    }
}

/* Floating icons for mobile */
.floating-icons {
    bottom: 15px;
    right: 15px;
}

.floating-icon {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
}

/* Animation for download button */
@keyframes downloadPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.download-btn:active {
    animation: downloadPulse 0.5s;
}

/* Desktop layout for related apps - 3 per row */
@media (min-width: 768px) {
    .related-apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .related-app-image-container {
        width: 100px;
        height: 100px;
    }
    
    .platform-badge {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .center-badge {
        font-size: 0.65rem;
        padding: 3px 10px;
        bottom: -10px;
    }

    .related-app-platform-badge {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .related-app-center-badge {
        font-size: 0.65rem;
        padding: 3px 10px;
        bottom: -10px;
    }

    /* Floating icons for very small screens */
    .floating-icons {
        bottom: 10px;
        right: 10px;
    }

    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* Show desktop banner and hide mobile banner on larger screens */
@media (min-width: 769px) {
    .desktop-side-banner {
        display: block;
    }
    
    .mobile-side-banner {
        display: none;
    }
}

/* Ensure mobile banner is shown on smaller screens */
@media (max-width: 768px) {
    .desktop-side-banner {
        display: none;
    }
    
    .mobile-side-banner {
        display: block;
    }
}