/* --- MEDIEVAL & ELDRITCH VARIABLES --- */
:root {
    --bg-dark: #0d0d0d;        /* Deep abyss black */
    --iron: #2b2b2b;          /* Cold iron gray */
    --gold-leaf: #b8860b;      /* Aged gold for the Divine */
    --blood: #660000;         /* Dark dried blood for the Reincarnated */
    --parchment: #d4c4a8;     /* Faded paper color for text */
    --card-bg: #141414;       /* Slightly lighter than BG for depth */
}

/* --- BASE STYLES --- */
* { box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--parchment);
    font-family: 'EB Garamond', serif;
    margin: 0;
    line-height: 1.7;
    /* This adds a subtle "stone/paper" texture feel to the background */
    background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
}

h1, h2, h3, .logo {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
}

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: rgba(13, 13, 13, 0.95);
    border-bottom: 2px solid var(--gold-leaf);
    /* Dual border for a "regal" look */
    box-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.logo {
    color: var(--gold-leaf);
    font-size: 1.6rem;
    text-shadow: 2px 2px 4px #000;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 10px 0 0 0;
}

.nav-links a {
    color: var(--parchment);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: 0.4s;
}

.nav-links a:hover {
    color: var(--gold-leaf);
    letter-spacing: 2px; /* Subtle movement on hover */
}

/* --- HERO SECTION --- */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    /* Replace with a screenshot of your most epic castle or god-boss */
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), var(--bg-dark)), 
                url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?q=80&w=2000');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 15px var(--blood), 0 0 30px #000;
}

.hero p {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--parchment);
}

/* --- THE CARDS (GRID) --- */
.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border: 1px solid var(--iron);
    /* Decorative "Medieval" corners */
    position: relative;
    transition: all 0.5s ease;
}

.card:hover {
    border-color: var(--gold-leaf);
    box-shadow: inset 0 0 20px rgba(184, 134, 11, 0.1), 0 10px 30px rgba(0,0,0,0.7);
}

.card h3 {
    color: var(--gold-leaf);
    border-bottom: 1px solid var(--blood);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* --- THE BUTTON --- */
.btn {
    display: inline-block;
    padding: 18px 45px;
    color: var(--gold-leaf);
    background: transparent;
    border: 1px solid var(--gold-leaf);
    text-decoration: none;
    font-family: 'MedievalSharp', cursive;
    font-size: 1.1rem;
    margin-top: 30px;
    transition: 0.5s;
    /* Give it a slightly worn look */
    box-shadow: 3px 3px 0px var(--blood);
}

.btn:hover {
    background: var(--gold-leaf);
    color: #000;
    box-shadow: 0 0 25px rgba(184, 134, 11, 0.5);
    transform: translateY(-2px);
}

/* --- RESPONSIVE DESKTOP --- */
@media (min-width: 768px) {
    .navbar { 
        flex-direction: row; 
        justify-content: space-between; 
        padding: 30px 100px; 
    }
    
    .hero h1 { font-size: 6rem; }

    .grid-container { 
        grid-template-columns: repeat(3, 1fr); 
        padding: 80px 100px; 
    }
}

footer {
    text-align: center;
    padding: 60px;
    border-top: 1px solid var(--iron);
    color: #444;
    }
