:root {
    --gold: #c5a059;
    --black: #050505;
    --accent: #1a1a1a;
}

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

body {
    background-color: var(--black);
    color: white;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    display: flex;
}

/* Introduction Screens */
#splash-screen, #intro-hall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 1s ease;
}

.splash-content, .hall-content {
    text-align: center;
    max-width: 800px;
}

.splash-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 8rem;
    letter-spacing: 20px;
    color: white;
    margin-bottom: 20px;
    animation: fadeInScale 2.5s ease;
}

.splash-content p {
    color: var(--gold);
    letter-spacing: 12px;
    font-size: 1.2rem;
    text-transform: uppercase;
    animation: fadeIn 3.5s ease;
}

.hall-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 30px;
}

.hall-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 50px;
    padding: 0 20px;
}

#enter-btn, #trivia-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 20px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 5px;
    cursor: pointer;
    transition: 0.5s;
    min-width: 350px;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    margin: 0 auto;
}

#trivia-btn {
    margin-top: 20px;
}

#enter-btn:hover, #trivia-btn:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
}

.hidden {
    display: none !important;
}






















/* Animations */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(1.1); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Main Content */


.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid var(--accent);
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 8vw;
    font-weight: 300;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: white;
}

.hero p {
    color: var(--gold);
    letter-spacing: 8px;
    text-transform: uppercase;
    font-size: 14px;
    margin-top: -20px;
}

.section {
    padding: 120px 10%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
    border-bottom: 1px solid #111;
}

.art-frame {
    position: relative;
    padding: 15px;
    background: #000;
    border: 1px solid rgba(197, 160, 89, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
}

.art-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(1) contrast(1.2);
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-frame:hover img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.03);
}

.text-box h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 40px;
    font-weight: 300;
}

.text-box p {
    font-size: 1rem;
    opacity: 0.7;
    line-height: 2;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    text-align: justify;
}

.lore-detail {
    border-left: 1px solid var(--gold);
    padding-left: 20px;
    margin-top: 40px;
}

/* Systems Grid (Player Guide) */
.grid-header {
    padding: 60px 10% 40px;
    text-align: center;
}

.grid-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Reduced gap for more horizontal space */
    padding: 0 10% 80px;
    max-width: 1000px; /* Center and constrain the grid */
    margin: 0 auto;
}

.system-card {
    height: 180px; /* Smallest size yet */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-color: transparent; /* Remove background for cleaner book look */
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    transition: 0.4s ease;
    border: none; /* Remove border if images are book covers */
}

.system-card::before {
    display: none; /* Remove the dark gradient to see full images */
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 10px;
    background: rgba(0,0,0,0.7); /* Small label at bottom */
    text-align: center;
    transition: 0.3s;
}

.card-content span {
    display: none; /* Hide subtitle to keep it tiny */
}

.card-content h3 {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Rulebook Content Layout - Wide Version */
.rulebook-container {
    width: 90%;
    max-width: 1400px;
    margin: 40px auto;
    display: block; /* Remove grid */
}

/* Horizontal Sticky Navigation */
.rule-nav-bar {
    position: sticky;
    top: 70px; /* Below main nav */
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 15px 0;
    z-index: 90;
    margin-bottom: 40px;
}

.rule-nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.rule-nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    transition: 0.3s;
}

.rule-nav-links a:hover {
    color: var(--gold);
    opacity: 1;
}

.rule-content {
    line-height: 1.8;
    width: 100%;
}

.rule-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding-bottom: 15px;
}

.rule-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: white;
    margin: 40px 0 20px;
}

/* D&D Components */
.stat-block {
    background: #1a1510;
    border: 1px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    padding: 25px;
    margin: 40px 0;
    position: relative;
}

.stat-block::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.stat-header h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.stat-header p {
    font-style: italic;
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.dnd-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.9rem;
}

.dnd-table th {
    background: rgba(197, 160, 89, 0.1);
    color: var(--gold);
    text-align: left;
    padding: 12px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dnd-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #222;
}

.dnd-table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

.note-box {
    background: rgba(197, 160, 89, 0.05);
    border-left: 4px solid var(--gold);
    padding: 25px 30px;
    margin: 40px 0;
    font-style: italic;
}

/* Accordion Styles */
.rule-accordion {
    margin-top: 40px;
}

.rule-accordion details {
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    transition: 0.3s;
}

.rule-accordion summary {
    padding: 25px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: white;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.rule-accordion summary::-webkit-details-marker {
    display: none;
}

.rule-accordion summary::after {
    content: '+';
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 300;
    transition: 0.3s transform;
}

.rule-accordion details[open] summary::after {
    transform: rotate(45deg);
}

.rule-accordion summary:hover {
    color: var(--gold);
}

.accordion-content {
    padding: 30px 40px;
    background: rgba(197, 160, 89, 0.03);
    border-left: 2px solid var(--gold);
    margin-bottom: 20px;
}

.accordion-content p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.rule-accordion h2.accordion-intro {
    text-align: center;
    margin-bottom: 30px;
    border: none;
    font-size: 3.5rem;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
    opacity: 0.9;
}

.intro-text p {
    margin-bottom: 25px;
}

/* Video Layout */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 40px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.rule-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(197, 160, 89, 0.1);
    transition: transform 0.3s ease;
}

.die-card, .info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.die-card:hover, .info-card:hover {
    background: rgba(197, 160, 89, 0.05);
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateY(-5px);
}

.die-card h4, .info-card h4 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.advantage, .disadvantage {
    background: rgba(0,0,0,0.2);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid;
}

.advantage { border-left-color: #4CAF50; }
.disadvantage { border-left-color: #f44336; }

.placeholder-image {
    width: 100%;
    height: auto;
    border: 1px solid rgba(197, 160, 89, 0.2);
    margin: 30px 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    aspect-ratio: 16 / 9;
}

.system-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.system-card:hover .card-content {
    padding-bottom: 50px;
}

@media (max-width: 1100px) {




            display: flex;
    }







    .hero h1 {
        font-size: 15vw;
    }

    .hero p {
        font-size: 10px;
        letter-spacing: 4px;
    }

    .section {
        padding: 80px 5%;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .text-box h2 {
        font-size: 2.5rem;
    }

    .splash-content h1 {
        font-size: 4rem;
        letter-spacing: 8px;
    }

    .splash-content p {
        font-size: 0.8rem;
        letter-spacing: 5px;
    }

    /* Grid & Rulebook Adjustments */
    .systems-grid {
        grid-template-columns: repeat(4, 1fr); /* Enforce row layout as requested */
        gap: 10px;
    }

    .system-card {
        height: 250px;
    }

    .grid-header h1 {
        font-size: 2.5rem;
    }

    .rulebook-header h1 {
        font-size: 3rem !important;
    }

    .chapter-nav {
        display: none; /* Hide internal nav on mobile for simplicity, or make it a dropdown */
    }
}

@media (max-width: 600px) {
    .splash-content h1 {
        font-size: 3rem;
    }
    
    #enter-btn, #trivia-btn {
        padding: 15px 30px;
        width: 100%;
        min-width: 0;
    }
}

/* ===== SITE CHROME — same sidebar as /oyuncu-rehberi/ ===== */
html, body { background: #050505; color: white; }
nav { width: clamp(280px, 20vw, 350px); height: 100vh; background: #000; border-right: 1px solid rgba(197, 160, 89, 0.2); padding: 80px 50px; position: fixed; top: 0; left: 0; z-index: 1001; overflow-y: auto; }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold); letter-spacing: 6px; text-transform: uppercase; margin-bottom: 60px; line-height: 1; }
nav a { display: block; text-decoration: none; color: rgba(255,255,255,0.4); font-size: 14px; letter-spacing: 3px; line-height: 1.5; text-transform: uppercase; margin-bottom: 25px; transition: 0.4s; }
nav a:hover, nav a.active { color: var(--gold); transform: translateX(10px); }
main { flex: 1; margin-left: clamp(280px, 20vw, 350px); min-width: 0; letter-spacing: 1px; background: #050505; min-height: 100vh; }
#mobile-toggle { display: none; }

/* Rulebook header + layout (shared by guide pages) */
.rulebook-header { height: 40vh; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 60px 10%; }
.rulebook-header h1 { font-family: 'Cormorant Garamond', serif; font-size: 5rem; color: var(--gold); text-transform: uppercase; font-weight: 300; }
.back-nav a { color: var(--gold); text-decoration: none; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; opacity: 0.8; transition: 0.3s; }
.back-nav a:hover { opacity: 1; }
.content-layout { padding: 60px 10%; }
.rule-content p { margin-bottom: 20px; }

@media (max-width: 1200px) {
    nav { width: 250px; padding: 60px 30px; }
    main { margin-left: 250px; }
}
@media (max-width: 767px) {
    nav { width: 100%; height: 100vh; left: 0; top: -100%; border-right: none; align-items: center; justify-content: center; display: flex; flex-direction: column; text-align: center; background: rgba(0,0,0,0.98); transition: top 0.5s ease; }
    nav.active { top: 0; }
    main { margin-left: 0; }
    #mobile-toggle { display: block; position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: #000; border: 1px solid var(--gold); color: var(--gold); padding: 18px 50px; text-transform: uppercase; letter-spacing: 5px; font-size: 10px; z-index: 1002; cursor: pointer; white-space: nowrap; }
    .rulebook-header { padding: 40px 6%; }
    .rulebook-header h1 { font-size: 2.6rem !important; }
    .content-layout, .content-section { padding: 40px 6% 120px !important; }
    .rulebook-container { width: 92%; padding-bottom: 100px; }
    .rule-nav-links { flex-wrap: wrap; gap: 15px; }
    .content-section p, .intro-text p { text-align: left !important; }
}

/* ===== Recovered WordPress content (sınıflar, yazılar) ===== */
.page-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 4rem); color: var(--gold); font-weight: 300; text-transform: uppercase; letter-spacing: 2px; margin-top: 15px; line-height: 1.1; }
.post-body { max-width: 1000px; margin: 0 auto; line-height: 1.9; }
.post-body p { margin-bottom: 20px; }
.post-body h2, .post-body h3, .post-body h4 { font-family: 'Cormorant Garamond', serif; color: var(--gold); margin: 35px 0 15px; line-height: 1.2; border: none; padding: 0; }
.post-body h2 { font-size: 2.2rem; } .post-body h3 { font-size: 1.7rem; } .post-body h4 { font-size: 1.3rem; }
.post-body img { max-width: 100%; height: auto; display: block; margin: 25px auto; border: 1px solid rgba(197, 160, 89, 0.15); }
.post-body a { color: var(--gold); }
.post-body hr { border: none; border-top: 1px solid rgba(197, 160, 89, 0.2); margin: 25px 0; }
.post-body ul, .post-body ol { margin: 0 0 20px 25px; }
.post-body blockquote { border-left: 2px solid var(--gold); padding: 5px 0 5px 20px; margin: 25px 0; color: rgba(255,255,255,0.8); font-style: italic; }
.post-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.post-body td, .post-body th { border: 1px solid rgba(197, 160, 89, 0.2); padding: 8px 12px; }
.post-body iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; margin: 25px 0; }
.post-date { font-size: 10px; letter-spacing: 4px; color: var(--gold); opacity: 0.7; margin-bottom: 30px; }
.rule-accordion summary .sum-title { display: flex; align-items: center; gap: 22px; }
.rule-accordion summary .class-sym { height: 64px; width: 64px; object-fit: contain; flex-shrink: 0; margin: 0; border: none; display: block; filter: invert(1) sepia(1) saturate(1.8) hue-rotate(-8deg) brightness(0.85); }

.post-list { display: grid; gap: 25px; max-width: 1100px; margin: 0 auto; }
.post-card { display: grid; grid-template-columns: 260px 1fr; text-decoration: none; color: white; border: 1px solid rgba(197, 160, 89, 0.12); background: #000; transition: 0.5s; min-height: 180px; }
.post-card:hover { border-color: var(--gold); transform: translateX(8px); }
.post-thumb { background: #0d0d0d center / cover no-repeat; border-right: 1px solid rgba(197, 160, 89, 0.12); }
.post-card-text { padding: 28px 32px; }
.post-card-text span { font-size: 9px; letter-spacing: 4px; color: var(--gold); opacity: 0.8; }
.post-card-text h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--gold); margin: 10px 0 12px; line-height: 1.2; font-weight: 600; }
.post-card-text p { font-size: 0.85rem; line-height: 1.7; opacity: 0.65; }
@media (max-width: 767px) {
    .post-card { grid-template-columns: 1fr; }
    .post-thumb { height: 170px; border-right: none; border-bottom: 1px solid rgba(197, 160, 89, 0.12); }
    .post-card-text { padding: 22px; }
    .post-body img[style] { float: none !important; }
}
.npc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin: 30px 0; }
.npc-card { margin: 0; text-align: center; }
.npc-card img { margin: 0 auto 12px; border: none; max-width: 220px; width: 100%; }
.npc-card figcaption { font-family: 'Cormorant Garamond', serif; color: var(--gold); font-size: 1.3rem; }
.download-row { display: flex; gap: 15px; flex-wrap: wrap; margin: 30px 0; }
.download-btn { border: 1px solid var(--gold); color: var(--gold) !important; text-decoration: none; padding: 16px 26px; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; transition: 0.4s; }
.download-btn:hover { background: var(--gold); color: #000 !important; }
.pdf-embed { width: 100%; height: 80vh; border: 1px solid rgba(197, 160, 89, 0.2); margin-top: 10px; }
@media (max-width: 767px) { .npc-grid { grid-template-columns: 1fr; } .pdf-embed { height: 60vh; } }

/* ---------- Panteon ve Mitoloji serisi ---------- */
.lore .lore-prayer { border-left: 3px solid var(--gold); margin: 30px 0; padding: 15px 25px; font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-style: italic; color: var(--gold); background: rgba(197,160,89,0.05); }
.lore-facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 25px; margin: 50px 0 30px; padding: 25px 30px; border: 1px solid rgba(197,160,89,0.2); background: rgba(255,255,255,0.02); }
.lore-facts dt { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.lore-facts dd { margin: 0; }
.lore-seen h3 { font-family: 'Cormorant Garamond', serif; color: var(--gold); font-size: 1.4rem; margin-bottom: 10px; }
.lore-series-nav { display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between; margin-top: 50px; padding-top: 25px; border-top: 1px solid rgba(197,160,89,0.2); }
.lore-series-nav a { color: var(--gold); text-decoration: none; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.lore-chapters { display: grid; gap: 15px; margin-bottom: 60px; }
.lore-chapter { display: block; text-decoration: none; color: white; border: 1px solid rgba(197,160,89,0.15); padding: 20px 25px; background: #000; transition: 0.4s; }
.lore-chapter:hover, .lore-god:hover { border-color: var(--gold); transform: translateX(6px); }
.lore-chapter span { font-size: 10px; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; }
.lore-chapter h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--gold); margin: 6px 0; }
.lore-chapter p, .lore-god p { font-size: 0.85rem; opacity: 0.65; margin: 0; line-height: 1.6; text-align: left; }
.lore-group-desc { font-style: italic; opacity: 0.7; }
.lore-realm { font-family: "Cormorant Garamond", serif; color: var(--gold); font-size: 1.3rem; letter-spacing: 3px; text-transform: uppercase; margin: 30px 0 15px; }
.lore-gods { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 15px; margin-bottom: 50px; }
.lore-god { display: block; text-decoration: none; color: white; border: 1px solid rgba(197,160,89,0.15); padding: 18px 20px; background: #000; transition: 0.4s; }
.lore-god h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--gold); margin: 0; }
.lore-god span { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.5; display: block; margin: 4px 0 8px; }
@media (max-width: 600px) { .lore-facts { grid-template-columns: 1fr; gap: 4px; } .lore-facts dd { margin-bottom: 10px; } }
.pantheon-map { width: 100%; height: auto; display: block; margin: 30px 0 50px; border: 1px solid rgba(197,160,89,0.3); }
