/* Divinity: shared public theme, loaded after the existing page styles. */
:root { --bg:#0c0909; --panel:#171111; --panel-2:#201717; --text:#f7ecda; --muted:#b4a394; --line:rgba(205,163,85,.23); --red:#8e202c; --orange:#dfb665; --gold:#e1bd79; }
body { background:radial-gradient(ellipse at 80% 0,rgba(100,29,32,.16),transparent 55%),var(--bg); }
.site-header, .solid-header { background:rgba(13,9,9,.95); border-bottom:1px solid var(--line); }
.brand img { width:182px; max-height:65px; object-fit:contain; }
.main-nav a:hover, .main-nav a.active { color:var(--gold); }
.hero { background:linear-gradient(90deg,rgba(12,9,9,.98) 0%,rgba(12,9,9,.91) 35%,rgba(12,9,9,.45) 75%,rgba(12,9,9,.65)),url('../images/divinity/hero.jpg') center 38% / cover no-repeat; }
.hero-layout { grid-template-columns:55% 45%; }
.hero h1 { font-size:clamp(48px,5.5vw,78px); line-height:1.04; letter-spacing:-.025em; }
.hero h1 em { color:var(--gold); -webkit-text-stroke:0; text-shadow:0 2px 25px rgba(216,164,68,.18); }
.hero-copy > p { color:#c6b6a6; }
.hero-art { align-self:center; min-height:560px; align-items:center; }
.hero-art img { width:min(460px,100%); filter:drop-shadow(0 20px 35px #000); }
.hero-ring { width:420px; height:420px; bottom:80px; border-color:rgba(205,163,85,.22); box-shadow:0 0 100px rgba(132,24,35,.16); }
.hero-glow { background:rgba(149,31,43,.16); }
.server-card { bottom:20px; background:rgba(20,13,13,.95); border-color:var(--line); }
.button.primary { color:#251608; background:linear-gradient(135deg,#b67b30,#efd08b); border-color:#e2b66b; box-shadow:0 10px 35px rgba(179,114,37,.18); }
.button.secondary { color:var(--gold); border-color:rgba(225,189,121,.45); }
.button:hover { filter:brightness(1.12); }
.quick-card.red, .quick-card.red:hover { background:linear-gradient(135deg,#5e1721,#982c37); }
.quick-card:hover, .side-links a:hover, .side-links a.active { background:#271b19; }
.feature-image { background:linear-gradient(rgba(15,8,8,.15),rgba(15,8,8,.5)),url('../images/divinity/hero.jpg') center / cover; }
.feature-image::before, .feature-image::after { display:none; }
.feature-mark { opacity:0; }
.dark-section { background:radial-gradient(ellipse at right,rgba(94,25,32,.16),transparent 70%),#100c0c; border-block:1px solid var(--line); }
.server-panel, .side-card, .page-card, .auth-card { background:rgba(24,17,17,.96); border-color:var(--line); }
.path-grid article, .download-card, .support-card, .shop-card { background:linear-gradient(145deg,#241917,#130e0e); border-color:var(--line); }
.subpage-hero { background:linear-gradient(90deg,rgba(12,9,9,.96),rgba(12,9,9,.6)),url('../images/divinity/hero.jpg') center 35% / cover; }
.subpage-hero h1, .section-heading h2, .dark-section h2 { color:#eed7ae; }
.lang-switch a.active, .filter-bar a.active, .ranking-tabs a.active { background:linear-gradient(110deg,#6f1c28,#a1323e); border-color:#bf9250; }
footer { background:#090707; border-top-color:var(--line); }
.footer-brand img { width:190px; height:auto; }
.footer-grid a, .footer-bottom { color:#a18e7c; }
a:focus-visible, button:focus-visible { outline:2px solid var(--gold); outline-offset:5px; }
@media(max-width:980px) { .hero-layout { grid-template-columns:55% 45%; } .hero-ring { width:320px; height:320px; } }
@media(max-width:760px) {
 .brand img { width:145px; max-height:50px; }
 .main-nav { background:#140e0e; }
 .hero, .hero-layout { min-height:auto; }
 .hero-layout { grid-template-columns:1fr; padding-top:110px; padding-bottom:35px; }
 .hero-copy { padding:20px 0; }
 .hero h1 { font-size:clamp(40px,11vw,62px); }
 .hero-art { position:relative; left:auto; bottom:auto; transform:none; width:100%; min-height:0; opacity:1; padding:20px 0 70px; }
 .hero-art img { width:min(300px,85%); }
 .hero-ring { width:260px; height:260px; bottom:90px; }
 .server-card { display:flex; right:50%; transform:translateX(50%); bottom:0; }
 .hero { background-position:60% center; }
}