@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
}

/* Mobile App Layout */
.app-container {
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background-color: #ffffff;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 22px;
    color: #0F766E; /* Deep Teal - Premium Look */
    font-weight: 700;
}

.brand-tagline {
    font-size: 10px;
    color: #64748b;
    margin-top: 2px;
}

.header-icons .icon {
    font-size: 20px;
    color: #334155;
    margin-left: 15px;
    cursor: pointer;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    font-size: 15px;
}

.tab.active {
    color: #0F766E;
    border-bottom: 2px solid #0F766E;
}

/* Ad Space */
.ad-space {
    width: 100%;
    height: 40px;
    background-color: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    font-size: 12px;
}

/* Content Area */
.content-area {
    padding: 10px 0 70px 0; /* padding-bottom 70px to avoid bottom nav overlap */
}

.content-section {
    padding: 15px 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

/* Horizontal Scroll */
.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.placeholder-card {
    min-width: 120px;
    height: 160px;
    background-color: #e2e8f0;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #64748b;
    font-size: 14px;
}

.writer-circle {
    min-width: 70px;
    height: 70px;
    background-color: #e2e8f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #64748b;
    font-size: 12px;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    height: 60px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    z-index: 10;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #64748b;
    font-size: 12px;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item:hover {
    color: #0F766E;
}

/* Login Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); 
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 30px 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.modal-content h2 { color: #0F766E; margin-bottom: 10px; }
.modal-content p { color: #64748b; margin-bottom: 25px; font-size: 14px; }

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
}

.close-btn:hover { color: #ef4444; }