/* ========================================
   CSS CUSTOM PROPERTIES / THEME SYSTEM
======================================== */
:root {
    /* Light Theme */
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f0f2;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --bg-glass: rgba(255, 255, 255, 0.72);
    --bg-glass-strong: rgba(255, 255, 255, 0.92);

    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --text-inverse: #ffffff;

    --accent-primary: #0071e3;
    --accent-primary-hover: #0077ed;
    --accent-secondary: #147ce5;
    --accent-success: #34c759;
    --accent-warning: #ff9f0a;
    --accent-danger: #ff3b30;

    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-strong: rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(0, 113, 227, 0.15);

    /* Shared */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    --nav-height: 52px;
    --tab-height: 84px;
}

[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #1c1c1e;
    --bg-tertiary: #2c2c2e;
    --bg-card: #1c1c1e;
    --bg-card-hover: #252527;
    --bg-glass: rgba(28, 28, 30, 0.72);
    --bg-glass-strong: rgba(28, 28, 30, 0.92);

    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #6e6e73;
    --text-inverse: #000000;

    --accent-primary: #0a84ff;
    --accent-primary-hover: #409cff;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-strong: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(10, 132, 255, 0.2);
}

/* ========================================
   RESET & BASE STYLES
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    padding-bottom: var(--tab-height);
    overflow-x: hidden;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Skeleton loading states */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-card) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   TOP NAVIGATION
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background var(--transition-base);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav__logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-primary), #5856d6);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.875rem;
}

.nav__search {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.nav__search-input {
    width: 100%;
    height: 36px;
    padding: 0 16px 0 40px;
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-fast);
}

.nav__search-input::placeholder {
    color: var(--text-tertiary);
}

.nav__search-input:focus {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.nav__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-tertiary);
    pointer-events: none;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav__btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav__btn svg {
    width: 20px;
    height: 20px;
}

.nav__avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border: 2px solid var(--bg-secondary);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.nav__avatar:hover {
    transform: scale(1.08);
}

/* ========================================
   MAIN CONTENT AREA
======================================== */
.main {
    padding-top: calc(var(--nav-height) + 16px);
}

/* ========================================
   SECTION HEADERS
======================================== */
.section {
    margin-bottom: 32px;
}

.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 20px;
}

.section__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--accent-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity var(--transition-fast);
}

.section__link:hover {
    opacity: 0.8;
}

.section__link svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   HERO CAROUSEL / FEATURED BANNER
======================================== */
.hero {
    margin-bottom: 32px;
    padding: 0 20px;
}

.hero__carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.hero__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 7;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero__slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.hero__slide:hover .hero__slide-bg {
    transform: scale(1.03);
}

.hero__slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
}

.hero__slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: white;
}

.hero__slide-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
    margin-bottom: 8px;
}

.hero__slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero__slide-desc {
    font-size: 0.9375rem;
    opacity: 0.9;
    max-width: 400px;
}

.hero__slide-app {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.hero__slide-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
}

.hero__slide-meta {
    flex: 1;
}

.hero__slide-app-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.hero__slide-app-category {
    font-size: 0.8125rem;
    opacity: 0.7;
}

/* Carousel Dots */
.hero__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--text-tertiary);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    opacity: 0.4;
}

.hero__dot.active {
    width: 24px;
    background: var(--accent-primary);
    opacity: 1;
}

/* ========================================
   CATEGORY PILLS (Horizontal Scroll)
======================================== */
.categories {
    margin-bottom: 24px;
}

.categories__scroll {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.categories__scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    flex-shrink: 0;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    scroll-snap-align: start;
    white-space: nowrap;
}

.category-pill:hover {
    border-color: var(--border-color-strong);
    color: var(--text-primary);
}

.category-pill.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--text-inverse);
}

.category-pill[data-category-id] {
    /* Dynamic binding hook */
}

/* ========================================
   APP CAROUSEL (Horizontal Scroll)
======================================== */
.app-carousel {
    position: relative;
}

.app-carousel__scroll {
    display: flex;
    gap: 16px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 20px;
}

.app-carousel__scroll::-webkit-scrollbar {
    display: none;
}

/* ========================================
   APP CARDS
======================================== */
/* Standard App Card (List Style) */
.app-card {
    flex-shrink: 0;
    width: 320px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    scroll-snap-align: start;
}

.app-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.app-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    flex-shrink: 0;
    overflow: hidden;
}

.app-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-card__info {
    flex: 1;
    min-width: 0;
}

.app-card__name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.app-card__category {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}

.app-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.app-card__stars {
    display: flex;
    gap: 2px;
}

.app-card__star {
    width: 12px;
    height: 12px;
    color: var(--accent-warning);
}

.app-card__star--empty {
    color: var(--text-tertiary);
    opacity: 0.4;
}

.app-card__rating-count {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.app-card__action {
    flex-shrink: 0;
}

/* Get Button */
.btn-get {
    padding: 6px 16px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-get:hover {
    background: var(--accent-primary);
    color: white;
}

.btn-get--purchased {
    color: var(--text-tertiary);
}

.btn-get--purchased:hover {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

/* Large Feature Card */
.app-card--large {
    width: 280px;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.app-card--large .app-card__preview {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.app-card--large .app-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.app-card--large:hover .app-card__preview img {
    transform: scale(1.05);
}

.app-card--large .app-card__body {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.app-card--large .app-card__icon {
    width: 48px;
    height: 48px;
}

.app-card--large .app-card__info {
    flex: 1;
}

/* ========================================
   TOP CHARTS SECTION
======================================== */
.top-charts {
    margin-bottom: 32px;
}

.top-charts__tabs {
    display: flex;
    gap: 0;
    padding: 0 20px;
    margin-bottom: 16px;
}

.top-charts__tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-tertiary);
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

.top-charts__tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.top-charts__tab:hover {
    color: var(--text-secondary);
}

.top-charts__tab.active {
    color: var(--text-primary);
}

.top-charts__tab.active::after {
    transform: scaleX(1);
}

/* Ranked App List */
.app-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 8px;
    padding: 0 20px;
}

.app-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.app-list-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-strong);
}

.app-list-item__rank {
    width: 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-align: center;
}

.app-list-item__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    flex-shrink: 0;
}

.app-list-item__info {
    flex: 1;
    min-width: 0;
}

.app-list-item__name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-list-item__category {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* ========================================
   CATEGORY GRID
======================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    padding: 0 20px;
}

.category-tile {
    aspect-ratio: 1.4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.category-tile:hover {
    transform: scale(1.02);
}

.category-tile__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.category-tile:hover .category-tile__bg {
    transform: scale(1.08);
}

.category-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

.category-tile__name {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: white;
}

/* Gradient backgrounds for categories */
.category-tile--games { background: linear-gradient(135deg, #ff6b6b, #c44569); }
.category-tile--productivity { background: linear-gradient(135deg, #0984e3, #6c5ce7); }
.category-tile--social { background: linear-gradient(135deg, #fd79a8, #e84393); }
.category-tile--utilities { background: linear-gradient(135deg, #00b894, #00cec9); }
.category-tile--entertainment { background: linear-gradient(135deg, #fdcb6e, #e17055); }
.category-tile--finance { background: linear-gradient(135deg, #2d3436, #636e72); }

/* ========================================
   BOTTOM TAB BAR (Mobile)
======================================== */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--tab-height);
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1000;
}

.tab-bar__inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: calc(var(--tab-height) - env(safe-area-inset-bottom));
    max-width: 500px;
    margin: 0 auto;
}

.tab-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.tab-bar__item:hover {
    color: var(--text-secondary);
}

.tab-bar__item.active {
    color: var(--accent-primary);
}

.tab-bar__icon {
    width: 24px;
    height: 24px;
}

.tab-bar__label {
    font-size: 0.6875rem;
    font-weight: 500;
}

/* ========================================
   APP DETAIL MODAL (Template)
======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 90vh;
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2001;
}

.modal-overlay.open .modal {
    transform: translateY(0);
}

.modal__handle {
    width: 36px;
    height: 5px;
    background: var(--border-color-strong);
    border-radius: var(--radius-full);
    margin: 12px auto;
}

.modal__content {
    padding: 0 20px 32px;
    overflow-y: auto;
    max-height: calc(90vh - 30px);
}

.modal__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.modal__icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-xl);
    background: var(--bg-tertiary);
    flex-shrink: 0;
}

.modal__info {
    flex: 1;
}

.modal__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.modal__subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.modal__actions {
    display: flex;
    gap: 12px;
}

.btn-primary {
    padding: 10px 32px;
    background: var(--accent-primary);
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background: var(--accent-primary-hover);
    transform: scale(1.02);
}

/* ========================================
   EMPTY STATE TEMPLATE
======================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.empty-state__icon svg {
    width: 40px;
    height: 40px;
}

.empty-state__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-state__desc {
    color: var(--text-secondary);
    max-width: 300px;
    margin: 0 auto;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease forwards;
}

/* Stagger children */
[data-stagger] > * {
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

[data-stagger] > *:nth-child(1) { animation-delay: 0.05s; }
[data-stagger] > *:nth-child(2) { animation-delay: 0.1s; }
[data-stagger] > *:nth-child(3) { animation-delay: 0.15s; }
[data-stagger] > *:nth-child(4) { animation-delay: 0.2s; }
[data-stagger] > *:nth-child(5) { animation-delay: 0.25s; }
[data-stagger] > *:nth-child(6) { animation-delay: 0.3s; }

/* ========================================
   RESPONSIVE
======================================== */
@media (min-width: 768px) {
    .tab-bar {
        display: none;
    }

    body {
        padding-bottom: 0;
    }

    .hero__slide {
        aspect-ratio: 21 / 8;
    }

    .app-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .app-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
