@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Playfair+Display:wght@700;900&family=Space+Grotesk:wght@500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #202124;
    line-height: 1.5;
}

/* Header & Navigation - Google Play Store Style */
header {
    background: #ffffff;
    border-bottom: 1px solid #dadce0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: #202124;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.logo:hover {
    color: #1f73e7;
}

.logo .material-icons {
    color: #1f73e7;
    font-size: 28px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
}

.nav a {
    color: #202124;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a:hover {
    color: #1f73e7;
}

.nav a.active {
    border-bottom-color: #1f73e7;
    color: #1f73e7;
}

.nav a .material-icons {
    font-size: 18px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f3f4;
    border-radius: 24px;
    padding: 8px 16px;
    flex: 1;
    max-width: 400px;
    transition: all 0.2s ease;
}

.search-box:hover,
.search-box:focus-within {
    background-color: #e8eaed;
}

.search-box .material-icons {
    color: #80868b;
    font-size: 20px;
}

.search-input {
    border: none;
    background: transparent;
    flex: 1;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    outline: none;
    color: #202124;
}

.search-input::placeholder {
    color: #80868b;
}

.search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.search-btn .material-icons {
    color: #80868b;
    font-size: 20px;
}

.search-btn:hover .material-icons {
    color: #1f73e7;
}

/* Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px;
}

/* Hero Section */
.hero {
    background: white;
    color: #202124;
    padding: 48px 32px;
    text-align: center;
    border-radius: 0;
    margin-bottom: 56px;
}

.hero h1 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #202124;
}

.hero p {
    font-size: 14px;
    margin-bottom: 32px;
    color: #80868b;
}

.hero-search {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.hero-search input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #dadce0;
    border-radius: 24px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    background: white;
    transition: all 0.2s ease;
}

.hero-search input:focus {
    outline: none;
    border-color: #1f73e7;
    box-shadow: 0 2px 4px rgba(31, 115, 231, 0.1);
}

.hero-search button {
    padding: 10px 28px;
    background: white;
    color: #1f73e7;
    border: 1px solid #1f73e7;
    border-radius: 24px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    transition: all 0.2s ease;
}

.hero-search button:hover {
    background: #f0f8ff;
    border-color: #1566d1;
    color: #1566d1;
}

/* CATEGORIES SECTION - COLORFUL CARDS WITH GRADIENTS */
[data-section="categories"] {
    margin-bottom: 80px;
    padding: 0;
}

[data-section="categories"] .section-header{
    display: flex;
    justify-content: space-between;
}

[data-section="categories"] .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #0a0a0a;
    margin-bottom: 20px;
}

[data-section="categories"] .section-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #1f73e7;
}

.categories-browse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 16px;
    margin-bottom: 72px;
}

    .categories-browse-grid.cat-page {
        grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
        gap: 12px;
        margin-bottom: 48px;
    }

.category-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 16px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.category-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-preview:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(102, 126, 234, 0.4);
}

.category-preview:hover::before {
    opacity: 1;
}

/* Category gradient variations */
.category-preview:nth-child(1) { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.category-preview:nth-child(2) { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.category-preview:nth-child(3) { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.category-preview:nth-child(4) { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.category-preview:nth-child(5) { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.category-preview:nth-child(6) { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }
.category-preview:nth-child(7) { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.category-preview:nth-child(8) { background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%); }
.category-preview:nth-child(9) { background: linear-gradient(135deg, #2e2e78 0%, #667eea 100%); }
.category-preview:nth-child(10) { background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%); }
.category-preview:nth-child(11) { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.category-preview:nth-child(12) { background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%); }
.category-preview:nth-child(13) { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.category-preview:nth-child(14) { background: linear-gradient(135deg, #f5af19 0%, #f12711 100%); }
.category-preview:nth-child(15) { background: linear-gradient(135deg, #06bcc1 0%, #667eea 100%); }
.category-preview:nth-child(16) { background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%); }
.category-preview:nth-child(17) { background: linear-gradient(135deg, #ff6348 0%, #ff5e78 100%); }
.category-preview:nth-child(18) { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.category-preview:nth-child(19) { background: linear-gradient(135deg, #ffa502 0%, #ffe259 100%); }
.category-preview:nth-child(20) { background: linear-gradient(135deg, #a44569 0%, #d7816e 100%); }
.category-preview:nth-child(21) { background: linear-gradient(135deg, #6c3483 0%, #8e44ad 100%); }
.category-preview:nth-child(22) { background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%); }
.category-preview:nth-child(23) { background: linear-gradient(135deg, #eb3b5a 0%, #fc5c65 100%); }
.category-preview:nth-child(24) { background: linear-gradient(135deg, #45b7d1 0%, #96ceb4 100%); }

.category-preview-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

a.category-preview{
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: block;
    transition: color 0.2s ease;
    line-height: 1.3;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
}

.category-preview:hover a {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* FEATURED APPS SECTION - MODERN CARD CAROUSEL */
[data-section="featured"] {
    margin-bottom: 80px !important;
    padding: 0;
}

[data-section="featured"] .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    color: #0a0a0a;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 12px !important;
    margin-bottom: 20px;
}

[data-section="featured"] .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1f73e7, #764ba2) !important;
    border-radius: 2px;
}

.featured-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.featured-apps-grid .app-card {
    flex-shrink: 0;
}

.app-card {
    background: white;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.app-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 115, 231, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.app-card:hover::after {
    opacity: 1;
}

.app-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px 16px 0 0;
}

/* GAMES SECTION - DARK GAMING AESTHETIC */
[data-section="games"] {
    margin-bottom: 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    padding: 48px !important;
    border-radius: 24px !important;
    position: relative;
    overflow: hidden;
}

[data-section="games"]::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 115, 231, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

[data-section="games"] .section-title {
    font-family: 'Space Grotesk', sans-serif;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

[data-section="games"] .btn-browse-more {
    color: #4facfe;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
}

[data-section="games"] .btn-browse-more:hover {
    background: rgba(79, 172, 254, 0.2);
    border-color: #4facfe;
    color: #ffffff;
}

[data-section="games"] .showcase-apps-grid {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    z-index: 2;
}

[data-section="games"] .app-card-showcase {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(79, 172, 254, 0.2);
    backdrop-filter: blur(10px);
    color: white;
}

[data-section="games"] .app-card-showcase:hover {
    background: rgba(79, 172, 254, 0.15);
    border-color: #4facfe;
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.3);
}

[data-section="games"] .showcase-app-name,
[data-section="games"] .app-name {
    color: white;
}

[data-section="games"] .showcase-app-dev,
[data-section="games"] .app-developer {
    color: rgba(255, 255, 255, 0.7);
}

/* PRODUCTIVITY SECTION - MINIMALIST ELEGANT */
[data-section="productivity"] {
    margin-bottom: 80px !important;
    background: #fafafa !important;
    padding: 48px !important;
    border-radius: 0 !important;
    border-top: 1px solid #e8e8e8 !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

[data-section="productivity"] .section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

[data-section="productivity"] .btn-browse-more {
    color: #0066cc;
    background: white;
    border: 1px solid #d0d0d0;
    box-shadow: none;
}

[data-section="productivity"] .btn-browse-more:hover {
    background: #f5f5f5;
    border-color: #0066cc;
}

[data-section="productivity"] .app-card-showcase {
    background: white;
    border: 1px solid #e8e8e8;
}

[data-section="productivity"] .app-card-showcase:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #0066cc;
}

/* SOCIAL SECTION - VIBRANT CONNECTED */
[data-section="social"] {
    margin-bottom: 80px !important;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9f0f7 100%) !important;
    padding: 48px !important;
    border-radius: 20px !important;
}

[data-section="social"] .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #0084ff, #ff006d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

[data-section="social"] .btn-browse-more {
    color: #0084ff;
    background: white;
    border: 2px solid #0084ff;
}

[data-section="social"] .btn-browse-more:hover {
    background: #0084ff;
    color: white;
}

[data-section="social"] .app-card-showcase {
    background: white;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
}

[data-section="social"] .app-card-showcase:hover {
    border-color: #0084ff;
    box-shadow: 0 8px 20px rgba(0, 132, 255, 0.2);
    transform: translateY(-4px);
}

/* ENTERTAINMENT SECTION - CINEMATIC DARK */
[data-section="entertainment"] {
    margin-bottom: 80px !important;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%) !important;
    padding: 48px !important;
    border-radius: 20px !important;
    position: relative;
    overflow: hidden;
}

[data-section="entertainment"]::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

[data-section="entertainment"] .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 900;
    color: white;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

[data-section="entertainment"] .btn-browse-more {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    position: relative;
    z-index: 2;
}

[data-section="entertainment"] .btn-browse-more:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    color: white;
}

[data-section="entertainment"] .app-card-showcase {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: white;
    position: relative;
    z-index: 2;
}

[data-section="entertainment"] .app-card-showcase:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

[data-section="entertainment"] .showcase-app-name {
    color: white;
}

[data-section="entertainment"] .showcase-app-dev {
    color: rgba(255, 255, 255, 0.7);
}

/* EDUCATION SECTION - ACADEMIC CLASSIC */
[data-section="education"] {
    margin-bottom: 80px !important;
    background: linear-gradient(135deg, #fff5e1 0%, #ffe4b5 100%) !important;
    padding: 48px !important;
    border-radius: 20px !important;
    border-left: 8px solid #ff8c42 !important;
}

[data-section="education"] .showcase-apps-grid {
    position: relative;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    z-index: 2;
}

[data-section="education"] .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 900;
    color: #5c2e0f;
    margin-bottom: 20px;
}

[data-section="education"] .btn-browse-more {
    color: #ff8c42;
    background: white;
    border: 2px solid #ff8c42;
}

[data-section="education"] .btn-browse-more:hover {
    background: #ff8c42;
    color: white;
}

[data-section="education"] .app-card-showcase {
    background: white;
    border: 2px solid #ffe4b5;
}

[data-section="education"] .app-card-showcase:hover {
    border-color: #ff8c42;
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.2);
}

/* HEALTH SECTION - WELLNESS VIBRANT */
[data-section="health"] {
    margin-bottom: 80px !important;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
    padding: 48px !important;
    border-radius: 20px !important;
}

[data-section="health"] .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 20px;
}

[data-section="health"] .btn-browse-more {
    color: #2e7d32 !important;
    background: rgba(46, 125, 50, 0.08) !important;
    border: 2px solid #2e7d32 !important;
}

[data-section="health"] .btn-browse-more:hover {
    background: #2e7d32;
    color: white;
}

[data-section="health"] .app-card-showcase {
    background: white;
    border: 2px solid #a5d6a7;
}

[data-section="health"] .app-card-showcase:hover {
    border-color: #2e7d32;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
    transform: translateY(-4px);
}

/* TRAVEL SECTION - ADVENTUROUS WARM */
[data-section="travel"] {
    margin-bottom: 80px !important;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%) !important;
    padding: 48px !important;
    border-radius: 20px !important;
}

[data-section="travel"] .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #d84315, #ff6f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

[data-section="travel"] .btn-browse-more {
    color: #d84315;
    background: white;
    border: 2px solid #d84315;
}

[data-section="travel"] .btn-browse-more:hover {
    background: #d84315;
    color: white;
}

[data-section="travel"] .app-card-showcase {
    background: white;
    border: 2px solid #ffcc80;
}

[data-section="travel"] .app-card-showcase:hover {
    border-color: #d84315;
    box-shadow: 0 8px 20px rgba(216, 67, 21, 0.2);
    transform: translateY(-4px);
}

/* LIFESTYLE SECTION - TRENDY MODERN */
[data-section="lifestyle"] {
    margin-bottom: 80px !important;
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%) !important;
    padding: 48px !important;
    border-radius: 20px !important;
    position: relative;
}

[data-section="lifestyle"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(156, 39, 176, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

[data-section="lifestyle"] .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #4a148c;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

[data-section="lifestyle"] .btn-browse-more {
    color: #7b1fa2;
    background: white;
    border: 2px solid #7b1fa2;
    position: relative;
    z-index: 2;
}

[data-section="lifestyle"] .btn-browse-more:hover {
    background: #7b1fa2;
    color: white;
}

[data-section="lifestyle"] .showcase-apps-grid {
    position: relative;
    z-index: 2;
}

[data-section="lifestyle"] .app-card-showcase {
    background: white;
    border: 2px solid #ce93d8;
}

[data-section="lifestyle"] .app-card-showcase:hover {
    border-color: #7b1fa2;
    box-shadow: 0 8px 20px rgba(123, 31, 162, 0.2);
    transform: translateY(-4px);
}

/* SHOWCASE CARD STYLES - List View */
.showcase-apps-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 56px;
}

.app-card-showcase {
    background: white;
    border-radius: 5px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #dadce0;
    display: flex;
    flex-direction: row;
    gap: 3px;
    align-items: flex-start;
    width: 100%;
    flex-shrink: 1;
}

.app-card-showcase:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border-color: #1f73e7;
}

.showcase-card-content {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    align-items: flex-start;
}

.showcase-app-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.app-card-showcase:hover .showcase-app-icon {
    transform: scale(1.05);
}

.showcase-app-info {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.showcase-app-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0;
}

.showcase-app-dev {
    font-size: 12px;
    color: #80868b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0;
}

.showcase-app-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.showcase-rating-stars {
    color: #fbbc04;
    letter-spacing: -2px;
}

.showcase-rating-value {
    color: #80868b;
    font-size: 12px;
}

/* Category Showcase Sections */
.category-showcase {
    margin-bottom: 56px;
    padding: 0;
    border-radius: 0;
    background: white;
    border: none;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.showcase-header .section-title {
    margin-bottom: 0;
}

.btn-browse-more {
    background: white;
    color: #1f73e7;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-browse-more:hover {
    background: #f0f8ff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn-browse-more i {
    font-size: 18px;
}

.app-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-name {
    font-weight: 700;
    font-size: 13px;
    color: #202124;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.app-developer {
    font-size: 12px;
    color: #80868b;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #80868b;
    margin-bottom: 8px;
}

.stars {
    color: #fbbc04;
    font-size: 12px;
}

.app-price {
    font-weight: 700;
    color: #1f73e7;
    font-size: 13px;
    margin-top: auto;
}

/* App Details Page */
.app-details-container {
    background: white;
    border-radius: 12px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.app-details-image {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-main-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.app-screenshots {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.screenshot {
    width: 72px;
    height: 144px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.screenshot:hover,
.screenshot.active {
    border-color: #1f73e7;
}

.app-details-info {
    display: flex;
    flex-direction: column;
}

.app-header {
    margin-bottom: 24px;
}

.app-details-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-details-developer {
    font-size: 14px;
    color: #1f73e7;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.app-details-developer:hover {
    color: #1566d1;
}

.app-details-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.rating-value {
    font-weight: 700;
}

.rating-count {
    color: #80868b;
    font-size: 13px;
}

.app-details-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #dadce0;
    border-bottom: 1px solid #dadce0;
    margin-bottom: 16px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 11px;
    color: #80868b;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 14px;
    font-weight: 700;
    color: #202124;
}

.app-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #1f73e7;
    color: white;
}

.btn-primary:hover {
    background: #1566d1;
    box-shadow: 0 2px 8px rgba(31, 115, 231, 0.3);
}

.btn-secondary {
    background: #f1f3f4;
    color: #1f73e7;
    border: 1px solid #dadce0;
}

.btn-secondary:hover {
    background: #e8eaed;
}

.app-description {
    margin-bottom: 20px;
}

.app-description h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #202124;
}

.app-description p {
    color: #80868b;
    line-height: 1.6;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
    font-size: 14px;
}

.app-details-features {
    margin-bottom: 20px;
}

.app-details-features h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #202124;
}

.features-list {
    display: grid;
    gap: 8px;
}

.feature-item {
    display: flex;
    gap: 12px;
    padding: 8px;
    font-size: 13px;
    color: #80868b;
}

.feature-item:before {
    content: '✓';
    color: #34a853;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 16px;
}

/* Google Play Store Inspired App Details */
.app-details-playstore {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.app-header-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #dadce0;
    margin-bottom: 32px;
    width: 100%;
}

.app-header-content {
    display: flex;
    gap: 16px;
    flex: 1;
}

.app-icon-large {
    flex-shrink: 0;
}

.app-icon-large img {
    width: 128px;
    height: 128px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.app-header-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dev-link {
    color: #1f73e7;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.dev-link:hover {
    color: #1566d1;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.rating-stars {
    font-size: 16px;
    letter-spacing: 2px;
    color: #fbbc04;
}

.rating-mini {
    color: #fbbc04;
}

.rating-number {
    font-weight: 700;
    color: #202124;
}

.rating-count {
    color: #80868b;
    font-size: 13px;
}

.app-action-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-get {
    background: #1f73e7;
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-get:hover {
    background: #1566d1;
    box-shadow: 0 2px 8px rgba(31, 115, 231, 0.3);
    color: white;
}

.btn-more {
    background: white;
    border: 1px solid #dadce0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #202124;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
}

.btn-more:hover {
    background: #f1f3f4;
}

/* Two Column Layout */
.app-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}

.app-main-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

.app-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Screenshots Section */
.screenshots-section {
    margin-bottom: 0;
    border-bottom: 1px solid #dadce0;
    padding-bottom: 32px;
}

.screenshots-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scroll-behavior: smooth;
    min-width: 0;
}

.screenshot-slide {
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.screenshot-slide img {
    width: 180px;
    height: 360px;
    object-fit: cover;
}

.screenshot-slide:hover,
.screenshot-slide.active {
    border-color: #1f73e7;
}

/* Screenshot Modal */
.screenshot-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 16px;
}

.screenshot-modal.open {
    display: flex;
}

.screenshot-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    max-height: 800px;
}

.screenshot-modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.screenshot-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
}

.screenshot-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.screenshot-modal-nav {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.screenshot-modal-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
    pointer-events: auto;
}

.screenshot-modal-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.screenshot-modal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.screenshot-modal-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 500;
}

/* About Section */
.app-about-section {
    margin-bottom: 0;
    border-bottom: 1px solid #dadce0;
    padding-bottom: 32px;
}

.app-about-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 16px;
}

.app-description-text {
    color: #80868b;
    line-height: 1.6;
    font-size: 14px;
    word-break: break-word;
    white-space: pre-wrap;
}

/* App Info Grid */
.app-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    margin-bottom: 0;
    padding-bottom: 32px;
    border-bottom: 1px solid #dadce0;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: #80868b;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
}

/* Developer Section */
.developer-section {
    margin-bottom: 0;
}

.developer-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 16px;
}

.dev-link-full {
    display: inline-block;
    color: #1f73e7;
    text-decoration: none;
    font-size: 14px;
    padding: 12px 16px;
    background: #f1f3f4;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dev-link-full:hover {
    background: #e8eaed;
    color: #1566d1;
}

/* More from Developer Section */
.more-from-developer {
    border-top: 1px solid #dadce0;
    padding-top: 20px;
}

.more-from-developer h2 {
    font-size: 16px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 12px;
}

.developer-apps-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dev-app-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: 8px;
    flex-direction: row;
    text-align: left;
}

.dev-app-item:hover {
    background-color: #f1f3f4;
}

.dev-app-item img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    object-fit: cover;
}

.dev-app-info {
    flex: 1;
    min-width: 0;
}

.dev-app-name {
    font-size: 12px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dev-app-rating {
    font-size: 11px;
    color: #80868b;
}

.rating-mini {
    color: #fbbc04;
}

/* Related Apps Section */
.related-apps {
    border-top: 1px solid #dadce0;
    padding-top: 20px;
}

.related-apps h2 {
    font-size: 16px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 12px;
}

.related-apps-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-app-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dadce0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    gap: 12px;
    padding: 8px;
    text-align: left;
}

.related-app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #1f73e7;
}

.related-app-card img {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-app-content {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    min-width: 0;
    justify-content: center;
}

.related-app-name {
    font-size: 12px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-app-dev {
    font-size: 11px;
    color: #80868b;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-app-rating {
    font-size: 11px;
    color: #fbbc04;
    font-weight: 500;
}

/* Loading & Empty States */

.loading.modern {
    display: flex;
    flex-direction: column;
    align-items: center;      /* horizontal center */
    justify-content: center;  /* vertical center */
    width: 100%;
    height: 100%;  
    margin: auto;
}

.loading.modern .spinner {
    width: 56px;
    height: 56px;
    background: conic-gradient(
        from 0deg at 50% 50%,
        #4285f4 0deg,
        #34a853 90deg,
        #fbbc04 180deg,
        #ea4335 270deg,
        #4285f4 360deg
    );
    -webkit-mask-image: radial-gradient(circle at center, transparent 55%, black 95%);
    mask-image: radial-gradient(circle at center, transparent 55%, black 95%);
    animation: spinSmooth 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

.loading.modern p {
    font-size: 15px;
    font-weight: 600;
    color: #202124;
    margin-top: 8px;
    text-align: center;
}




.no-results {
    text-align: center;
    padding: 56px 20px;
    background: white;
    border-radius: 12px;
}

.no-results h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.no-results p {
    color: #80868b;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination a,
.pagination button {
    padding: 8px 12px;
    border: 1px solid #dadce0;
    background: white;
    color: #1f73e7;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}

.pagination a:hover,
.pagination button:hover {
    border-color: #1f73e7;
    background: #f1f3f4;
}

.pagination .active {
    background: #1f73e7;
    border-color: #1f73e7;
    color: white;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: #1f2937;
    color: #ffffff;
    padding: 40px 16px 20px;
    margin-top: 60px;
    border-top: 1px solid #dadce0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section a {
    display: block;
    font-size: 13px;
    color: #d1d5db;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
}

.footer-bottom p {
    margin: 0;
    line-height: 1.6;
}

/* Share Modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-modal-content {
    background: white;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #dadce0;
}

.share-modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #202124;
    margin: 0;
}

.share-modal-close {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #202124;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.share-modal-close:hover {
    color: #1f73e7;
}

.share-modal-body {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 16px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border: 1px solid #dadce0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
    color: #202124;
    font-size: 12px;
    font-weight: 500;
}

.share-option:hover {
    background: #f1f3f4;
    border-color: #1f73e7;
    color: #1f73e7;
}

.share-option .material-icons {
    font-size: 24px;
    color: #1f73e7;
}

.share-option:hover .material-icons {
    transform: scale(1.1);
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZED
   ============================================ */

@media (max-width: 768px) {
    .header-container {
        height: auto;
        padding: 8px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav {
        gap: 12px;
        flex-basis: 100%;
        order: 3;
    }

    .nav a {
        font-size: 13px;
    }

    .search-box {
        flex-basis: 100%;
        max-width: 100%;
    }

    .container {
        padding: 16px;
    }

    .hero {
        padding: 32px 16px;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search input,
    .hero-search button {
        width: 100%;
    }

    /* CATEGORIES - Mobile */
    [data-section="categories"] {
        margin-bottom: 60px;
        padding: 0;
    }

    [data-section="categories"] .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .categories-browse-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        margin-bottom: 48px;
    }


    /* FEATURED - Mobile */
    [data-section="featured"] {
        padding: 0 !important;
        margin-bottom: 60px !important;
    }

    [data-section="featured"] .section-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .featured-apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 8px;
    }

    .app-icon {
        height: 140px;
    }

    /* GAMES - Mobile */
    [data-section="games"] {
        margin-bottom: 60px;
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }

    [data-section="games"] .section-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    [data-section="games"] .showcase-apps-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    /* PRODUCTIVITY - Mobile */
    [data-section="productivity"] {
        margin-bottom: 60px !important;
        padding: 24px 16px !important;
        border-radius: 12px !important;
        border: none !important;
    }

    [data-section="productivity"] .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    /* SOCIAL - Mobile */
    [data-section="social"] {
        margin-bottom: 60px !important;
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }

    [data-section="social"] .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    /* ENTERTAINMENT - Mobile */
    [data-section="entertainment"] {
        margin-bottom: 60px !important;
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }

    [data-section="entertainment"] .section-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    /* EDUCATION - Mobile */
    [data-section="education"] {
        margin-bottom: 60px !important;
        padding: 24px 16px !important;
        border-radius: 16px !important;
        border-left: 6px solid #ff8c42 !important;
    }

    [data-section="education"] .section-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    [data-section="education"] .showcase-apps-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    /* HEALTH - Mobile */
    [data-section="health"] {
        margin-bottom: 60px !important;
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }

    [data-section="health"] .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    /* TRAVEL - Mobile */
    [data-section="travel"] {
        margin-bottom: 60px !important;
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }

    [data-section="travel"] .section-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    /* LIFESTYLE - Mobile */
    [data-section="lifestyle"] {
        margin-bottom: 60px !important;
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }

    [data-section="lifestyle"] .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .app-details-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
    }

    .app-header-section {
        flex-direction: column;
        gap: 16px;
        padding: 16px 0;
        margin-bottom: 24px;
    }

    .app-action-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .btn-get {
        flex: 1;
    }

    .app-icon-large img {
        width: 96px;
        height: 96px;
    }

    .app-content-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .app-sidebar {
        gap: 24px;
    }

    .screenshot-slide img {
        width: 140px;
        height: 280px;
    }

    .app-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .showcase-apps-grid {
        gap: 12px;
        margin-bottom: 40px;
    }

    .app-card-showcase {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 20px;
    }

    footer {
        padding: 24px 16px 12px;
    }

    .share-modal-body {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .share-modal-header {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .hero {
        padding: 24px 12px;
        margin-bottom: 32px;
    }

    .hero h1 {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .hero p {
        font-size: 12px;
        margin-bottom: 20px;
    }

    /* CATEGORIES - Small Mobile */
    [data-section="categories"] {
        margin-bottom: 48px;
    }

    [data-section="categories"] .section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .categories-browse-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 40px;
    }

    /* FEATURED - Small Mobile */
    [data-section="featured"] {
        padding: 0 !important;
        margin-bottom: 48px !important;
    }

    [data-section="featured"] .section-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .featured-apps-grid {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 8px;
    }

    .app-icon {
        height: 180px;
    }

    /* GAMES - Small Mobile */
    [data-section="games"] {
        margin-bottom: 48px;
        padding: 16px 12px !important;
        border-radius: 12px !important;
    }

    [data-section="games"] .section-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    [data-section="games"] .showcase-apps-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    /* PRODUCTIVITY - Small Mobile */
    [data-section="productivity"] {
        margin-bottom: 48px !important;
        padding: 16px 12px !important;
        border-radius: 8px !important;
    }

    [data-section="productivity"] .section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    /* SOCIAL - Small Mobile */
    [data-section="social"] {
        margin-bottom: 48px !important;
        padding: 16px 12px !important;
        border-radius: 12px !important;
    }

    [data-section="social"] .section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    /* ENTERTAINMENT - Small Mobile */
    [data-section="entertainment"] {
        margin-bottom: 48px !important;
        padding: 16px 12px !important;
        border-radius: 12px !important;
    }

    [data-section="entertainment"] .section-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    /* EDUCATION - Small Mobile */
    [data-section="education"] {
        margin-bottom: 48px !important;
        padding: 16px 12px !important;
        border-radius: 12px !important;
        border-left: 4px solid #ff8c42 !important;
    }

    [data-section="education"] .section-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    [data-section="education"] .showcase-apps-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    /* HEALTH - Small Mobile */
    [data-section="health"] {
        margin-bottom: 48px !important;
        padding: 16px 12px !important;
        border-radius: 12px !important;
    }

    [data-section="health"] .section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    /* TRAVEL - Small Mobile */
    [data-section="travel"] {
        margin-bottom: 48px !important;
        padding: 16px 12px !important;
        border-radius: 12px !important;
    }

    [data-section="travel"] .section-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    /* LIFESTYLE - Small Mobile */
    [data-section="lifestyle"] {
        margin-bottom: 48px !important;
        padding: 16px 12px !important;
        border-radius: 12px !important;
    }

    [data-section="lifestyle"] .section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .app-header-section {
        gap: 12px;
        margin-bottom: 20px;
        padding: 12px 0;
    }

    .app-icon-large img {
        width: 80px;
        height: 80px;
    }

    .app-details-container {
        padding: 12px;
        gap: 16px;
    }

    .app-content-wrapper {
        gap: 16px;
    }

    .app-main-content {
        gap: 20px;
    }

    .app-sidebar {
        gap: 20px;
    }

    .screenshot-slide img {
        width: 120px;
        height: 240px;
    }

    .screenshot-modal-content {
        max-width: 100%;
        max-height: 90vh;
    }

    .app-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-bottom: 24px;
    }

    .app-details-meta {
        grid-template-columns: 1fr;
    }

    .app-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .showcase-apps-grid {
        gap: 10px;
        margin-bottom: 32px;
    }

    .app-card-showcase {
        width: 100%;
        padding: 5px;
    }

    .showcase-app-icon {
        width: 56px;
        height: 56px;
    }

    .showcase-app-name {
        font-size: 13px;
    }

    .showcase-app-dev {
        font-size: 11px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 16px;
    }

    footer {
        padding: 20px 12px 10px;
    }

    .share-modal-body {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .share-modal-header {
        padding: 10px 12px;
    }

    .btn-browse-more {
        padding: 8px 16px;
        font-size: 11px;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .app-actions {
        display: none;
    }
}

/* Device Compatibility Section Styles */

.device-compatibility-section {
    margin: 32px 0;
    padding: 24px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.device-compatibility-section h2 {
    font-size: 16px;
    font-weight: 500;
    color: #202124;
    margin: 0 0 16px 0;
    padding: 0;
}

.device-compatibility-info {
    margin-bottom: 20px;
}

.min-os-requirement {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #fff;
    border-radius: 6px;
    border-left: 4px solid #1f73e6;
    margin-bottom: 12px;
}

.requirement-label {
    font-size: 13px;
    color: #80868b;
    font-weight: 500;
    min-width: 80px;
}

.requirement-value {
    font-size: 14px;
    color: #202124;
    font-weight: 500;
}

.universal-badge {
    display: inline-block;
    padding: 8px 12px;
    background-color: #e8f0fe;
    border: 1px solid #1f73e6;
    border-radius: 4px;
    margin-bottom: 12px;
}

.badge-label {
    font-size: 12px;
    color: #1f73e6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compatibility-note {
    padding: 12px;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    margin-bottom: 12px;
}

.note-text {
    font-size: 13px;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Device Grid */
.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px;
    padding: 16px 0;
}

.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.device-item:hover {
    border-color: #1f73e6;
    box-shadow: 0 2px 8px rgba(31, 115, 230, 0.15);
}

.device-item.supported {
    border-color: #1f73e6;
    background-color: #f8f9fa;
}

.device-item.supported:hover {
    background-color: #e8f0fe;
}

.device-icon {
    font-size: 28px;
    display: block;
    line-height: 1;
}

.device-label {
    font-size: 12px;
    color: #202124;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.device-item.supported .device-label {
    color: #1f73e6;
    font-weight: 600;
}

/* Tablet and Mobile Responsive */
@media (max-width: 768px) {
    .device-compatibility-section {
        padding: 20px;
        margin: 24px 0;
    }

    .device-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 12px;
        padding: 12px 0;
    }

    .device-item {
        padding: 12px 8px;
    }

    .device-icon {
        font-size: 24px;
    }

    .device-label {
        font-size: 11px;
    }

    .min-os-requirement {
        flex-wrap: wrap;
        gap: 8px;
    }

    .requirement-label {
        min-width: auto;
        width: 100%;
    }

    .requirement-value {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .device-compatibility-section {
        padding: 16px;
        margin: 20px 0;
        border-radius: 4px;
    }

    .device-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
    }

    .device-item {
        padding: 10px 6px;
    }

    .device-icon {
        font-size: 22px;
    }

    .device-label {
        font-size: 10px;
    }

    .min-os-requirement {
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .universal-badge {
        padding: 6px 10px;
        margin-bottom: 10px;
    }

    .badge-label {
        font-size: 11px;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .device-compatibility-section {
        background-color: #1a1a1a;
        border-color: #444;
    }

    .device-compatibility-section h2 {
        color: #e8eaed;
    }

    .min-os-requirement {
        background-color: #2a2a2a;
        border-left-color: #5b9cf5;
    }

    .requirement-label {
        color: #aeb0b8;
    }

    .requirement-value {
        color: #e8eaed;
    }

    .universal-badge {
        background-color: #1a3a52;
        border-color: #5b9cf5;
    }

    .badge-label {
        color: #81b4ff;
    }

    .compatibility-note {
        background-color: #3a2a1a;
        border-color: #ff9800;
    }

    .note-text {
        color: #ffb74d;
    }

    .device-item {
        background-color: #2a2a2a;
        border-color: #444;
    }

    .device-item:hover {
        border-color: #5b9cf5;
        box-shadow: 0 2px 8px rgba(91, 156, 245, 0.15);
    }

    .device-item.supported {
        border-color: #5b9cf5;
        background-color: #1a2a3a;
    }

    .device-item.supported:hover {
        background-color: #1a3a52;
    }

    .device-label {
        color: #e8eaed;
    }

    .device-item.supported .device-label {
        color: #81b4ff;
    }
}