/* Global layout: Silkroad-inspired palette, English UI */
:root {
    --sro-bg-deep: #0c0806;
    --sro-bg-panel: #14100c;
    --sro-gold: #c9a227;
    --sro-gold-bright: #e6c65c;
    --sro-gold-dim: #8a7020;
    --sro-ink: #f4ecd8;
    --sro-muted: #a69b88;
    --sro-crimson: #7a1e1e;
    --sro-card: rgba(26, 20, 14, 0.92);
    --sro-border: rgba(201, 162, 39, 0.35);
    --header-h: 90px;
    --font-display: 'Inter', 'Cinzel', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.theme-sro {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-display);
    color: var(--sro-ink);
    background: radial-gradient(1200px 600px at 50% -10%, rgba(201, 162, 39, 0.12), transparent 55%),
        linear-gradient(180deg, var(--sro-bg-deep) 0%, #0a0705 40%, #080605 100%);
    background-attachment: fixed;
}

a {
    color: var(--sro-gold-bright);
    text-decoration: none;
}
a:hover {
    color: #fff4cc;
}

/* Header — base (home.css sobrescreve para a home) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 4, 7, 0.92);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    height: 58px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(201, 162, 39, 0.15));
    transition: filter 0.3s ease;
}

.brand:hover .brand-logo {
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 28px rgba(201, 162, 39, 0.35));
}

.site-nav {
    display: none;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.25rem;
}

.site-nav.is-open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(10, 7, 5, 0.98);
    border-bottom: 1px solid var(--sro-border);
    gap: 0;
}

@media (min-width: 992px) {
    .site-nav {
        display: flex;
        position: static;
        flex-direction: row;
        padding: 0;
        background: transparent;
        border: none;
    }
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    border-radius: 6px;
    color: var(--sro-muted);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

/* Linha dourada no hover embaixo do link */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--sro-gold-bright);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 55%;
}

.nav-link:hover {
    color: var(--sro-gold-bright);
    background: rgba(201, 162, 39, 0.08);
    text-shadow: 0 0 12px rgba(201, 162, 39, 0.5);
}

.nav-link i {
    color: var(--sro-gold-dim);
    font-size: 0.9rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link:hover i {
    color: var(--sro-gold-bright);
    text-shadow: 0 0 10px rgba(230, 198, 92, 0.6);
}

.nav-link-accent {
    color: var(--sro-gold-bright);
}

.header-actions {
    gap: 0.5rem;
    margin-left: auto;
}

.nav-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--sro-border);
    border-radius: 10px;
    background: rgba(201, 162, 39, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--sro-gold);
    border-radius: 1px;
}

@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }
    .header-actions {
        margin-left: 0;
    }
}

.nav-auth {
    border-top: 1px solid var(--sro-border);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

/* Buttons — Premium Header */
.btn-gold {
    background: linear-gradient(135deg, #e6c65c 0%, #c9a227 50%, #8a6d1a 100%);
    border: none;
    color: #0d0b06 !important;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #fff8e7 0%, #f0c96b 50%, #c9a227 100%);
    box-shadow: 0 6px 24px rgba(201, 162, 39, 0.5);
    transform: translateY(-1px);
    color: #0d0b06 !important;
}

.btn-outline-gold {
    border: 1px solid rgba(201, 162, 39, 0.6);
    color: var(--sro-gold-bright) !important;
    background: rgba(201, 162, 39, 0.05);
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover {
    background: rgba(201, 162, 39, 0.12);
    border-color: var(--sro-gold-bright);
    color: #fff !important;
    transform: translateY(-1px);
}

/* Page shell: main + right sidebar */
.page-shell {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
}

@media (min-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr minmax(260px, 300px);
    }
    
    /* Layout para área do Account (Sidebar na Esquerda) */
    .content-grid.grid-reverse {
        grid-template-columns: minmax(260px, 300px) 1fr;
    }
    .content-grid.grid-reverse .main-column {
        order: 2;
    }
    .content-grid.grid-reverse .sidebar-column {
        order: 1;
    }
}

.main-column {
    min-width: 0;
}

.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-card {
    background: var(--sro-card);
    border: 1px solid var(--sro-border);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.sidebar-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--sro-gold-bright);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--sro-muted);
    line-height: 1.55;
}

.sidebar-links {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--sro-muted);
    font-size: 0.9rem;
}
.sidebar-links li {
    margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--sro-border);
    background: rgba(8, 6, 4, 0.95);
    padding: 2rem 1.25rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--sro-gold-bright);
    font-weight: 600;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-copy {
    margin: 0;
    font-size: 0.85rem;
    color: var(--sro-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.footer-links a {
    font-size: 0.85rem;
    color: var(--sro-muted);
}
.footer-links a:hover {
    color: var(--sro-gold-bright);
}

/* Shared section */
.section-block {
    background: var(--sro-card);
    border: 1px solid var(--sro-border);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.section-title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    color: var(--sro-gold-bright);
}

.section-text {
    margin: 0 0 1.25rem;
    color: var(--sro-muted);
    line-height: 1.65;
}

.stub-panel {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}
.stub-panel p {
    color: var(--sro-muted);
    margin-bottom: 1.25rem;
}
