MediaWiki:Common.css: Difference between revisions

From Ragnafied Wiki
No edit summary
No edit summary
Line 42: Line 42:
     flex: 1;
     flex: 1;
     min-width: 300px;
     min-width: 300px;
    transition: all 0.3s ease; /* Added for smooth hover */
}
/* Hover effect for cards */
.ragnawiki-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
}
}


Line 112: Line 119:
     flex: 1;
     flex: 1;
     min-width: 250px;
     min-width: 250px;
    transition: all 0.3s ease; /* Added for smooth hover */
}
.ragnawiki-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.2);
}
}


Line 151: Line 164:


/* =========================================== */
/* =========================================== */
/* Core Color Classes - Organized by Category */
/* Core Color Classes */
/* =========================================== */
/* =========================================== */


/* Primary Colors */
.ragna-blue { background: linear-gradient(135deg, #3498db, #2980b9); }
.ragna-blue { background: linear-gradient(135deg, #3498db, #2980b9); }
.ragna-green { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.ragna-green { background: linear-gradient(135deg, #2ecc71, #27ae60); }
Line 167: Line 179:
.ragna-dark { background: linear-gradient(135deg, #2c3e50, #34495e); }
.ragna-dark { background: linear-gradient(135deg, #2c3e50, #34495e); }
.ragna-gray { background: linear-gradient(135deg, #95a5a6, #7f8c8d); }
.ragna-gray { background: linear-gradient(135deg, #95a5a6, #7f8c8d); }
/* Light Variants */
.ragna-light-blue { background: linear-gradient(135deg, #87CEFA, #6ab0f5); }
.ragna-light-green { background: linear-gradient(135deg, #a8e6cf, #7ed6a5); }
.ragna-light-red { background: linear-gradient(135deg, #ffb3b3, #ff8a8a); }
.ragna-light-purple { background: linear-gradient(135deg, #dab6f5, #b591e4); }
.ragna-light-orange { background: linear-gradient(135deg, #ffb347, #ff9f1a); }
.ragna-light-gold { background: linear-gradient(135deg, #fff2b5, #ffe082); }
.ragna-light-teal { background: linear-gradient(135deg, #b2f0e5, #80e0d0); }
.ragna-light-pink { background: linear-gradient(135deg, #ffc0cb, #ff9eb5); }
.ragna-light-yellow { background: linear-gradient(135deg, #fff9c4, #fff59d); }
.ragna-light-brown { background: linear-gradient(135deg, #d7ccc8, #bcaaa4); }
.ragna-light-gray { background: linear-gradient(135deg, #ecf0f1, #bdc3c7); }
/* Dark Variants */
.ragna-dark-blue { background: linear-gradient(135deg, #2c3e50, #1a252f); }
.ragna-dark-green { background: linear-gradient(135deg, #1e7e34, #0d5e2a); }
.ragna-dark-red { background: linear-gradient(135deg, #a93226, #7b241c); }
.ragna-dark-purple { background: linear-gradient(135deg, #633974, #4a235a); }
.ragna-dark-orange { background: linear-gradient(135deg, #ba4a00, #8e3b00); }
.ragna-dark-gold { background: linear-gradient(135deg, #b8860b, #8b6914); }
.ragna-dark-teal { background: linear-gradient(135deg, #0e6251, #0b4d3f); }
.ragna-dark-pink { background: linear-gradient(135deg, #ad1457, #8b0c4a); }
.ragna-dark-brown { background: linear-gradient(135deg, #4e342e, #3e2723); }
.ragna-dark-gray { background: linear-gradient(135deg, #546e7a, #37474f); }
/* Vibrant/Special Colors */
.ragna-cyan { background: linear-gradient(135deg, #00bcd4, #0097a7); }
.ragna-lime { background: linear-gradient(135deg, #cddc39, #afb42b); }
.ragna-amber { background: linear-gradient(135deg, #ffc107, #ffa000); }
.ragna-indigo { background: linear-gradient(135deg, #3f51b5, #303f9f); }
.ragna-deep-purple { background: linear-gradient(135deg, #673ab7, #512da8); }
.ragna-deep-orange { background: linear-gradient(135deg, #ff5722, #e64a19); }
.ragna-blue-gray { background: linear-gradient(135deg, #607d8b, #546e7a); }


/* =========================================== */
/* =========================================== */
Line 232: Line 210:
.wikitable tr:nth-child(even) {
.wikitable tr:nth-child(even) {
     background: rgba(240, 248, 255, 0.7);
     background: rgba(240, 248, 255, 0.7);
}
.wikitable tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.9);
}
}


/* =========================================== */
/* =========================================== */
/* Collapsible/Spoiler Styles */
/* Scroll Progress Bar */
/* =========================================== */
/* =========================================== */


/* Base collapsible toggle */
#scroll-progress {
.mw-collapsible-toggle {
     position: fixed;
     background: linear-gradient(135deg, #FF6A00 0%, #F4B400 100%) !important;
     top: 0;
     color: white !important;
     left: 0;
    padding: 8px 16px !important;
     height: 4px;
    border-radius: 6px !important;
     background: linear-gradient(to right, #FF6A00, #D93800);
    font-weight: bold !important;
     z-index: 10001;
    border: none !important;
     width: 0%;
    cursor: pointer !important;
     transition: width 0.1s ease-out;
    display: inline-block !important;
    margin: 5px 0 !important;
     transition: all 0.3s ease !important;
     box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    min-width: 180px !important;
    text-align: center !important;
}
 
.mw-collapsible-toggle:hover {
     background: linear-gradient(135deg, #FF7A20 0%, #FFC400 100%) !important;
    transform: translateY(-2px) !important;
     box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
}
 
.mw-collapsible-toggle.mw-collapsible-toggle-collapsed {
     background: linear-gradient(135deg, #4682B4, #5a96d1) !important;
}
 
.mw-collapsible-toggle.mw-collapsible-toggle-collapsed:hover {
    background: linear-gradient(135deg, #5a96d1, #6ba6e1) !important;
}
 
/* Toggle icons */
.mw-collapsible-toggle:before {
    content: "▶ " !important;
    font-size: 12px !important;
    margin-right: 5px !important;
}
 
.mw-collapsible-toggle.mw-collapsible-toggle-collapsed:before {
    content: "▼ " !important;
}
 
/* Collapsible content area */
.mw-collapsible-content {
    padding: 15px !important;
    border-left: 3px solid #FF6A00 !important;
    margin: 10px 0 20px 15px !important;
    background: rgba(255, 244, 229, 0.3) !important;
    border-radius: 0 8px 8px 0 !important;
     transition: max-height 0.3s ease-out, opacity 0.3s ease-out !important;
    overflow: hidden !important;
}
 
.mw-collapsible-content.mw-collapsed {
    border-left: 3px solid #4682B4 !important;
    background: rgba(240, 248, 255, 0.3) !important;
    opacity: 0.7 !important;
}
 
/* Ragnawiki collapsible container */
.ragnawiki-collapsible {
    border: 2px solid transparent !important;
    border-radius: 10px !important;
    margin: 15px 0 !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}
 
.ragnawiki-collapsible .mw-collapsible-toggle {
    width: 100% !important;
    border-radius: 8px 8px 0 0 !important;
    margin: 0 !important;
    font-size: 16px !important;
    padding: 12px 20px !important;
}
 
.ragnawiki-collapsible .mw-collapsible-content {
    margin: 0 !important;
    border-left: none !important;
    border-top: 1px solid #f0f0f0 !important;
    padding: 20px !important;
    border-radius: 0 0 8px 8px !important;
}
 
/* Color variants for collapsible sections */
.ragnawiki-collapsible.ragna-blue .mw-collapsible-toggle {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
}
 
.ragnawiki-collapsible.ragna-green .mw-collapsible-toggle {
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
}
 
.ragnawiki-collapsible.ragna-red .mw-collapsible-toggle {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
}
 
.ragnawiki-collapsible.ragna-purple .mw-collapsible-toggle {
    background: linear-gradient(135deg, #9b59b6, #8e44ad) !important;
}
 
.ragnawiki-collapsible.ragna-orange .mw-collapsible-toggle {
    background: linear-gradient(135deg, #e67e22, #d35400) !important;
}
 
.ragnawiki-collapsible.ragna-gold .mw-collapsible-toggle {
    background: linear-gradient(135deg, #ffd700, #f1c40f) !important;
}
 
.ragnawiki-collapsible.ragna-teal .mw-collapsible-toggle {
    background: linear-gradient(135deg, #16a085, #1abc9c) !important;
}
 
.ragnawiki-collapsible.ragna-dark .mw-collapsible-toggle {
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
}
}


/* =========================================== */
/* =========================================== */
/* Spoiler Styles */
/* Back to Top Button */
/* =========================================== */
 
.spoiler, .mw-spoiler {
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
    color: transparent !important;
    padding: 10px 15px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    margin: 5px 0 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: inline-block !important;
}
 
.spoiler:hover, .mw-spoiler:hover {
    background: linear-gradient(135deg, #3a5068, #4a6280) !important;
}
 
.spoiler:after, .mw-spoiler:after {
    content: "SPOILER" !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 12px !important;
    font-weight: bold !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}
 
.spoiler.spoiler-revealed,
.mw-spoiler.mw-spoiler-revealed {
    background: rgba(255, 244, 229, 0.9) !important;
    color: #333 !important;
}
 
.spoiler.spoiler-revealed:after,
.mw-spoiler.mw-spoiler-revealed:after {
    content: "" !important;
}
 
/* =========================================== */
/* Responsive Design */
/* =========================================== */
/* =========================================== */


@media (max-width: 768px) {
    .ragnawiki-grid,
    .ragnawiki-nav-grid {
        flex-direction: column;
    }
   
    .ragnawiki-card,
    .ragnawiki-nav-card {
        min-width: auto;
    }
   
    .mw-collapsible-toggle {
        min-width: 140px !important;
        padding: 10px !important;
        font-size: 14px !important;
    }
   
    .ragnawiki-collapsible .mw-collapsible-toggle {
        font-size: 15px !important;
        padding: 10px 15px !important;
    }
}
/* Back to Top Button */
.back-to-top-fixed {
.back-to-top-fixed {
     position: fixed;
     position: fixed;
Line 436: Line 237:
     z-index: 9999;
     z-index: 9999;
}
}
.back-to-top-fixed a {
.back-to-top-fixed a {
     background: linear-gradient(135deg, #FF6A00, #D93800);
     background: linear-gradient(135deg, #FF6A00, #D93800);
Line 453: Line 255:
     cursor: pointer;
     cursor: pointer;
}
}
.back-to-top-fixed a:hover {
.back-to-top-fixed a:hover {
     background: linear-gradient(135deg, #FF7A20, #F4B400);
     background: linear-gradient(135deg, #FF7A20, #F4B400);
Line 459: Line 262:
     color: white;
     color: white;
     text-decoration: none;
     text-decoration: none;
}
@media (max-width: 768px) {
    .back-to-top-fixed {
        bottom: 20px;
        right: 20px;
    }
    .back-to-top-fixed a {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
}
}


/* =========================================== */
/* Floating Navigation Menu */
/* Floating Navigation Menu */
/* =========================================== */
.floating-menu {
.floating-menu {
     position: fixed;
     position: fixed;
Line 478: Line 273:
     top: 50%;
     top: 50%;
     transform: translateY(-50%);
     transform: translateY(-50%);
    /* CHANGE: Background now has 80% opacity (0.8) */
     background: rgba(255, 255, 255, 0.85);  
     background: rgba(255, 255, 255, 0.8);  
    /* ADD: The magic blur effect */
     backdrop-filter: blur(10px);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px); /* Support for Safari */
     -webkit-backdrop-filter: blur(10px);
   
     border-radius: 12px;
     border-radius: 12px;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
     padding: 0 0 10px 0;
     padding: 0 0 10px 0; /* No top padding removes the white bar */
     min-width: 180px;
     min-width: 180px;
     z-index: 9998;
     z-index: 9998;
     border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle light border looks better with glass */
     border: 1px solid rgba(255, 255, 255, 0.3);
     transition: all 0.3s ease;
     transition: all 0.3s ease;
     overflow: hidden;
     overflow: hidden; /* Clips the header to the rounded corners */
}
}


Line 501: Line 293:
     font-size: 14px;
     font-size: 14px;
     text-align: center;
     text-align: center;
    /* Keep this or let 'overflow: hidden' handle it */
    border-radius: 12px 12px 0 0;
     cursor: pointer;
     cursor: pointer;
     display: flex;
     display: flex;
Line 520: Line 310:
     padding: 8px 0;
     padding: 8px 0;
     transition: all 0.3s ease;
     transition: all 0.3s ease;
    overflow: hidden;
}
}


Line 527: Line 316:
     padding: 0;
     padding: 0;
     opacity: 0;
     opacity: 0;
    overflow: hidden;
}
}


Line 540: Line 330:
}
}


.floating-menu-items a:hover {
/* Active and Hover States */
     background: rgba(255, 106, 0, 0.05);
.floating-menu-items a:hover,
.floating-menu-items a.reading-now {
     background: rgba(255, 106, 0, 0.08);
     border-left-color: #FF6A00;
     border-left-color: #FF6A00;
     color: #FF6A00;
     color: #FF6A00;
Line 555: Line 347:
}
}


/* Menu toggle button */
/* Menu toggle button (Mobile) */
.floating-menu-toggle {
.floating-menu-toggle {
     position: fixed;
     position: fixed;
Line 577: Line 369:
}
}


/* Responsive for mobile */
/* =========================================== */
/* Responsive Design */
/* =========================================== */
 
@media (max-width: 1200px) {
@media (max-width: 1200px) {
     .floating-menu {
     .floating-menu {
Line 587: Line 382:
@media (max-width: 768px) {
@media (max-width: 768px) {
     .floating-menu {
     .floating-menu {
         left: -200px;
         left: -220px; /* Hide offscreen */
         top: 10px;
         top: 10px;
         transform: none;
         transform: none;
         width: 200px;
         width: 200px;
         max-height: 90vh;
         max-height: 80vh;
         overflow-y: auto;
         overflow-y: auto;
     }
     }
Line 602: Line 397:
         display: flex;
         display: flex;
     }
     }
}


#scroll-progress {
    .back-to-top-fixed {
    position: fixed;
        bottom: 20px;
    top: 0;
        right: 20px;
    left: 0;
     }
    height: 4px;
    background: linear-gradient(to right, #FF6A00, #D93800);
    z-index: 10001; /* Stays above the menu */
     width: 0%;
    transition: width 0.1s ease-out;
}


/* Active section highlighting in the menu */
    .back-to-top-fixed a {
.floating-menu-items a.reading-now {
        width: 50px;
    background: rgba(255, 106, 0, 0.15);
        height: 50px;
    border-left-color: #FF6A00;
        font-size: 14px;
    font-weight: bold;
     }
    color: #FF6A00;
     padding-left: 20px; /* Slight shift to show it's active */
}
}

Revision as of 23:02, 20 February 2026

/* =========================================== */
/* 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; /* Added for smooth hover */
}

/* Hover effect for cards */
.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; /* Added for smooth hover */
}

.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); }
.ragna-green { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.ragna-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.ragna-purple { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.ragna-orange { background: linear-gradient(135deg, #e67e22, #d35400); }
.ragna-gold { background: linear-gradient(135deg, #ffd700, #f1c40f); }
.ragna-teal { background: linear-gradient(135deg, #16a085, #1abc9c); }
.ragna-pink { background: linear-gradient(135deg, #f48fb1, #f06292); }
.ragna-yellow { background: linear-gradient(135deg, #ffeb3b, #fbc02d); }
.ragna-brown { background: linear-gradient(135deg, #795548, #5d4037); }
.ragna-dark { background: linear-gradient(135deg, #2c3e50, #34495e); }
.ragna-gray { background: linear-gradient(135deg, #95a5a6, #7f8c8d); }

/* =========================================== */
/* 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;
}

.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; /* No top padding removes the white bar */
    min-width: 180px;
    z-index: 9998;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden; /* Clips the header to the rounded corners */
}

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

/* Active and Hover States */
.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;
}

/* Menu toggle button (Mobile) */
.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;
}

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

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

@media (max-width: 768px) {
    .floating-menu {
        left: -220px; /* Hide offscreen */
        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;
    }
}