/* 
   (HTML/CSS only)
   Base Styles & Reset
*/

:root {
  --background: #1a1515;
  --foreground: #eceae6;
  --card: #262020;
  --card-foreground: #eceae6;
  --primary: #8c2b2b;
  --primary-foreground: #f7f2f2;
  --muted: #332d2d;
  --muted-foreground: #a89f9f;
  --accent: #c7a666;
  --accent-foreground: #29241f;
  --gold: #ccae6b;
  --border: #423a3a;
  --radius: 0.5rem;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.3em; }
.tracking-wider { letter-spacing: 0.1em; }

/* Layout Helpers */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-py { padding: 5rem 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; gap: 1.5rem; }

@media (min-width: 768px) {
  .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

/* Custom Components */
.text-glow-gold {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(204, 174, 107, 0.4);
}

.text-glow-crimson {
  color: #ae4444;
  text-shadow: 0 0 20px rgba(140, 43, 43, 0.5);
}

.arcane-bg {
  background: 
    radial-gradient(60% 50% at 50% 0%, rgba(140, 43, 43, 0.1), transparent 70%),
    radial-gradient(40% 40% at 80% 20%, rgba(204, 174, 107, 0.05), transparent 70%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 20px rgba(140, 43, 43, 0.2);
}

.btn-primary:hover {
  background-color: #a33535;
  box-shadow: 0 0 30px rgba(140, 43, 43, 0.4);
}

.btn-outline {
  border: 1px solid rgba(199, 166, 102, 0.5);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: rgba(199, 166, 102, 0.1);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 21, 21, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(66, 58, 58, 0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--foreground);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--accent);
}

/* Footer */
footer {
  background: rgba(38, 32, 32, 0.3);
  border-top: 1px solid rgba(66, 58, 58, 0.4);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-title {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.footer-list li { margin-bottom: 0.75rem; }
.footer-list a { color: var(--muted-foreground); font-size: 0.875rem; }
.footer-list a:hover { color: var(--accent); }

/* Card Components */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.card:hover {
  border-color: rgba(199, 166, 102, 0.6);
}

.card-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(199, 166, 102, 0.1), rgba(140, 43, 43, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-content { padding: 1.5rem; }

/* Animations */
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-rotate {
  animation: rotate-slow 40s linear infinite;
}

.hero-banner {
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(12, 10, 10, 0.8);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.95;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  border-radius: 24px;
  z-index: 1;
}

.hero-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45));
  border-radius: 24px;
  z-index: 1;
}

.hero-banner > :not(.hero-banner-image):not(.hero-banner-bg) {
  position: relative;
  z-index: 2;
}

.hero-banner-content {
  margin: 0 auto;
  max-width: 820px;
}

.hero-box {
  margin: 1rem auto;
  padding: 1.25rem 1.5rem;
  max-width: 760px;
  background: rgba(20, 18, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  backdrop-filter: blur(14px);
}

.hero-box--small {
  max-width: 520px;
  padding: 0.85rem 1.25rem;
}

.hero-box--center {
  max-width: 400px;
  padding: 1.5rem 1.5rem 0.5rem;
}

.hero-box--title {
  max-width: 640px;
  padding: 1.5rem 1.5rem 0.85rem;
}

.hero-box--text {
  max-width: 640px;
}

.hero-banner > :not(.hero-banner-image):not(.hero-banner-bg) {
  position: relative;
  z-index: 2;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  width: 420px;
  height: 240px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(199, 166, 102, 0.18), transparent 55%);
  opacity: 0.8;
  z-index: 0;
}

.hero-logo {
  width: 320px;
  max-width: 80%;
  height: auto;
  object-fit: contain;
  margin: 1rem auto 0.75rem;
  display: block;
}

@media (max-width: 768px) {
  .hero-logo { width: 240px; }
}

/* Mobile Menu Toggle (Simplified for HTML/CSS only) */
#menu-toggle { display: none; }
.menu-btn { display: block; cursor: pointer; padding: 0.5rem; }
@media (min-width: 768px) { .menu-btn { display: none; } }
