/*
Theme Name: Books Legend Theme
Theme URI: https://bookslegend.com/
Author: Books Legend
Author URI: https://bookslegend.com/
Description: A premium, highly aesthetic digital sanctuary theme for Books Legend. Includes a video background hero, marquee scroll, bento categories, dynamic WP posts, legal template layouts, and a secure Gemini-powered Book Oracle.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: books-legend-theme
*/

/* Core theme styles matching the sanctuary dark aesthetic */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #040d0a; /* forest-950 */
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

/* Primary Button (Filled) */
.btn-primary {
    background-color: #F5F5F5;
    color: #1A1A1A;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid #F5F5F5;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: transparent;
    color: #F5F5F5;
}

/* Secondary Button (Outline Only) */
.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: #040d0a;
}

/* Custom underline helper */
.custom-underline {
    text-decoration: underline;
    text-decoration-color: #FFFFFF;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

/* Brush drawing animation SVG keyframes */
@keyframes svgDraw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

.animate-brush {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: svgDraw 1.5s cubic-bezier(0.445, 0.05, 0.55, 0.95) 0.8s forwards;
}

.perspective-1000 {
    perspective: 1000px;
}
