/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Lato:ital,wght@0,100..900;1,100..900&display=swap');

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --gold-primary: #d4af37;
    --gold-dim: #8a7326;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --void-black: #050505;
    --armor-grey: #1a1a1d;
    --blood-red: #8a0b0b;
    --glass-panel: rgba(10, 10, 12, 0.85);
    --font-header: 'Cinzel Decorative', serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--void-black);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dim);
    border-radius: 5px;
    border: 1px solid #000;
}

body {
    background-color: var(--void-black);
    color: #e0e0e0;
    line-height: 1.7;
    /* Global Vignette */
    background-image: url('../assets/Hero.png');
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    font-style: var(--font-header);
}

h1, h2, h3, th, button, summary, label, p, li, td {
    font-family: var(--font-header);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================================
   2. THE PROPHECY (Top Ticker)
   ========================================= */
.prophecy-container {
    background: linear-gradient(90deg, #000, #1a1a1a, #000);
    color: #888;
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    border-bottom: 1px solid #333;
    position: relative;
    z-index: 1002;
    font-style: var(--font-header);
}

.prophecy-container mark {
    background: transparent;
    color: var(--blood-red);
    text-shadow: 0 0 8px var(--blood-red);
}

.prophecy-container strong {
    color: var(--gold-primary);
}

/* =========================================
   3. NAVIGATION (Floating Glass)
   ========================================= */
header {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gold-dim);
    box-shadow: 0 10px 30px rgba(0,0,0,0.9);
}

header h2 {
    text-align: center;
    color: var(--gold-primary);
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--gold-glow);
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-container a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: var(--font-header);
    transition: 0.3s;
    position: relative;
    padding: 5px 10px;
}

.nav-container a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gold-primary);
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-container a:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 10px var(--gold-primary);
}

.nav-container a:hover::after {
    width: 100%;
}

/* =========================================
   4. HERO BANNER (Adapted for Hero.png)
   ========================================= */
.hero-banner {
    /* IMPORTANT: This path assumes Hero.png is in the assets folder.
       If it is in the same folder as index.html, remove 'assets/' 
    */
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), #050505), url('./assets/Hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect */
    
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: inset 0 0 100px #000;
}

/* .hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); 
    z-index: 1;
} */

.hero-banner h1, .hero-banner p, .hero-banner button {
    position: relative;
    z-index: 2;
}

.hero-banner h1 {
    font-size: 4rem; 
    background: linear-gradient(to bottom, #fff, var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.8);
    margin: 0 0 20px 0;
    animation: fadeIn 2s ease-out;
}

.hero-banner p {
    font-family: var(--font-header);
    font-size: 1.1rem;
    color: #ddd;
    background: rgba(0,0,0,0.6);
    padding: 10px 30px;
    border: 1px solid var(--gold-dim);
    backdrop-filter: blur(5px);
    margin-bottom: 40px;
}

/* .hero-banner button {
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    background: var(--gold-primary);
    border: none;
    cursor: pointer;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--gold-glow);
}

.hero-banner button:hover {
    background: #fff;
    box-shadow: 0 0 40px #fff;
    transform: scale(1.05);
} */

/* =========================================
   5. LAYOUT & SECTIONS
   ========================================= */
main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
}

section {
    background: var(--glass-panel);
    border: 1px solid #333;
    padding: 50px;
    margin-bottom: 100px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    border-radius: 4px;
}

/* Gold Corners */
section::after {
    content: ''; position: absolute; top: -1px; left: -1px; width: 30px; height: 30px;
    border-top: 2px solid var(--gold-primary); border-left: 2px solid var(--gold-primary);
}
section::before {
    content: ''; position: absolute; bottom: -1px; right: -1px; width: 30px; height: 30px;
    border-bottom: 2px solid var(--gold-primary); border-right: 2px solid var(--gold-primary);
}

section h2 {
    font-size: 2.2rem;
    color: var(--gold-primary);
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

/* =========================================
   6. HEROES (Single Row Locked)
   ========================================= */
.heroes-container {
    display: flex;
    flex-wrap: nowrap; /* Forces single row */
    gap: 25px;
    justify-content: space-between;
    overflow-x: auto;
    padding: 20px 0;
}

figure {
    flex: 1;
    min-width: 250px;
    margin: 0;
    position: relative;
    border: 1px solid #333;
    transition: 0.4s ease;
    background: #000;
}

figure img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    filter: grayscale(60%) contrast(120%);
    transition: 0.5s;
}

figcaption {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    padding: 20px;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
}

figure:hover {
    border-color: var(--gold-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    z-index: 5;
}

figure:hover img { filter: grayscale(0%) contrast(110%); }
figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* =========================================
   7. LISTS & INTEL
   ========================================= */
ul, ol { padding-left: 20px; color: #ccc; }
li { margin-bottom: 15px; }

ol li::marker { color: var(--gold-primary); font-size: 1.2rem; font-weight: bold; }
ul li::marker { color: var(--blood-red); }

aside {
    background: rgba(30, 0, 0, 0.4);
    border-left: 3px solid var(--blood-red);
    padding: 20px;
    margin: 20px 0 40px 0;
    font-style: var(--font-header);
}

aside p {
    color: #ffdddd;
    font-size: 1rem;
    font-style: var(--font-header);
}

details {
    background: #111;
    margin-bottom: 15px;
    border: 1px solid #333;
    transition: 0.3s;
    font-style: var(--font-header);
}
details[open] {
    border-color: var(--blood-red);
    box-shadow: 0 0 15px rgba(138, 11, 11, 0.2);
    font-style: var(--font-header);
}
summary {
    padding: 20px; cursor: pointer; color: #fff; background: #1a1a1a;
    list-style: none;
}
summary::after { content: '+'; float: right; color: var(--gold-primary); font-weight: bold; }
details[open] summary::after { content: '-'; }
details p { padding: 20px; color: #bbb; }

/* =========================================
   8. TABLE (Logistics)
   ========================================= */
table {
    width: 100%;
    border-collapse: separate; 
    border-spacing: 0 10px;
    font-style: var(--font-header);
}

thead th {
    text-align: left;
    padding: 20px;
    color: var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    font-size: 1.1rem;
}

tbody tr { background: #151515; transition: 0.2s; }

tbody td {
    padding: 20px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

tbody td:first-child { border-left: 1px solid #333; border-radius: 5px 0 0 5px; color: #fff; font-weight: bold; }
tbody td:last-child { border-right: 1px solid #333; border-radius: 0 5px 5px 0; }

tbody tr:hover {
    background: #202020;
    transform: scale(1.01);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.1);
}

tfoot td {
    text-align: center; padding: 30px;
    font-size: 1.2rem; color: var(--gold-primary);
    text-transform: uppercase; letter-spacing: 3px;
}

/* =========================================
   9. FORM (Fixed Layout)
   ========================================= */
form {
    background: #0f0f0f;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #333;
    box-shadow: inset 0 0 50px #000;
}

form label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-dim);
    font-size: 0.9rem;
    margin-top: 20px;
}

form input[type="text"], form select, form textarea {
    width: 100%;
    background: #050505;
    border: 1px solid #444;
    color: #fff;
    padding: 15px;
    font-family: var(--font-header);
    font-size: 1rem;
    transition: 0.3s;
}

form input:focus, form select:focus, form textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

input[type="radio"] { accent-color: var(--gold-primary); transform: scale(1.2); margin-right: 10px; }
input[type="radio"] + label { display: inline-block; margin-right: 25px; color: #fff; margin-top: 0; cursor: pointer; }

form button {
    width: 100%;
    margin-top: 30px;
    padding: 20px;
    background: transparent;
    border: 2px solid var(--blood-red);
    color: var(--blood-red);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: var(--blood-red);
    color: #fff;
    box-shadow: 0 0 20px var(--blood-red);
}

/* =========================================
   10. FOOTER
   ========================================= */
footer {
    text-align: center;
    padding: 60px;
    border-top: 1px solid #333;
    background: #080808;
}

footer a {
    color: #666;
    text-decoration: none;
    font-family: var(--font-header);
    border: 1px solid #333;
    padding: 10px 20px;
    transition: 0.3s;
}

footer a:hover {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}