:root {
    /* Exact Color Palette */
    --bg-offwhite: #F0FDF4;
    --jungle-green: #2E8B57;
    --dark-gold: #B8860B;
    --earthy-brown: #8B4513;
    --deep-forest: #1E5631;
}

body {
    background-color: var(--bg-offwhite);
    color: var(--earthy-brown);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    
    /* Background Vector Art: Cyber grid mixed with glowing tropical petal corners */
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(46, 139, 87, 0.15) 0%, transparent 40%), 
        radial-gradient(circle at 100% 100%, rgba(184, 134, 11, 0.1) 0%, transparent 40%),
        linear-gradient(rgba(46, 139, 87, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 139, 87, 0.07) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 25px 25px, 25px 25px;
    background-attachment: fixed;
}

.plugin-window {
    max-width: 850px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(46, 139, 87, 0.2);
    border-radius: 8px 30px 8px 30px; /* Subtle cyber-leaf bounds */
    box-shadow: 0 10px 40px rgba(30, 86, 49, 0.1);
}

/* Typography & Header */
.plugin-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px dashed var(--jungle-green);
    padding-bottom: 20px;
}

.main-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    color: var(--deep-forest);
    margin: 0;
    /* Faint green drop-shadow glow */
    text-shadow: 0 0 15px rgba(46, 139, 87, 0.6);
}

.sub-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--earthy-brown);
    margin: 5px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.author-tag {
    font-size: 12px;
    font-style: italic;
    color: var(--deep-forest);
}

/* Content Typography */
h1, h2, h3 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--deep-forest);
    border-bottom: 2px solid var(--jungle-green);
    padding-bottom: 5px;
    margin-top: 35px;
}

/* Markdown auto-generates an H1 for your file titles. We hide it since we have our custom header */
.content-area > h1:first-child {
    display: none; 
}

a {
    color: var(--jungle-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-gold);
    text-shadow: 0 0 8px rgba(184, 134, 11, 0.4);
}

/* Custom Components (Code Blocks behaving like your Asymmetrical Cyber-Leaf Buttons) */
pre {
    background: rgba(30, 86, 49, 0.05); /* Solid green base tint */
    padding: 20px;
    /* Asymmetrical cyber-leaf shape */
    border-radius: 4px 24px 4px 24px; 
    border: 2px solid var(--dark-gold); /* Gold stroke outline */
    overflow-x: auto;
    box-shadow: 2px 4px 15px rgba(46, 139, 87, 0.1);
}

pre code {
    color: var(--deep-forest);
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
}

/* Inline Code (Mimicking the transparent numeric text box) */
code {
    background: transparent;
    color: var(--earthy-brown);
    border-bottom: 1px dashed var(--dark-gold);
    padding: 2px 4px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}
/* =========================================
   Floating Action Button (FAB) System
   ========================================= */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000; /* Keeps it on top of everything */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.fab-button {
    background-color: var(--jungle-green);
    color: #ffffff;
    border: 2px solid var(--dark-gold);
    padding: 12px 24px;
    border-radius: 30px; /* Pill shape */
    font-family: 'Space Grotesk', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.4);
    transition: all 0.3s ease;
}

.fab-button:hover {
    background-color: var(--deep-forest);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.6);
    transform: translateY(-2px);
}

.fab-menu {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(8px);
    border: 1px solid var(--jungle-green);
    border-radius: 12px 12px 4px 12px; /* Cyber-leaf aesthetic */
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(30, 86, 49, 0.2);
    display: flex;
    flex-direction: column;
    min-width: 200px;
    
    /* Animation settings */
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* This class is activated by the JavaScript */
.fab-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.fab-header {
    font-family: 'Rajdhani', sans-serif;
    color: var(--deep-forest);
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px dashed var(--jungle-green);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.fab-item {
    color: var(--earthy-brown);
    padding: 10px;
    margin: 4px 0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.fab-item:hover {
    background: rgba(46, 139, 87, 0.15);
    color: var(--deep-forest);
    text-decoration: none;
    text-shadow: none;
}
