/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0e27;
    color: #e0e0e0;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
}

.game-container {
    display: flex;
    height: 100vh;
    width: 100%;
    max-width: none;
    margin: 0;
}

/* ===== LEFT PANEL - OS/Browser ===== */
.left-panel {
    width: 35%;
    background: #1a1d35;
    border-right: 2px solid #2a2d45;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tab-system {
    display: flex;
    background: #0f1123;
    border-bottom: 2px solid #2a2d45;
}

.tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 14px;
}

.tab:hover {
    background: #252840;
}

.tab.active {
    border-bottom-color: #4a9eff;
    background: #1a1d35;
    color: #4a9eff;
}

.tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: none;
}

.tab-content.active {
    display: block;
}

.domain-list {
    list-style: none;
}

.domain-item {
    padding: 12px;
    margin: 8px 0;
    border-radius: 6px;
    border-left: 4px solid;
    background: #252840;
}

.domain-item.trusted {
    border-left-color: #4caf50;
}

.domain-item.blacklist {
    border-left-color: #f44336;
}

.domain-item.doubtful {
    border-left-color: #ffc107;
}

.domain-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
}

.trusted .domain-badge {
    background: #4caf50;
    color: white;
}

.blacklist .domain-badge {
    background: #f44336;
    color: white;
}

.doubtful .domain-badge {
    background: #ffc107;
    color: #0a0e27;
}

.domain-badge.unknown {
    background: #ff9800;
    color: #0a0e27;
}

.unknown-source {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.unknown-source-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.source-actions {
    display: flex;
    gap: 8px;
}

.source-btn {
    flex: 1;
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    transition: all 0.2s ease;
}

.source-btn.trust {
    background: #4caf50;
}

.source-btn.blacklist {
    background: #f44336;
}

.source-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.unknown-empty {
    color: #999;
    font-size: 13px;
}

.feedback {
    font-weight: bold;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.feedback-correct {
    background: #4caf50;
    color: white;
}

.feedback-wrong {
    background: #f44336;
    color: white;
}

.feedback-no-choice {
    background: #ff9800;
    color: #0a0e27;
}

.graph-example {
    margin: 20px 0;
    padding: 15px;
    background: #252840;
    border-radius: 8px;
    border-left: 4px solid #ff9800;
}

.graph-example h4 {
    color: #ff9800;
    margin-bottom: 10px;
}

.graph-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #333 25%, #444 25%, #444 50%, #333 50%, #333 75%, #444 75%, #444);
    background-size: 20px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    margin-top: 8px;
}

.boss-order {
    background: #252840;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #9c27b0;
}

.boss-order h3 {
    color: #9c27b0;
    margin-bottom: 15px;
}

/* ===== EMAIL INBOX STYLES ===== */
.emails-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.email-item {
    background: #252840;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #4a9eff;
    cursor: pointer;
    transition: all 0.3s;
}

.email-item.clickable:hover {
    background: #2a2f4a;
    transform: translateX(4px);
}

.email-item.unread {
    border-left-color: #ffc107;
    background: #2a2840;
}

.email-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.email-from {
    font-weight: 600;
    color: #4a9eff;
    font-size: 14px;
}

.email-badge {
    background: #ffc107;
    color: #000;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.email-subject {
    color: #fff;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.email-preview {
    color: #999;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== EMAIL DISPLAY (in feed area) ===== */
.email-display {
    background: #1a1d35;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.email-display-header {
    border-bottom: 2px solid #2a2d45;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.email-display-header h3 {
    color: #4a9eff;
    font-size: 18px;
    margin-bottom: 8px;
}

.email-display-subject {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.email-display-body {
    margin-bottom: 25px;
}

.email-display-body p {
    color: #ccc;
    line-height: 1.6;
    font-size: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.email-start-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4a9eff, #9c27b0);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.email-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 158, 255, 0.3);
}

.email-start-btn:active {
    transform: translateY(0);
}

.email-close-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

.email-close-btn:hover {
    color: #f44336;
    transform: scale(1.2);
}

/* ===== RIGHT PANEL - Feed ===== */
.right-panel {
    width: 65%;
    display: flex;
    flex-direction: column;
    background: #0a0e27;
}

.top-bar {
    background: #1a1d35;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #2a2d45;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
}

.stat-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

.audience { 
    color: #ffc107; 
}

.audience .stat-icon { 
    background: #ffc10722; 
}

.credibility { 
    color: #4caf50; 
}

.credibility .stat-icon { 
    background: #4caf5022; 
}

.day-counter { 
    color: #9c27b0; 
}

.feed-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 30px 10px;
    position: relative;
    overflow-y: auto;
    width: 100%;
}

.card {
    background: #1a1d35;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
}

.card-header {
    background: #0f1123;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #2a2d45;
    font-size: 13px;
    font-weight: 600;
}

.card-counter {
    color: #4a9eff;
    flex: 1;
    text-align: left;
}

.card-streak {
    color: #ffc107;
    flex: 1;
    text-align: center;
}

.card-timer {
    color: #fff;
    flex: 1;
    text-align: right;
    transition: color 0.3s;
}

.card-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    position: relative;
    overflow: hidden;
}

.card-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-image.normal {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a5298 100%);
}

.card-image.clickbait {
    background: linear-gradient(135deg, #b8860b 0%, #ffd700 100%);
}

.card-image.graph {
    background: #f7f9fc;
}

.card-graph-canvas {
    background: #f7f9fc;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f44336;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

.card-content {
    padding: 25px;
}

.card-headline {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #fff;
}

.card-source {
    color: #4a9eff;
    font-size: 14px;
    margin-bottom: 10px;
}

.card-meta {
    color: #888;
    font-size: 12px;
}

.card-description {
    font-size: 13px;
    color: #bbb;
    margin-top: 12px;
    padding: 10px;
    background: rgba(74, 158, 255, 0.1);
    border-left: 3px solid #4a9eff;
    border-radius: 4px;
    line-height: 1.5;
}

.action-buttons {
    padding: 10px 30px 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    flex: 1;
    max-width: 200px;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-reject {
    background: #f44336;
    color: white;
}

.btn-reject:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

.btn-publish {
    background: #4caf50;
    color: white;
}

.btn-publish:hover {
    background: #388e3c;
    transform: translateY(-2px);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1d35;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

.modal-title {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
}

.modal-title.correct {
    color: #4caf50;
}

.modal-title.incorrect {
    color: #f44336;
}

.modal-explanation {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #ccc;
}

.modal-btn {
    background: #4a9eff;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.modal-btn:hover {
    background: #357abd;
}

/* ===== GAME OVER SCREEN ===== */
.game-over {
    text-align: center;
    padding: 40px;
}

.game-over h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.game-over.win h2 {
    color: #4caf50;
}

.game-over.lose h2 {
    color: #f44336;
}

/* ===== DAY TRANSITION SCREEN ===== */
.day-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d35 100%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.5s ease-in, fadeOut 0.5s ease-out 2.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.day-transition-content {
    text-align: center;
}

.day-transition-number {
    font-size: 120px;
    font-weight: bold;
    background: linear-gradient(135deg, #4a9eff, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    animation: slideDown 0.6s ease-out;
}

.day-transition-title {
    font-size: 32px;
    color: #fff;
    margin: 20px 0 0 0;
    font-weight: 600;
    animation: slideUp 0.6s ease-out 0.2s backwards;
}

.day-transition-subtitle {
    font-size: 16px;
    color: #999;
    margin-top: 15px;
    animation: slideUp 0.6s ease-out 0.4s backwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0e27;
}

::-webkit-scrollbar-thumb {
    background: #4a9eff;
    border-radius: 4px;
}

/* ===== RESPONSIVE DESIGN - MOBILE FIRST ===== */

/* Extra Small Devices (320px - 480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
        overflow: auto;
        overflow-x: hidden;
        height: auto;
    }

    .game-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .left-panel {
        width: 100%;
        height: auto;
        min-height: 300px;
        border-right: none;
        border-bottom: 2px solid #2a2d45;
    }

    .right-panel {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .tab {
        padding: 10px;
        font-size: 12px;
    }

    .tab-content {
        padding: 12px;
        font-size: 13px;
    }

    .top-bar {
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .stat {
        font-size: 14px;
        flex: 1;
        min-width: 45%;
    }

    .stat-icon {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .day-counter {
        flex-basis: 100%;
        font-size: 14px;
    }

    .feed-area {
        padding: 5px 8px 3px;
        min-height: auto;
        justify-content: flex-start;
        flex: 0 0 auto;
    }

    .card {
        max-width: 100%;
    }

    .card-image {
        height: 150px;
        font-size: 12px;
    }

    .card-content {
        padding: 15px;
    }

    .card-headline {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .card-source {
        font-size: 12px;
    }

    .action-buttons {
        padding: 5px 8px 8px;
        gap: 8px;
        flex-direction: row;
    }

    .btn {
        flex: 1;
        padding: 10px 8px;
        font-size: 12px;
        letter-spacing: 0.3px;
    }

    .domain-item {
        padding: 10px;
        margin: 6px 0;
        font-size: 13px;
    }

    .graph-placeholder {
        height: 250px;
        font-size: 11px;
    }

    .graph-example {
        margin: 12px 0;
        padding: 12px;
    }

    .badge {
        padding: 5px 10px;
        font-size: 10px;
        top: 10px;
        right: 10px;
    }

    .modal-content {
        padding: 20px;
        width: 95%;
    }

    .modal-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .modal-explanation {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .modal-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .game-over {
        padding: 20px;
    }

    .game-over h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .startup-screen {
        padding: 5px !important;
    }

    .game-container:has(.startup-screen) .feed-area {
        padding: 5px !important;
    }

    .startup-content {
        padding: 15px !important;
        max-width: 100% !important;
        border-radius: 8px;
    }
}

/* Small Devices (481px - 768px) */
@media (max-width: 768px) {
    body {
        overflow: auto;
        overflow-x: hidden;
        height: auto;
    }

    .game-container {
        flex-direction: column;
        height: auto;
    }

    .left-panel {
        width: 100%;
        height: auto;
        min-height: 300px;
        border-right: none;
        border-bottom: 2px solid #2a2d45;
    }

    .right-panel {
        width: 100%;
        height: auto;
    }

    .tab {
        padding: 12px;
        font-size: 13px;
    }

    .tab-content {
        padding: 15px;
    }

    .top-bar {
        padding: 15px 20px;
        gap: 15px;
    }

    .stat {
        font-size: 16px;
    }

    .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .feed-area {
        padding: 8px 15px 5px;
        justify-content: flex-start;
    }

    .card {
        max-width: 100%;
    }

    .card-image {
        height: 180px;
    }

    .card-headline {
        font-size: 18px;
    }

    .action-buttons {
        padding: 8px 20px 20px;
        gap: 12px;
    }

    .btn {
        max-width: 180px;
        padding: 14px;
        font-size: 16px;
    }

    .startup-screen {
        padding: 8px !important;
    }

    .game-container:has(.startup-screen) .feed-area {
        padding: 8px !important;
    }

    .startup-content {
        padding: 20px !important;
        max-width: 100% !important;
        border-radius: 10px;
    }

    .modal-content {
        padding: 30px;
    }

    .modal-title {
        font-size: 24px;
    }
}

/* Medium Devices - Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .left-panel {
        width: 40%;
    }

    .right-panel {
        width: 60%;
    }

    .top-bar {
        padding: 15px 20px;
    }

    .stat {
        font-size: 16px;
        gap: 8px;
    }

    .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .card-headline {
        font-size: 18px;
    }

    .card-image {
        height: 220px;
    }

    .action-buttons {
        gap: 15px;
        padding: 15px 20px 20px;
    }

    .btn {
        max-width: 180px;
        padding: 15px;
        font-size: 16px;
    }
}

/* Large Devices - Desktop (1025px+) */
@media (min-width: 1025px) {
    .left-panel {
        width: 35%;
    }

    .right-panel {
        width: 65%;
    }

    .card-headline {
        font-size: 22px;
    }

    .card-image {
        height: 250px;
    }
}

/* Extra Large Devices (1600px+) */
@media (min-width: 1600px) {
    .card-image {
        height: 300px;
    }

    .top-bar {
        padding: 25px 40px;
    }

    .feed-area {
        padding: 40px;
    }

    .action-buttons {
        padding: 25px 40px 40px;
    }
}

/* Landscape Orientation on Mobile Devices */
@media (max-height: 600px) and (orientation: landscape) {
    body {
        height: auto;
        min-height: 100vh;
    }

    .game-container {
        flex-direction: row;
        height: auto;
        min-height: 100vh;
    }

    .left-panel {
        width: 35%;
        height: auto;
        min-height: 100vh;
        border-right: 2px solid #2a2d45;
        border-bottom: none;
    }

    .right-panel {
        width: 65%;
        height: auto;
        min-height: 100vh;
    }

    .feed-area {
        padding: 15px;
        min-height: 300px;
    }

    .card-image {
        height: 150px;
    }

    .action-buttons {
        padding: 10px 15px;
        gap: 10px;
    }

    .btn {
        max-width: 150px;
        padding: 10px;
        font-size: 14px;
    }
}

/* High-DPI Devices (Retina Displays) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        font-size: 16px;
    }

    .tab {
        font-size: 15px;
    }

    .btn {
        font-size: 18px;
    }
}
/* ===== STARTUP SCREEN ===== */
.startup-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Hide left panel and top bar during startup screen */
.game-container:has(.startup-screen) .left-panel {
    display: none;
}

.game-container:has(.startup-screen) .top-bar {
    display: none;
}

.game-container:has(.startup-screen) .action-buttons {
    display: none;
}

.game-container:has(.startup-screen) .right-panel {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-container:has(.startup-screen) .feed-area {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.startup-content {
    background: #1a1d35;
    border-radius: 12px;
    padding: 50px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.startup-content h1 {
    font-size: 36px;
    color: #4a9eff;
    margin-bottom: 15px;
}

.startup-content > p {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 16px;
}

.startup-form {
    background: #252840;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.startup-form label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
}

.startup-form input {
    width: 100%;
    padding: 14px;
    background: #0f1123;
    border: 2px solid #4a9eff;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.startup-form input:focus {
    outline: none;
    border-color: #9c27b0;
    box-shadow: 0 0 10px rgba(156, 39, 176, 0.3);
}

.startup-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4a9eff, #9c27b0);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.startup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 158, 255, 0.3);
}

.startup-info {
    text-align: left;
    background: #0f1123;
    padding: 20px;
    border-radius: 8px;
}

.startup-info h3 {
    color: #4a9eff;
    margin-bottom: 15px;
}

.startup-info ul {
    list-style: none;
    padding: 0;
}

.startup-info li {
    color: #ccc;
    margin: 10px 0;
    padding-left: 0;
}

/* ===== FEED VIEW STYLES ===== */
.feed-view-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
}

.feed-view-header {
    text-align: center;
    padding: 20px;
    background: #0f1123;
    border-bottom: 2px solid #2a2d45;
    margin-bottom: 20px;
}

.feed-view-header h2 {
    color: #4a9eff;
    margin: 0 0 5px 0;
    font-size: 24px;
}

.feed-view-header p {
    color: #999;
    margin: 0;
    font-size: 14px;
}

.bonus-note {
    margin-top: 6px;
    color: #4caf50;
    font-size: 13px;
}

.feed-day-stats {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-box {
    background: #252840;
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid #4a9eff;
    min-width: 100px;
}

.stat-box.good {
    border-left-color: #4caf50;
}

.stat-box.bad {
    border-left-color: #f44336;
}

.stat-box.comments {
    border-left-color: #ff9800;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #4a9eff;
    margin-bottom: 5px;
}

.stat-box.good .stat-number {
    color: #4caf50;
}

.stat-box.bad .stat-number {
    color: #f44336;
}

.stat-box.comments .stat-number {
    color: #ff9800;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.feed-articles-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px;
}

.feed-article-item {
    background: #1a1d35;
    border-left: 4px solid #4a9eff;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.feed-article-item.quality {
    border-left-color: #4caf50;
    background: rgba(76, 175, 80, 0.05);
}

.feed-article-item.fake {
    border-left-color: #f44336;
    background: rgba(244, 67, 54, 0.05);
}

.feed-article-item.rejected {
    opacity: 0.6;
    border-left-color: #999;
}

.article-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.article-item-header h4 {
    color: #fff;
    margin: 0;
    font-size: 15px;
    flex: 1;
}

.article-status {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}

.article-status.pub {
    background: #4caf50;
    color: white;
}

.article-status.rej {
    background: #999;
    color: white;
}

.article-item-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.article-comments-list {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #2a2d45;
}

.comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: #252840;
    border-radius: 6px;
    border-left: 3px solid #4a9eff;
}

.comment-item.positive {
    border-left-color: #4caf50;
}

.comment-item.negative {
    border-left-color: #f44336;
}

.comment-item.mixed {
    border-left-color: #ffc107;
}

.comment-avatar {
    font-size: 20px;
    min-width: 28px;
    text-align: center;
}

.comment-body {
    flex: 1;
}

.comment-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-weight: 600;
    color: #4a9eff;
    font-size: 13px;
}

.likes {
    color: #999;
    font-weight: normal;
    font-size: 12px;
}

.comment-body p {
    margin: 0;
    color: #ccc;
    font-size: 13px;
    line-height: 1.4;
}

.feed-view-actions {
    padding: 20px;
    text-align: center;
    border-top: 2px solid #2a2d45;
}

.feed-continue-btn {
    background: linear-gradient(135deg, #4a9eff, #9c27b0);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feed-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 158, 255, 0.3);
}

/* ===== TUTORIAL MODAL ===== */
#tutorial-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

#tutorial-modal.active {
    display: flex;
}

.tutorial-content {
    background: #1a1d35;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    padding: 40px 30px;
    color: #e0e0e0;
}

.tutorial-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #999;
    font-size: 28px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0;
}

.tutorial-close:hover {
    color: #f44336;
    transform: scale(1.2);
}

.tutorial-pages {
    position: relative;
}

.tutorial-page {
    display: none;
    animation: fadeIn 0.5s ease;
    padding-bottom: 30px;
}

.tutorial-page.active {
    display: block;
}

.tutorial-page h2 {
    color: #4a9eff;
    font-size: 24px;
    margin-bottom: 16px;
}

.tutorial-page p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

.tutorial-page ul {
    color: #ccc;
    line-height: 1.8;
}

.tutorial-box {
    background: #252840;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4a9eff;
}

.tutorial-box.tutorial-trusted {
    border-left-color: #4caf50;
    background: #1a2a1a;
}

.tutorial-box.tutorial-blacklist {
    border-left-color: #f44336;
    background: #2a1a1a;
}

.tutorial-nav-btn {
    background: #4a9eff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    margin-top: 20px;
    margin-right: 10px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.tutorial-nav-btn:hover {
    background: #3a8eef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.tutorial-nav-btn.tutorial-prev {
    background: #666;
}

.tutorial-nav-btn.tutorial-prev:hover {
    background: #777;
}

#tutorial-start-game {
    background: linear-gradient(135deg, #4a9eff, #9c27b0);
    margin-right: 0;
}

#tutorial-start-game:hover {
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.4);
}