:root {
    --color-crimson: #8A0303;
    --color-crimson-light: #A10A0A;
    --color-bronze: #CD7F32;
    --color-bronze-hover: #D89048;
    --color-bone: #F9F6EE;
    --color-bone-dark: #EFEBE0;
    --color-black: #111111;
    --color-black-light: #333333;

    --font-heading: 'Cinzel', 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bone);
    color: var(--color-black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-crimson);
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--color-crimson);
    border-bottom: 4px solid var(--color-bronze);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: all var(--transition-smooth);
}

/* Added decorative standard trim */
.navbar::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-bronze);
    opacity: 0.8;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    height: 48px;
    width: auto;
    mix-blend-mode: screen;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    -webkit-text-stroke: 1px var(--color-bronze);
    text-shadow: 2px 2px 0px #000, -1px -1px 0px #000, 2px -1px 0px #000, -1px 2px 0px #000, 3px 3px 5px rgba(0,0,0,0.6);
    text-transform: uppercase;
}

.menu-area {
    position: relative;
}

.menu-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-bone);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color var(--transition-fast);
}

.menu-btn:hover {
    background-color: rgba(249, 246, 238, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1.5rem);
    right: 0;
    background: var(--color-bone);
    border: 2px solid var(--color-bronze);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-smooth);
    overflow: hidden;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-black);
    border-bottom: 1px solid rgba(205, 127, 50, 0.2);
    transition: all var(--transition-fast);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--color-crimson);
    color: var(--color-bone);
    padding-left: 2rem;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(205, 127, 50, 0.15) 0%, rgba(249, 246, 238, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(138, 3, 3, 0.05) 0%, rgba(249, 246, 238, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero-accent {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-bronze);
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: inline-block;
    position: relative;
}

.hero-accent::before, .hero-accent::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: var(--color-bronze);
}

.hero-accent::before { right: 100%; margin-right: 15px; }
.hero-accent::after { left: 100%; margin-left: 15px; }

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--color-black-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    cursor: pointer;
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--color-crimson);
    color: var(--color-bone);
    border: 1px solid var(--color-crimson);
}

.btn-primary:hover {
    background-color: var(--color-crimson-light);
    border-color: var(--color-crimson-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 3, 3, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-crimson);
    border: 2px solid var(--color-bronze);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: rgba(205, 127, 50, 0.1);
    transform: translateY(-2px);
}

/* --- Future Sections --- */
.future-section {
    padding: 6rem 2rem;
    background-color: var(--color-bone);
    position: relative;
    border-top: 2px solid rgba(205, 127, 50, 0.2);
}

.future-section:nth-child(even) {
    background-color: var(--color-bone-dark);
}

/* --- Authors Section --- */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.author-card {
    background: var(--color-black);
    border: 2px solid var(--color-bronze);
    padding: 3rem 2rem;
    border-radius: 4px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--color-bronze-hover);
}

.author-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    mix-blend-mode: screen;
    object-fit: contain;
}

.author-name {
    color: var(--color-bone);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.author-bio {
    color: rgba(249, 246, 238, 0.8);
    font-size: 1rem;
    font-weight: 400;
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--color-bronze);
}

.section-placeholder {
    font-size: 1.1rem;
    color: var(--color-black-light);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.news-card {
    background: var(--color-bone);
    border: 1px solid rgba(205, 127, 50, 0.4);
    padding: 2rem;
    transition: transform var(--transition-fast);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 180px;
    background: rgba(138, 3, 3, 0.05);
    margin-bottom: 1.5rem;
    border: 1px dashed rgba(205, 127, 50, 0.5);
}

.news-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.news-card p {
    color: var(--color-black-light);
    font-size: 0.95rem;
}

/* --- Footer --- */
footer {
    background-color: var(--color-crimson);
    color: var(--color-bone);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 4px solid var(--color-bronze);
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-bronze);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand .logo-mark {
    height: 36px;
    opacity: 0.9;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-cta {
        flex-direction: column;
    }
    .logo-text {
        display: none;
    }
}

/* --- Forum Layout & Modals --- */
.forum-body {
    background-color: var(--color-bone-dark);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-card {
    background: var(--color-bone);
    padding: 3rem;
    border: 2px solid var(--color-bronze);
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-card h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal-card input, .create-post-card input, .create-post-card textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(205, 127, 50, 0.4);
    background: var(--color-ivory);
    color: var(--color-black);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
}

.modal-card input:focus, .create-post-card input:focus, .create-post-card textarea:focus {
    outline: none;
    border-color: var(--color-bronze);
}

.modal-card button {
    width: 100%;
}

.error-msg {
    color: var(--color-crimson);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 20px;
}

.forum-header {
    padding: 8rem 2rem 4rem;
    background: var(--color-bone);
    border-bottom: 2px solid rgba(205, 127, 50, 0.2);
}

.forum-content {
    padding: 4rem 2rem;
    min-height: 60vh;
}

.forum-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--color-bronze);
    color: var(--color-black);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.tab-btn:hover {
    background: rgba(205, 127, 50, 0.1);
}

.tab-btn.active {
    background: var(--color-crimson);
    border-color: var(--color-crimson);
    color: var(--color-bone);
}

.forum-posts-container {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.post-card {
    background: var(--color-bone);
    border: 1px solid rgba(205, 127, 50, 0.3);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(205, 127, 50, 0.3);
    padding-bottom: 0.5rem;
}

.post-author {
    font-weight: 600;
    color: var(--color-crimson);
}

.post-date {
    font-size: 0.85rem;
    color: var(--color-black-light);
}

.post-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.post-body {
    white-space: pre-wrap;
    color: var(--color-black);
}

.create-post-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-bone);
    padding: 2rem;
    border: 2px solid var(--color-bronze);
    border-radius: 4px;
}

.create-post-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}
