/* EFD pool branding overlay
 * Loaded AFTER style.css to override defaults.
 * Palette B (UI palette) per efd_brand_asset_spec.md
 * Forest green primary + ember orange accent + dark theme
 */

/* Page background - deep forest dark */
html {
    background: #1c2a23 !important;
}

body {
    color: #f6f6f6;
}

/* Header bar with forest-green gradient + ember bottom-stroke */
header > .home-menu {
    background: linear-gradient(to bottom, #2E5339, #1a2e22) !important;
    border-bottom: 2px solid #ff9328 !important;
}

header > .home-menu > a.pure-menu-heading {
    color: #ff9328 !important;
    font-family: 'Cinzel', 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}

header > .home-menu > ul > li > a {
    color: #c0d8c8 !important;
    transition: color 0.2s;
}

header > .home-menu > ul > li > a:hover,
header > .home-menu > ul > li > a:focus {
    color: #ff9328 !important;
}

header > .home-menu > ul > li.pure-menu-selected > a {
    color: #7fb88f !important;
    font-weight: 600;
}

/* Main content area: less-stark dark with forest tint */
main {
    background-color: #2d2d2e !important;
    color: #f6f6f6 !important;
    border-top: 1px solid #2E5339;
    border-bottom: 1px solid #2E5339;
    padding: 20px;
}

main h1, main h2, main h3 {
    font-family: 'Cinzel', 'Cormorant Garamond', Georgia, serif !important;
    color: #ff9328 !important;
    border-bottom: 1px solid #2E5339;
    padding-bottom: 0.3em;
}

main h4, main h5 {
    color: #7fb88f !important;
}

/* Links inside main */
main a {
    color: #ff9328 !important;
    text-decoration: none;
    border-bottom: 1px dotted #ff9328;
}

main a:hover {
    color: #ff6e32 !important;
    border-bottom-color: #ff6e32;
}

/* Tables: forest green header row */
main table {
    border-color: #2E5339 !important;
    color: #e0e0e0;
}

main table th {
    background: #1a2e22 !important;
    color: #ff9328 !important;
    border-bottom: 1px solid #2E5339 !important;
    font-family: 'Cinzel', Georgia, serif;
}

main table td {
    border-color: #2E5339 !important;
}

main table tr:nth-child(even) td {
    background-color: #28282a;
}

main table tr:hover td {
    background-color: #2E5339 !important;
}

/* Inputs / buttons */
main input, main select, main button {
    background-color: #28282a !important;
    color: #f6f6f6 !important;
    border: 1px solid #5a8c6c !important;
    padding: 0.4em 0.6em;
}

main input:focus, main select:focus {
    border-color: #ff9328 !important;
    outline: none;
}

main button, main .pure-button {
    background: #2E5339 !important;
    color: #f6f6f6 !important;
    border: 1px solid #7fb88f !important;
    cursor: pointer;
}

main button:hover, main .pure-button:hover {
    background: #ff9328 !important;
    color: #1a2e22 !important;
    border-color: #ff9328 !important;
}

/* Footer */
footer {
    background: #1a2e22 !important;
    color: #a0b8a8 !important;
    padding: 20px 15px !important;
    border-top: 2px solid #ff9328 !important;
    line-height: 1.5;
}

footer a {
    color: #ff9328 !important;
    text-decoration: none;
}

footer a:hover {
    color: #ff6e32 !important;
    text-decoration: underline;
}

/* Hashrate chart container tweak */
.nvd3 .nv-axis text, .nvd3 text {
    fill: #c0d8c8 !important;
    font-family: 'Inter', 'Open Sans', sans-serif !important;
}

.nvd3 .nv-line {
    stroke: #ff9328 !important;
}

.nvd3 .nv-area {
    fill: #ff9328 !important;
    fill-opacity: 0.2;
}

/* EFD-specific badge in header */
.efd-badge {
    color: #7fb88f;
    font-size: 0.7em;
    margin-left: 8px;
    padding: 2px 6px;
    border: 1px solid #2E5339;
    border-radius: 3px;
    font-family: 'Inter', sans-serif;
}

/* === EFD APEX PARTICLE OVERLAY ===
 * Falling runes + fireflies + mist drift layer.
 * Lifted from enchantedforestdefi.com apex palette + animations (2026-05-13).
 * Sits behind page content (z-index: 0); content is z-index: 1.
 */

:root {
  --efd-glow: #4ade80;
  --efd-gold: #d4af6a;
}

.efd-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Keep content above particle layer */
header, main, footer {
  position: relative;
  z-index: 1;
}

/* Firefly: tiny green glowing dot, drifts and pulses */
.efd-particles .firefly {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--efd-glow);
  box-shadow:
    0 0 6px var(--efd-glow),
    0 0 12px rgba(74,222,128,0.4);
  opacity: 0;
  animation: efd-ffloat 12s ease-in-out infinite;
}

@keyframes efd-ffloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(1);
  }
  25%, 75% {
    opacity: var(--mo, 0.45);
  }
  50% {
    transform: translateY(-40px) translateX(8px) scale(1.5);
  }
}

/* Rune: drifting Elder Futhark glyph in EFD gold */
.efd-particles .rune {
  position: absolute;
  font-family: 'Cinzel Decorative', 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  color: var(--efd-gold);
  text-shadow:
    0 0 8px rgba(212,175,106,0.6),
    0 0 16px rgba(212,175,106,0.3);
  opacity: 0;
  animation: efd-runefloat 16s ease-in-out infinite;
  font-size: 1.6rem;
  user-select: none;
}

@keyframes efd-runefloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  20%, 80% {
    opacity: var(--mo, 0.35);
  }
  50% {
    transform: translateY(60px) rotate(-12deg);
  }
}

/* Mist: blurry green-tinted fog drifting horizontally near bottom */
.efd-particles .mist {
  position: absolute;
  left: -20vw;
  bottom: 0;
  width: 140vw;
  height: 30vh;
  background: linear-gradient(0deg, rgba(74,222,128,0.04) 0%, transparent 80%);
  filter: blur(40px);
  animation: efd-mistfloat 18s ease-in-out infinite;
}

@keyframes efd-mistfloat {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(40px); }
}

/* === END EFD APEX PARTICLE OVERLAY === */

/* === EFD value-prop strip (sits between #boxWelcome and #boxesLower) === */
#boxEfdValueProp {
    margin: 0 9px 18px 9px;
}
.efdValueStrip {
    background: linear-gradient(to right, #1a2e22 0%, #2E5339 50%, #1a2e22 100%);
    color: #f6f6f6;
    padding: 14px 20px;
    border: 1px solid #ff9328;
    border-radius: 4px;
    text-align: center;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.0em;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.efdBrandLabel {
    color: #ff9328;
    font-weight: 600;
    margin-right: 16px;
    font-size: 1.1em;
}
.efdBrandLabel i.fa {
    margin-right: 4px;
}
.efdStat {
    margin: 0 6px;
    color: #c0d8c8;
    font-family: 'Cinzel', Georgia, serif;
}
.efdStat i.fa {
    color: #7fb88f;
    margin-right: 5px;
}
.efdSep {
    color: #2E5339;
    margin: 0 2px;
    font-weight: bold;
}
/* === END EFD value-prop strip === */

/* Subtle emphasis on 'back' in welcome message — italic + warm cream tint */
.welcomeBack {
    font-style: italic;
    color: #ffe2b8;
    font-weight: 500;
    font-family: inherit;
}
/* === END welcomeBack === */

/* === EFD lore tagline (below value-prop strip) === */
#efdLoreTagline {
    margin: 0 9px 18px 9px;
    text-align: center;
}
.loreTaglineInner {
    color: #d4af6a;
    font-family: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    font-size: 0.95em;
    font-style: italic;
    letter-spacing: 0.5px;
    padding: 4px 0;
    opacity: 0.92;
}
.loreTaglineInner i.fa-tree {
    color: #7fb88f;
    margin-right: 2px;
}
.loreName {
    color: #ff9328;
    font-style: normal;
    font-weight: 500;
}
/* === EFD footer attribution === */
#efdFooterAttribution {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2E5339;
    color: #c0d8c8 !important;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.95em;
    letter-spacing: 0.3px;
}
#efdFooterAttribution strong {
    color: #ff9328;
}
#efdFooterAttribution a {
    color: #ff9328 !important;
}
#efdFooterAttribution i.fa-leaf {
    color: #7fb88f;
}
/* === END lore narrative === */

/* === Getting Started page === */
.gs-hero {
    background: linear-gradient(135deg, #1a2e22 0%, #2E5339 100%);
    padding: 30px;
    margin: 0 9px 18px 9px;
    border: 1px solid #ff9328;
    border-radius: 4px;
    text-align: center;
}
.gs-hero h1 {
    margin: 0 0 10px 0;
    color: #ff9328 !important;
    font-family: 'Cinzel', Georgia, serif !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.gs-hero p {
    color: #c0d8c8;
    margin-bottom: 14px;
    font-size: 1.05em;
}
.gs-meta-row {
    color: #7fb88f;
    font-size: 0.92em;
    font-family: 'Cinzel', Georgia, serif;
    letter-spacing: 0.3px;
}
.gs-meta-row span {
    margin: 0 4px;
}
.gs-meta-row a {
    color: #ff9328 !important;
    text-decoration: none;
    border-bottom: 1px dotted #ff9328;
}

.gs-coin-section, .gs-also, .gs-troubleshooting {
    background: #28282a;
    padding: 22px 28px;
    margin: 0 9px 18px 9px;
    border: 1px solid #2E5339;
    border-radius: 4px;
}

.gs-coin-section h2 {
    color: #ff9328 !important;
    margin-top: 0;
    font-family: 'Cinzel', Georgia, serif !important;
    border-bottom: 1px solid #2E5339 !important;
    padding-bottom: 10px;
}

.gs-coin-section h3, .gs-also h3, .gs-troubleshooting h3, .gs-dual-mine h3 {
    color: #7fb88f !important;
    margin-top: 18px;
    margin-bottom: 8px;
    font-family: 'Cinzel', Georgia, serif !important;
    border-bottom: none !important;
}

.gs-coin-section p, .gs-also p, .gs-troubleshooting p, .gs-dual-mine p {
    color: #e0e0e0;
    margin: 8px 0;
    line-height: 1.5;
}

.gs-coin-section ul, .gs-troubleshooting ul {
    list-style: disc;
    padding-left: 22px;
}
.gs-coin-section li, .gs-troubleshooting li {
    margin: 6px 0;
    color: #e0e0e0;
}

.gs-coin-section a, .gs-also a, .gs-troubleshooting a, .gs-dual-mine a {
    color: #ff9328 !important;
    text-decoration: none;
    border-bottom: 1px dotted #ff9328;
}
.gs-coin-section a:hover, .gs-also a:hover, .gs-dual-mine a:hover {
    color: #ff6e32 !important;
    border-bottom-color: #ff6e32;
}

.gs-coin-section code, .gs-dual-mine code, .gs-also code, .gs-troubleshooting code {
    background: #1a2e22;
    color: #d4af6a;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Lucida Console', Monaco, monospace;
    font-size: 0.92em;
}

.gs-code-block {
    background: #060d08;
    color: #c8e6c9;
    padding: 16px;
    border: 1px solid #2E5339;
    border-radius: 4px;
    font-family: 'Lucida Console', Monaco, monospace;
    font-size: 0.88em;
    white-space: pre;
    overflow-x: auto;
    margin: 10px 0;
    line-height: 1.5;
}

.gs-dual-mine {
    background: linear-gradient(135deg, #1a2e22 0%, #2E5339 50%, #1a2e22 100%);
    padding: 25px 30px;
    margin: 0 9px 18px 9px;
    border: 2px solid #ff9328;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255,147,40,0.15);
}
.gs-dual-mine h2 {
    color: #ff9328 !important;
    margin-top: 0;
    font-family: 'Cinzel', Georgia, serif !important;
    border-bottom: 1px solid #ff9328 !important;
    padding-bottom: 10px;
}
.gs-dual-mine p strong {
    color: #d4af6a;
}

.gs-coin-section.gs-coming-soon {
    border-color: #d4af6a;
    opacity: 0.95;
}

.gs-badge-active {
    display: inline-block;
    background: #7fb88f;
    color: #1a2e22 !important;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.55em;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 12px;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}
.gs-badge-coming {
    display: inline-block;
    background: #d4af6a;
    color: #060d08 !important;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.55em;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 12px;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.gs-also {
    text-align: center;
    background: #1a2e22;
    border: 1px dashed #7fb88f;
}
/* === END Getting Started page === */

/* === New-to-mining pointer (Getting Started footer) === */
.gs-newbie-pointer {
    background: #1a2e22;
    padding: 22px 28px;
    margin: 0 9px 18px 9px;
    border: 1px dashed #7fb88f;
    border-radius: 4px;
    text-align: center;
}
.gs-newbie-pointer h3 {
    color: #7fb88f !important;
    font-family: 'Cinzel', Georgia, serif !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    border-bottom: none !important;
}
.gs-newbie-pointer p {
    color: #c0d8c8;
    margin: 6px 0;
    line-height: 1.5;
}
.gs-newbie-pointer a {
    color: #ff9328 !important;
    text-decoration: none;
    border-bottom: 1px dotted #ff9328;
}
.gs-newbie-pointer a:hover {
    color: #ff6e32 !important;
}
/* === END newbie pointer === */
