/* FAQ Page - Modern Split Layout Design */
.faq-section-main {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(0,0,0,0.98) 0%, rgba(20, 0, 0, 0.02) 50%, rgba(0,0,0,0.98) 100%);
}

.faq-container {
    width: 100%;
    min-height: calc(100vh - 100px);
    display: flex;
    padding-top: 100px;
    position: relative;
    background: transparent;
}

/* LEFT SIDEBAR - 28% */
.faq-sidebar {
    width: 28%;
    height: calc(100vh - 100px);
    background: rgba(0, 0, 0, 0.85);
    border-right: 1px solid rgba(100, 100, 100, 0.2);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-bottom: 1px solid rgba(100, 100, 100, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--crimson);
    text-shadow: 0 0 20px var(--glow-red);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.sidebar-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

/* Category Navigation - WITH IMAGE FADE LIGHTING EFFECTS */
.category-nav {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-item {
    position: relative;
    height: 80px;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(0);
    opacity: 0.7;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add brightness filter for image fade effect */
.category-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    mix-blend-mode: overlay;
    transition: background 0.6s ease;
    pointer-events: none;
}

.category-item:not(.active):hover::after {
    background: rgba(255, 255, 255, 0.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.85) 0%, 
        rgba(30, 30, 30, 0.4) 50%, 
        rgba(0, 0, 0, 0.9) 100%);
    transition: all 0.6s ease;
}

/* SMOOTH FADE IN ON HOVER for non-active categories */
.category-item:not(.active) {
    filter: brightness(0.8);
    transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.6s ease, filter 0.6s ease;
}

.category-item:not(.active):hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    opacity: 1;
    filter: brightness(1.1);
}

.category-item:not(.active):hover .category-overlay {
    background: linear-gradient(135deg, 
        rgba(80, 80, 80, 0.3) 0%, 
        rgba(50, 50, 50, 0.2) 50%, 
        rgba(0, 0, 0, 0.7) 100%);
}

.category-item.active {
    filter: brightness(1);
}

.category-item.active .category-overlay {
    background: linear-gradient(135deg, 
        rgba(100, 100, 100, 0.2) 0%, 
        rgba(50, 50, 50, 0.3) 50%, 
        rgba(0, 0, 0, 0.8) 100%);
}

.category-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
    transition: color 0.6s ease, text-shadow 0.6s ease;
}

.category-count {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    transition: color 0.6s ease;
}

.category-item:not(.active):hover .category-title {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.category-item:not(.active):hover .category-count {
    color: rgba(255, 255, 255, 0.7);
}

.category-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--crimson);
    transform: scaleY(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.category-item.active::before {
    transform: scaleY(1);
}

.category-item.active {
    transform: translateX(12px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.9);
    opacity: 1;
}

.category-item.active .category-title {
    color: var(--crimson);
    text-shadow: 0 0 10px var(--glow-red);
}

.category-item.active .category-count {
    color: rgba(220, 20, 60, 0.8);
}

/* Discord Community Widget - FIXED with green online count */
.discord-community-widget {
    margin: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(114, 137, 218, 0.15) 0%, 
        rgba(88, 101, 242, 0.1) 50%,
        rgba(0, 0, 0, 0.9) 100%);
    border: 2px solid rgba(114, 137, 218, 0.5);
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
}

.discord-community-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(114, 137, 218, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.discord-community-widget h3 {
    color: #7289DA;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.discord-stats {
    margin-bottom: 1rem;
}

.discord-online {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #43B581;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* FIXED: Online count is now green like registration page */
#discord-online-count {
    color: #43B581;
    font-size: 1.2rem;
    font-weight: 700;
}

.widget-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Discord Button - FULLY FIXED with proper z-index layering */
.btn-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #7289DA 0%, #5865F2 100%);
    color: white;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-discord::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8A9BFF 0%, #7289DA 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -2;
}

.btn-discord::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transform: translateY(-50%);
    transition: left 0.8s ease;
    z-index: -1;
}

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(88, 101, 242, 0.5);
    border-color: rgba(138, 155, 255, 0.3);
}

.btn-discord:hover::before {
    opacity: 1;
}

.btn-discord:hover::after {
    left: 100%;
}

/* RIGHT CONTENT - 72% */
.faq-content {
    width: 72%;
    min-height: calc(100vh - 100px);
    overflow-y: visible;
    background: rgba(0, 0, 0, 0.4);
}

/* Development Notice Container - Simple Disclaimer */
.development-notice-container {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.15) 0%, 
        rgba(255, 152, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.9) 100%);
    border: 2px solid rgba(255, 193, 7, 0.5);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem 3rem 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInDown 1s ease forwards;
}

.development-notice-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.development-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #FF6B00, #FFA500);
    border-radius: 25px;
    animation: warningPulse 2s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.development-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

@keyframes warningPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 152, 0, 0.8);
        transform: scale(1.05);
    }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(67, 181, 129, 0.7);
    }
    50% { 
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(67, 181, 129, 0);
    }
}

/* Search Section with Expand/Collapse Controls */
.faq-search-section {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 100%);
    backdrop-filter: blur(20px);
    padding: 2rem 3rem;
    border-bottom: 1px solid rgba(220, 20, 60, 0.1);
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(220, 20, 60, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.6s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.6s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--crimson);
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.7);
}

.search-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--crimson);
    pointer-events: none;
    transition: color 0.6s ease;
}

/* Expand/Collapse Controls WITH SMOOTH HOVER */
.expand-controls {
    display: flex;
    gap: 1rem;
}

.expand-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.6s ease;
}

.expand-btn:hover {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    border-color: var(--crimson);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.3);
}

.expand-btn span {
    font-size: 1rem;
    transition: transform 0.6s ease;
}

.expand-btn:hover span {
    transform: scale(1.1);
}

/* FAQ Items Container */
.faq-items-container {
    padding: 2rem 3rem 3rem;
}

.faq-category-section {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.4s;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.faq-category-section.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.faq-category-section:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    visibility: visible;
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.section-header {
    font-size: 1.8rem;
    color: var(--crimson);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(220, 20, 60, 0.2);
    text-shadow: 0 0 15px var(--glow-red);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* FAQ Item - WITH SMOOTH FADE BORDER AND SHADOW EFFECTS */
.faq-item {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(220, 20, 60, 0);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s + 0.5s);
    position: relative;
    transition: all 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}

/* Smooth border fade effect */
.faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.3), rgba(220, 20, 60, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    max-height: 0;
    margin: 0;
    transition: all 0.6s ease, max-height 0.6s ease, margin 0.6s ease;
}

.faq-item:not(.hidden) {
    opacity: 1;
    transform: scale(1);
    max-height: 1000px;
    transition: all 0.6s ease, max-height 0.6s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(220, 20, 60, 0.2);
    transform: translateX(4px);
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.6s ease;
    position: relative;
    text-align: left;
}

.faq-question::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--crimson);
    transform: scaleY(0);
    transition: transform 0.6s ease;
}

.faq-item.active .faq-question::after {
    transform: scaleY(1);
}

.faq-question:hover {
    background: rgba(220, 20, 60, 0.05);
}

.question-text {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
    padding-right: 2rem;
    letter-spacing: 0.5px;
    transition: color 0.6s ease;
}

.faq-item:hover .question-text {
    color: rgba(255, 255, 255, 1);
}

.question-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(220, 20, 60, 0.1);
    border: 2px solid rgba(220, 20, 60, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.toggle-icon {
    color: #ffffff;
    font-size: 20px;
    font-weight: 300;
    transition: all 0.6s ease;
    display: block;
}

.toggle-icon::before {
    content: '+';
    display: block;
    transition: all 0.6s ease;
}

.faq-item.active .toggle-icon::before {
    content: '−';
}

.faq-item.active .question-toggle {
    background: rgba(220, 20, 60, 0.2);
    border-color: rgba(220, 20, 60, 0.5);
    transform: rotate(180deg);
}

/* FAQ ANSWER WITH SMOOTH FADE ANIMATION */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.6s ease,
                padding 0.6s ease;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    opacity: 1;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.6s ease 0.2s,
                padding 0.6s ease;
}

.answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transform: translateY(-10px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.faq-item.active .answer-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.answer-content p {
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInText 0.6s ease forwards;
    animation-delay: 0.4s;
}

.faq-item.active .answer-content p {
    opacity: 1;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.answer-content ul,
.answer-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: none;
}

.answer-content li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
    opacity: 0;
    animation: fadeInText 0.6s ease forwards;
    animation-delay: calc(var(--li-index, 0) * 0.1s + 0.5s);
}

.faq-item.active .answer-content li {
    opacity: 1;
}

.answer-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 4px;
    background: var(--crimson);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--glow-red);
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 0.6s;
}

.faq-item.active .answer-content ul li::before {
    opacity: 1;
}

.answer-content ol {
    counter-reset: faq-counter;
}

.answer-content ol li {
    counter-increment: faq-counter;
    padding-left: 2rem;
}

.answer-content ol li::before {
    content: counter(faq-counter);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--crimson);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 0 10px var(--glow-red);
}

/* ALL LINKS WITH PROPER HOVER EFFECTS - EXCLUDING DOWNLOAD LINKS */
.answer-content a:not(.download-link) {
    color: var(--crimson);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.9;
    font-weight: 500;
}

.answer-content a:not(.download-link)::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--crimson), transparent);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    opacity: 0;
}

.answer-content a:not(.download-link):hover {
    color: #FF1744;
    opacity: 1;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.8);
    transform: translateY(-1px);
}

.answer-content a:not(.download-link):hover::before {
    width: 100%;
    opacity: 1;
}

.highlight {
    color: var(--crimson);
    font-weight: 600;
    text-shadow: 0 0 5px var(--glow-red);
}

/* FIXED: Download link with underline ONLY under text */
.download-link {
    display: inline-flex;
    align-items: center;
    color: var(--crimson);
    font-weight: 600;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.9;
}

.download-icon {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.download-text {
    position: relative;
}

.download-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--crimson), transparent);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
}

.download-link:hover {
    color: #FF1744;
    opacity: 1;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.8);
    transform: translateY(-1px);
}

.download-link:hover .download-icon {
    transform: translateY(2px);
}

.download-link:hover .download-text::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Info and Warning Boxes WITH FADE */
.info-box,
.warning-box {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    position: relative;
    padding-left: 3rem;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 0.7s;
}

.faq-item.active .info-box,
.faq-item.active .warning-box {
    opacity: 1;
}

.info-box {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.info-box::before {
    content: 'ℹ';
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(88, 101, 242, 0.2);
    color: #5865F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.warning-box::before {
    content: '!';
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(255, 170, 0, 0.2);
    color: #FFAA00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.code-block {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    overflow-x: auto;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 0.8s;
}

.faq-item.active .code-block {
    opacity: 1;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.no-results-icon {
    margin-bottom: 1rem;
    color: var(--crimson);
    filter: drop-shadow(0 0 20px var(--glow-red));
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--crimson);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--glow-red);
}

.no-results p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Scrollbar Styling */
.faq-sidebar::-webkit-scrollbar,
.faq-content::-webkit-scrollbar {
    width: 8px;
}

.faq-sidebar::-webkit-scrollbar-track,
.faq-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

.faq-sidebar::-webkit-scrollbar-thumb,
.faq-content::-webkit-scrollbar-thumb {
    background: rgba(220, 20, 60, 0.5);
    border-radius: 4px;
    transition: background 0.6s ease;
}

.faq-sidebar::-webkit-scrollbar-thumb:hover,
.faq-content::-webkit-scrollbar-thumb:hover {
    background: rgba(220, 20, 60, 0.7);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Mobile Menu Toggle */
.mobile-category-toggle {
    display: none;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
    border: 2px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.6s ease;
    margin-bottom: 1rem;
}

.mobile-category-toggle:hover {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
    border-color: rgba(220, 20, 60, 0.5);
}

.mobile-category-toggle.active {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.3) 0%, rgba(139, 0, 0, 0.5) 100%);
    border-color: var(--crimson);
}

/* Footer Fix */
.footer {
    position: relative;
    width: 100%;
    margin-top: 0;
    z-index: 100;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .faq-sidebar {
        width: 35%;
    }
    
    .faq-content {
        width: 65%;
    }
    
    .category-title {
        font-size: 0.9rem;
    }
    
    .expand-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .expand-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 968px) {
    .faq-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .faq-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid rgba(100, 100, 100, 0.2);
        overflow: visible;
    }
    
    .category-nav {
        display: none;
    }
    
    .category-nav.mobile-active {
        display: flex;
        animation: fadeIn 0.6s ease;
    }
    
    .mobile-category-toggle {
        display: block;
    }
    
    .faq-content {
        width: 100%;
        height: auto;
        overflow: visible;
    }
    
    .faq-search-section {
        position: relative;
        padding: 1.5rem 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-container {
        width: 100%;
        max-width: none;
    }
    
    .expand-controls {
        width: 100%;
        flex-direction: row;
    }
    
    .expand-btn {
        flex: 1;
    }
    
    .faq-items-container {
        padding: 1.5rem 1rem;
    }
    
    .development-notice-container {
        margin: 1.5rem 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .discord-join-btn {
        width: 100%;
        justify-content: center;
    }
    
    .discord-community-widget {
        margin: 1rem;
    }
}

@media (max-width: 768px) {
    .faq-container {
        padding-top: 70px;
    }
    
    .sidebar-header {
        padding: 1.5rem;
    }
    
    .sidebar-title {
        font-size: 1.5rem;
    }
    
    .section-header {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .sidebar-title {
        font-size: 1.4rem;
    }
    
    .section-header {
        font-size: 1.4rem;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .answer-content {
        font-size: 0.95rem;
    }
    
    .faq-search-section {
        padding: 1rem;
    }
    
    .faq-items-container {
        padding: 1rem;
    }
    
    .development-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .sidebar-title {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .category-item {
        height: 70px;
    }
    
    .category-title {
        font-size: 0.85rem;
    }
    
    .category-count {
        font-size: 0.75rem;
    }
    
    .question-text {
        font-size: 0.95rem;
    }
    
    .answer-content {
        font-size: 0.9rem;
    }
    
    .expand-controls {
        flex-direction: column;
    }
    
    .expand-btn {
        width: 100%;
        font-size: 0.85rem;
    }
    
    .discord-community-widget h3 {
        font-size: 1rem;
    }
    
    .widget-text {
        font-size: 0.85rem;
    }
    
    .btn-discord {
        font-size: 0.9rem;
        padding: 0.875rem;
    }
    
    .development-badge {
        padding: 0.4rem 0.8rem;
    }
    
    .badge-text {
        font-size: 0.7rem;
    }
    
    .development-text {
        font-size: 0.85rem;
    }
}