/* Wiki-specific styles only - Main website styles are loaded from other CSS files */

/* ===== OVERRIDE MAIN STYLES FOR WIKI ===== */

/* Make page content wider for wiki */
.page_content {
    width: 95% !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
}

/* Make page text responsive */
.page_text {
    width: 100% !important;
    max-width: none !important;
}

/* Fix any dark text elements */
.wiki-section div,
.wiki-section span,
.wiki-section p,
.wiki-section li,
.wiki-section strong,
.wiki-section em {
    color: inherit;
}

/* Ensure all text is visible */
.wiki-section {
    color: rgba(255, 255, 255, 0.8);
}

/* Fix any missing icon colors */
.wiki-section i,
.info-card i,
.gameplay-card i,
.rate-category i,
.command-category i,
.item-category i {
    color: #c4a876 !important;
}

/* Fix strong elements */
.wiki-section strong {
    color: #c4a876 !important;
    font-weight: 600;
}

/* ===== WIKI LAYOUT ===== */

.wiki-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.wiki-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.15), rgba(184, 156, 102, 0.08));
    border: 2px solid rgba(196, 168, 118, 0.4);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    align-self: start;
}

/* Sidebar scrollbar styling */
.wiki-sidebar::-webkit-scrollbar {
    width: 6px;
}

.wiki-sidebar::-webkit-scrollbar-track {
    background: rgba(196, 168, 118, 0.1);
    border-radius: 3px;
}

.wiki-sidebar::-webkit-scrollbar-thumb {
    background: rgba(196, 168, 118, 0.5);
    border-radius: 3px;
}

.wiki-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(196, 168, 118, 0.7);
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(196, 168, 118, 0.4);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.sidebar-navigation {
    display: flex;
    flex-direction: column;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(196, 168, 118, 0.08);
    border: 1px solid rgba(196, 168, 118, 0.2);
    font-weight: 500;
}

.sidebar-link:hover {
    background: rgba(196, 168, 118, 0.2);
    color: #fff;
    transform: translateX(5px);
    border-color: rgba(196, 168, 118, 0.4);
    box-shadow: 0 4px 12px rgba(196, 168, 118, 0.2);
}

.sidebar-link i {
    width: 20px;
    margin-right: 0.8rem;
    font-size: 1rem;
    color: #c4a876;
}

/* ===== WIKI SECTIONS ===== */

.wiki-section {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.12), rgba(184, 156, 102, 0.06));
    border: 2px solid rgba(196, 168, 118, 0.3);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.wiki-section h1 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.wiki-section h2 {
    font-size: 1.9rem;
    color: #fff;
    margin: 2.5rem 0 1.5rem 0;
    border-bottom: 2px solid rgba(196, 168, 118, 0.4);
    padding-bottom: 0.8rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.wiki-section h3 {
    font-size: 1.5rem;
    color: #fff;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.wiki-section p {
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== INFO CARDS ===== */

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.info-card {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.15), rgba(184, 156, 102, 0.08));
    border: 2px solid rgba(196, 168, 118, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(196, 168, 118, 0.6);
}

.info-card h3 {
    color: #fff;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.info-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Fix card content styling */
.info-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.info-card .card-header i {
    color: #c4a876;
    font-size: 1.2rem;
}

.info-card .card-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.info-card .card-content {
    color: rgba(255, 255, 255, 0.8);
}

.info-card .card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card .card-content ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(196, 168, 118, 0.1);
}

.info-card .card-content ul li:last-child {
    border-bottom: none;
}

.info-card .card-content strong {
    color: #c4a876;
    font-weight: 600;
}

/* ===== RATES GRID - NEW LAYOUT ===== */

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.rate-category {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.12), rgba(184, 156, 102, 0.06));
    border: 2px solid rgba(196, 168, 118, 0.3);
    border-radius: 1.2rem;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.rate-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c4a876, #e6d4a3, #c4a876);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rate-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(196, 168, 118, 0.5);
}

.rate-category:hover::before {
    opacity: 1;
}

.rate-category h3 {
    color: #fff;
    margin-bottom: 1.8rem;
    font-size: 1.4rem;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.rate-category h3 i {
    color: #c4a876;
    font-size: 1.2rem;
}

.rate-category ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.rate-category ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    background: rgba(196, 168, 118, 0.08);
    border-radius: 0.8rem;
    border: 1px solid rgba(196, 168, 118, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.rate-category ul li:hover {
    background: rgba(196, 168, 118, 0.15);
    border-color: rgba(196, 168, 118, 0.3);
    transform: translateX(5px);
}

.rate-category ul li:last-child {
    border-bottom: none;
}

.rate-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.rate-value {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.3), rgba(184, 156, 102, 0.2));
    padding: 0.5rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(196, 168, 118, 0.4);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(196, 168, 118, 0.2);
    min-width: 60px;
    text-align: center;
}

/* ===== GAMEPLAY GRID - IMPROVED LAYOUT ===== */

.gameplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.gameplay-card {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.12), rgba(184, 156, 102, 0.06));
    border: 2px solid rgba(196, 168, 118, 0.3);
    border-radius: 1.2rem;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gameplay-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c4a876, #e6d4a3, #c4a876);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gameplay-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(196, 168, 118, 0.5);
}

.gameplay-card:hover::before {
    opacity: 1;
}

.gameplay-card .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.2), rgba(184, 156, 102, 0.1));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(196, 168, 118, 0.3);
    transition: all 0.3s ease;
}

.gameplay-card:hover .card-icon {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.3), rgba(184, 156, 102, 0.2));
    border-color: rgba(196, 168, 118, 0.5);
    transform: scale(1.1);
}

.gameplay-card .card-icon i {
    color: #c4a876;
    font-size: 2.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gameplay-card h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.gameplay-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.gameplay-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    display: grid;
    gap: 1rem;
}

.gameplay-card ul li {
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.2rem;
    background: rgba(196, 168, 118, 0.08);
    border-radius: 0.8rem;
    border: 1px solid rgba(196, 168, 118, 0.15);
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 3rem;
}

.gameplay-card ul li:hover {
    color: #fff;
    background: rgba(196, 168, 118, 0.15);
    border-color: rgba(196, 168, 118, 0.3);
    transform: translateX(5px);
}

.gameplay-card ul li:before {
    content: "•";
    color: #c4a876;
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
}

/* ===== RACE GRID ===== */

.race-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.race-item {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.15), rgba(184, 156, 102, 0.08));
    border: 2px solid rgba(196, 168, 118, 0.4);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.race-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(196, 168, 118, 0.6);
}

.race-item h4 {
    color: #fff;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.race-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== ITEMS GRID ===== */

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.item-category {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.15), rgba(184, 156, 102, 0.08));
    border: 2px solid rgba(196, 168, 118, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.item-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(196, 168, 118, 0.6);
}

.item-category h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.item-category ul {
    list-style: none;
    padding: 0;
}

.item-category ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(196, 168, 118, 0.2);
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.item-category ul li:hover {
    color: #fff;
    background: rgba(196, 168, 118, 0.1);
    padding: 0.6rem 0.5rem;
    border-radius: 0.5rem;
}

.item-category ul li:last-child {
    border-bottom: none;
}

/* ===== PVP INFO ===== */

.pvp-info {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.15), rgba(184, 156, 102, 0.08));
    border: 2px solid rgba(196, 168, 118, 0.4);
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 2.5rem 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.pvp-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(196, 168, 118, 0.6);
}

.pvp-info h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.pvp-info ul {
    list-style: none;
    padding: 0;
}

.pvp-info ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(196, 168, 118, 0.2);
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.pvp-info ul li:hover {
    color: #fff;
    background: rgba(196, 168, 118, 0.1);
    padding: 0.8rem 0.5rem;
    border-radius: 0.5rem;
}

.pvp-info ul li:last-child {
    border-bottom: none;
}

/* ===== COMMANDS GRID ===== */

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.command-category {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.15), rgba(184, 156, 102, 0.08));
    border: 2px solid rgba(196, 168, 118, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.command-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(196, 168, 118, 0.6);
}

.command-category h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.command-category ul {
    list-style: none;
    padding: 0;
}

.command-category ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(196, 168, 118, 0.2);
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.command-category ul li:hover {
    color: #fff;
    background: rgba(196, 168, 118, 0.1);
    padding: 0.6rem 0.5rem;
    border-radius: 0.5rem;
}

.command-category ul li:last-child {
    border-bottom: none;
}

.command-name {
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== GETTING STARTED ===== */

.getting-started {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.2), rgba(184, 156, 102, 0.12));
    border: 2px solid rgba(196, 168, 118, 0.5);
    border-radius: 1.5rem;
    padding: 3.5rem;
    margin: 3.5rem 0;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.getting-started:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(196, 168, 118, 0.7);
}

.getting-started h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.getting-started p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===== ACCORDION SYSTEM - IMPROVED LAYOUT ===== */

.systems-accordion {
    display: grid;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.systems-accordion .accordion-item {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.1), rgba(184, 156, 102, 0.05));
    border: 2px solid rgba(196, 168, 118, 0.3);
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    position: relative;
}

.systems-accordion .accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c4a876, #e6d4a3, #c4a876);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.systems-accordion .accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(196, 168, 118, 0.5);
}

.systems-accordion .accordion-item:hover::before {
    opacity: 1;
}

.systems-accordion .accordion-item.active {
    border-color: rgba(196, 168, 118, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.systems-accordion .accordion-item.active::before {
    opacity: 1;
}

.systems-accordion .accordion-header {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.2), rgba(184, 156, 102, 0.1));
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.systems-accordion .accordion-header:hover {
    background: linear-gradient(135deg, rgba(196, 168, 118, 0.25), rgba(184, 156, 102, 0.15));
}

.systems-accordion .accordion-header i:first-child {
    color: #c4a876;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.systems-accordion .accordion-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    flex: 1;
}

.systems-accordion .accordion-header i:last-child {
    color: #c4a876;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.systems-accordion .accordion-item.active .accordion-header i:last-child {
    transform: rotate(180deg);
}

.systems-accordion .accordion-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(196, 168, 118, 0.05);
}

.systems-accordion .accordion-item.active .accordion-content {
    padding: 2.5rem;
    max-height: 1000px;
}

.systems-accordion .accordion-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.systems-accordion .accordion-content ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.systems-accordion .accordion-content ul li {
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.2rem;
    background: rgba(196, 168, 118, 0.08);
    border-radius: 0.8rem;
    border: 1px solid rgba(196, 168, 118, 0.15);
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.systems-accordion .accordion-content ul li:hover {
    color: #fff;
    background: rgba(196, 168, 118, 0.15);
    border-color: rgba(196, 168, 118, 0.3);
    transform: translateX(5px);
}

.systems-accordion .accordion-content ul li strong {
    color: #c4a876;
    font-weight: 600;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Desktop (1400px+) - Default styles apply */

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .wiki-layout { 
        grid-template-columns: 280px 1fr; 
        gap: 2rem; 
    }
    
    .page_content {
        width: 95% !important;
        padding: 2rem !important;
    }
    
    .rates-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .gameplay-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

/* Small Desktop (1024px - 1199px) */
@media (max-width: 1199px) {
    .wiki-layout { 
        grid-template-columns: 260px 1fr; 
        gap: 1.8rem; 
    }
    .wiki-sidebar { 
        padding: 1.5rem; 
    }
    
    .page_content {
        width: 95% !important;
        padding: 1.8rem !important;
    }
    
    .rates-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gameplay-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    /* Override main styles for tablet */
    .page_content {
        width: 98% !important;
        padding: 1.5rem !important;
    }
    
    .wiki-layout { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
    }
    
    .wiki-sidebar { 
        position: static; 
        margin-bottom: 1.5rem;
        width: 100%;
        padding: 1.2rem;
    }
    
    .rates-grid { 
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.2rem; 
    }
    .rate-category { 
        padding: 1.2rem; 
    }
    
    .gameplay-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.2rem;
    }
    
    .systems-accordion {
        gap: 1rem;
    }
    
    .systems-accordion .accordion-header {
        padding: 1.5rem;
    }
    
    .systems-accordion .accordion-item.active .accordion-content {
        padding: 2rem;
    }
    
    .wiki-section {
        padding: 2rem;
    }
    
    .info-cards, .gameplay-grid, .items-grid, .commands-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Override main styles for mobile */
    .page_content {
        width: 100% !important;
        padding: 1rem !important;
    }
    
    .page_text {
        padding: 0 !important;
    }
    
    .info-cards, .rates-grid, .gameplay-grid, .items-grid, .pvp-info, .commands-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .rates-grid {
        grid-template-columns: 1fr;
    }
    
    .gameplay-grid {
        grid-template-columns: 1fr;
    }
    
    .systems-accordion .accordion-header {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .systems-accordion .accordion-header h3 {
        font-size: 1.3rem;
    }
    
    .systems-accordion .accordion-item.active .accordion-content {
        padding: 1.5rem;
    }
    
    .race-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .wiki-section {
        padding: 1.5rem;
    }
    
    .wiki-layout {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .wiki-sidebar {
        padding: 1rem;
    }
    
    .sidebar-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .sidebar-link i {
        width: 16px;
        margin-right: 0.6rem;
        font-size: 0.9rem;
    }
    
    .wiki-section-inner { 
        padding: 1.5rem 1rem; 
    }
    
    .wiki-section h1 { 
        font-size: 2rem; 
        margin-bottom: 1.5rem; 
    }
    
    .wiki-section h2 {
        font-size: 1.6rem;
        margin: 2rem 0 1rem 0;
    }
    
    .wiki-section h3 {
        font-size: 1.3rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .sidebar-title { 
        font-size: 1.1rem; 
        margin-bottom: 1rem; 
    }
    
    .getting-started { 
        padding: 2rem 1rem; 
        margin-top: 2rem; 
    }
    
    .getting-started h1 { 
        font-size: 2.2rem; 
    }
    
    .getting-started p { 
        font-size: 1.1rem; 
        margin-bottom: 2rem; 
    }
    
    .rates-grid { 
        gap: 1rem; 
    }
    .rate-category { 
        padding: 1rem; 
    }
    .rate-category h3 { 
        font-size: 1.1rem; 
        margin-bottom: 0.75rem; 
    }
    .rate-category ul { 
        row-gap: 0.5rem; 
    }
    .rate-category ul li { 
        padding: 0.4rem 0.2rem; 
    }
    .rate-value { 
        font-size: 0.95rem; 
    }
    
    .info-card, .gameplay-card, .item-category, .command-category {
        padding: 1.5rem;
    }
    
    .pvp-info {
        padding: 2rem;
    }
}

/* Mobile Small (480px and below) */
@media (max-width: 480px) {
    /* Override main styles for small mobile */
    .page_content {
        width: 100% !important;
        padding: 0.5rem !important;
    }
    
    .page_text {
        padding: 0 !important;
    }
    
    .wiki-section {
        padding: 1rem;
    }
    
    .wiki-section-inner { 
        padding: 0.8rem 0.6rem; 
    }
    
    .wiki-section h1 { 
        font-size: 1.6rem; 
        margin-bottom: 1rem; 
    }
    
    .wiki-section h2 {
        font-size: 1.4rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .wiki-section h3 {
        font-size: 1.2rem;
        margin: 1.2rem 0 0.6rem 0;
    }
    
    .sidebar-link { 
        padding: 0.5rem 0.7rem; 
        font-size: 0.8rem; 
    }
    
    .sidebar-link i { 
        width: 14px; 
        margin-right: 0.5rem; 
        font-size: 0.8rem; 
    }
    
    .sidebar-title { 
        font-size: 1rem; 
    }
    
    .getting-started { 
        padding: 1.5rem 0.8rem; 
        margin-top: 1.5rem; 
    }
    
    .getting-started h1 { 
        font-size: 1.8rem; 
    }
    
    .getting-started p { 
        font-size: 1rem; 
    }
    
    .rate-category ul li { 
        padding: 0.4rem 0.2rem; 
    }
    
    .info-card, .rate-category, .gameplay-card, .item-category, .command-category {
        padding: 1rem;
    }
    
    .pvp-info {
        padding: 1.5rem;
    }
    
    .race-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.8rem;
    }
    
    .race-item {
        padding: 1rem;
    }
}