/**
 * Glassmorphism UI Theme with Premium iOS App Store Design
 * Colors: Orange (#FFA500), Black (#1a1a1a), Lemon (#FFFF00)
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FFA500;
    --dark-black: #1a1a1a;
    --accent-lemon: #FFFF00;
    --light-gray: #f5f5f5;
    --glass-light: rgba(255, 255, 255, 0.15);
    --glass-dark: rgba(26, 26, 26, 0.8);
    --text-dark: #333;
    --text-light: #fff;
    --border-color: rgba(255, 255, 255, 0.2);
    --success-green: #34C759;
    --warning-red: #FF3B30;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    letter-spacing: -0.3px;
}

/* ===== GLASSMORPHISM EFFECTS ===== */

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 20px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 165, 0, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 165, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 600;
    font-size: 15px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.glass-btn:hover,
.glass-btn.active {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn {
    padding: 14px 28px;
    border-radius: 18px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 165, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}


/* ===== NAVBAR ===== */

.navbar {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Logo Section */
.navbar-brand {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Hamburger Menu Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 6px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2.5px;
    background: #333;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu - Centered */
.navbar-menu {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 4px;
    border-bottom: 2px solid transparent;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--primary-orange);
}

/* CTA Button */
.navbar-cta {
    flex-shrink: 0;
}

.btn-account {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.25);
    border: none;
    cursor: pointer;
}

.btn-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 165, 0, 0.35);
}

/* ===== MAIN CONTENT ===== */

.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ===== HERO SECTION ===== */

.hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero-content h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.search-container {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-form-wrapper {
    width: 100%;
    display: flex;
    gap: 10px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--primary-orange);
    font-size: 18px;
}

.search-input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.2);
}

.search-btn {
    padding: 15px 25px;
    background: var(--primary-orange);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.search-btn:hover {
    background: #ff8c00;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

/* ===== TRENDING SECTION ===== */

.trending-section {
    margin-bottom: 60px;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h3 {
    font-size: 28px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header i {
    color: var(--primary-orange);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.trending-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-info {
    flex: 1;
    min-width: 0;
}

.trending-info h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
}

.stat {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat i {
    color: var(--primary-orange);
}

.category-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-app {
    background: rgba(0, 150, 255, 0.3);
    color: #00a8ff;
    border: 1px solid #00a8ff;
}

.badge-game {
    background: rgba(255, 0, 195, 0.3);
    color: #ff00c3;
    border: 1px solid #ff00c3;
}

/* ===== FILTER SECTION ===== */

.filter-section {
    margin-bottom: 50px;
}

.filter-container h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== APPS GRID ===== */

.apps-section {
    margin-bottom: 60px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.app-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120%;
    background: radial-gradient(circle at 30% -30%, rgba(255, 165, 0, 0.15), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.app-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 12px;
}

.app-icon-lg {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    object-fit: cover;
    border: 0;
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.app-card:hover .app-icon-lg {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(255, 165, 0, 0.35), 0 6px 16px rgba(0, 0, 0, 0.2);
}

.app-rating-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2), rgba(255, 165, 0, 0.1));
    border-radius: 14px;
    padding: 8px 10px;
    min-width: 50px;
}

.app-rating-badge .rating {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}

.app-rating-badge .stars {
    color: var(--primary-orange);
    font-size: 11px;
    margin-top: 2px;
}

.app-body {
    flex: 1;
    margin-bottom: 15px;
}

.app-body h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    word-break: break-word;
    line-height: 1.4;
}

.developer {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.developer i {
    color: var(--primary-orange);
    font-size: 12px;
}

.description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.app-specs {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.spec {
    background: rgba(255, 165, 0, 0.2);
    color: var(--primary-orange);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.app-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rating,
.downloads {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.rating i,
.downloads i {
    color: var(--primary-orange);
}

.download-btn {
    background: var(--primary-orange);
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn:hover {
    background: #ff8c00;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

.download-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.no-results i {
    font-size: 48px;
    color: var(--primary-orange);
    margin-bottom: 20px;
    display: block;
}

.no-results p {
    font-size: 18px;
}

/* ===== STATS SECTION ===== */

.stats-section {
    margin-bottom: 40px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h4 {
    font-size: 32px;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ===== PAGINATION ===== */

.pagination-section {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 165, 0, 0.2);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 10px;
    color: var(--primary-orange);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-btn:hover {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
    color: white;
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.3);
}

.page-info {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    min-width: 150px;
    text-align: center;
}

/* ===== FOOTER ===== */

.footer {
    background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 60px 20px 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 40px;
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
    flex-shrink: 0;
}

.footer-logo h3 {
    font-size: 20px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.5px;
}

.footer-logo p {
    color: #666;
    font-size: 13px;
    margin: 0;
}

/* Footer Sections */
.footer-section h4 {
    color: #333;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
    color: white;
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.25);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* ===== AD PLACEMENTS & PREMIUM UI ===== */

.ad-container {
    margin: 40px 0;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ad-container::before {
    content: 'Advertisement';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Image lazy loading shimmer effect */
img[loading="lazy"] {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Premium spacing and typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.5px;
}

/* Download badge style */
.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #34C759, #20B15A);
    padding: 8px 14px;
    border-radius: 16px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: space-between;
    }

    .navbar-brand {
        order: 1;
    }

    /* Show hamburger menu on mobile */
    .hamburger-btn {
        display: flex;
        order: 2;
    }

    /* Mobile menu styling */
    .navbar-menu {
        order: 3;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100vw;
        margin-left: -20px;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 999;
    }

    .navbar-menu.active {
        max-height: 400px;
        padding: 10px 0;
    }

    .nav-link {
        padding: 14px 20px;
        border: none;
        font-size: 16px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: rgba(255, 165, 0, 0.08);
        padding-left: 25px;
    }

    .navbar-cta {
        order: 2;
        margin-left: 10px;
    }

    .brand-text {
        font-size: 20px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .search-container {
        flex-direction: column;
        max-width: 100%;
    }

    .trending-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        justify-content: center;
    }

    .apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .section-header h3 {
        font-size: 22px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item h4 {
        font-size: 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 20px 15px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .trending-card {
        flex-direction: column;
        text-align: center;
    }

    .trending-info {
        width: 100%;
    }

    .app-header {
        flex-direction: column;
        align-items: center;
    }

    .app-icon-lg {
        width: 100px;
        height: 100px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS ===== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-card {
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.glass-btn:active {
    animation: pulse 0.3s ease-out;
}
