/*
Theme Name: GrandRP DE03 Community
Author: krispyfox (Discord)
Description: A premium WordPress theme for GrandRP DE03 gaming community
Version: 1.0.0
License: GPL v2 or later
Text Domain: grandrp-de03
*/
* {
    font-family: 'Inter', sans-serif;
}

.font-display {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
}

.font-oswald {
    font-family: 'Oswald', sans-serif;
}

.gradient-dark-gold {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2414 25%, #3d3021 50%, #2d2414 75%, #1a1a1a 100%);
}

.gradient-gold-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 25%, #FFD700 50%, #FFC125 75%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
        
        .gradient-gold-button {
            background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
        }
        
        .gradient-section {
            background: radial-gradient(ellipse at top, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
                        radial-gradient(ellipse at bottom, rgba(255, 165, 0, 0.04) 0%, transparent 50%),
                        linear-gradient(180deg, #0a0a0a 0%, #141414 50%, #0a0a0a 100%);
        }
        
        .nav-power {
            background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.95) 100%);
            backdrop-filter: blur(20px);
            border-bottom: 2px solid rgba(255, 215, 0, 0.15);
        }
        
        .navbar-shadow {
            box-shadow: 0 8px 32px rgba(255, 215, 0, 0.15);
        }
        
        .gold-glow {
            box-shadow: 0 0 60px rgba(255, 215, 0, 0.15);
        }
        
        .text-shadow-gold {
            text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
        }
        
        .section-full {
            min-height: 100vh;
            width: 100%;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }
        
        .float-animation {
            animation: float 4s ease-in-out infinite;
        }
        
        .image-overlay {
            background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%);
        }
        
        /* Search Modal Styles */
        .search-modal {
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(20px);
        }
        
        .search-result:hover {
            background: rgba(255, 215, 0, 0.05);
            border-color: rgba(255, 215, 0, 0.3);
        }
        
        /* Loading Animation */
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .loading {
            animation: spin 1s linear infinite;
        }
        
        /* Better Spacing */
        .content-spacing {
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
        
        @media (min-width: 768px) {
            .content-spacing {
                padding-top: 3rem;
                padding-bottom: 3rem;
            }
        }
        
        @media (min-width: 1024px) {
            .content-spacing {
                padding-top: 5rem;
                padding-bottom: 5rem;
            }
        }
/* Fix sidebar text overflow */
.sidebar, 
nav.sidebar,
.left-menu {
    min-width: 250px;
    z-index: 100;
    overflow: visible;
}

.sidebar a,
.menu-item a {
    white-space: nowrap;
    overflow: visible;
    text-overflow: initial;
    display: block;
    padding: 10px 15px;
}

/* Fix main content area visibility */
.main-content,
.content-area,
main {
    background: #1a1a1a !important; /* Lighter than pure black */
    min-height: 100vh;
    padding: 20px;
}

/* Fix contrast for readability */
.gradient-dark-gold {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2414 25%, #3d3021 50%, #2d2414 75%, #1a1a1a 100%);
    opacity: 0.9; /* Reduce opacity if too dark */
}

/* Ensure proper spacing */
body {
    display: flex;
    flex-direction: column;
}

.site-content {
    display: flex;
    flex: 1;
}

/* Mobile responsive fix */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -250px;
        transition: left 0.3s;
    }
    
    .sidebar.active {
        left: 0;
    }
}
.search-modal {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.search-form input {
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: border-color 0.3s;
}

.search-form input:focus {
    border-color: rgba(255, 215, 0, 0.5);
}
/* Custom Prose Typography (Mimic Tailwind Typography Plugin for 2025 Trends) */
.prose {
    font-size: 1.125rem; /* Base lg size */
    line-height: 1.75;
    color: #d1d5db; /* gray-300 */
}
.prose h2, .prose h3 {
    font-weight: bold;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    scroll-margin-top: 5rem; /* For smooth anchor scrolling with sticky header */
}
.prose h2 {
    font-size: 2.0rem; /* Larger for bold trend */
}
.prose h3 {
    font-size: 1.875rem;
}
.prose p {
    margin-bottom: 1.5rem;
}
.prose a {
    text-decoration: underline;
    text-decoration-color: rgba(234, 179, 8, 0.4); /* yellow-500/40 */
    transition: text-decoration-color 0.3s;
}
.prose a:hover {
    text-decoration-color: #eab308; /* yellow-500 */
}
.prose blockquote {
    font-style: italic;
    border-left-width: 4px;
    padding-left: 1rem;
    margin: 1.5rem 0;
}
.prose img {
    margin: 1.5rem auto;
    display: block;
    max-width: 100%;
}
.prose ul, .prose ol {
    margin-bottom: 1.5rem;
}

/* Fluid Typography (Container Queries for Responsive Trends) */
@container (min-width: 768px) {
    .prose {
        font-size: 1.25rem;
    }
    .prose h2 {
        font-size: 2.5rem;
    }
}

/* Comments Section: Modern, Flat, Threaded, Minimalist (No Borders) */
.comments-area {
    padding: 2rem 0;
}
.comment-list {
    list-style: none;
    padding: 0;
}
.comment {
    transition: background-color 0.3s;
}
.comment:hover {
    background-color: rgba(39, 39, 42, 0.5); /* zinc-900/50 hover */
}
.comment .children {
    margin-left: 2rem; /* Indent for threading */
    list-style: none;
    padding: 0;
}
.comment .children .comment {
    position: relative;
}
.comment .children .comment:before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #3f3f46; /* zinc-700 for subtle line */
}
.comment-text {
    overflow: hidden;
    max-height: 5rem; /* Truncate long comments */
    position: relative;
}
.comment-text.truncated:after {
    content: '...';
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, transparent, #18181b); /* zinc-950 fade */
    padding: 0 1rem;
}
.comment-text + .read-more {
    display: inline-block;
    color: #eab308; /* yellow-500 */
    cursor: pointer;
    font-size: 0.875rem;
}
.comment-form label {
    display: block;
    color: #d1d5db; /* gray-300 */
    margin-bottom: 0.5rem;
}
.comment-form input, .comment-form textarea {
    width: 100%;
    background: #27272a; /* zinc-800 */
    border: none;
    color: #d1d5db;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: box-shadow 0.3s;
}
.comment-form input:focus, .comment-form textarea:focus {
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.3); /* yellow-500/30 glow */
}
.comment-form .submit {
    /* Already styled via class in comments.php */
}

/* Collapsible Replies (Basic JS Toggle) */
.comment .toggle-replies {
    color: #eab308;
    cursor: pointer;
    font-size: 0.875rem;
    display: inline-block;
    margin-top: 0.5rem;
}
.comment .children.collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .comment .children {
        margin-left: 1rem;
    }
    .comment-form input, .comment-form textarea {
        font-size: 1rem; /* Larger for touch */
    }
}

/* TOC Styles */
.toc a {
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s;
}