MediaWiki:Common.css: Difference between revisions

From Ragnafied Wiki
No edit summary
No edit summary
Tag: Manual revert
 
(132 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ===== MEDIAWIKI COMMON.CSS ENHANCEMENTS ===== */
h2, h3 {
/* Last updated: 2024 - OPTIMIZED VERSION */
    overflow: visible !important;
    padding-top: 10px;
    clear: both;
}


/* === Improved Tables === */
/* =========================================== */
.wikitable {
/* Ragnawiki Base Styles */
    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 {
.ragnawiki-hero {
     background: linear-gradient(135deg, #2c5e9e 0%, #1e3a5f 100%);
     background: linear-gradient(135deg, #FF6A00 0%, #F4B400 30%, #D93800 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;
     transition: all 0.3s ease;
}
}


/* === Enhanced Navigation === */
.ragnawiki-card:hover {
#toc {
     transform: translateY(-5px);
     background: #f8f9fa;
     box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
     border: 1px solid #a2a9b1;
    border-radius: 6px;
    padding: 15px;
    margin: 1em 0;
}
}


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


/* === Better Links === */
.ragnawiki-card-content {
a {
     padding: 15px;
     color: #0645ad;
    text-decoration: none;
    transition: color 0.2s ease;
}
}


a:hover {
.ragnawiki-list {
     color: #0b0080;
     width: 100%;
     text-decoration: underline;
     border: none;
}
}


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


a.new {
.ragnawiki-list tr:last-child td {
     color: #c20;
     border-bottom: none;
}
}


/* === Content Improvements === */
.ragna-value {
#content {
     font-weight: 600;
     line-height: 1.6;
    color: #202122;
}
}


#content h1,
.ragnawiki-notes {
#content h2,
     margin-top: 5px;
#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-tip-box {
     border-bottom: 2px solid #2c5e9e;
    background: #fff3f3;
     border-left: 4px solid #b22222;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
}
}


/* === Code Blocks === */
.ragnawiki-warning-box {
pre, code {
     background: #fff3cd;
     background: #f8f9fa;
     border-left: 4px solid #f39c12;
     border: 1px solid #eaecf0;
     padding: 12px;
     border-radius: 4px;
     border-radius: 6px;
     padding: 2px 4px;
     font-size: 13px;
     font-family: monospace;
}
}


pre {
/* =========================================== */
    padding: 12px;
/* Navigation Grid Styles */
    overflow-x: auto;
/* =========================================== */
}


/* === Infoboxes and Special Elements === */
.ragnawiki-nav-grid {
.infobox {
     display: flex;
     background: #f8f9fa;
     gap: 15px;
     border: 1px solid #a2a9b1;
     margin: 25px 0;
     border-radius: 6px;
     flex-wrap: wrap;
     padding: 15px;
    margin: 1em 0;
}
}


.navbox {
.ragnawiki-nav-card {
     background: #f8f9fa;
     background: white;
     border: 1px solid #a2a9b1;
     border-radius: 10px;
     border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
     padding: 5px;
     overflow: hidden;
    flex: 1;
    min-width: 250px;
     transition: all 0.3s ease;
}
}


/* === Custom Header Colors === */
.ragnawiki-nav-card:hover {
.mw-headline {
     transform: translateY(-5px);
     color: #2c5e9e;
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
}
}


/* === Button Improvements === */
.ragnawiki-nav-header {
.mw-ui-button {
    background: #2c5e9e;
     color: white;
     color: white;
     border: none;
     padding: 12px 15px;
     border-radius: 4px;
     font-weight: bold;
     padding: 8px 16px;
     font-size: 14px;
     cursor: pointer;
     text-align: center;
    transition: background-color 0.2s ease;
}
}


.mw-ui-button:hover {
.ragnawiki-nav-content {
     background: #1e3a5f;
     padding: 0;
}
}


/* === Form Elements === */
.ragnawiki-nav-table {
.mw-input,
     width: 100%;
textarea {
     border: none;
     border: 1px solid #a2a9b1;
     border-collapse: collapse;
     border-radius: 4px;
     padding: 8px;
    font-size: 14px;
}
}


.mw-input:focus,
.ragnawiki-nav-table tr td {
textarea:focus {
    padding: 15px 6px;
     border-color: #2c5e9e;
     border-bottom: 1px solid #e1e8ed;
    outline: none;
     vertical-align: middle;
     box-shadow: 0 0 0 2px rgba(44, 94, 158, 0.2);
}
}


/* === Logo Replacement === */
.ragnawiki-nav-table tr:nth-child(odd) td {
#p-logo a {
     background: rgba(240, 248, 255, 0.7);
    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 {
.ragnawiki-nav-table tr:nth-child(even) td {
     opacity: 0.8 !important;
     background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05) !important;
}
}


#p-logo a img {
.ragnawiki-nav-table tr:last-child td {
     opacity: 0 !important;
     border-bottom: none;
    width: 135px !important;
    height: 135px !important;
}
}


/* === MODERN CARD SYSTEM (UNIFIED) === */
/* =========================================== */
/* Core Color Classes */
/* =========================================== */


/* Container System */
.ragna-blue { background: linear-gradient(135deg, #3498db, #2980b9); color: white; }
.wiki-header-container,
.ragna-green { background: linear-gradient(135deg, #2ecc71, #27ae60); color: white; }
.quick-nav-container,
.ragna-red { background: linear-gradient(135deg, #e74c3c, #c0392b); color: white; }
.about-container,
.ragna-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); color: white; }
.guide-container,
.ragna-orange { background: linear-gradient(135deg, #e67e22, #d35400); color: white; }
.accounts-container,
.ragna-gold { background: linear-gradient(135deg, #ffd700, #f1c40f); color: #333; }
.autoloot-container,
.ragna-teal { background: linear-gradient(135deg, #16a085, #1abc9c); color: white; }
.stats-container,
.ragna-pink { background: linear-gradient(135deg, #f48fb1, #f06292); color: white; }
.vip-container,
.ragna-yellow { background: linear-gradient(135deg, #ffeb3b, #fbc02d); color: #333; }
.systems-container {
.ragna-brown { background: linear-gradient(135deg, #795548, #5d4037); color: white; }
    max-width: 1200px;
.ragna-dark { background: linear-gradient(135deg, #2c3e50, #34495e); color: white; }
    margin: 0 auto;
.ragna-gray { background: linear-gradient(135deg, #95a5a6, #7f8c8d); color: white; }
    padding: 20px;
.ragna-cyan { background: linear-gradient(135deg, #00bcd4, #0097a7); color: white; }
}
.ragna-silver { background: linear-gradient(135deg, #bdc3c7, #95a5a6); color: #333; }
 
/* =========================================== */
/* Table Styles */
/* =========================================== */


/* Card Base Styles */
.wikitable {
.info-card,
    border-collapse: collapse;
.nav-card,
    width: 100%;
.stat-card,
    margin: 15px 0;
.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: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
     overflow: hidden;
     overflow: hidden;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e1e8ed;
    margin-bottom: 25px;
}
}


/* Card Hover Effects (Unified) */
.wikitable th {
.info-card:hover,
     background: linear-gradient(135deg, #667eea, #764ba2);
.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,
.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 8px;
     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 */
.wikitable td {
.substat-header,
     padding: 10px 8px;
.trait-header,
    border-bottom: 1px solid #f0f0f0;
.status-header,
     font-size: 13px;
.plan-header {
     padding: 14px 18px;
     font-size: 16px;
}
}


/* Card Content System */
.wikitable tr:nth-child(even) {
.card-content,
    background: rgba(240, 248, 255, 0.7);
.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;
/* Scroll Progress Bar */
}
/* =========================================== */


.substat-content,
#scroll-progress {
.trait-content,
    position: fixed;
.status-content {
    top: 0;
     padding: 18px;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #FF6A00, #D93800);
    z-index: 10001;
    width: 0%;
     transition: width 0.1s ease-out;
}
}


/* === GRID SYSTEMS (UNIFIED) === */
/* =========================================== */
/* Back to Top Button */
/* =========================================== */


.stats-grid,
.back-to-top-fixed {
.substats-grid,
    position: fixed;
.trait-stats-grid,
     bottom: 30px;
.status-breakdown-grid,
     right: 30px;
.feature-grid,
     z-index: 9999;
.benefits-grid,
.systems-comparison,
.comparison-grid {
     display: grid;
     gap: 20px;
     margin: 25px 0;
}
}


.stats-grid {
.back-to-top-fixed a {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
     background: linear-gradient(135deg, #FF6A00, #D93800);
}
     color: white;
 
     width: 60px;
.substats-grid {
     height: 60px;
     grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
     border-radius: 50%;
}
 
.trait-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
 
.status-breakdown-grid {
     grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
 
.feature-grid {
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
 
.benefits-grid {
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
 
.systems-comparison,
.comparison-grid {
     grid-template-columns: 1fr 1fr;
    gap: 30px;
}
 
/* === LIST SYSTEMS (UNIFIED) === */
 
.modern-list,
.stat-list,
.substat-list,
.trait-list,
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.list-item,
.feature-item,
.benefit-item,
.drop-item,
.map-drop-item {
     display: flex;
     display: flex;
     align-items: flex-start;
     align-items: center;
     padding: 15px;
    justify-content: center;
     border-radius: 8px;
     font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
     border: 3px solid white;
     transition: all 0.3s ease;
     transition: all 0.3s ease;
    cursor: pointer;
}
}


.list-item {
.back-to-top-fixed a:hover {
     background: rgba(255, 255, 255, 0.7);
     background: linear-gradient(135deg, #FF7A20, #F4B400);
     border: 1px solid #e1e8ed;
    transform: translateY(-5px) scale(1.1);
     margin-bottom: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
     color: white;
     text-decoration: none;
}
}


.list-item:hover {
/* =========================================== */
    background: rgba(240, 247, 255, 0.9);
/* Floating Navigation Menu */
    transform: translateX(5px);
/* =========================================== */
}


.feature-item {
.floating-menu {
     background: rgba(255,255,255,0.7);
    position: fixed;
     border: 1px solid rgba(0,0,0,0.05);
    right: 20px;
     margin-bottom: 20px;
    top: 50%;
    transform: translateY(-50%);
     background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
     border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
     padding: 0 0 10px 0;
    min-width: 180px;
    z-index: 9998;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}
}


.benefit-item {
.floating-menu-header {
     background: rgba(39, 174, 96, 0.1);
     background: linear-gradient(135deg, #AF011C, #D93800);
     border-left: 4px solid #27ae60;
     color: white;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    display: flex;
     align-items: center;
     align-items: center;
    justify-content: space-between;
}
}


.drop-item {
.floating-menu-header .arrow {
     background: rgba(30, 144, 255, 0.05);
     transition: transform 0.3s ease;
    border: 1px solid rgba(30, 144, 255, 0.1);
    align-items: center;
    margin-bottom: 12px;
}
}


.drop-item:hover {
.floating-menu.collapsed .floating-menu-header .arrow {
    background: rgba(30, 144, 255, 0.1);
     transform: rotate(-90deg);
     transform: translateX(3px);
}
}


.map-drop-item {
.floating-menu-items {
     background: rgba(255, 215, 0, 0.05);
     padding: 8px 0;
     border: 1px solid rgba(255, 215, 0, 0.1);
     transition: all 0.3s ease;
    margin-bottom: 15px;
}
}


.map-drop-item:hover {
.floating-menu.collapsed .floating-menu-items {
     background: rgba(255, 215, 0, 0.1);
    max-height: 0;
     transform: translateX(3px);
     padding: 0;
    opacity: 0;
     overflow: hidden;
}
}


/* List Items */
.floating-menu-items a {
.stat-list li,
    display: flex;
.substat-list li,
    align-items: center;
.trait-list li {
     padding: 10px 15px;
     padding: 8px 0;
    color: #333;
     border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
     position: relative;
     font-size: 13px;
     padding-left: 20px;
     transition: all 0.2s ease;
     border-left: 3px solid transparent;
}
}


.stat-list li:last-child,
.floating-menu-items a:hover,
.substat-list li:last-child,
.floating-menu-items a.reading-now {
.trait-list li:last-child {
    background: rgba(255, 106, 0, 0.08);
     border-bottom: none;
    border-left-color: #FF6A00;
    color: #FF6A00;
     text-decoration: none;
}
}


.stat-list li:before,
.floating-menu-items a:before {
.substat-list li:before,
.trait-list li:before {
     content: "•";
     content: "•";
     color: #2c5e9e;
     color: #FF6A00;
     font-weight: bold;
     font-weight: bold;
     position: absolute;
     margin-right: 8px;
     left: 0;
     font-size: 16px;
}
 
.stat-list li.negative:before {
    content: "⛔";
    color: #e74c3c;
}
}


/* List Icons */
.floating-menu-toggle {
.list-icon {
    position: fixed;
     background: linear-gradient(135deg, #2c5e9e, #1e3a5f);
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
     background: linear-gradient(135deg, #2ecc71, #27ae60);
     color: white;
     color: white;
     width: 30px;
     width: 45px;
     height: 30px;
     height: 45px;
     border-radius: 50%;
     border-radius: 50%;
     display: flex;
     display: none;
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid white;
     font-weight: bold;
     font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}
.feature-icon {
     font-size: 20px;
     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;
/* Ribbon Styles */
    margin-bottom: 15px;
/* =========================================== */
}


.drop-icon,
.ragna-ribbon-container {
.map-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    flex-shrink: 0;
     display: flex;
     display: flex;
    align-items: center;
     justify-content: center;
     justify-content: center;
     font-size: 18px;
     flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    padding: 0 10px;
}
}


.drop-icon img,
.ragna-ribbon {
.map-icon img {
     background: #2c3e50;
     max-width: 100%;
     color: #FFD700;
     max-height: 100%;
     padding: 10px 25px;
     border-radius: 4px;
     font-weight: bold;
}
 
.map-icon {
    margin-right: 15px;
}
 
/* Content Areas */
.list-content,
.feature-text,
.benefit-text,
.drop-text,
.map-text {
    flex: 1;
     font-size: 14px;
    line-height: 1.4;
}
 
.map-text {
     font-size: 13px;
     font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    min-width: 160px;
    clip-path: polygon(92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%, 8% 0);
    border-top: 2px solid #FFD700;
    border-bottom: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: default;
}
}


.map-name {
.ragna-ribbon:hover {
     font-weight: 600;
     transform: scale(1.05);
     color: #B8860B;
     background: #34495e;
     font-size: 14px;
     color: #fff;
    margin-bottom: 4px;
}
}


.map-drop {
/* =========================================== */
    color: #666;
/* COLLAPSIBLE DESIGN - BEAUTIFUL */
    line-height: 1.4;
/* =========================================== */
}


/* === SPECIAL ELEMENTS === */
/* Base collapsible container */
.notes-box {
.mw-collapsible {
     transition: transform 0.2s ease;
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
     transition: box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
}


.notes-box:hover {
.mw-collapsible:hover {
     transform: scale(1.02);
     box-shadow: 0 8px 25px rgba(255, 106, 0, 0.15);
}
}


.tip-box {
/* Header styling - Beautiful clickable headers */
     border-left: 4px solid;
.mw-collapsible .ragnawiki-card-header {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 25px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    user-select: none !important;
    position: relative !important;
    font-size: 16px !important;
    font-weight: bold !important;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
     border-bottom: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
}


.note-box {
/* Add a subtle pattern overlay to headers */
     font-size: 12px;
.mw-collapsible .ragnawiki-card-header::before {
     content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
}


/* === CODE & EXAMPLES === */
/* Arrow indicator - bigger and nicer */
code {
.mw-collapsible .ragnawiki-card-header::after {
    background: #2c5e9e;
     float: right;
    color: white;
    padding: 4px 8px;
     border-radius: 4px;
    font-family: 'Courier New', monospace;
     font-size: 14px;
     font-size: 14px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-shadow: none;
    margin-top: -2px;
}
}


.command-examples code,
/* Rotate arrow when expanded */
.command-grid code,
.mw-collapsible.expanded .ragnawiki-card-header::after {
.examples-grid code {
     transform: rotate(180deg);
     font-family: 'Courier New', monospace;
     background: rgba(255,255,255,0.2);
     font-size: 14px;
}
}


.example-box {
/* Content area - with nice padding and subtle inner shadow */
     font-family: 'Courier New', monospace;
.mw-collapsible-content {
     font-size: 13px;
     padding: 25px !important;
     line-height: 1.4;
    background: #fafafa !important;
     border-top: 1px solid rgba(0,0,0,0.05);
     box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}
}


/* === HOVER EFFECTS === */
/* Style for cards inside collapsible */
.quick-overview > div {
.mw-collapsible-content .ragnawiki-card {
     transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
     transition: all 0.3s ease;
    margin-bottom: 0;
}
}


.quick-overview > div:hover {
.mw-collapsible-content .ragnawiki-card:hover {
     transform: translateY(-3px);
     transform: translateY(-3px);
     box-shadow: 0 5px 15px rgba(0,0,0,0.2);
     box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
}


.command-examples > div,
.mw-collapsible-content .ragnawiki-card-header {
.examples-grid > div {
     padding: 12px 15px !important;
     transition: transform 0.2s ease;
    font-size: 14px !important;
    border-bottom: none !important;
}
}


.command-examples > div:hover,  
.mw-collapsible-content .ragnawiki-card-header::before,
.examples-grid > div:hover {
.mw-collapsible-content .ragnawiki-card-header::after {
     transform: scale(1.02);
     display: none !important;
}
}


.discord-cta,
/* Make grids look nice inside */
.exploration-tip,
.mw-collapsible-content .ragnawiki-grid {
.vip-cta {
     margin: 0 0 20px 0;
     transition: transform 0.2s ease;
}
}


.discord-cta:hover,
.mw-collapsible-content .ragnawiki-grid:last-child {
.exploration-tip:hover {
     margin-bottom: 0;
     transform: scale(1.02);
}
}


.vip-cta:hover {
/* Hide ALL default MediaWiki toggle elements */
    transform: translateY(-3px);
.mw-collapsible-toggle,
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
.mw-collapsible-toggle-default,
.mw-collapsible .mw-collapsible-toggle,
.mw-collapsible-text,
.mw-collapsible-toggle a,
.mw-collapsible-toggle span {
    display: none !important;
}
}


.vip-cta a {
/* Header hover effect */
     transition: all 0.3s ease;
.mw-collapsible .ragnawiki-card-header:hover {
     filter: brightness(1.15);
    padding-left: 30px !important;
}
}


.vip-cta a:hover {
/* Special styling for different color headers */
     background: #8e44ad !important;
.mw-collapsible .ragnawiki-card-header.ragna-blue {
     color: white !important;
     background: linear-gradient(135deg, #3498db, #2980b9) !important;
    transform: scale(1.05);
     border-bottom-color: #1f4e7a !important;
}
}


/* === SPECIAL LAYOUTS === */
.mw-collapsible .ragnawiki-card-header.ragna-green {
.free-plan {
     background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
     background: linear-gradient(135deg, #f8f9fa, #e9ecef);
     border-bottom-color: #1a6e3c !important;
     border-right: 2px dashed #dee2e6;
}
}


.vip-plan {
.mw-collapsible .ragnawiki-card-header.ragna-red {
     background: linear-gradient(135deg, #fffaf0, #fff5e6);
     background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    border-bottom-color: #84261e !important;
}
}


.plan-content {
.mw-collapsible .ragnawiki-card-header.ragna-purple {
     height: calc(100% - 70px);
     background: linear-gradient(135deg, #9b59b6, #8e44ad) !important;
    border-bottom-color: #5e2e77 !important;
}
}


.feature-title {
.mw-collapsible .ragnawiki-card-header.ragna-orange {
     font-weight: 600;
     background: linear-gradient(135deg, #e67e22, #d35400) !important;
    font-size: 18px;
     border-bottom-color: #a04100 !important;
    color: #2c5e9e;
     margin-bottom: 10px;
}
}


.feature-description {
.mw-collapsible .ragnawiki-card-header.ragna-gold {
     font-size: 14px;
     background: linear-gradient(135deg, #ffd700, #f1c40f) !important;
     color: #666;
    color: #333 !important;
     line-height: 1.5;
     border-bottom-color: #b4940b !important;
     text-shadow: 0 1px 2px rgba(255,255,255,0.3) !important;
}
}


.status-content {
.mw-collapsible .ragnawiki-card-header.ragna-gold::after {
     font-size: 14px;
     color: #333 !important;
     line-height: 1.5;
     background: rgba(0,0,0,0.1);
}
}


.system-description {
.mw-collapsible .ragnawiki-card-header.ragna-teal {
     font-size: 15px;
     background: linear-gradient(135deg, #16a085, #1abc9c) !important;
    line-height: 1.5;
     border-bottom-color: #0e6b58 !important;
     margin-bottom: 20px;
    color: #555;
}
}


.rate-info {
.mw-collapsible .ragnawiki-card-header.ragna-pink {
     text-align: center;
     background: linear-gradient(135deg, #f48fb1, #f06292) !important;
     margin: 20px 0;
     border-bottom-color: #c13b6b !important;
}
}


.rate-badge {
.mw-collapsible .ragnawiki-card-header.ragna-dark {
     box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
     background: linear-gradient(135deg, #2c3e50, #34495e) !important;
    border-bottom-color: #1e2a36 !important;
}
}


.drops-grid,
.mw-collapsible .ragnawiki-card-header.ragna-cyan {
.map-drops-grid {
     background: linear-gradient(135deg, #00bcd4, #0097a7) !important;
     display: flex;
     border-bottom-color: #006d7a !important;
     flex-direction: column;
    margin: 20px 0;
}
}


.drops-grid {
.mw-collapsible .ragnawiki-card-header.ragna-brown {
     gap: 12px;
     background: linear-gradient(135deg, #795548, #5d4037) !important;
    border-bottom-color: #3e2c26 !important;
}
}


.map-drops-grid {
.mw-collapsible .ragnawiki-card-header.ragna-silver {
     gap: 15px;
     background: linear-gradient(135deg, #bdc3c7, #95a5a6) !important;
    color: #333 !important;
    border-bottom-color: #6e7a7c !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3) !important;
}
}


/* === RESPONSIVE DESIGN (UNIFIED) === */
.mw-collapsible .ragnawiki-card-header.ragna-silver::after {
@media (max-width: 968px) {
    color: #333 !important;
    .systems-comparison {
     background: rgba(0,0,0,0.1);
        grid-template-columns: 1fr;
        gap: 20px;
     }
}
}


@media (max-width: 768px) {
/* =========================================== */
    .wikitable {
/* Responsive Design */
        font-size: 14px;
/* =========================================== */
        display: block;
 
        overflow-x: auto;
@media (max-width: 1200px) {
        white-space: nowrap;
     .floating-menu {
    }
         left: 10px;
   
         min-width: 160px;
    #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) {
@media (max-width: 768px) {
     .card-header,
     .floating-menu {
    .nav-header,
        left: -220px;
    .stat-header,
        top: 10px;
    .substat-header,
        transform: none;
    .trait-header,
        width: 200px;
    .status-header,
        max-height: 80vh;
    .comparison-header,
         overflow-y: auto;
    .system-header,
    .plan-header,
    .benefits-header {
        padding: 12px 15px;
         font-size: 16px;
     }
     }
}


/* === Print Styles === */
     .floating-menu.mobile-visible {
@media print {
         left: 10px;
     .wikitable {
        box-shadow: none;
        border: 1px solid #000;
    }
   
    a {
         color: #000;
        text-decoration: underline;
     }
     }
}
/* Episode Overview Styling */
.episode-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
/* Tickets Grid - Single Line Layout */
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 4 columns */
    gap: 20px;
    margin: 30px 0;
    width: 100%;
}
.ticket-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e8ed;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0; /* Prevent overflow */
}
.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.ticket-header {
    padding: 15px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}
.ticket-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ticket-info {
    margin-bottom: 15px;
    flex-grow: 1;
}
.ticket-episode {
    font-weight: 600;
    color: #2c5e9e;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.3;
}
.ticket-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}
.ticket-requirements {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 10px;
    line-height: 1.3;
}
.ticket-price {
    font-size: 13px;
    color: #27ae60;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ticket-link-container {
    margin-top: auto;
    text-align: center;
}
.ticket-link-container .plainlinks a {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.ticket-link-container .plainlinks a:hover {
    background: #2980b9;
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}


/* Responsive for smaller screens */
     .floating-menu-toggle {
@media (max-width: 1200px) {
         display: flex;
     .tickets-grid {
         grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
     }
     }
}


@media (max-width: 768px) {
     .back-to-top-fixed {
     .tickets-grid {
         bottom: 20px;
         grid-template-columns: 1fr; /* 1 column on mobile */
        right: 20px;
     }
     }
}


/* Episode Timeline Table */
     .back-to-top-fixed a {
.episode-table-container {
        width: 50px;
    overflow-x: auto;
        height: 50px;
    margin: 20px 0;
        font-size: 14px;
}
 
.episode-timeline {
    width: 100%;
    border-collapse: collapse;
}
 
.episode-timeline th {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border: none;
}
 
.episode-timeline td {
    padding: 12px;
    border-bottom: 1px solid #ecf0f1;
    vertical-align: middle;
}
 
.episode-timeline tr:hover td {
    background: rgba(52, 152, 219, 0.05);
}
 
/* Status Badges */
.status-completed {
    background: #27ae50;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}
 
.status-skippable {
    background: #9b59b6;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}
 
.status-current {
    background: #e67e22;
    color: white;
    padding: 6px 12px;
     border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}
 
.status-future {
    background: #95a5a6;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}
 
/* Timeline Legend */
.timeline-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
}
 
.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(236, 240, 241, 0.5);
    border-radius: 8px;
}
 
.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}
 
.legend-text {
    font-size: 13px;
    color: #2c3e50;
    font-weight: 500;
}
 
/* NPC Info Section */
.npc-info {
    background: rgba(155, 89, 182, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #9b59b6;
}
 
/* Progression Tip */
.progression-tip {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 
.progression-tip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.3);
}
 
/* Responsive Design */
@media (max-width: 768px) {
    .tickets-grid {
        grid-template-columns: 1fr;
    }
   
    .episode-container {
        padding: 10px;
    }
   
    .ticket-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
   
    .timeline-legend {
        grid-template-columns: 1fr;
     }
     }
      
      
     .episode-timeline {
     .mw-collapsible .ragnawiki-card-header {
         font-size: 14px;
        padding: 15px 20px !important;
         font-size: 15px !important;
     }
     }
      
      
     .episode-timeline th,
     .mw-collapsible-content {
    .episode-timeline td {
         padding: 15px !important;
         padding: 8px 6px;
     }
     }
}
}


@media (max-width: 480px) {
@media (max-width: 600px) {
     .ticket-content {
     .ragna-ribbon {
         padding: 15px;
        min-width: 130px;
        font-size: 11px;
         padding: 8px 15px;
     }
     }
      
      
     .ticket-header {
     .mw-collapsible .ragnawiki-card-header {
         padding: 15px;
         padding: 12px 15px !important;
         font-size: 16px;
         font-size: 14px !important;
     }
     }
      
      
     .info-card .card-content > div {
     .mw-collapsible .ragnawiki-card-header::after {
         grid-template-columns: 1fr !important;
         width: 20px;
         gap: 20px !important;
         height: 20px;
        font-size: 12px;
     }
     }
}
}

Latest revision as of 19:38, 21 February 2026

h2, h3 {
    overflow: visible !important;
    padding-top: 10px;
    clear: both;
}

/* =========================================== */
/* Ragnawiki Base Styles */
/* =========================================== */

.ragnawiki-hero {
    background: linear-gradient(135deg, #FF6A00 0%, #F4B400 30%, #D93800 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;
    transition: all 0.3s ease;
}

.ragnawiki-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
}

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

.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-warning-box {
    background: #fff3cd;
    border-left: 4px solid #f39c12;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* =========================================== */
/* Navigation Grid Styles */
/* =========================================== */

.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;
    transition: all 0.3s ease;
}

.ragnawiki-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
}

.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;
}

/* =========================================== */
/* Core Color Classes */
/* =========================================== */

.ragna-blue { background: linear-gradient(135deg, #3498db, #2980b9); color: white; }
.ragna-green { background: linear-gradient(135deg, #2ecc71, #27ae60); color: white; }
.ragna-red { background: linear-gradient(135deg, #e74c3c, #c0392b); color: white; }
.ragna-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); color: white; }
.ragna-orange { background: linear-gradient(135deg, #e67e22, #d35400); color: white; }
.ragna-gold { background: linear-gradient(135deg, #ffd700, #f1c40f); color: #333; }
.ragna-teal { background: linear-gradient(135deg, #16a085, #1abc9c); color: white; }
.ragna-pink { background: linear-gradient(135deg, #f48fb1, #f06292); color: white; }
.ragna-yellow { background: linear-gradient(135deg, #ffeb3b, #fbc02d); color: #333; }
.ragna-brown { background: linear-gradient(135deg, #795548, #5d4037); color: white; }
.ragna-dark { background: linear-gradient(135deg, #2c3e50, #34495e); color: white; }
.ragna-gray { background: linear-gradient(135deg, #95a5a6, #7f8c8d); color: white; }
.ragna-cyan { background: linear-gradient(135deg, #00bcd4, #0097a7); color: white; }
.ragna-silver { background: linear-gradient(135deg, #bdc3c7, #95a5a6); color: #333; }

/* =========================================== */
/* Table Styles */
/* =========================================== */

.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;
    text-align: center;
}

.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);
}

/* =========================================== */
/* Scroll Progress Bar */
/* =========================================== */

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #FF6A00, #D93800);
    z-index: 10001;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* =========================================== */
/* Back to Top Button */
/* =========================================== */

.back-to-top-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.back-to-top-fixed a {
    background: linear-gradient(135deg, #FF6A00, #D93800);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 3px solid white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-to-top-fixed a:hover {
    background: linear-gradient(135deg, #FF7A20, #F4B400);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    color: white;
    text-decoration: none;
}

/* =========================================== */
/* Floating Navigation Menu */
/* =========================================== */

.floating-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 0 0 10px 0;
    min-width: 180px;
    z-index: 9998;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.floating-menu-header {
    background: linear-gradient(135deg, #AF011C, #D93800);
    color: white;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.floating-menu-header .arrow {
    transition: transform 0.3s ease;
}

.floating-menu.collapsed .floating-menu-header .arrow {
    transform: rotate(-90deg);
}

.floating-menu-items {
    padding: 8px 0;
    transition: all 0.3s ease;
}

.floating-menu.collapsed .floating-menu-items {
    max-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
}

.floating-menu-items a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.floating-menu-items a:hover,
.floating-menu-items a.reading-now {
    background: rgba(255, 106, 0, 0.08);
    border-left-color: #FF6A00;
    color: #FF6A00;
    text-decoration: none;
}

.floating-menu-items a:before {
    content: "•";
    color: #FF6A00;
    font-weight: bold;
    margin-right: 8px;
    font-size: 16px;
}

.floating-menu-toggle {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid white;
    font-weight: bold;
    font-size: 20px;
}

/* =========================================== */
/* Ribbon Styles */
/* =========================================== */

.ragna-ribbon-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    padding: 0 10px;
}

.ragna-ribbon {
    background: #2c3e50;
    color: #FFD700;
    padding: 10px 25px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    min-width: 160px;
    clip-path: polygon(92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%, 8% 0);
    border-top: 2px solid #FFD700;
    border-bottom: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: default;
}

.ragna-ribbon:hover {
    transform: scale(1.05);
    background: #34495e;
    color: #fff;
}

/* =========================================== */
/* COLLAPSIBLE DESIGN - BEAUTIFUL */
/* =========================================== */

/* Base collapsible container */
.mw-collapsible {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.mw-collapsible:hover {
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.15);
}

/* Header styling - Beautiful clickable headers */
.mw-collapsible .ragnawiki-card-header {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 25px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    user-select: none !important;
    position: relative !important;
    font-size: 16px !important;
    font-weight: bold !important;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border-bottom: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

/* Add a subtle pattern overlay to headers */
.mw-collapsible .ragnawiki-card-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

/* Arrow indicator - bigger and nicer */
.mw-collapsible .ragnawiki-card-header::after {
    float: right;
    font-size: 14px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-shadow: none;
    margin-top: -2px;
}

/* Rotate arrow when expanded */
.mw-collapsible.expanded .ragnawiki-card-header::after {
    transform: rotate(180deg);
    background: rgba(255,255,255,0.2);
}

/* Content area - with nice padding and subtle inner shadow */
.mw-collapsible-content {
    padding: 25px !important;
    background: #fafafa !important;
    border-top: 1px solid rgba(0,0,0,0.05);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}

/* Style for cards inside collapsible */
.mw-collapsible-content .ragnawiki-card {
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.mw-collapsible-content .ragnawiki-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mw-collapsible-content .ragnawiki-card-header {
    padding: 12px 15px !important;
    font-size: 14px !important;
    border-bottom: none !important;
}

.mw-collapsible-content .ragnawiki-card-header::before,
.mw-collapsible-content .ragnawiki-card-header::after {
    display: none !important;
}

/* Make grids look nice inside */
.mw-collapsible-content .ragnawiki-grid {
    margin: 0 0 20px 0;
}

.mw-collapsible-content .ragnawiki-grid:last-child {
    margin-bottom: 0;
}

/* Hide ALL default MediaWiki toggle elements */
.mw-collapsible-toggle,
.mw-collapsible-toggle-default,
.mw-collapsible .mw-collapsible-toggle,
.mw-collapsible-text,
.mw-collapsible-toggle a,
.mw-collapsible-toggle span {
    display: none !important;
}

/* Header hover effect */
.mw-collapsible .ragnawiki-card-header:hover {
    filter: brightness(1.15);
    padding-left: 30px !important;
}

/* Special styling for different color headers */
.mw-collapsible .ragnawiki-card-header.ragna-blue {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
    border-bottom-color: #1f4e7a !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-green {
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
    border-bottom-color: #1a6e3c !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-red {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    border-bottom-color: #84261e !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-purple {
    background: linear-gradient(135deg, #9b59b6, #8e44ad) !important;
    border-bottom-color: #5e2e77 !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-orange {
    background: linear-gradient(135deg, #e67e22, #d35400) !important;
    border-bottom-color: #a04100 !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-gold {
    background: linear-gradient(135deg, #ffd700, #f1c40f) !important;
    color: #333 !important;
    border-bottom-color: #b4940b !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3) !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-gold::after {
    color: #333 !important;
    background: rgba(0,0,0,0.1);
}

.mw-collapsible .ragnawiki-card-header.ragna-teal {
    background: linear-gradient(135deg, #16a085, #1abc9c) !important;
    border-bottom-color: #0e6b58 !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-pink {
    background: linear-gradient(135deg, #f48fb1, #f06292) !important;
    border-bottom-color: #c13b6b !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-dark {
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
    border-bottom-color: #1e2a36 !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-cyan {
    background: linear-gradient(135deg, #00bcd4, #0097a7) !important;
    border-bottom-color: #006d7a !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-brown {
    background: linear-gradient(135deg, #795548, #5d4037) !important;
    border-bottom-color: #3e2c26 !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-silver {
    background: linear-gradient(135deg, #bdc3c7, #95a5a6) !important;
    color: #333 !important;
    border-bottom-color: #6e7a7c !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3) !important;
}

.mw-collapsible .ragnawiki-card-header.ragna-silver::after {
    color: #333 !important;
    background: rgba(0,0,0,0.1);
}

/* =========================================== */
/* Responsive Design */
/* =========================================== */

@media (max-width: 1200px) {
    .floating-menu {
        left: 10px;
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .floating-menu {
        left: -220px;
        top: 10px;
        transform: none;
        width: 200px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .floating-menu.mobile-visible {
        left: 10px;
    }

    .floating-menu-toggle {
        display: flex;
    }

    .back-to-top-fixed {
        bottom: 20px;
        right: 20px;
    }

    .back-to-top-fixed a {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    
    .mw-collapsible .ragnawiki-card-header {
        padding: 15px 20px !important;
        font-size: 15px !important;
    }
    
    .mw-collapsible-content {
        padding: 15px !important;
    }
}

@media (max-width: 600px) {
    .ragna-ribbon {
        min-width: 130px;
        font-size: 11px;
        padding: 8px 15px;
    }
    
    .mw-collapsible .ragnawiki-card-header {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
    
    .mw-collapsible .ragnawiki-card-header::after {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}