/*
Theme Name: Boighor
Theme URI: https://dhakapost.net/
Author: Mohammad Baitullah & Gemini
Author URI: https://dhakapost.net/
Description: A custom digital library theme based on the user's HTML design.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boighor
Tags: one-column, custom-background, custom-menu, featured-images, theme-options, blog
*/

/* NEW DYNAMIC THEME: Deep Space Nebula */
body {
    font-family: 'Poppins', sans-serif;
    /* A rich, deep blue/purple gradient that's vibrant but not distracting */
    background-color: #0f0c29;
    background-image: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #e0e0e0;
    min-height: 100vh;
}

#animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* High-contrast glass effect for the new theme */
.glass-effect {
    background: rgba(36, 36, 62, 0.5); /* Darker glass, more integrated */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Dot navigation updated for the new theme */
.dot-nav a {
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}
.dot-nav a .tooltip {
    background-color: #1c1a3e;
    color: #fff;
}
.dot-nav a:hover, .dot-nav a.active {
    background: #00c6ff; /* A vibrant cyan for active/hover state */
    transform: scale(1.2);
    box-shadow: 0 0 20px #00c6ff;
}
.dot-nav i {
    color: #e0e0e0;
}

/* News Ticker for the new theme */
.ticker-wrap {
    background-color: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
}
.ticker-move {
    display: inline-block;
    animation: ticker 30s linear infinite;
}
@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Custom scrollbar to match */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f0c29; }
::-webkit-scrollbar-thumb { background: #53548a; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #00c6ff; }

/* Styles for Book Category Filter */
.category-filter button {
    padding: 8px 20px;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.3);
    background-color: transparent;
    color: #e0e0e0;
    transition: all 0.3s ease;
    font-weight: 500;
}
.category-filter button:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #00c6ff;
}
.category-filter button.active {
    background-color: #00c6ff;
    color: #0f0c29;
    border-color: #00c6ff;
    box-shadow: 0 0 15px #00c6ff;
}

.book-item.hidden { display: none; }

.overflow-x-hidden {
    overflow-x: hidden;
}