/* Valyria Online landing page. Stands alone from the portal's stylesheets. */
:root { --ink: #0b0a0c; --panel: #171418; --edge: #3a3024; --gold: #b8893a; --molten: #f0c566; --bone: #efe6d6; --muted: #b5aa98; --display: 'Marcellus', Georgia, serif; --ui: Verdana, Tahoma, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 15px/1.6 var(--ui); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }
h1 em, h2 em { color: var(--molten); font-style: normal; }
:focus-visible { outline: 2px solid var(--molten); outline-offset: 3px; }

.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 30px; border-radius: 3px; font: 700 14px/1.2 var(--ui); letter-spacing: .03em; text-decoration: none; }
.ld-btn--gold { background: linear-gradient(#e2b863, #8d6425); color: #140e06; border: 1px solid #000; box-shadow: inset 0 0 0 1px rgba(255,232,170,.5), 0 6px 20px rgba(0,0,0,.6); }
.ld-btn--gold:hover { background: linear-gradient(#f0c976, #a3752d); }
.ld-btn--ghost { color: var(--bone); border: 1px solid var(--gold); background: rgba(11,10,12,.65); min-height: 38px; padding: 7px 16px; font-size: 12px; }
.ld-btn--ghost:hover { color: var(--molten); }

.ld-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px max(16px, calc((100% - 1152px) / 2)); background: rgba(11,10,12,.92); border-bottom: 1px solid var(--edge); }
.ld-nav-logo img { height: 34px; width: auto; }
.ld-nav nav { display: flex; gap: 26px; }
.ld-nav nav a { color: var(--muted); font-size: 12px; text-decoration: none; }
.ld-nav nav a:hover { color: var(--molten); }

.ld-hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 16px 56px;
  background: linear-gradient(rgba(11,10,12,.28), rgba(11,10,12,.5) 55%, var(--ink)), url(/brand/world.jpg) center / cover no-repeat; }
.ld-hero-logo { width: min(520px, 90%); height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.8)); }
.ld-eyebrow { margin: 0 0 12px; color: var(--molten); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ld-hero .ld-eyebrow { margin-top: 14px; }
.ld-hero h1 { max-width: 760px; font-size: clamp(30px, 5vw, 50px); line-height: 1.15; text-shadow: 0 3px 14px #000; }
.ld-hero h1 em { display: block; }
.ld-lead { max-width: 600px; margin: 16px 0 24px; color: #e3dacb; text-shadow: 0 1px 6px #000; }
.ld-count { margin-top: 22px; color: var(--molten); font: 400 28px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .04em; text-shadow: 0 2px 8px #000; }
.ld-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 12px; color: #d6cfc2; }
.ld-badges .fa { color: var(--molten); margin-right: 4px; }

.ld-rule { height: 34px; width: min(760px, 86%); margin: 0 auto; background: url(/brand/ui/emblem.png) center / auto 30px no-repeat,
  linear-gradient(90deg, transparent, var(--gold) 40%, transparent 46%, transparent 54%, var(--gold) 60%, transparent) center / 100% 1px no-repeat; }
.ld-section { width: min(1152px, 100%); margin: 0 auto; padding: 56px 16px; }
.ld-section h2, .ld-final h2 { font-size: clamp(25px, 3.4vw, 36px); line-height: 1.2; }
.ld-center { text-align: center; }
.ld-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.ld-split p:not(.ld-eyebrow) { color: var(--muted); }
.ld-split img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--gold); box-shadow: 0 0 0 1px #000, 0 10px 30px rgba(0,0,0,.6); }

.ld-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.ld-card { display: block; overflow: hidden; background: var(--panel); border: 1px solid var(--edge); border-radius: 3px; text-decoration: none; }
.ld-card:hover { border-color: var(--gold); }
.ld-card img { width: 100%; height: 170px; object-fit: cover; }
.ld-card h3 { padding: 14px 14px 4px; color: var(--molten); font-size: 18px; }
.ld-card p { margin: 0; padding: 0 14px 16px; color: var(--muted); font-size: 12.5px; }

.ld-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.ld-steps li { position: relative; padding: 26px 18px 20px; text-align: center; background: var(--panel); border: 1px solid var(--edge); border-radius: 3px; }
.ld-steps b { position: absolute; top: -12px; left: 50%; width: 24px; height: 24px; margin-left: -12px; line-height: 24px; border-radius: 50%; background: var(--gold); color: #140e06; font-size: 12px; }
.ld-steps .fa { color: var(--molten); font-size: 28px; }
.ld-steps h3 { margin-top: 10px; font-size: 18px; }
.ld-steps p { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }

.ld-faq { width: min(768px, 100%); }
.ld-faq h2 { margin-bottom: 24px; }
.ld-faq details { margin-top: 8px; background: var(--panel); border: 1px solid var(--edge); border-radius: 3px; }
.ld-faq summary { min-height: 46px; padding: 12px 16px; cursor: pointer; font-weight: 700; font-size: 13px; }
.ld-faq summary:hover { color: var(--molten); }
.ld-faq details p { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 13px; }

.ld-final { padding: 72px 16px; text-align: center; background: linear-gradient(var(--ink), rgba(11,10,12,.5), var(--ink)), url(/brand/wars.jpg) center / cover no-repeat; }
.ld-final-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; }
.ld-final .ld-btn--ghost { min-height: 48px; padding: 10px 24px; font-size: 14px; }

.ld-foot { padding: 28px 16px; text-align: center; color: #8f8576; font-size: 11px; border-top: 1px solid var(--edge); }
.ld-foot p { margin: 0 0 4px; }
.ld-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 12px !important; }
.ld-foot-links a { color: #cfc6b6; }

@media (max-width: 900px) {
  .ld-nav nav { display: none; }
  .ld-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .ld-cards, .ld-steps { grid-template-columns: minmax(0, 1fr); }
  .ld-steps { gap: 22px; }
  .ld-section { padding: 40px 16px; }
  .ld-btn--gold { width: 100%; max-width: 340px; }
}
