@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-bg: #161616;
    --secondary-bg: #25231f;
    --surface: rgba(255,255,255,0.06);
    --accent: #e2c27b;
    --secondary-accent: #4fa3a5;
    --highlight: #fff1c7;
    --text: #faf7ef;
    --muted: #aaa39a;
    --border: rgba(226,194,123,0.35);
    --hover: rgba(79,163,165,0.75);
    --glow: rgba(226,194,123,0.25);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    background-color: var(--primary-bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url('../images/ancient-royal-textures.jpg');
    background-blend-mode: overlay;
    background-attachment: fixed;
    background-size: cover;
}

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

a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--hover);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Banner - Museum Navigation */
.fixed-top-wrapper {
    position: absolute; /* Changed from fixed so it stays at the top and doesn't scroll with the user */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.top-disclaimer-banner {
    background-color: var(--secondary-bg);
    color: var(--muted);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border);
}

.museum-header {
    width: 100%;
    background: rgba(22, 22, 22, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--highlight);
}

.btn-gold-glass {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--highlight);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 15px var(--glow);
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-gold-glass:hover {
    background: rgba(226,194,123,0.15);
    border-color: var(--accent);
    box-shadow: 0 0 25px var(--accent);
    color: #fff;
}

/* Hero Section */
.hero-exhibition {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(22,22,22,0.3) 0%, rgba(22,22,22,0.95) 90%, var(--primary-bg) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.legal-disclaimer-hero {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: rgba(170, 163, 154, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.8;
}

/* Game Room Section */
.game-room-section {
    padding: 6rem 0;
    background-color: var(--primary-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-header p {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.game-room-frame {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: 0 0 40px var(--glow), inset 0 0 20px rgba(0,0,0,0.5);
    padding: 15px;
    position: relative;
    backdrop-filter: blur(5px);
}

.game-room-frame::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border: 1px solid rgba(226,194,123,0.1);
    border-radius: 30px;
    pointer-events: none;
}

.game-container {
    width: 100%;
    height: 700px;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* About Museum Section */
.about-museum {
    padding: 8rem 0;
    background-color: var(--secondary-bg);
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.about-image img {
    width: 100%;
    display: block;
    filter: sepia(0.2) contrast(1.1);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: 1.1rem;
}

/* Legal Archive */
.legal-archive {
    padding: 10rem 0 6rem;
    background-color: var(--primary-bg);
}

.document-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--secondary-bg);
    padding: 4rem;
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
}

.document-container::after {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px solid rgba(255,255,255,0.03);
    pointer-events: none;
}

.document-container h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.document-container h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--accent);
}

.document-container p, .document-container ul {
    margin-bottom: 1.5rem;
    color: var(--muted);
}

.document-container ul {
    padding-left: 2rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    color: var(--highlight);
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    background: var(--primary-bg);
    border: 1px solid var(--border);
    padding: 1rem;
    color: var(--text);
    font-family: var(--font-body);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--glow);
}

/* Footer - Museum Archive */
.museum-footer {
    background: #0a0a0a;
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links h4 {
    color: var(--highlight);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(226,194,123,0.15);
    padding-top: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
}

.footer-legal-text {
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(170, 163, 154, 0.7);
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real scenario, implement a hamburger menu */
    }
    .game-room-frame {
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 5px;
    }
    .game-container {
        height: 500px;
        border-radius: 0;
    }
    .document-container {
        padding: 2rem;
    }
}