* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', 'Georgia', serif;
    line-height: 1.8;
    color: #2c1810;
    background: #f5f0e8;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 115, 85, 0.03) 2px, rgba(139, 115, 85, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 115, 85, 0.03) 2px, rgba(139, 115, 85, 0.03) 4px);
}

body[dir="rtl"] {
    direction: rtl;
}

/* Vintage scrollbar */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: #e8ddd4;
    border-left: 2px solid #8b7355;
}

::-webkit-scrollbar-thumb {
    background: #8b7355;
    border: 2px solid #e8ddd4;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b5a42;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    color: #3d2817;
    letter-spacing: 0.05em;
}

/* Vintage paper effect */
.paper {
    background: #faf8f3;
    border: 2px solid #8b7355;
    box-shadow: 
        0 0 0 1px #d4c4b0,
        inset 0 0 20px rgba(139, 115, 85, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Vintage borders */
.vintage-border {
    border: 3px double #8b7355;
    border-radius: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
}

