/**
 * Templar Rain CSS
 * White background with red falling symbols
 */

body.templar-theme {
    background-color: #FFFFFF;
    color: #1A1A1A;
    overflow-x: hidden;
}

#templarRain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Templar-themed scrollbar */
::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5DC;
}

::-webkit-scrollbar-track {
    background-color: #FFFFFF;
    border-left: 1px solid #8B0000;
}

::-webkit-scrollbar-thumb {
    background-color: #8B0000;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #B22222;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #8B0000 #FFFFFF;
}

/* Selection colors */
::selection {
    background-color: #8B0000;
    color: #FFFFFF;
}

::-moz-selection {
    background-color: #8B0000;
    color: #FFFFFF;
}

/* Templar cross watermark */
body.templar-theme::before {
    content: '✠';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40vw;
    color: rgba(139, 0, 0, 0.02);
    z-index: -2;
    pointer-events: none;
    font-family: 'Cinzel Decorative', 'Times New Roman', serif;
}

/* Parchment texture overlay */
body.templar-theme::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 0, 0, 0.01) 2px,
            rgba(139, 0, 0, 0.01) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(139, 0, 0, 0.01) 2px,
            rgba(139, 0, 0, 0.01) 4px
        );
    z-index: -2;
    pointer-events: none;
}