/* Mobile App Layout Styles - Light Edition */
:root {
    --primary-color: #dc3545;
    --primary-glow: rgba(220, 53, 69, 0.2);
    --bg-main: #f4f7f6;
    --card-bg: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: #edf2f7;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --nav-height: 70px;
    --accent-yellow: #f1c40f;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding-bottom: calc(var(--nav-height) + 30px);
    margin: 0;
    overflow-x: hidden;
}

/* Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.premium-card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    height: var(--nav-height);
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 20px;
    border: 1px solid #edf2f7;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #a0aec0;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.2s ease;
    flex: 1;
}

.nav-item i {
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.nav-item.active {
    color: var(--primary-color);
}

/* App Header */
.app-header {
    background: #ffffff;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--glass-border);
}

/* Hero Slider */
.hero-slider-container {
    padding: 10px 0;
    overflow-x: auto;
    display: flex;
    gap: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.hero-slide {
    min-width: 88%;
    height: 380px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: center;
    margin-left: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

/* Category Ticker */
.category-ticker {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 15px 20px;
    scrollbar-width: none;
}

.cat-chip {
    padding: 8px 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #edf2f7;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.cat-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Section Styling */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 8px;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a202c;
}

/* List Items */
.news-list-item {
    padding: 15px 20px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    gap: 15px;
    background: #fff;
    margin: 0 15px 10px;
    border-radius: 12px;
}

.news-list-item img {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

/* Text Colors Overrides */
.text-white { color: var(--text-main) !important; }
.text-white-50 { color: var(--text-muted) !important; }
.bg-dark { background-color: #ffffff !important; }

/* Magazine */
.magazine-card {
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

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