/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Newspaper style - Clean black, white, gray */
    --primary-color: #ffffff;
    --secondary-color: #f8f8f8;
    --accent-color: #000000;
    --text-color: #000000;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --border-dark: #cccccc;
    --bg-gradient: #ffffff;
    --section-bg: #ffffff;
    --section-bg-hover: #fafafa;
    --input-bg: #ffffff;
    --input-bg-focus: #ffffff;
    --header-bg: #ffffff;
    --header-border: #000000;
    --success-color: #000000;
    --error-color: #000000;
    --warning-color: #666666;
    --font-hebrew: 'Heebo', 'Assistant', 'Arial Hebrew', 'Times New Roman', serif;
    --font-english: 'Assistant', 'Times New Roman', serif;
    --font-heading: 'Heebo', 'Times New Roman', serif;
    --reading-font-size: 1rem;
    --reading-line-height: 1.7;
    --reading-max-width: 1200px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Dark mode - Still newspaper style but inverted */
body.dark-mode {
    --primary-color: #1a1a1a;
    --secondary-color: #2a2a2a;
    --accent-color: #ffffff;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: #404040;
    --border-dark: #555555;
    --bg-gradient: #1a1a1a;
    --section-bg: #2a2a2a;
    --section-bg-hover: #333333;
    --input-bg: #2a2a2a;
    --input-bg-focus: #333333;
    --header-bg: #1a1a1a;
    --header-border: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Light mode - Default newspaper style */
body.light-mode {
    --primary-color: #ffffff;
    --secondary-color: #f8f8f8;
    --accent-color: #000000;
    --text-color: #000000;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --border-dark: #cccccc;
    --bg-gradient: #ffffff;
    --section-bg: #ffffff;
    --section-bg-hover: #fafafa;
    --input-bg: #ffffff;
    --input-bg-focus: #ffffff;
    --header-bg: #ffffff;
    --header-border: #000000;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Sophia reading mode - Newspaper style optimized for reading */
body.sophia-mode {
    --primary-color: #ffffff;
    --secondary-color: #fafafa;
    --accent-color: #000000;
    --text-color: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e5e5e5;
    --border-dark: #d0d0d0;
    --bg-gradient: #ffffff;
    --section-bg: #ffffff;
    --section-bg-hover: #fafafa;
    --input-bg: #ffffff;
    --input-bg-focus: #ffffff;
    --header-bg: #ffffff;
    --header-border: #000000;
    --reading-font-size: 1.2rem;
    --reading-line-height: 1.9;
    --reading-max-width: 700px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body.sophia-mode .section {
    max-width: var(--reading-max-width);
    margin-left: auto;
    margin-right: auto;
}

body.sophia-mode .story-text,
body.sophia-mode .quote-text,
body.sophia-mode .article-item p,
body.sophia-mode .health-post p,
body.sophia-mode .wikipedia-content p,
body.sophia-mode p {
    font-size: var(--reading-font-size);
    line-height: var(--reading-line-height);
    letter-spacing: 0.2px;
    text-align: justify;
    hyphens: auto;
    color: var(--text-color);
}

body.sophia-mode .section {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.sophia-mode .quote-text {
    font-size: 1.4rem;
    line-height: 2;
}

body.sophia-mode .story-content {
    padding: 2rem 0;
}

body.sophia-mode h2, 
body.sophia-mode h3, 
body.sophia-mode h4 {
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

body {
    font-family: var(--font-hebrew);
    background: var(--bg-gradient);
    color: var(--text-color);
    line-height: var(--reading-line-height);
    min-height: 100vh;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 16px;
}

/* Typography - Newspaper style */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    color: var(--text-color);
    letter-spacing: -0.5px;
}

h1 { 
    font-size: 2.5rem; 
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}
h2 { 
    font-size: 2rem; 
    font-weight: 700;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 0.5rem;
}
h3 { 
    font-size: 1.5rem; 
    font-weight: 700;
}
h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-family: var(--font-hebrew);
}

/* Header - Newspaper style */
.header {
    background: var(--header-bg);
    padding: 1.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--header-border);
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-color);
    font-family: var(--font-english);
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 3px solid var(--text-color);
    padding: 0.5rem 1rem;
    display: inline-block;
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 0.5rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: var(--text-color);
    color: var(--primary-color);
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

.header-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.theme-controls {
    display: flex;
    gap: 0.25rem;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid var(--border-color);
}

.date-display {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Categories Navigation */
.categories-nav {
    border-top: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    padding: 1rem 0;
    margin-top: 1rem;
    background: var(--section-bg);
}

.categories-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.category-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-link:hover {
    background: var(--text-color);
    color: var(--primary-color);
}

.category-link.active {
    background: var(--text-color);
    color: var(--primary-color);
}

/* Journalist Button */
.btn-journalist {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--text-color);
    color: var(--primary-color);
    border: 2px solid var(--text-color);
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-hebrew);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-journalist:hover {
    background: var(--primary-color);
    color: var(--text-color);
}

.btn-journalist svg {
    width: 18px;
    height: 18px;
}


.date-info {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.date-separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* Buttons - Newspaper style */
.btn {
    background: var(--text-color);
    color: var(--primary-color);
    border: 2px solid var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-hebrew);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--primary-color);
    color: var(--text-color);
    transform: none;
    box-shadow: none;
}

.btn:active {
    transform: none;
    opacity: 0.8;
}

.btn-icon {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: var(--text-color);
    color: var(--primary-color);
    border-color: var(--text-color);
    transform: none;
}

.btn-link {
    color: var(--text-color);
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Main Content - Newspaper style */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: var(--primary-color);
}

/* Sections - Newspaper style */
.section {
    background: var(--section-bg);
    border-radius: 0;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    border: none;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
    transition: background 0.3s ease;
}

.section:hover {
    background: var(--section-bg-hover);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--text-color);
}

.section-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--text-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    padding: 0;
}

.story-controls {
    display: flex;
    gap: 0.5rem;
}

/* Daily Image - Newspaper style */
.daily-image-container {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    margin: 1rem 0;
}

.daily-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Quote - Newspaper style */
.quote-content {
    text-align: center;
    padding: 2rem;
    border-left: 4px solid var(--text-color);
    border-right: 4px solid var(--text-color);
    margin: 1rem 0;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.9;
    font-weight: 400;
}

.quote-author {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

/* Story - Newspaper style */
.story-content {
    padding: 1.5rem 0;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--text-color);
    text-align: justify;
}

/* Riddle - Newspaper style */
.riddle-content {
    text-align: center;
    padding: 2rem 1rem;
    border: 2px solid var(--text-color);
    margin: 1rem 0;
}

.riddle-question {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.6;
}

.riddle-answer {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: 0;
    border: 1px solid var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.riddle-answer.hidden {
    display: none;
}

/* AI Section - Newspaper style */
.ai-content {
    padding: 1rem 0;
}

.ai-content h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* Wikipedia - Newspaper style */
.wikipedia-content {
    padding: 1rem 0;
}

.wikipedia-content h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* Health Posts - Newspaper style */
.health-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.health-post {
    padding: 1.5rem 0;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--border-color);
    border-right: none;
}

.health-post:last-child {
    border-bottom: none;
}

.health-post h4 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

/* Articles - Newspaper style */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-item {
    padding: 1.5rem 0;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--border-color);
    border-right: none;
    transition: all 0.2s ease;
}

.article-item:hover {
    background: var(--section-bg-hover);
    transform: none;
    padding-right: 0.5rem;
}

.article-item h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.25rem;
}

.article-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid var(--border-color);
    padding-top: 0.5rem;
}

/* Feedback - Newspaper style */
.feedback-section {
    text-align: center;
    border-top: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    padding: 2rem 0;
    margin: 2rem 0;
}

.feedback-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-like, .btn-dislike {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: 2px solid var(--text-color);
    border-radius: 0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-hebrew);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 120px;
}

.btn-like {
    background: var(--text-color);
    color: var(--primary-color);
}

.btn-like:hover {
    background: var(--primary-color);
    color: var(--text-color);
    border-color: var(--text-color);
    transform: none;
}

.btn-like svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-dislike {
    background: var(--primary-color);
    color: var(--text-color);
}

.btn-dislike:hover {
    background: var(--text-color);
    color: var(--primary-color);
    border-color: var(--text-color);
    transform: none;
}

.btn-dislike svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-like span,
.btn-dislike span {
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

/* Comments - Newspaper style */
.comment-form {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.input, .textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    background: var(--input-bg);
    color: var(--text-color);
    font-family: var(--font-hebrew);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.input:focus, .textarea:focus {
    outline: none;
    border-color: var(--text-color);
    background: var(--input-bg-focus);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    padding: 1.5rem 0;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--border-color);
    border-right: none;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer - Newspaper style */
.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    border-top: 2px solid var(--text-color);
    margin-top: 3rem;
}

.footer-links {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-text {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.colordev {
    font-weight: 700;
    color: var(--text-color);
    font-family: var(--font-english);
}

/* Accessibility Button */
.accessibility-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--text-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 0;
    border: 2px solid var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    z-index: 999;
}

.accessibility-btn:hover {
    background: var(--primary-color);
    color: var(--text-color);
}

/* Accessibility Panel */
.accessibility-panel {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: var(--primary-color);
    border: 3px solid var(--text-color);
    padding: 1.5rem;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.accessibility-panel.hidden {
    display: none;
}

.accessibility-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--text-color);
}

.accessibility-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.accessibility-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessibility-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accessibility-option {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accessibility-option label {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accessibility-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background: var(--text-color);
    color: var(--primary-color);
    border: 2px solid var(--text-color);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-small:hover {
    background: var(--primary-color);
    color: var(--text-color);
}

/* High Contrast Mode */
body.high-contrast {
    --text-color: #000000;
    --primary-color: #ffffff;
    --border-color: #000000;
    --section-bg: #ffffff;
}

body.high-contrast.dark-mode {
    --text-color: #ffffff;
    --primary-color: #000000;
    --border-color: #ffffff;
    --section-bg: #000000;
}

/* Modal - Newspaper style */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--primary-color);
    border-radius: 0;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    border: 3px solid var(--text-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.date-picker {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--text-color);
    border-radius: 0;
    background: var(--input-bg);
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    direction: ltr;
    text-align: center;
    font-weight: 600;
}

.date-picker:focus {
    outline: none;
    border-color: var(--text-color);
    background: var(--input-bg-focus);
}

.date-nav-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Hidden */
.hidden {
    display: none !important;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 600;
    max-width: 90%;
    text-align: center;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.notification-error {
    background: var(--text-color);
    color: var(--primary-color);
    border: 2px solid var(--text-color);
}

.notification-success {
    background: var(--text-color);
    color: var(--primary-color);
    border: 2px solid var(--text-color);
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
        padding: 0.4rem 0.8rem;
        letter-spacing: 2px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-controls {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--header-bg);
        border-left: 3px solid var(--header-border);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 1rem;
        gap: 1rem;
        z-index: 2000;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    }
    
    .header-controls.mobile-open {
        right: 0;
    }
    
    .header-controls::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .header-controls.mobile-open::before {
        opacity: 1;
        pointer-events: all;
    }
    
    .btn-journalist {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .btn-journalist .btn-text {
        display: inline;
    }
    
    .theme-controls {
        flex-direction: column;
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 1rem;
        margin-left: 0;
        gap: 0.5rem;
    }
    
    .btn-icon {
        width: 100%;
        padding: 1rem;
        justify-content: center;
    }
    
    .btn-icon svg {
        width: 24px;
        height: 24px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .main-content {
        padding: 1rem 0.5rem;
    }
    
    .section {
        padding: 1rem;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
    
    .feedback-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .categories-list {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .category-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
        padding: 0.3rem 0.6rem;
        letter-spacing: 1px;
    }
    
    .header {
        padding: 1rem 0.5rem;
    }
    
    .header-controls {
        width: 90%;
    }
}

/* PWA Styles */
@media (display-mode: standalone) {
    .header {
        padding-top: env(safe-area-inset-top);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.5s ease-out;
}

/* Auto-scroll indicator */
.auto-scrolling {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

