MediaWiki:Common.css: Difference between revisions

From Ragnafied Wiki
No edit summary
No edit summary
 
(56 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ===== MEDIAWIKI COMMON.CSS ENHANCEMENTS ===== */
/* Ragnawiki Styles */
/* Last updated: 2024 - OPTIMIZED VERSION */
.ragnawiki-hero {
 
/* === Improved Tables === */
.wikitable {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: 1em 0;
    background: white;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
 
.wikitable th {
     background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%);
     background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%);
     color: white;
     color: white;
     font-weight: 600;
     padding: 25px;
    border-radius: 12px;
     text-align: center;
     text-align: center;
     padding: 12px 8px;
     margin: 15px 0;
     border-bottom: 2px solid #1e3a5f;
     box-shadow: 0 4px 15px rgba(0,0,0,0.15);
     font-size: 14px;
     position: relative;
    overflow: hidden;
}
}


.wikitable td {
.ragnawiki-hero-title {
     padding: 10px 8px;
     font-size: 28px;
     border: 1px solid #ddd;
    font-weight: bold;
     vertical-align: top;
     margin-bottom: 10px;
     text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
}


.wikitable tr:nth-child(even) {
.ragnawiki-hero-subtitle {
     background-color: #f8f9fa;
     font-size: 16px;
    opacity: 0.95;
    margin-bottom: 15px;
}
}


.wikitable tr:nth-child(odd) {
.ragnawiki-grid {
     background-color: #ffffff;
     display: flex;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}
}


.wikitable tr:hover {
.ragnawiki-card {
     background-color: #e3f2fd;
     background: white;
     transition: background-color 0.2s ease;
    border-radius: 10px;
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    flex: 1;
    min-width: 300px;
}
}


/* === Enhanced Navigation === */
.ragnawiki-card-header {
#toc {
     color: white;
     background: #f8f9fa;
     padding: 12px 15px;
    border: 1px solid #a2a9b1;
    border-radius: 6px;
     padding: 15px;
    margin: 1em 0;
}
 
.tocnumber {
    color: #2c5e9e;
     font-weight: bold;
     font-weight: bold;
    font-size: 14px;
}
}


/* === Better Links === */
.ragna-blue { background: linear-gradient(135deg, #4682B4, #5a96d1); }
a {
.ragna-gold { background: linear-gradient(135deg, #DAA520, #e6b800); }
    color: #0645ad;
.ragna-light-blue { background: linear-gradient(135deg, #87CEFA, #6ab0f5); }
    text-decoration: none;
.ragna-green { background: linear-gradient(135deg, #32CD32, #28a428); }
    transition: color 0.2s ease;
}


a:hover {
.ragnawiki-card-content {
     color: #0b0080;
     padding: 15px;
    text-decoration: underline;
}
}


a:visited {
.ragnawiki-list {
     color: #0b0080;
    width: 100%;
     border: none;
}
}


a.new {
.ragnawiki-list tr td {
     color: #c20;
     padding: 8px 5px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
}


/* === Content Improvements === */
.ragnawiki-list tr:last-child td {
#content {
     border-bottom: none;
     line-height: 1.6;
    color: #202122;
}
}


#content h1,
.ragna-value {
#content h2,
     font-weight: 600;
#content h3,
#content h4,
#content h5,
#content h6 {
     color: #2c5e9e;
    border-bottom: 1px solid #a2a9b1;
    padding-bottom: 0.3em;
    margin-top: 1.5em;
}
}


#content h1 {
.ragnawiki-notes {
     border-bottom: 2px solid #2c5e9e;
     margin-top: 5px;
}
}


/* === Code Blocks === */
.ragnawiki-tip-box {
pre, code {
     background: #fff3f3;
     background: #f8f9fa;
     border-left: 4px solid #b22222;
     border: 1px solid #eaecf0;
    border-radius: 4px;
    padding: 2px 4px;
    font-family: monospace;
}
 
pre {
     padding: 12px;
     padding: 12px;
    overflow-x: auto;
}
/* === Infoboxes and Special Elements === */
.infobox {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
     border-radius: 6px;
     border-radius: 6px;
     padding: 15px;
     font-size: 13px;
    margin: 1em 0;
}
}


.navbox {
.ragnawiki-nav-grid {
    background: #f8f9fa;
     display: flex;
    border: 1px solid #a2a9b1;
     gap: 15px;
    border-radius: 4px;
     margin: 25px 0;
    padding: 5px;
     flex-wrap: wrap;
}
 
/* === Custom Header Colors === */
.mw-headline {
     color: #2c5e9e;
}
 
/* === Button Improvements === */
.mw-ui-button {
    background: #2c5e9e;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
 
.mw-ui-button:hover {
    background: #1e3a5f;
}
 
/* === Form Elements === */
.mw-input,
textarea {
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
}
 
.mw-input:focus,
textarea:focus {
    border-color: #2c5e9e;
     outline: none;
     box-shadow: 0 0 0 2px rgba(44, 94, 158, 0.2);
}
 
/* === Logo Replacement === */
#p-logo a {
    background-image: url('https://wiki.ragnafied.net/images/e/ee/Ragnawikilogo.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    display: block !important;
    min-width: 135px !important;
     min-height: 135px !important;
    transition: all 0.3s ease !important;
}
 
#p-logo a:hover {
    opacity: 0.8 !important;
    transform: scale(1.05) !important;
}
}


#p-logo a img {
.ragnawiki-nav-card {
    opacity: 0 !important;
    width: 135px !important;
    height: 135px !important;
}
 
/* === MODERN CARD SYSTEM (UNIFIED) === */
 
/* Container System */
.wiki-header-container,
.quick-nav-container,
.about-container,
.guide-container,
.accounts-container,
.autoloot-container,
.stats-container,
.vip-container,
.systems-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
 
/* Card Base Styles */
.info-card,
.nav-card,
.stat-card,
.substat-card,
.trait-card,
.status-card,
.vip-comparison-card,
.system-card,
.plan-card,
.feature-card,
.benefits-section {
     background: white;
     background: white;
     border-radius: 12px;
     border-radius: 10px;
     box-shadow: 0 4px 20px rgba(0,0,0,0.08);
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
     overflow: hidden;
     overflow: hidden;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     flex: 1;
    border: 1px solid #e1e8ed;
     min-width: 250px;
    margin-bottom: 25px;
}
 
/* Card Hover Effects (Unified) */
.info-card:hover,
.nav-card:hover,
.stat-card:hover,
.substat-card:hover,
.trait-card:hover,
.status-card:hover,
.vip-comparison-card:hover,
.system-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
     box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
}


.substat-card:hover,
.ragnawiki-nav-header {
.trait-card:hover,
.status-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}
 
/* Card Header System */
.card-header,
.nav-header,
.stat-header,
.substat-header,
.trait-header,
.status-header,
.comparison-header,
.system-header,
.plan-header,
.benefits-header {
    padding: 18px 25px;
     color: white;
     color: white;
     font-weight: 600;
    padding: 12px 15px;
     font-size: 20px;
     font-weight: bold;
     font-size: 14px;
     text-align: center;
     text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
/* Smaller Headers */
.substat-header,
.trait-header,
.status-header,
.plan-header {
    padding: 14px 18px;
    font-size: 16px;
}
}


/* Card Content System */
.ragnawiki-nav-content {
.card-content,
.nav-content,
.stat-content,
.substat-content,
.trait-content,
.status-content,
.comparison-content,
.system-content,
.plan-content,
.benefits-content {
    padding: 25px;
    line-height: 1.6;
}
 
.nav-content {
     padding: 0;
     padding: 0;
}
}


.substat-content,
.ragnawiki-nav-table {
.trait-content,
    width: 100%;
.status-content {
    border: none;
     padding: 18px;
     border-collapse: collapse;
}
}


/* === GRID SYSTEMS (UNIFIED) === */
.ragnawiki-nav-table tr td {
 
     padding: 15px 6px;
.stats-grid,
     border-bottom: 1px solid #e1e8ed;
.substats-grid,
     vertical-align: middle;
.trait-stats-grid,
.status-breakdown-grid,
.feature-grid,
.benefits-grid,
.systems-comparison,
.comparison-grid {
     display: grid;
     gap: 20px;
     margin: 25px 0;
}
}


.stats-grid {
.ragnawiki-nav-table tr:nth-child(odd) td {
     grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
     background: rgba(240, 248, 255, 0.7);
}
}


.substats-grid {
.ragnawiki-nav-table tr:nth-child(even) td {
     grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
     background: rgba(255, 255, 255, 0.9);
}
}


.trait-stats-grid {
.ragnawiki-nav-table tr:last-child td {
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     border-bottom: none;
}
}


.status-breakdown-grid {
/* Responsive design */
     grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
@media (max-width: 768px) {
    .ragnawiki-grid,
    .ragnawiki-nav-grid {
        flex-direction: column;
     }
   
    .ragnawiki-card,
    .ragnawiki-nav-card {
        min-width: auto;
    }
}
}


.feature-grid {
/* Additional color classes for Stats page */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
.ragna-orange { background: linear-gradient(135deg, #ff9800, #f57c00); }
}
.ragna-red { background: linear-gradient(135deg, #f44336, #d32f2f); }
.ragna-yellow { background: linear-gradient(135deg, #ffeb3b, #fbc02d); }
.ragna-purple { background: linear-gradient(135deg, #9c27b0, #7b1fa2); }
.ragna-brown { background: linear-gradient(135deg, #795548, #5d4037); }
.ragna-pink { background: linear-gradient(135deg, #f48fb1, #f06292); }


.benefits-grid {
/* Additional color classes for VIP page */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
.ragna-gold { background: linear-gradient(135deg, #ffd700, #ffed4e); color: #8b6914; }
}


.systems-comparison,
/* Additional color classes for Episode page */
.comparison-grid {
.ragna-dark { background: linear-gradient(135deg, #34495e, #2c3e50); }
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}


/* === LIST SYSTEMS (UNIFIED) === */
/* Table improvements */
 
.wikitable {
.modern-list,
     border-collapse: collapse;
.stat-list,
     width: 100%;
.substat-list,
     margin: 15px 0;
.trait-list,
     background: white;
.feature-list {
     list-style: none;
     padding: 0;
     margin: 0;
}
 
.list-item,
.feature-item,
.benefit-item,
.drop-item,
.map-drop-item {
    display: flex;
     align-items: flex-start;
    padding: 15px;
     border-radius: 8px;
     border-radius: 8px;
     transition: all 0.3s ease;
     overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
}


.list-item {
.wikitable th {
    background: rgba(255, 255, 255, 0.7);
     background: linear-gradient(135deg, #667eea, #764ba2);
    border: 1px solid #e1e8ed;
    margin-bottom: 15px;
}
 
.list-item:hover {
    background: rgba(240, 247, 255, 0.9);
    transform: translateX(5px);
}
 
.feature-item {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
 
.benefit-item {
    background: rgba(39, 174, 96, 0.1);
    border-left: 4px solid #27ae60;
    align-items: center;
}
 
.drop-item {
    background: rgba(30, 144, 255, 0.05);
    border: 1px solid rgba(30, 144, 255, 0.1);
    align-items: center;
    margin-bottom: 12px;
}
 
.drop-item:hover {
    background: rgba(30, 144, 255, 0.1);
    transform: translateX(3px);
}
 
.map-drop-item {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.1);
    margin-bottom: 15px;
}
 
.map-drop-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(3px);
}
 
/* List Items */
.stat-list li,
.substat-list li,
.trait-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}
 
.stat-list li:last-child,
.substat-list li:last-child,
.trait-list li:last-child {
    border-bottom: none;
}
 
.stat-list li:before,
.substat-list li:before,
.trait-list li:before {
    content: "•";
    color: #2c5e9e;
    font-weight: bold;
    position: absolute;
    left: 0;
}
 
.stat-list li.negative:before {
    content: "⛔";
    color: #e74c3c;
}
 
/* List Icons */
.list-icon {
     background: linear-gradient(135deg, #2c5e9e, #1e3a5f);
     color: white;
     color: white;
     width: 30px;
     padding: 12px 8px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
     font-weight: bold;
     font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}
.feature-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}
.benefit-icon {
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}
.feature-icon-large {
    font-size: 40px;
    margin-bottom: 15px;
}
.drop-icon,
.map-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.drop-icon img,
.map-icon img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}
.map-icon {
    margin-right: 15px;
}
/* Content Areas */
.list-content,
.feature-text,
.benefit-text,
.drop-text,
.map-text {
    flex: 1;
     font-size: 14px;
     font-size: 14px;
    line-height: 1.4;
}
}


.map-text {
.wikitable td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
     font-size: 13px;
     font-size: 13px;
}
}


.map-name {
.wikitable tr:nth-child(even) {
     font-weight: 600;
     background: rgba(240, 248, 255, 0.7);
    color: #B8860B;
    font-size: 14px;
    margin-bottom: 4px;
}
}


.map-drop {
.wikitable tr:nth-child(odd) {
    color: #666;
     background: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}
 
/* === SPECIAL ELEMENTS === */
.notes-box {
    transition: transform 0.2s ease;
}
 
.notes-box:hover {
    transform: scale(1.02);
}
 
.tip-box {
    border-left: 4px solid;
}
 
.note-box {
    font-size: 12px;
}
 
/* === CODE & EXAMPLES === */
code {
     background: #2c5e9e;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}
 
.command-examples code,
.command-grid code,
.examples-grid code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
}
 
.example-box {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
}
 
/* === HOVER EFFECTS === */
.quick-overview > div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 
.quick-overview > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
 
.command-examples > div,
.examples-grid > div {
    transition: transform 0.2s ease;
}
 
.command-examples > div:hover,
.examples-grid > div:hover {
    transform: scale(1.02);
}
 
.discord-cta,
.exploration-tip,
.vip-cta {
    transition: transform 0.2s ease;
}
 
.discord-cta:hover,
.exploration-tip:hover {
    transform: scale(1.02);
}
 
.vip-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
}
 
.vip-cta a {
    transition: all 0.3s ease;
}
 
.vip-cta a:hover {
    background: #8e44ad !important;
    color: white !important;
    transform: scale(1.05);
}
 
/* === SPECIAL LAYOUTS === */
.free-plan {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-right: 2px dashed #dee2e6;
}
 
.vip-plan {
    background: linear-gradient(135deg, #fffaf0, #fff5e6);
}
 
.plan-content {
    height: calc(100% - 70px);
}
 
.feature-title {
    font-weight: 600;
    font-size: 18px;
    color: #2c5e9e;
    margin-bottom: 10px;
}
}


.feature-description {
/* Additional troubleshooting-specific styles */
    font-size: 14px;
.ragna-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
    color: #666;
.ragna-orange { background: linear-gradient(135deg, #e67e22, #d35400); }
    line-height: 1.5;
.ragna-blue { background: linear-gradient(135deg, #3498db, #2980b9); }
}
.ragna-green { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.ragna-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }


.status-content {
/* Additional color classes for Illusion quests */
    font-size: 14px;
.ragna-teal { background: linear-gradient(135deg, #16a085, #1abc9c); }
    line-height: 1.5;
}
 
.system-description {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #555;
}
 
.rate-info {
    text-align: center;
    margin: 20px 0;
}
 
.rate-badge {
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}
 
.drops-grid,
.map-drops-grid {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}
 
.drops-grid {
    gap: 12px;
}
 
.map-drops-grid {
    gap: 15px;
}
 
/* === RESPONSIVE DESIGN (UNIFIED) === */
@media (max-width: 968px) {
    .systems-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
 
@media (max-width: 768px) {
    .wikitable {
        font-size: 14px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
   
    #content {
        padding: 10px;
    }
   
    .wikitable th,
    .wikitable td {
        padding: 8px 6px;
    }
   
    /* Grid layouts */
    .stats-grid,
    .substats-grid,
    .trait-stats-grid,
    .status-breakdown-grid,
    .feature-grid,
    .benefits-grid,
    .drops-grid,
    .quick-overview,
    .item-types-grid,
    .comparison-grid {
        grid-template-columns: 1fr !important;
    }
   
    .command-grid,
    .examples-grid,
    .accounts-container .info-card .card-content > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
   
    /* Container padding */
    .wiki-header-container,
    .quick-nav-container,
    .about-container,
    .guide-container,
    .accounts-container,
    .autoloot-container,
    .stats-container,
    .vip-container,
    .systems-container {
        padding: 10px;
    }
   
    /* Flex layouts */
    .list-item,
    .feature-item,
    .benefit-item,
    .drop-item,
    .map-drop-item {
        flex-direction: column;
        text-align: center;
    }
   
    .list-icon,
    .feature-icon,
    .benefit-icon,
    .drop-icon,
    .map-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
   
    .free-plan {
        border-right: none;
        border-bottom: 2px dashed #dee2e6;
    }
   
    .system-content {
        padding: 15px;
    }
   
    .system-header {
        padding: 15px;
        font-size: 18px;
    }
}
 
@media (max-width: 480px) {
    .card-header,
    .nav-header,
    .stat-header,
    .substat-header,
    .trait-header,
    .status-header,
    .comparison-header,
    .system-header,
    .plan-header,
    .benefits-header {
        padding: 12px 15px;
        font-size: 16px;
    }
}
 
/* === Print Styles === */
@media print {
    .wikitable {
        box-shadow: none;
        border: 1px solid #000;
    }
   
    a {
        color: #000;
        text-decoration: underline;
    }
}
 
/* === Floating === */
.floating-sidebar {
  position: fixed;
  top: 100px; /* adjust as needed */
  left: 20px; /* or right: 20px */
  width: 250px;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 0.95em;
}

Latest revision as of 20:08, 2 October 2025

/* Ragnawiki Styles */
.ragnawiki-hero {
    background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.ragnawiki-hero-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.ragnawiki-hero-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 15px;
}

.ragnawiki-grid {
    display: flex;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.ragnawiki-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    flex: 1;
    min-width: 300px;
}

.ragnawiki-card-header {
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
}

.ragna-blue { background: linear-gradient(135deg, #4682B4, #5a96d1); }
.ragna-gold { background: linear-gradient(135deg, #DAA520, #e6b800); }
.ragna-light-blue { background: linear-gradient(135deg, #87CEFA, #6ab0f5); }
.ragna-green { background: linear-gradient(135deg, #32CD32, #28a428); }

.ragnawiki-card-content {
    padding: 15px;
}

.ragnawiki-list {
    width: 100%;
    border: none;
}

.ragnawiki-list tr td {
    padding: 8px 5px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.ragnawiki-list tr:last-child td {
    border-bottom: none;
}

.ragna-value {
    font-weight: 600;
}

.ragnawiki-notes {
    margin-top: 5px;
}

.ragnawiki-tip-box {
    background: #fff3f3;
    border-left: 4px solid #b22222;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
}

.ragnawiki-nav-grid {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.ragnawiki-nav-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    flex: 1;
    min-width: 250px;
}

.ragnawiki-nav-header {
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

.ragnawiki-nav-content {
    padding: 0;
}

.ragnawiki-nav-table {
    width: 100%;
    border: none;
    border-collapse: collapse;
}

.ragnawiki-nav-table tr td {
    padding: 15px 6px;
    border-bottom: 1px solid #e1e8ed;
    vertical-align: middle;
}

.ragnawiki-nav-table tr:nth-child(odd) td {
    background: rgba(240, 248, 255, 0.7);
}

.ragnawiki-nav-table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.9);
}

.ragnawiki-nav-table tr:last-child td {
    border-bottom: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .ragnawiki-grid,
    .ragnawiki-nav-grid {
        flex-direction: column;
    }
    
    .ragnawiki-card,
    .ragnawiki-nav-card {
        min-width: auto;
    }
}

/* Additional color classes for Stats page */
.ragna-orange { background: linear-gradient(135deg, #ff9800, #f57c00); }
.ragna-red { background: linear-gradient(135deg, #f44336, #d32f2f); }
.ragna-yellow { background: linear-gradient(135deg, #ffeb3b, #fbc02d); }
.ragna-purple { background: linear-gradient(135deg, #9c27b0, #7b1fa2); }
.ragna-brown { background: linear-gradient(135deg, #795548, #5d4037); }
.ragna-pink { background: linear-gradient(135deg, #f48fb1, #f06292); }

/* Additional color classes for VIP page */
.ragna-gold { background: linear-gradient(135deg, #ffd700, #ffed4e); color: #8b6914; }

/* Additional color classes for Episode page */
.ragna-dark { background: linear-gradient(135deg, #34495e, #2c3e50); }

/* Table improvements */
.wikitable {
    border-collapse: collapse;
    width: 100%;
    margin: 15px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wikitable th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 8px;
    font-weight: bold;
    font-size: 14px;
}

.wikitable td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.wikitable tr:nth-child(even) {
    background: rgba(240, 248, 255, 0.7);
}

.wikitable tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.9);
}

/* Additional troubleshooting-specific styles */
.ragna-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.ragna-orange { background: linear-gradient(135deg, #e67e22, #d35400); }
.ragna-blue { background: linear-gradient(135deg, #3498db, #2980b9); }
.ragna-green { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.ragna-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }

/* Additional color classes for Illusion quests */
.ragna-teal { background: linear-gradient(135deg, #16a085, #1abc9c); }