/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Navigation Bar */
.navbar {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    color: rgba(255, 255, 255, 0.95);
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Search Container */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    font-family: 'Inter', sans-serif;
    padding: 0.9rem 2.8rem 0.9rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    font-size: 1rem;
    width: 320px;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.search-input:focus {
    border-color: #6c5ce7;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.15);
    transform: translateY(-1px);
}

.search-icon {
    position: absolute;
    right: 1.2rem;
    color: #6c5ce7;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.search-icon:hover {
    color: #5a4fcf;
    transform: scale(1.1);
}

/* Hamburger Menu */
.hamburger-menu {
    position: relative;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    display: none;
    z-index: 1001;
}

.menu-dropdown.show {
    display: block;
}

.menu-dropdown a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.menu-dropdown a:hover {
    background-color: #f1f1f1;
}

/* Hero Section */
.hero-section {
    width: 100%;
    background-color: white;
    position: relative;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hero-download-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6c5ce7 100%);
    color: white;
    font-family: 'Inter', sans-serif;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 50%, #5a4fcf 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(108, 92, 231, 0.4);
}

.download-btn:hover::before {
    left: 100%;
}

.hero-btn {
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Categories Section */
.categories-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem 0;
    margin: 1rem 0;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
}

.categories-header {
    text-align: center;
    margin-bottom: 2rem;
}

.categories-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.categories-header p {
    font-family: 'Inter', sans-serif;
    color: #4a5568;
    font-size: 1.1rem;
}

.categories-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-btn {
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.8);
    color: #4a5568;
    border: 2px solid rgba(108, 92, 231, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-btn:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: rgba(108, 92, 231, 0.4);
    color: #6c5ce7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.2);
}

.category-btn.active {
    background: linear-gradient(135deg, #6c5ce7 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
}

/* Main Content */
.main-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 5rem 0;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

/* Content Header */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.content-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-select {
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(108, 92, 231, 0.2);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.sort-select:focus {
    border-color: #6c5ce7;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.app-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #6c5ce7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.15);
    border-color: rgba(108, 92, 231, 0.2);
}

.app-card:hover::before {
    opacity: 1;
}

.app-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid rgba(108, 92, 231, 0.1);
}

.app-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 8px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.app-card:hover .app-image {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(108, 92, 231, 0.2);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.1);
}

.app-card:hover .app-image img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* App Rating */
.app-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    z-index: 5;
}

/* App Details */
.app-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.app-size, .app-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c5ce7;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.app-category {
    color: #764ba2;
    border-color: rgba(118, 75, 162, 0.2);
}

.app-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.app-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin-bottom: 1.2rem;
    letter-spacing: -0.3px;
}

.app-info p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 1.8rem;
    flex-grow: 1;
    line-height: 1.7;
    text-align: justify;
}

.app-card .download-btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Hidden class for search functionality */
.hidden {
    display: none !important;
}

/* Footer */
.footer {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(15px);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.footer-search {
    position: relative;
    flex: 1;
}

.footer-search-input {
    font-family: 'Inter', sans-serif;
    padding: 0.9rem 2.8rem 0.9rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    font-size: 1rem;
    width: 100%;
    max-width: 400px;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.footer-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-search-input:focus {
    border-color: #6c5ce7;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.15);
    transform: translateY(-1px);
}

.footer-search-icon {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-search-icon:hover {
    color: #6c5ce7;
    transform: translateY(-50%) scale(1.1);
}

.contact-section {
    flex: 1;
    text-align: center;
}

.contact-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 0.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item a {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.1);
}

.contact-item:hover a {
    color: #6c5ce7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        flex-wrap: wrap;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .search-input {
        width: 200px;
    }
    
    .nav-right {
        gap: 1rem;
    }
    
    .hero-image-container {
        height: 40vh;
        min-height: 300px;
    }
    
    .hero-download-btn {
        bottom: 1rem;
        right: 1rem;
    }
    
    .content-container {
        padding: 0 1rem;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-search {
        width: 100%;
    }
    
    .footer-search-input {
        max-width: 100%;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .contact-item {
        width: 150px;
    }
}

/* Download Modal Styles */
.download-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.download-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.download-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.download-modal-close:hover {
    color: #e74c3c;
}

.download-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.download-modal-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.download-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid rgba(108, 92, 231, 0.2);
}

.download-modal-body p {
    font-family: 'Inter', sans-serif;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.download-info {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.download-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.download-detail:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #2d3748;
}

.detail-value {
    font-family: 'Inter', sans-serif;
    color: #6c5ce7;
    font-weight: 500;
}

.download-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: rgba(108, 92, 231, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6c5ce7, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #6c5ce7;
    font-weight: 600;
    text-align: center;
    display: block;
}

.download-modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    font-family: 'Inter', sans-serif;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #6c5ce7 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a4fcf 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #666;
    border: 2px solid rgba(108, 92, 231, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(108, 92, 231, 0.4);
    color: #2d3748;
}

/* Enhanced download button states */
.download-btn.downloading {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    cursor: not-allowed;
    pointer-events: none;
}

.download-btn.downloaded {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
}

/* Play Store redirect button styling */
.download-btn.play-store-redirect {
    background: linear-gradient(135deg, #34A853 0%, #137333 100%) !important;
    color: white !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.download-btn.play-store-redirect:hover {
    background: linear-gradient(135deg, #2D7D3B 0%, #0F5A28 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(52, 168, 83, 0.4) !important;
    text-decoration: none !important;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .download-modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-width: none;
        width: calc(100% - 2rem);
    }
    
    .download-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .download-modal-icon {
        width: 60px;
        height: 60px;
    }
    
    .download-modal-footer {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

/* Download Notifications */
.download-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.download-notification.success {
    border-left: 4px solid #27ae60;
}

.download-notification.error {
    border-left: 4px solid #e74c3c;
}

.download-notification.info {
    border-left: 4px solid #3498db;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
}

.notification-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50%;
    flex-shrink: 0;
}

.download-notification.success .notification-icon {
    background: #27ae60;
    color: white;
}

.download-notification.error .notification-icon {
    background: #e74c3c;
    color: white;
}

.download-notification.info .notification-icon {
    background: #3498db;
    color: white;
}

.notification-text {
    flex: 1;
}

.notification-text strong {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    display: block;
    margin-bottom: 0.25rem;
}

.notification-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Download Badges */
.download-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #6c5ce7 0%, #764ba2 100%);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Remaining Downloads Display */
.remaining-downloads {
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.remaining-downloads small {
    font-family: 'Inter', sans-serif;
    color: #6c5ce7;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Mobile notification adjustments */
@media (max-width: 768px) {
    .download-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .download-notification.show {
        transform: translateY(0);
    }
    
    .notification-content {
        padding: 0.75rem;
    }
    
    .download-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-input {
        width: 150px;
        font-size: 0.9rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .app-grid {
        gap: 1rem;
    }
    
    .app-card {
        padding: 1rem;
    }
    
    .app-info h3 {
        font-size: 1.3rem;
    }
    
    .app-info p {
        font-size: 0.9rem;
    }
}
