/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #F95606;
    --primary-hover: #F59518;
    --secondary-color: #b5984d;
    --background-dark: #0a0a0a;
    --background-darker: #111111;
    --background-light: #1a1a1a;
    --background-lighter: #2a2a2a;
    --text-dark: #e0e0e0;
    --text-light: #f0f0f0;
    --text-muted: #888888;
    --white: #ffffff;
    --black: #000000;
    --success: #00ff00;
    --error: #ff4444;
    --border-radius: 6px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-hover: 0 6px 20px rgba(0,0,0,0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    /* BACKGROUND PERSONALIZÁVEL - Substitua a URL pela sua imagem */
    background: url('../images/bg4.jpg') var(--background-dark) center/cover fixed;
    color: var(--text-dark);
    font: 75% "Helvetica Neue", Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    transition: var(--transition);
}

.skip-link:focus {
    top: 6px;
}

/* Links */
a:link, a:visited {
    color: var(--primary-color);
    outline: none;
    text-decoration: none;
    transition: var(--transition);
}

a:hover, a:focus {
    color: var(--primary-hover);
    text-decoration: underline;
    outline: none;
}

a img {
    border-width: 0;
}

/* Layout */
#body-wrapper {
    margin: 0;
    padding: 0;
    background: url('../images/wrapper-bg.jpg') center top no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#outer-wrapper {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    background: url('../images/container-bg.png') left 20px repeat-x;
    flex: 1;
}

#content-wrapper {
    background: var(--background-darker);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}

#main-wrapper {
    flex: 1;
    min-width: 300px;
    padding: 10px 15px;
    word-wrap: break-word;
    overflow: hidden;
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

#rsidebar-wrapper {
    width: 205px;
    min-width: 180px;
    word-wrap: break-word;
    overflow: hidden;
}

/* Header - Estilo Premium */
#header-wrapper { 
    width: 100%;
    margin: 0 auto;
    height: 280px;
    background: 
        linear-gradient(135deg, rgba(249, 86, 6, 0.1) 0%, rgba(0,0,0,0.6) 100%),
        url('../images/header1.jpg') center/cover no-repeat;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 4px solid #F95606;
    box-shadow: 0 4px 20px rgba(0,0,0,0.7);
}

#header-wrapper::before {
    display: none;
}

#header-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(249, 86, 6, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 86, 6, 0.05) 0%, transparent 50%);
    z-index: 1;
}

#header-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
}

#header {
    color: #ffffff;
    overflow: hidden;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

#header h1 {
    margin: 0;
    padding: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: bold;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #ffffff;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

#header h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #F95606, transparent);
    border-radius: 2px;
}

#header h1 a, #header h1 a:visited {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

#header h1 a:hover {
    color: #F59518;
    text-shadow: 0 0 20px rgba(249, 86, 6, 0.7);
}

#header .description {
    padding-left: 5px;
    color: #f8f8f8;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-top: 12px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
    font-style: italic;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 15px;
}

#header .description::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #F95606;
    border-radius: 50%;
}

#header2 {
    overflow: hidden;
    text-align: center;
}

#header2 .widget {
    padding: 15px;
    background: rgba(0,0,0,0.7);
    border-radius: 10px;
    border: 1px solid rgba(249, 86, 6, 0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
}

.server-status {
    text-align: center;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

.status-online {
    color: #00ff00;
    font-weight: bold;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    display: block;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
    position: relative;
    padding-left: 20px;
}

.status-online::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #00ff00;
    font-size: 1.2em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.players-count {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #f0f0f0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
    margin-top: 5px;
    display: block;
}

.players-count span {
    color: #F59518;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(249, 149, 24, 0.5);
}

/* Navigation */
#navcontainer {
    height: auto;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111111;
    margin-bottom: 10px;
    border-bottom: 2px solid #F95606;
    position: relative;
    z-index: 1000;
    padding: 0 20px;
    box-sizing: border-box;
}

#navcontainer .current-cat a {
    background: #1a1a1a;
    color: #FFF;
}

#nav a, #subMenusContainer a {
    text-decoration: none;
    display: block;
}

#nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    position: relative;
    height: auto;
}

#nav li {
    flex: 1;
    text-align: center;
    margin: 0;
    padding: 0;
    position: relative;
    background-image: none !important;
    height: auto;
    display: block;
}

#nav li a {
    display: block;
    background: none;
    padding: 16px 12px;
    color: #cccccc;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.3s ease;
    margin: 0;
    float: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 0;
}

#nav li a:hover, #nav li a:focus, #nav a.mainMenuParentBtnFocused {
    background: #F95606;
    color: #FFF;
}

/* SUBMENUS */
#nav li.menu-item-has-children {
    position: relative;
}

#nav li.menu-item-has-children:hover .children,
#nav li.menu-item-has-children:focus-within .children {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#nav .children {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #111111;
    min-width: 200px;
    z-index: 1001;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    border-top: 2px solid #F95606;
    padding: 0;
    margin: 0;
}

#nav li.menu-item-has-children:last-child .children,
#nav li.menu-item-has-children:nth-last-child(2) .children {
    left: auto;
    right: 0;
    transform: none;
}

#nav li.menu-item-has-children:last-child .children {
    left: auto;
    right: 0;
}

#nav li.menu-item-has-children:nth-last-child(2) .children {
    left: auto;
    right: 0;
}

#nav .children li {
    float: none;
    background: none;
    margin: 0;
    padding: 0;
    height: auto;
    display: block;
    width: 100%;
    text-align: left;
}

#nav .children a {
    color: #cccccc !important;
    padding: 12px 20px;
    border-bottom: 1px solid #333;
    background: #111111;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 11px;
    white-space: nowrap;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

#nav .children a:hover {
    background: #F95606;
    color: #FFF !important;
    padding-left: 25px;
}

#nav .children li:last-child a {
    border-bottom: none;
    border-radius: 0 0 4px 4px;
}

.register-btn {
    background: #111111 !important;
    color: #cccccc !important;
    border-radius: 0;
    margin: 0 !important;
    border: none;
}

.register-btn:hover {
    background: #F95606 !important;
    color: white !important;
}

/* Posts and Content */
.post {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333333;
}

.post-title {
    margin: 0 0 16px 0;
    padding: 0;
    line-height: 1.3;
    font-size: clamp(1.5rem, 4vw, 1.75rem);
    font-family: Arial, Helvetica, Sans-serif;
    font-weight: bold;
    color: var(--text-light);
}

.post-title a, .post-title a:visited, .post-title strong {
    display: block;
    text-decoration: none;
    color: var(--text-light);
}

.post-title strong, .post-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.post-body {
    text-align: justify;
    padding-top: 8px;
    font: 12px/20px Arial, Verdana;
    color: var(--text-dark);
}

/* Sidebar */
.sidebar {
    margin: 0 0 25px 0;
    color: var(--text-dark);
    font-size: 13px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #333333;
}

.sidebar a {
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.sidebar a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.sidebar h2 {
    margin: 0;
    padding: 12px 16px;
    text-align: left;
    font-size: 16px;
    line-height: 16px;
    color: #ffffff;
    font-family: Arial, Helvetica, Sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border: none;
}

.sidebar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.sidebar ul li {
    padding: 10px 16px;
    margin: 0;
    border-bottom: 1px solid #333333;
    transition: var(--transition);
    color: var(--text-dark);
}

.sidebar ul li:last-child {
    border-bottom: none;
}

.sidebar ul li:hover {
    background: var(--background-lighter);
}

.sidebar .widget {
    border-bottom: 0 dotted;
    margin: 0;
    padding: 0;
}

.sidebar .widget-content {
    padding: 16px;
    background: var(--background-light);
    color: var(--text-dark);
}

/* Login Form */
#account_login, #password_login {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #444444;
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    background: var(--background-lighter);
    color: var(--text-dark);
}

#account_login:focus, #password_login:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(249, 86, 6, 0.2);
    background: var(--background-light);
}

.login-btn, .logout-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: var(--transition);
}

.login-btn:hover, .logout-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.login-links {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
}

.login-links a {
    color: var(--text-muted);
}

.login-links a:hover {
    color: var(--primary-color);
}

/* Server Stats */
.server-stats li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #333333;
    color: var(--text-dark);
}

.server-stats li:last-child {
    border-bottom: none;
}

.server-stats strong {
    color: var(--text-light);
}

.server-stats span {
    color: var(--primary-color);
    font-weight: bold;
}

/* Boosted Monster */
.boosted-monster .widget-content {
    text-align: center;
    padding: 20px;
}

.boosted-name {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 8px;
}

.boosted-bonus {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(249, 86, 6, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(249, 86, 6, 0.3);
}

/* Top Players */
.top-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #333333;
    color: var(--text-dark);
}

.top-player:last-child {
    border-bottom: none;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.player-name {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.player-name:hover {
    color: var(--primary-color);
}

.top-player-level {
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: bold;
}

.top-player.error {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Quick Links */
.quick-links li {
    padding: 8px 16px;
    background: url('../images/arrow.png') left 14px no-repeat;
    padding-left: 24px;
    color: var(--text-dark);
}

.quick-links li a {
    color: var(--text-dark);
}

.quick-links li a:hover {
    color: var(--primary-color);
}

/* Social Media */
.social-media .widget-content {
    padding: 20px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--background-lighter);
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: var(--text-dark);
    text-decoration: none;
    border: 1px solid #333333;
}

.social-link:hover {
    background: var(--background-light);
    text-decoration: none;
    transform: translateX(4px);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.social-link img {
    width: 24px;
    height: 24px;
}

.social-link span {
    color: var(--text-dark);
    font-weight: 500;
}

/* Custom Slider */
.custom-slider {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: 1px solid #333333;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.slide-content {
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 20px;
    border-radius: 8px;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-content h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.slide-content p {
    color: #e0e0e0;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #F95606, #FA6E2A);
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #FA6E2A, #FB8650);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 86, 6, 0.4);
    color: white !important;
}

/* Slider Navigation */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 10%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255,255,255,0.6);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.1);
    color: white;
    border: none;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--primary-color);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Online Players Button */
.online-players-btn {
    width: 100% !important;
    padding: 15px 20px !important;
    background: linear-gradient(135deg, #F95606, #F59518) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    display: block !important;
    margin: 0 !important;
    box-shadow: var(--shadow) !important;
}

.online-players-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-hover) !important;
    background: linear-gradient(135deg, #F59518, #F95606) !important;
    color: white !important;
}

.online-btn-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    color: white !important;
}

.online-players-btn strong,
.online-players-btn span {
    color: white !important;
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Footer */
#footer {
    padding: 30px 22px;
    text-align: center;
    color: #a0a0a0;
    font-size: 13px;
    background: #111111;
    margin-top: 20px;
    border-top: 1px solid #333333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #a0a0a0;
    margin: 0 10px;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

#footer a {
    color: #a0a0a0;
}

#footer a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

#credits {
    color: #666666;
    font-size: 12px;
    text-align: center;
    padding: 15px 10px;
    background: #0a0a0a;
}

#credits a {
    color: #666666;
    text-decoration: none;
    font-style: italic;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.1);
}

#back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Utility Classes */
.clear {
    clear: both;
}

.fullbox_excerpt {
    margin-bottom: 30px;
}

.fullbox_content {
    background: var(--background-light);
    padding: 0;
    border: 1px solid #333333;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* FORÇAR CORES ESPECÍFICAS - TEMA ESCURO */
.sidebar .widget-content,
.sidebar .widget-content *:not(a):not(button) {
    color: var(--text-dark) !important;
}

.sidebar .widget-content a {
    color: var(--text-dark) !important;
}

.sidebar .widget-content a:hover {
    color: var(--primary-color) !important;
}

.server-stats li,
.server-stats li strong,
.server-stats li span {
    color: var(--text-dark) !important;
}

.top-player,
.top-player .player-name,
.top-player-level {
    color: var(--text-dark) !important;
}

.quick-links li,
.quick-links li a {
    color: var(--text-dark) !important;
}

.cta-button {
    color: white !important;
    background: var(--primary-color) !important;
}

/* SOLUÇÃO AGUERRIDA - FORÇAR TEMA ESCURO */
#rsidebar-wrapper * {
    color: var(--text-dark) !important;
    background: var(--background-light) !important;
}

#rsidebar-wrapper .sidebar h2 {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
}

#rsidebar-wrapper .sidebar .widget-content * {
    color: var(--text-dark) !important;
    background: var(--background-light) !important;
}

#rsidebar-wrapper .sidebar a {
    color: var(--text-dark) !important;
}

#rsidebar-wrapper .sidebar a:hover {
    color: var(--primary-color) !important;
}

#rsidebar-wrapper .server-stats span,
#rsidebar-wrapper .boosted-name,
#rsidebar-wrapper .top-player-level {
    color: var(--primary-color) !important;
}

#rsidebar-wrapper .online-players-btn,
#rsidebar-wrapper .login-btn,
#rsidebar-wrapper .logout-btn {
    background: var(--primary-color) !important;
    color: white !important;
}

#rsidebar-wrapper .online-players-btn *,
#rsidebar-wrapper .login-btn *,
#rsidebar-wrapper .logout-btn * {
    color: white !important;
}

/* Main content area dark theme */
#main-wrapper * {
    color: var(--text-dark) !important;
}

#main-wrapper .post-title,
#main-wrapper .post-title a,
#main-wrapper .post-title strong {
    color: var(--text-light) !important;
}

#main-wrapper .post-body,
#main-wrapper .post-body p,
#main-wrapper .post-body li,
#main-wrapper .post-body td {
    color: var(--text-dark) !important;
}

/* Remove search box */
#search {
    display: none !important;
}

#searchform {
    display: none !important;
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .custom-slider {
        height: 220px;
    }
    
    .slide-content {
        bottom: 15px;
        left: 20px;
        right: 20px;
        padding: 12px 15px;
    }
    
    .slide-content h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .slide-content p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .cta-button {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
    
    #content-wrapper {
        flex-direction: column;
    }
    
    #main-wrapper, #rsidebar-wrapper {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .custom-slider {
        height: 180px;
    }
    
    .slide-content {
        bottom: 10px;
        left: 15px;
        right: 15px;
        padding: 10px 12px;
    }
    
    .slide-content h3 {
        font-size: 1rem;
    }
    
    .slide-content p {
        font-size: 0.75rem;
    }
    
    .cta-button {
        padding: 7px 16px;
        font-size: 0.75rem;
    }
}

/* Melhorias gerais para tema escuro */
.blog-posts.hfeed {
    background: var(--background-light);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Input fields dark theme */
input, textarea, select {
    background: var(--background-lighter) !important;
    color: var(--text-dark) !important;
    border: 1px solid #444444 !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(249, 86, 6, 0.2) !important;
}

/* Tables dark theme */
table {
    background: var(--background-lighter) !important;
    color: var(--text-dark) !important;
    border-color: #444444 !important;
}

table th {
    background: var(--background-light) !important;
    color: var(--text-light) !important;
    border-color: #444444 !important;
}

table td {
    background: var(--background-lighter) !important;
    color: var(--text-dark) !important;
    border-color: #444444 !important;
}

/* Code and pre blocks */
code, pre {
    background: var(--background-darker) !important;
    color: var(--text-light) !important;
    border: 1px solid #444444 !important;
}

/* News Accordion Styles */
.news-accordion {
    background: var(--background-light);
    border: 1px solid #333333;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.accordion-title {
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accordion-content {
    background: var(--background-light);
}

.accordion-item {
    border-bottom: 1px solid #333333;
    transition: var(--transition);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--background-light);
}

.accordion-header-item:hover {
    background: var(--background-lighter);
}

.accordion-item.active .accordion-header-item {
    background: var(--background-lighter);
    border-left: 4px solid var(--primary-color);
}

.accordion-item-title {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.accordion-date {
    color: var(--text-muted);
    font-size: 12px;
    margin-right: 15px;
}

.accordion-arrow {
    color: var(--text-muted);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.accordion-body {
    display: none; /* Começa escondido */
    padding: 0;
    background: var(--background-lighter);
    border-top: 1px solid #333333;
}

.accordion-item.active .accordion-body {
    display: block;
}

.news-content {
    padding: 20px;
    color: var(--text-dark);
    font-size: 13px;
    line-height: 1.5;
}

.news-content p {
    margin-bottom: 10px;
}

.news-content ul, .news-content ol {
    margin: 10px 0;
    padding-left: 20px;
}

.news-content li {
    margin-bottom: 5px;
}

/* Responsive Accordion */
@media (max-width: 768px) {
    .accordion-header-item {
        padding: 12px 15px;
        flex-wrap: wrap;
    }
    
    .accordion-item-title {
        font-size: 13px;
        order: 1;
        flex: 1 0 100%;
        margin-bottom: 5px;
    }
    
    .accordion-date {
        order: 2;
        margin-right: auto;
    }
    
    .accordion-arrow {
        order: 3;
    }
    
    .news-content {
        padding: 15px;
    }
}


.welcome-content {
    padding: 30px 0;
}

.welcome-text h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
}

.welcome-text > p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.server-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--background-lighter);
    border-radius: 10px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-text {
    flex: 1;
}

.highlight-text strong {
    color: var(--text-light);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.highlight-text span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 86, 6, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: #444;
}

.btn-secondary:hover {
    background: var(--background-lighter);
    border-color: var(--primary-color);
    color: var(--text-light);
}

@media (max-width: 768px) {
    .server-highlights {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
}


.welcome-content {
    padding: 30px 0;
    text-align: center;
}

.post-title.entry-title {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-badge {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-description {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.server-description em {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-category {
    background: var(--background-lighter);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: left;
    transition: all 0.3s ease;
}

.feature-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.feature-category h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-category li {
    color: var(--text-dark);
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.feature-category li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-category p {
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

.server-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.tag {
    background: rgba(249, 86, 6, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(249, 86, 6, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 86, 6, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: #444;
}

.btn-secondary:hover {
    background: var(--background-lighter);
    border-color: var(--primary-color);
    color: var(--text-light);
}

@media (max-width: 768px) {
    .post-title.entry-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-category {
        padding: 20px;
    }
    
    .server-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
}