* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --fs-overlay-1: rgba(0, 0, 0, 0.3);
    --fs-overlay-2: rgba(0, 0, 0, 0.3);
    --text-main: #eeebebbe;
    --text-strong: #ffffff;
    --tile-bg: rgba(96, 95, 95, 0.05);
    --tile-bg-hover: rgba(255, 255, 255, 0.055);
    --btn-bg: rgba(255, 255, 255, 0.05);
    --btn-bg-hover: rgba(255, 255, 255, 0.12);
    --arrow-color: #9b9b9bc9;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    position: relative;
    font-family: 'Rubik', sans-serif;
    color: #eee;
    min-height: 100vh;
    overflow-x: hidden;
    overflow: hidden;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none;
}

#bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(100%);
    background-image:
        linear-gradient(var(--fs-overlay-2), var(--fs-overlay-2)),
        url('file:///D:/Misc/Github/justkaarlo.github.io/res/bg/bgBlueRaw.png');
}

#bg-fs {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--fs-overlay-1), var(--fs-overlay-1)),
        linear-gradient(var(--fs-overlay-2), var(--fs-overlay-2)),
        url('https://www.theland.com.au/images/transform/v1/crop/frm/187038826/c534ed48-33cf-49e6-bc1c-b42ece8c3415.jpg/r1_0_3839_2159_w3840_h2160_fmax.jpg');
}

#particles-js {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Navigation Styles */
.nav-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999999;
}

.nav-container.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-20px);
}

.nav-frame {
    --nav-bg: rgb(54, 54, 54, 0.7);
    --shadow-1: 0 8px 30px rgba(0, 0, 0, 0.45);
    --glass-border: rgba(255, 255, 255, 0.18);
    position: static;
    padding: 10px 24px;
    border-radius: 20px;
    z-index: 998;
    background: rgba(63, 63, 63, 0.1);
    border: 0px solid var(--glass-border);
    /* backdrop-filter: blur(3px) saturate(120%); */
    backdrop-filter: saturate(120%);
    -webkit-backdrop-filter: saturate(120%);
    box-shadow: var(--shadow-1);
}

.nav-buttons {
    display: flex;
    gap: 22px;
}

.nav-btn {
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text: #e1e2e7;
    --radius-sm: 10px;
    background: var(--bg-glass);
    box-shadow: 0 4px 3px rgba(0, 0, 0, 0.1);
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: background 160ms ease, transform 120ms ease;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    cursor: pointer;
    border: none;
    position: relative;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.nav-btn svg {
    display: block;
    margin: 0 auto;
}

#SelectedNavBtn {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
    cursor: not-allowed;
}

.nav-tooltip {
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-1: 0 8px 30px rgba(0, 0, 0, 0.45);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(52, 52, 52, 0.34);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    border: 0px solid var(--glass-border);
    /* backdrop-filter: blur(10px) saturate(120%); */
    backdrop-filter: saturate(120%);
    -webkit-backdrop-filter: saturate(120%);
    box-shadow: var(--shadow-1);
    z-index: 10000;
}

.nav-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(40, 40, 40, 0.95);
}

.nav-btn:hover .nav-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
    transition-delay: 0.5s;
}

/* Content Styles */
.content {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    padding: 100px 20px 20px;
    /* Increased top padding for nav */
}

.game-icon {
    width: 500px;
    height: auto;
    margin-top: 40px;
    margin-bottom: 30px;
    user-select: none;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.7));
}

.guides-container {
    background: rgba(54, 54, 54, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    padding: 20px;
    max-width: 900px;
    width: 100%;
    min-height: 200px;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: none;
}

.guides-container::-webkit-scrollbar {
    display: none;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.guide-button {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: rgba(27, 27, 27, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.guide-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.guide-button:hover {
    background: rgba(62, 62, 62, 0.2);
    border-color: rgba(133, 133, 133, 0.2);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.guide-button:hover::before {
    opacity: 1;
}

.guide-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    flex-shrink: 0;
    filter: brightness(0.9);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.guide-button:hover .guide-icon {
    filter: brightness(1.07);
    transform: scale(1.1);
}

.guide-text {
    flex: 1;
    text-align: left;
    line-height: 1.3;
}

.guide-title {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2px;
}

.guide-subtitle {
    display: block;
    font-size: 12px;
    color: rgba(170, 170, 170, 0.7);
    font-weight: 400;
}

/* Modal Styles */
.guide-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow: hidden;
}

.guide-modal.show {
    display: flex;
    opacity: 1;
}

body.modal-open .nav-container {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    background: rgba(40, 40, 40, 0.95);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    /* backdrop-filter: blur(10px); */
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.guide-modal::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.guide-description::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

.guide-modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 15px 20px;
    background: rgba(30, 30, 30, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.close-button {
    background: rgba(255, 51, 51, 0.55);
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 7px 12px;
    border-radius: 8px;
    transition: all 0.5s ease;
}

.close-button:hover {
    background: rgba(255, 51, 51, 0.6);
    transform: scale(1.05);
}

.modal-body {
    padding: 0;
    display: flex;
    justify-content: center;
    flex-grow: 1;
    overflow: auto;
    position: relative;
    user-select: none;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
    display: none;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.guide-image {
    max-width: calc(90vw - 40px);
    max-height: calc(90vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Guide Description Formatting Styles */
.guide-description {
    max-width: 900px;
    width: 100%;
    padding: 30px 40px;
    color: #e8e8e8;
    font-family: 'Rubik', sans-serif;
    line-height: 1.7;
    overflow-y: auto;
    display: none;
}

.guide-description h1 {
    font-size: 2.2em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    font-family: 'Poppins', sans-serif;
}

.guide-description h2 {
    font-size: 1.8em;
    font-weight: 600;
    color: #f5f5f5;
    margin: 30px 0 15px 0;
    font-family: 'Poppins', sans-serif;
}

.guide-description h3 {
    font-size: 1.4em;
    font-weight: 600;
    color: #eeeeee;
    margin: 25px 0 12px 0;
    font-family: 'Poppins', sans-serif;
}

.guide-description h4 {
    font-size: 1.2em;
    font-weight: 600;
    color: #e0e0e0;
    margin: 20px 0 10px 0;
    font-family: 'Poppins', sans-serif;
}

.guide-description h5 {
    font-size: 1.1em;
    font-weight: 600;
    color: #d8d8d8;
    margin: 18px 0 8px 0;
    font-family: 'Poppins', sans-serif;
}

.guide-description h6 {
    font-size: 1em;
    font-weight: 600;
    color: #d0d0d0;
    margin: 15px 0 8px 0;
    font-family: 'Poppins', sans-serif;
}

.guide-description p {
    margin: 0 0 16px 0;
    font-size: 1em;
    color: #d8d8d8;
}

.guide-description strong {
    font-weight: 700;
    color: #ffffff;
}

.guide-description em {
    font-style: italic;
    color: #e0e0e0;
}

.guide-description ul {
    margin: 15px 0;
    padding-left: 30px;
    list-style-type: disc;
}

.guide-description ol {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
    counter-reset: custom-counter;
}

.guide-description ol > li {
    margin: 12px 0;
    padding-left: 50px;
    position: relative;
    color: #d8d8d8;
    line-height: 1.6;
}

.guide-description ol > li::before {
    content: counter(custom-counter);
    counter-increment: custom-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #5a6721 0%, #9bbd15 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(44, 44, 44, 0.3);
    font-family: 'Poppins', sans-serif;
}

.guide-description li {
    margin: 8px 0;
    color: #d8d8d8;
    line-height: 1.6;
}

.guide-description ul ul,
.guide-description ol ul {
    list-style-type: circle;
    margin: 5px 0;
    padding-left: 30px;
}

.guide-description ul ol,
.guide-description ol ol {
    margin: 5px 0;
    padding-left: 0;
}

.guide-description ol ol > li::before {
    width: 26px;
    height: 26px;
    font-size: 13px;
    background: linear-gradient(135deg, #8a8a8a 0%, #a0a0a0 100%);
}

.guide-description hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0), 
        rgba(255, 255, 255, 0.3), 
        rgba(255, 255, 255, 0));
    margin: 30px 0;
}

.guide-description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.guide-description blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: rgb(155, 189, 21, 0.05);
    border-left: 4px solid rgba(155, 189, 21, 0.6);
    border-radius: 4px;
    font-style: italic;
    color: #e0e0e0;
}

.guide-description code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #ffaa00;
}

.guide-description pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
}

.guide-description pre code {
    background: none;
    padding: 0;
    color: #e8e8e8;
}

.guide-description a {
    color: #81c332;
    text-decoration: none;
    /* border-bottom: 1px solid rgba(130, 195, 50, 0.664); */
    transition: all 0.2s ease;
}

.guide-description a:hover {
    color: #82c332be;
    /* border-bottom-color: #82c332a9; */
}

.guide-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    overflow: hidden;
}

.guide-description th {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.guide-description td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #d8d8d8;
}

.guide-description tr:last-child td {
    border-bottom: none;
}

/* Enhanced table styles for merged cells */
.guide-description th[colspan],
.guide-description td[colspan] {
    text-align: center;
}

.guide-description th[rowspan],
.guide-description td[rowspan] {
    vertical-align: middle;
}

.guide-description tr:hover td {
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

/* Dropdown/Collapsible Styles */
.guide-description .dropdown {
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.guide-description .dropdown-header {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
    user-select: none;
}

.guide-description .dropdown-header:hover {
    background: rgba(255, 255, 255, 0.08);
}

.guide-description .dropdown-header-title {
    font-weight: 600;
    font-size: 1.1em;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.guide-description .dropdown-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.guide-description .dropdown-icon svg {
    width: 16px;
    height: 16px;
    fill: #9bbd15;
}

.guide-description .dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.guide-description .dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.guide-description .dropdown.active .dropdown-content {
    max-height: 2000px;
    padding: 20px;
}

/* First element spacing adjustment */
.guide-description > *:first-child {
    margin-top: 0;
}

/* Last element spacing adjustment */
.guide-description > *:last-child {
    margin-bottom: 0;
}

.disclaimer {
    font-family: 'Rubik', sans-serif;
    display: flex;
    align-items: center;
    max-width: fit-content;
    margin: 40px auto 20px;
    padding: 0.75rem 1rem;
    background: rgba(173, 173, 173, 0.05);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.3;
    color: #999;
    gap: 0.75rem;
}

.disclaimer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(120, 120, 120, 0.5);
    border-radius: 50%;
    color: rgba(140, 140, 140, 0.7);
    font-weight: bold;
    font-size: 18px;
    opacity: 0.5;
    filter: blur(0.3px);
}

@media (max-width: 768px) {
    .game-icon {
        width: 350px;
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .guides-container {
        padding: 15px;
    }
    
    .guide-description {
        padding: 20px 25px;
    }
    
    .guide-description h1 {
        font-size: 1.8em;
    }
    
    .guide-description h2 {
        font-size: 1.5em;
    }
    
    .guide-description h3 {
        font-size: 1.3em;
    }
    
    /* Mobile TOC Panel */
    .toc-panel {
        width: 100%;
        right: -100%;
    }
    
    .toc-panel.show {
        right: 0;
    }
}

.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(75, 75, 75, 0.3);
    border: none;
    color: rgba(207, 207, 207, 0.568);
    font-size: 18px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.5s ease;
    text-decoration: none;
}

.guide-link:hover {
    background: rgba(100, 100, 100, 0.594);
    transform: scale(1.05);
}

/* TOC Button Styles */
.toc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(75, 75, 75, 0.3);
    border: none;
    color: rgba(207, 207, 207, 0.568);
    font-size: 18px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.5s ease;
    text-decoration: none;
}

.toc-button:hover {
    background: rgba(100, 100, 100, 0.594);
    transform: scale(1.05);
}

.toc-button svg {
    fill: rgba(207, 207, 207, 0.7);
}

/* TOC Panel Styles */
.toc-panel {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-panel.show {
    right: 0;
}

.toc-header {
    padding: 20px;
    background: rgba(20, 20, 20, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toc-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.toc-close {
    background: rgba(255, 51, 51, 0.55);
    border: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.toc-close:hover {
    background: rgba(255, 51, 51, 0.7);
    transform: scale(1.05);
}

.toc-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.1);
}

.toc-content::-webkit-scrollbar {
    width: 6px;
}

.toc-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.toc-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.toc-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.toc-item {
    display: block;
    padding: 10px 15px;
    margin: 5px 0;
    color: #d8d8d8;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: 'Rubik', sans-serif;
    border-left: 3px solid transparent;
}

.toc-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #9bbd15;
    color: #ffffff;
    transform: translateX(5px);
}

.toc-item.toc-h1 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 15px;
}

.toc-item.toc-h2 {
    font-size: 14px;
    font-weight: 500;
    padding-left: 25px;
}

.toc-item.toc-h3 {
    font-size: 13px;
    font-weight: 400;
    padding-left: 40px;
    color: #aaaaaa;
}

/* Color Utility Classes */
.text-orange {
    color: #ffaa00 !important;
}

.text-red {
    color: #ff5555 !important;
}

.text-green {
    color: #55ff55 !important;
}

.text-blue {
    color: #5599ff !important;
}

.text-yellow {
    color: #ffff55 !important;
}

.text-purple {
    color: #aa55ff !important;
}

.text-cyan {
    color: #55ffff !important;
}

.text-white {
    color: #ffffff !important;
}

.text-gray {
    color: #999999 !important;
}

.text-lightgray {
    color: #cccccc !important;
}

.text-darkgray {
    color: #666666 !important;
}

/* Quote Styles */
.guide-description .quote {
    margin: 20px 0;
    padding: 15px 20px 15px 60px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid rgb(155, 189, 21);
    border-radius: 8px;
    position: relative;
    font-style: italic;
    color: #e0e0e0;
}

.guide-description .quote::before {
    content: '"';
    position: absolute;
    left: 15px;
    top: 10px;
    font-size: 48px;
    color: rgba(255, 170, 0, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.guide-description .quote-author {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-size: 0.9em;
    color: #aaa;
    text-align: right;
}

/* Box/Frame Styles */
.guide-description .box {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.guide-description .box-info {
    border-color: rgba(85, 153, 255, 0.5);
    background: rgba(85, 153, 255, 0.05);
}

.guide-description .box-success {
    border-color: rgba(85, 255, 85, 0.5);
    background: rgba(85, 255, 85, 0.05);
}

.guide-description .box-warning {
    border-color: rgba(255, 255, 85, 0.5);
    background: rgba(255, 255, 85, 0.05);
}

.guide-description .box-danger {
    border-color: rgba(255, 85, 85, 0.5);
    background: rgba(255, 85, 85, 0.05);
}

.guide-description .box-tip {
    border-color: rgba(255, 170, 0, 0.5);
    background: rgba(255, 170, 0, 0.05);
}

.guide-description .box-green {
    border-color: rgb(155, 189, 21, 0.4);
    background: rgba(155, 189, 21, 0.25);
}

.guide-description .box-title {
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.guide-description .box-only-title {
    font-weight: 700;
    font-size: 1.1em;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

/* Frame/Highlight Box */
.guide-description .frame {
    margin: 20px 0;
    padding: 20px;
    border: 3px solid rgb(155, 189, 21);
    border-radius: 12px;
    background: rgba(255, 170, 0, 0.03);
    box-shadow: 0 4px 12px rgba(255, 170, 0, 0.1);
}

.guide-description .frame-blue {
    border-color: rgba(85, 153, 255, 0.6);
    background: rgba(85, 153, 255, 0.03);
    box-shadow: 0 4px 12px rgba(85, 153, 255, 0.1);
}

.guide-description .frame-green {
    border-color: rgba(85, 255, 85, 0.6);
    background: rgba(85, 255, 85, 0.03);
    box-shadow: 0 4px 12px rgba(85, 255, 85, 0.1);
}

.guide-description .frame-red {
    border-color: rgba(255, 85, 85, 0.6);
    background: rgba(255, 85, 85, 0.03);
    box-shadow: 0 4px 12px rgba(255, 85, 85, 0.1);
}

.guide-description .frame-purple {
    border-color: rgba(170, 85, 255, 0.6);
    background: rgba(170, 85, 255, 0.03);
    box-shadow: 0 4px 12px rgba(170, 85, 255, 0.1);
}

/* Action Buttons for Guide Descriptions */
.guide-description .btn-action,
.guide-description .action-button {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px 5px;
    background: rgb(176, 212, 25, 0.7);
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(155, 189, 21, 0.4);
}

.guide-description .btn-action:hover,
.guide-description .action-button:hover {
    background: rgb(176, 212, 25, 0.75);
    transform: translateY(-2px);
    box-shadow: 0 4px 9px rgba(155, 189, 21, 0.4);
    color: #ffffff;
}

.guide-description .btn-action:active,
.guide-description .action-button:active {
    transform: translateY(0px);
    box-shadow: 0 4px 9px rgba(155, 189, 21, 0.4);
}

/* Gradient version of action button */
.guide-description .btn-gradient,
.guide-description .gradient-button {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px 5px;
    background: linear-gradient(135deg, #9bbd15 0%, #b8d83a 100%);
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(155, 189, 21, 0.3);
}

.guide-description .btn-gradient:hover,
.guide-description .gradient-button:hover {
    background: linear-gradient(135deg, #b0d419 0%, #cfe84d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(155, 189, 21, 0.4);
}

.guide-description .btn-gradient:active,
.guide-description .gradient-button:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(155, 189, 21, 0.3);
}

/* Button size variations */
.guide-description .btn-small {
    padding: 8px 16px;
    font-size: 0.9em;
}

.guide-description .btn-large {
    padding: 16px 32px;
    font-size: 1.1em;
}

/* Full width button */
.guide-description .btn-full {
    display: block;
    width: 100%;
    text-align: center;
}

/* Outlined button variant */
.guide-description .btn-outline {
    background: transparent;
    border: 2px solid #9bbd15;
    color: #9bbd15;
    box-shadow: none;
}

.guide-description .btn-outline:hover {
    background: #9bbd15;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(155, 189, 21, 0.3);
}