* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
    color: #1a1a1a;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout principal */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar - Desktop */
.sidebar {
    display: none;
    width: 80px;
    background: #fff;
    border-right: 1px solid #e5e5e5;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 100;
}

.sidebar-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 30px;
}

.sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    flex: 1;
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 20px;
}

.nav-item {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #999;
}

.nav-item span {
    font-size: 10px;
    margin-top: 4px;
}

.nav-item:hover, .nav-item.active {
    background: #fef2f2;
    color: #7c1d2a;
}

.nav-item.logout:hover {
    background: #fee2e2;
    color: #dc2626;
}

.nav-item svg {
    width: 22px;
    height: 22px;
}

/* Bottom Nav - Mobile */
.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 8px 0 20px;
    justify-content: space-around;
    z-index: 100;
}

.bottom-nav .nav-item {
    width: auto;
    height: auto;
    padding: 8px 12px;
    gap: 4px;
}

.bottom-nav .nav-item svg {
    width: 24px;
    height: 24px;
}

.bottom-nav .nav-item span {
    font-size: 11px;
    margin-top: 2px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding-bottom: 90px;
    background: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

/* Page */
.page {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    height: 40px;
    width: auto;
}

.header-left svg {
    width: 24px;
    height: 24px;
    color: #1a1a1a;
}

.header-right {
    display: flex;
    gap: 15px;
}

.header-right a,
.header-right svg {
    width: 24px;
    height: 24px;
    color: #1a1a1a;
    cursor: pointer;
}

.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f5f5f5;
}

.back-btn svg {
    width: 20px;
    height: 20px;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #7c1d2a 0%, #4a1018 100%);
    color: #fff;
    padding: 25px 20px;
    margin: 0 20px;
    border-radius: 16px;
    text-align: center;
}

.welcome-banner h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.welcome-banner p {
    font-size: 14px;
    opacity: 0.9;
}

/* Categories */
.categories {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category-pill {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #666;
    transition: all 0.2s;
}

.category-pill.active {
    background: #7c1d2a;
    color: #fff;
    border-color: #7c1d2a;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 15px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
}

.view-all {
    font-size: 14px;
    color: #999;
    cursor: pointer;
}

/* Image Placeholder */
.img-placeholder {
    background: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
}

/* Hottest News Cards */
.news-slider {
    display: flex;
    gap: 15px;
    padding: 0 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.news-slider::-webkit-scrollbar {
    display: none;
}

.news-card {
    min-width: 260px;
    max-width: 85vw;
    height: 200px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    display: block;
    flex-shrink: 0;
}

.news-card .img-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.news-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.news-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.9);
    color: #7c1d2a;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

/* Recommended Articles */
.article-list {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
}

.article-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 16px;
}

.article-item .img-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    flex-shrink: 0;
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    font-size: 12px;
    color: #7c1d2a;
    margin-bottom: 5px;
    font-weight: 500;
}

.article-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #999;
}

.article-meta .avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* ========== PAGE DETAIL ========== */
.page-detail {
    background: #fff;
    max-width: 100%;
}

.detail-hero {
    position: relative;
    height: 400px;
}

.detail-hero .img-placeholder {
    width: 100%;
    height: 100%;
}

.detail-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.detail-nav {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
}

.nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

.detail-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.9);
    color: #7c1d2a;
    border-radius: 15px;
    font-size: 13px;
    margin-bottom: 15px;
}

.detail-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.detail-author {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.author-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #fff;
    border-radius: 20px;
    color: #1a1a1a;
}

.author-badge .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.author-badge span {
    font-size: 13px;
    font-weight: 500;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

.detail-meta svg {
    width: 16px;
    height: 16px;
}

.detail-body {
    padding: 25px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.detail-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.detail-text {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.detail-quote {
    border-left: 3px solid #7c1d2a;
    padding-left: 15px;
    font-style: italic;
    color: #666;
    margin: 20px 0;
}

.detail-actions {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: #7c1d2a;
    padding: 12px 25px;
    border-radius: 30px;
    color: #fff;
    z-index: 50;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.action-btn svg {
    width: 18px;
    height: 18px;
}

.action-divider {
    width: 1px;
    background: rgba(255,255,255,0.3);
}

/* ========== PAGE PROFIL ========== */
.page-profile {
    background: #fff;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.profile-header svg {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.profile-details {
    flex: 1;
}

.profile-username {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.profile-handle {
    font-size: 13px;
    color: #999;
    margin-bottom: 3px;
}

.profile-bio {
    font-size: 13px;
    color: #666;
}

.follow-btn, .edit-btn {
    padding: 10px 25px;
    background: #7c1d2a;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.edit-btn {
    background: #f0f0f0;
    color: #1a1a1a;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    color: #999;
}

/* Profile Details Section */
.profile-details-section {
    padding: 20px;
}

.profile-details-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.info-item svg {
    width: 24px;
    height: 24px;
    color: #7c1d2a;
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: #999;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
}

/* Profile Actions */
.profile-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.profile-action-btn:hover {
    background: #fef2f2;
}

.profile-action-btn.primary {
    background: #7c1d2a;
    color: #fff;
}

.profile-action-btn.logout-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

.profile-action-btn svg {
    width: 20px;
    height: 20px;
}

/* Books Section */
.books-slider {
    display: flex;
    gap: 15px;
    padding: 0 20px;
    overflow-x: auto;
}

.book-card {
    min-width: 110px;
    text-align: center;
}

.book-cover {
    width: 110px;
    height: 160px;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
}

.book-rating {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #fff;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
    color: #1a1a1a;
}

.book-rating svg {
    width: 12px;
    height: 12px;
    fill: #ffc107;
}

.book-badge {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 10px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #1a1a1a;
}

.book-title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

/* Posts Section */
.post-list {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-item {
    display: flex;
    gap: 15px;
}

.post-img {
    width: 130px;
    height: 100px;
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
}

.post-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255,255,255,0.9);
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    color: #7c1d2a;
}

.post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.post-date {
    font-size: 12px;
    color: #999;
}

/* ========== PAGE CATEGORIES ========== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
}

.category-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    transition: all 0.2s;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

.category-card:hover {
    background: #fef2f2;
    transform: translateY(-2px);
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.category-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.category-icon.innovation { background: #7c1d2a; }
.category-icon.entrepreneuriat { background: #e74c3c; }
.category-icon.technologie { background: #9b59b6; }
.category-icon.culture { background: #f39c12; }
.category-icon.education { background: #27ae60; }
.category-icon.sport { background: #1abc9c; }
.category-icon.environnement { background: #2ecc71; }
.category-icon.sante { background: #e91e63; }

.category-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-count {
    font-size: 11px;
    color: #7c1d2a;
    font-weight: 500;
}

/* ========== PAGE ABOUT ========== */
.about-hero {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #7c1d2a 0%, #4a1018 100%);
    color: #fff;
}

.about-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.about-hero h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.tagline {
    font-size: 14px;
    opacity: 0.9;
}

.about-content {
    padding: 20px;
}

.about-section {
    margin-bottom: 30px;
}

.about-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #7c1d2a;
}

.about-section p {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.value-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.value-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.value-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.value-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.founder-section .founder-card {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 16px;
    align-items: center;
}

.founder-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    flex-shrink: 0;
}

.founder-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.founder-title {
    font-size: 13px;
    color: #7c1d2a;
    font-weight: 500;
    margin-bottom: 10px;
}

.founder-bio {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: #7c1d2a;
}

.contact-item span {
    font-size: 14px;
}

/* ========== PAGE SEARCH ========== */
.search-container {
    padding: 0 20px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 12px 20px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.search-box:focus-within {
    border-color: #7c1d2a;
    background: #fff;
}

.search-box svg {
    width: 24px;
    height: 24px;
    color: #999;
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    font-size: 15px;
    outline: none;
}

.search-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #7c1d2a;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-btn svg {
    color: #fff;
    width: 20px;
    height: 20px;
}

.search-filters {
    padding: 15px 20px;
}

.filter-label {
    font-size: 13px;
    color: #999;
    margin-right: 10px;
}

.filter-pills {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
}

.filter-pill {
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 13px;
    background: #f0f0f0;
    cursor: pointer;
    white-space: nowrap;
}

.filter-pill.active {
    background: #7c1d2a;
    color: #fff;
}

.popular-searches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px;
}

.popular-tag {
    padding: 8px 16px;
    background: #fef2f2;
    color: #7c1d2a;
    border-radius: 20px;
    font-size: 13px;
}

/* ========== PAGE SUBSCRIBE ========== */
.subscribe-hero {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #7c1d2a 0%, #4a1018 100%);
    color: #fff;
}

.subscribe-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.subscribe-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

.subscribe-hero h1 {
    font-size: 22px;
    margin-bottom: 10px;
}

.subscribe-hero p {
    font-size: 14px;
    opacity: 0.9;
}

.subscribe-content {
    padding: 20px;
}

.subscribe-section {
    margin-bottom: 30px;
}

.subscribe-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #7c1d2a;
}

.subscribe-section p {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.benefit-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.benefit-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.benefit-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.benefit-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Forms */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #7c1d2a;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.form-checkbox label {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: #7c1d2a;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover {
    background: #5a1520;
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

/* Ads Section */
.ads-section {
    padding: 20px;
}

.ads-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.ads-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e5e5e5;
}

.ads-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.ads-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.ads-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.ads-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.ads-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #7c1d2a;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.ads-btn:hover {
    background: #5a1520;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    padding: 20px;
    justify-content: center;
    align-items: flex-end;
}

.cookie-content {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.cookie-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.cookie-btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.cookie-btn.accept {
    background: #7c1d2a;
    color: #fff;
}

.cookie-btn.accept:hover {
    background: #5a1520;
}

.cookie-btn.decline {
    background: #f0f0f0;
    color: #666;
}

.cookie-btn.decline:hover {
    background: #e0e0e0;
}

.cookie-link {
    font-size: 12px;
    color: #7c1d2a;
}

@media (max-width: 600px) {
    .cookie-modal {
        padding: 10px;
    }

    .cookie-content {
        padding: 20px;
        border-radius: 16px 16px 0 0;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-logo {
    height: 40px;
    width: auto;
}

.close-menu {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.close-menu svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-nav {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    background: #f8f9fa;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-menu-item:hover {
    background: #fef2f2;
}

.mobile-menu-item svg {
    width: 22px;
    height: 22px;
    color: #7c1d2a;
}

.mobile-menu-item.logout {
    color: #dc2626;
    margin-top: 20px;
}

.mobile-menu-item.logout svg {
    color: #dc2626;
}

.mobile-menu-item.logout:hover {
    background: #fee2e2;
}

/* Hide menu toggle on desktop */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
    
    .mobile-menu {
        display: none !important;
    }
}

/* Footer */
.page-footer {
    text-align: center;
    padding: 25px 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

.page-footer p {
    font-size: 12px;
    color: #999;
}

.page-footer strong {
    color: #7c1d2a;
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .sidebar {
        display: flex;
    }

    .bottom-nav {
        display: none;
    }

    .main-content {
        margin-left: 80px;
        padding-bottom: 20px;
    }

    .page {
        max-width: 100%;
        border: none;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
        overflow: hidden;
    }

    .news-card {
        min-width: 280px;
        max-width: 280px;
        height: 220px;
    }

    .page-detail {
        max-width: 900px;
    }

    .detail-actions {
        bottom: 30px;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 30px;
    }

    .category-image {
        height: 150px;
    }

    .category-card p {
        font-size: 13px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .page {
        max-width: 600px;
        margin: 20px auto;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .category-image {
        height: 130px;
    }
}

/* Small mobile */
@media (max-width: 400px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-image {
        height: 140px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .founder-card {
        flex-direction: column;
        text-align: center;
    }
}
