/*
Theme Name: Echoes of Life – Obsidian Crown
Theme URI: https://echoesoflife.page.gd
Author: Echoes of Life
Author URI: https://echoesoflife.page.gd
Description: A unique, luxury dark theme for the Echoes of Life memorial platform (black / gold / purple). Built to funnel users to Login → Signup → Create Tribute and keep tributes private (no browsing).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eol-obsidian-crown
Tags: custom-background, custom-logo, featured-images, full-width-template, block-styles
*/

:root{
  --bg0:#07030d;
  --bg1:#0f061b;
  --panel:rgba(18,8,29,.78);
  --panel2:rgba(10,5,18,.92);
  --text:#f4eaff;
  --muted:#d4c3ff;
  --gold:#f5c86b;
  --gold2:#d7a942;
  --violet:#8d5bff;
  --violet2:#6a4fbf;
  --line:rgba(141,91,255,.35);
  --shadow:0 14px 40px rgba(0,0,0,.55);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1000px 600px at 20% -10%, rgba(141,91,255,.25), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(245,200,107,.14), transparent 55%),
    radial-gradient(700px 700px at 50% 120%, rgba(106,79,191,.18), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.55;
}

a{color:var(--gold);text-decoration:none}
a:hover{color:#ffe0a1}

.eol-wrap{max-width:1140px;margin:0 auto;padding:0 18px}

.eol-topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,3,13,.68);
  border-bottom:1px solid rgba(141,91,255,.22);
}

.eol-nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.eol-brand{
  display:flex; align-items:center; gap:12px;
  min-width:220px;
}
.eol-brand .mark{
  width:42px;height:42px;border-radius:12px;
  background: linear-gradient(135deg, rgba(245,200,107,.9), rgba(141,91,255,.9));
  box-shadow: 0 10px 22px rgba(0,0,0,.45);
}
.eol-brand .title{
  font-weight:700; letter-spacing:.02em;
}
.eol-brand .tag{
  font-size:12px;color:var(--muted); margin-top:2px;
}

.eol-links{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.eol-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 16px; border-radius:999px;
  border:1px solid rgba(245,200,107,.35);
  background: rgba(0,0,0,.25);
  color:var(--text);
  font-weight:600;
  box-shadow: none;
  transition: transform .12s ease, filter .12s ease, border-color .12s ease;
}
.eol-btn:hover{transform: translateY(-1px); border-color: rgba(245,200,107,.65); filter: brightness(1.05)}
.eol-btn.primary{
  border: none;
  color: #1a1024;
  background: linear-gradient(135deg, var(--gold), var(--violet));
  box-shadow: 0 14px 28px rgba(0,0,0,.45);
}

main{padding:30px 0 60px}

.eol-hero{
  padding:42px 18px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(26,8,38,.82), rgba(18,5,29,.82));
  border:1px solid rgba(141,91,255,.28);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.eol-hero:before{
  content:"";
  position:absolute; inset:-120px -120px auto auto;
  width:360px;height:360px;border-radius:50%;
  background: radial-gradient(circle, rgba(245,200,107,.18), transparent 60%);
  filter: blur(0px);
}
.eol-hero h1{margin:0 0 10px;font-size:42px;line-height:1.1}
.eol-hero p{margin:0 0 22px;color:var(--muted);font-size:17px;max-width:60ch}
.eol-hero .cta{display:flex;gap:12px;flex-wrap:wrap}

.eol-grid{display:grid;grid-template-columns:repeat(12,1fr); gap:16px; margin-top:18px}
.eol-card{
  grid-column: span 4;
  padding:18px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid rgba(106,79,191,.28);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.eol-card h3{margin:0 0 6px}
.eol-card p{margin:0;color:var(--muted);font-size:14px}

@media (max-width: 900px){
  .eol-card{grid-column: span 12}
  .eol-hero h1{font-size:34px}
  .eol-brand{min-width:auto}
}

.eol-panel{
  padding:22px;
  border-radius: var(--radius);
  background: var(--panel);
  border:1px solid rgba(141,91,255,.25);
  box-shadow: var(--shadow);
}

.eol-footer{
  padding:26px 0;
  border-top:1px solid rgba(141,91,255,.18);
  color: rgba(244,234,255,.78);
  font-size:13px;
}

/* Make WP content look good */
.entry-title{margin-top:0}
.wp-block-button__link{border-radius:999px}

/* Inputs if your shortcodes output forms */
input, select, textarea{
  background: var(--panel2);
  border: 1px solid rgba(106,79,191,.38);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
}
input:focus, textarea:focus, select:focus{
  outline:none;
  border-color: rgba(245,200,107,.72);
  box-shadow: 0 0 0 1px rgba(245,200,107,.35);
}
