:root {
  --primary: #ffd700;
  --primary-dark: #b8860b;
  --secondary: #8b0000;
  --dark: #1a0f0f;
  --light: #ffffff;
  --gold-gradient: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  --red-gradient: linear-gradient(135deg, #8b0000 0%, #5c0000 100%);
}

/* Reset & Base */
* {
  margin: 0;    
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--dark);
  color: var(--light);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Logo Styles */
.logo-img {
  display: block;
  width: clamp(150px, 25vw, 300px);
  height: auto;
  aspect-ratio: 3/1;
  object-fit: contain;
  margin: 1rem auto;
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.2));
  animation: float 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

/* Responsive breakpoints for logo */
@media (max-width: 1200px) {
  .logo-img {
    width: clamp(120px, 30vw, 250px);
  }
}

@media (max-width: 992px) {
  .logo-img {
    width: clamp(100px, 35vw, 200px);
  }
}

@media (max-width: 768px) {
  .logo-img {
    width: clamp(80px, 40vw, 180px);
  }
}

@media (max-width: 576px) {
  .logo-img {
    width: clamp(60px, 45vw, 150px);
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--primary);
}

/* Navigation */
.navbar {
  background: rgba(26, 15, 15, 0.95);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  height: 50px;
}

.nav-link {
  color: var(--light) !important;
  font-family: 'Cinzel', serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1.5rem !important;
  position: relative;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(26, 15, 15, 0.8), rgba(26, 15, 15, 0.9)),
              url('../images/medieval-bg.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: url('../images/overlay-pattern.png') repeat;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.logo-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 10px rgba(184, 134, 11, 0.3);
  line-height: 1.2;
}

.medieval-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 10px rgba(184, 134, 11, 0.3);
  line-height: 1.2;
}

.hero-text {
  font-size: 1.25rem;
  color: #e0e0e0;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.medieval-btn {
  position: relative;
  padding: 1rem 2.5rem;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--light);
  background: transparent;
  border: 2px solid var(--primary);
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.medieval-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-gradient);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

.medieval-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.medieval-btn:hover {
  color: var(--dark);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.hero-image {
  position: relative;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Features Section */
.features {
  padding: 100px 0;
  background: linear-gradient(rgba(26, 15, 15, 0.95), rgba(26, 15, 15, 0.95)),
              url('../images/pattern-bg.png') repeat;
}

.feature-card {
  background: rgba(139, 0, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--red-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.feature-card:hover::before {
  opacity: 0.1;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: #e0e0e0;
  position: relative;
  z-index: 1;
}

/* Download Section */
.download-section {
  padding: 100px 0;
  background: linear-gradient(rgba(26, 15, 15, 0.98), rgba(26, 15, 15, 0.98));
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gold-gradient);
}

.download-card {
  background: rgba(26, 15, 15, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

.download-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.download-icon {
  margin-bottom: 1.5rem;
}

.download-icon img {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  padding: 10px;
  background: rgba(255, 215, 0, 0.1);
}

.download-info h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.download-info p {
  color: #e0e0e0;
  margin-bottom: 1.5rem;
}

.btn-download {
  background: var(--red-gradient);
  border: none;
  padding: 0.8rem 2rem;
  color: var(--light);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
  color: var(--light);
}

/* Footer */
.footer {
  background: rgba(26, 15, 15, 0.98);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer p {
  margin: 0;
  color: #e0e0e0;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 991px) {
  .medieval-title {
    font-size: 3.5rem;
  }
  
  .hero {
    text-align: center;
  }
  
  .hero-text {
    margin: 0 auto 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 3rem;
  }
}

@media (max-width: 767px) {
  .medieval-title {
    font-size: 2.5rem;
  }
  
  .navbar-collapse {
    background: rgba(26, 15, 15, 0.98);
    padding: 1rem;
    border-radius: 8px;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
  
  .medieval-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}


/* Animations */
.fade-in {
  animation: fadeIn 1s ease-out;
}

.slide-up {
  animation: slideUp 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} 

  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: rgba(26, 15, 15, 0.95);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
  } 

  