/* =========================================================
   GRAMARYE — VISUAL THEME v2
   Ancient Order + RS Interface Framing
========================================================= */

:root {
    --bg-main: #0b0d11;
    --bg-panel: #14161b;
    --bg-panel-dark: #101216;
    --border-muted: #2a2d34;
    --border-strong: #3a3f48;

    --text-primary: #e6e1d8;
    --text-secondary: #b7b2a8;

    --accent-gold: #c9a24d;
    --accent-red: #8c2f2b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(ellipse at top, #111318, #0b0d11);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
}

/* ================= LAYOUT ================= */

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-frame {
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-muted);
}

/* ================= HEADER ================= */

.site-header {
    background: linear-gradient(to bottom, #15171c, #0e1014);
    border-bottom: 1px solid var(--border-strong);
}

.header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 0.25em;
}

.main-nav a {
    margin-left: 28px;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
}

.main-nav a:hover {
    color: var(--accent-gold);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.main-nav a:hover::after {
    width: 70%;
}

/* ================= HERO ================= */

.hero {
    padding: 140px 0 120px;
    text-align: center;
    background:
        radial-gradient(
            ellipse at center,
            rgba(201,162,77,0.10) 0%,
            rgba(11,13,17,0.96) 65%
        );
    border-bottom: 1px solid var(--border-muted);
    box-shadow: inset 0 -40px 60px rgba(0,0,0,0.65);
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 46px;
    letter-spacing: 0.30em;
    margin-bottom: 22px;
      text-shadow:
        0 2px 6px rgba(0,0,0,0.7),
        0 0 18px rgba(201,162,77,0.25);
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    margin-bottom: 32px;
}

.hero-text {
    max-width: 720px;
    margin: 0 auto 52px;
    color: var(--text-secondary);
}

/* ================= BUTTONS ================= */

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.btn {
    padding: 14px 36px;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-decoration: none;
    border: 1px solid var(--border-strong);
    background: linear-gradient(to bottom, #16181e, #0f1116);
    color: var(--text-primary);
}

.btn-primary {
    background: linear-gradient(to bottom, #d1b05c, #b8943c);
    border-color: #e0c36d;
    color: #111;
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ================= OATH ================= */

.oath {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-panel-dark);
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-muted);
      color: var(--text-secondary);
}

.oath strong {
    color: var(--text-primary);
}

.oath-text {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.9;
    letter-spacing: 0.06em;
}

/* ================= FEATURES ================= */

.features {
    padding: 100px 0;
    background: linear-gradient(to bottom, #101216, #0b0d11);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 34px;
}

.panel {
    background: linear-gradient(to bottom, #1a1d23, #13151a);
    border: 1px solid var(--border-strong);
    padding: 34px 30px;
    position: relative;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        inset 0 -2px 0 rgba(0,0,0,0.6),
        0 6px 14px rgba(0,0,0,0.6);
}

.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(201,162,77,0.35),
        transparent
    );
}

.panel h3 {
    font-family: 'Cinzel', serif;
    font-size: 17px;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
}

.panel p {
    color: var(--text-secondary);
}

/* ================= WORLD ================= */

.world {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-panel-dark);
    border-top: 1px solid var(--border-strong);
}

.world-text {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.85;
}

/* ================= FOOTER ================= */

.site-footer {
    background: linear-gradient(to top, #0e1014, #090a0d);
    border-top: 1px solid var(--border-strong);
    padding: 26px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.muted {
    color: var(--text-secondary);
}
/* =========================================================
   SIGILS & ICONOGRAPHY
========================================================= */

/* ---------- Ritual Divider ---------- */

.sigil-divider {
    display: flex;
    justify-content: center;
    margin: 90px 0 70px;
}

.sigil-divider span {
    width: 140px;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(201,162,77,0.45),
        transparent
    );
    position: relative;
}

.sigil-divider span::after {
    content: '◆';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: rgba(201,162,77,0.55);
}

/* ---------- Panel Sigils ---------- */

.panel-sigil {
    width: 28px;
    height: 28px;
    margin-bottom: 18px;
    opacity: 0.75;
}

/* Bond — circle / unity */
.sigil-bond {
    border: 2px solid rgba(201,162,77,0.55);
    border-radius: 50%;
}

/* Language — vertical rune */
.sigil-language {
    width: 2px;
    height: 28px;
    background: linear-gradient(
        to bottom,
        rgba(201,162,77,0.7),
        rgba(201,162,77,0.2)
    );
}

/* Path — stepped ascent */
.sigil-path {
    position: relative;
}

.sigil-path::before,
.sigil-path::after {
    content: '';
    position: absolute;
    background: rgba(201,162,77,0.55);
}

.sigil-path::before {
    width: 100%;
    height: 2px;
    bottom: 0;
}

.sigil-path::after {
    width: 2px;
    height: 100%;
    right: 0;
}

/* ---------- Subtle Hover Enhancement ---------- */

.panel:hover .panel-sigil {
    opacity: 1;
}

/* =========================================================
   AMBIENT ARCANE MOTION
   Subtle, Breathing Light (Not Smoke)
========================================================= */

/* HERO: living atmosphere */
.hero {
    position: relative;
    background:
        radial-gradient(
            120% 80% at 30% 20%,
            rgba(201,162,77,0.14),
            transparent 60%
        ),
        radial-gradient(
            100% 90% at 70% 60%,
            rgba(255,255,255,0.06),
            transparent 65%
        ),
        linear-gradient(
            to bottom,
            #111318,
            #0b0d11
        );

    animation: hero-breathe 90s ease-in-out infinite;
}

/* OATH: quieter echo of the hero */
.oath {
    position: relative;
    background:
        radial-gradient(
            140% 90% at 50% 0%,
            rgba(201,162,77,0.08),
            transparent 70%
        ),
        linear-gradient(
            to bottom,
            #101216,
            #0b0d11
        );

    animation: oath-breathe 140s ease-in-out infinite;
}

/* Slow, barely perceptible motion */
@keyframes hero-breathe {
    0% {
        background-position: 30% 20%, 70% 60%, center;
    }
    50% {
        background-position: 32% 24%, 68% 56%, center;
    }
    100% {
        background-position: 30% 20%, 70% 60%, center;
    }
}

@keyframes oath-breathe {
    0% {
        background-position: 50% 0%, center;
    }
    50% {
        background-position: 52% 3%, center;
    }
    100% {
        background-position: 50% 0%, center;
    }
}
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo .seal {
    width: 25px;
    height: 25px;
    opacity: 0.7;
}
/* ================= PLAY PAGE ================= */

.hero-compact {
    padding: 120px 0 160px;
    text-align: center;
}

.hero-compact h1 {
    letter-spacing: 6px;
}

.hero-compact .hero-subtitle {
    margin-top: 14px;
    font-size: 14px;
    letter-spacing: 2px;
    color: #caa24d;
}

/* --- Action Stack --- */

.play-actions {
    margin-top: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* --- Primary Action --- */

.play-actions .btn-primary {
    width: 300px;
    padding: 16px 0;
    font-size: 15px;
    letter-spacing: 1.5px;
    font-weight: 600;
    background: linear-gradient(180deg, #d1b46a, #b5923f);
    color: #1a1a1a;
}

.play-actions .btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* --- Secondary Action --- */

.play-actions .btn-secondary {
    width: 260px;
    padding: 14px 0;
    font-size: 13px;
    letter-spacing: 1.5px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(202,162,77,0.35);
    color: #e6dcc0;
}

.play-actions .btn-secondary:hover {
    background: rgba(255,255,255,0.10);
}

/* --- Platform Note --- */

.play-note {
    margin-top: 22px;
    font-size: 11px;
    letter-spacing: 1.2px;
    color: rgba(230,220,192,0.55);
}
