:root {
    --primary-color: #d4af37; /* Gold */
    --secondary-color: #8b0000; /* Dark Red */
    --bg-color: #121212; /* Dark Background */
    --text-color: #e0e0e0; /* Light Text */
    --accent-color: #4a4a4a; /* Gray Accent */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Lora', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    transition: background 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.cta-btn {
    background-color: var(--primary-color);
    color: #000 !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease !important;
}

.cta-btn:hover {
    transform: scale(1.05);
    background-color: #fff !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.tagline {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    font-style: italic;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    transform: translateY(-5px);
    background-color: #fff;
}

.btn.large {
    font-size: 1.2rem;
    padding: 20px 50px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.dark-bg {
    background-color: #1a1a1a;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px;
    font-size: 1.1rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.text-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Info Table */
.table-container {
    background: #222;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--accent-color);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th, .info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--accent-color);
}

.info-table th {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: #222;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--accent-color);
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Image Showcase */
.image-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.showcase-item {
    text-align: center;
}

.showcase-item img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    transition: border-color 0.3s ease;
}

.showcase-item img:hover {
    border-color: var(--primary-color);
}

.caption {
    margin-top: 15px;
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
}

/* Realm Grid */
.realm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.realm-card {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('assets/images/GameMenu-1.png');
    background-size: cover;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--accent-color);
    text-align: center;
}

.realm-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Character List */
.character-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.character-item {
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    background: #222;
}

.character-item h3 {
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('assets/images/GameMenu-1.png');
    background-size: cover;
    background-attachment: fixed;
}

.contact-section p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--accent-color);
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .content-grid, .image-showcase { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
