:root {
  --primary-gold: #ffd700;
  --secondary-gold: #daa520;
  --dark-brown: #1a0f0a;
  --medium-brown: #2d1810;
  --light-brown: #cd853f;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s ease;
}

@font-face {
  font-family: "WarcraftFont";
  src: url(../font/warcraft.ttf);
}

@font-face {
  font-family: "Noto";
  src: url(../font/noto.ttf);
}


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

html, body {
  min-height: 100vh;   /* Ensure fills screen at least */
  height: auto;        /* Let it grow as needed */
}

body {
  background: linear-gradient(180deg, var(--dark-brown) 0%, var(--medium-brown) 30%, #1f1611 70%, #0f0a08 100%);
  font-family: "Noto", serif;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

/* Optimized background - reduced complexity */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(184, 134, 11, 0.15) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* Optimized particles - reduced count and complexity */
.magical-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-gold);
  border-radius: 50%;
  animation: float-particle 6s infinite linear;
  opacity: 0.6;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10%,
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-50px) scale(1);
    opacity: 0;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 490px);
}

header {
  text-align: center;
  padding: 40px 0 30px 0;
  position: relative;
  background-image: url("../img/TopBanner.jpg");
  text-shadow: 4px 4px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.top-border {
  background-image: url("../img/TopBorder.png");
  background-repeat: repeat-x; /* or repeat-x / repeat */
  width: 100%; /* width of the image */
  height: 25px;
}

.bottom-border {
  background-image: url("../img/BottomBorder.png");
  background-repeat: repeat-x; /* or repeat-x / repeat */
  width: 100%; /* width of the image */
  height: 25px;
}

.title-container {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  user-select: none;
}

.logo {
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 700;
  font-family: "WarcraftFont", serif;
  background: linear-gradient(45deg, var(--primary-gold) 0%, #ffed4a 25%, var(--secondary-gold) 50%, #b8860b 75%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  animation: titleGlow 3s ease-in-out infinite alternate;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 3;
}

.logo::before,
.logo::after {
  content: "⚔️";
  position: absolute;
  top: 50%;
  font-size: 2rem;
  animation: swordFloat 4s ease-in-out infinite;
}

.logo::before {
  left: -60px;
  transform: translateY(-50%) rotate(-45deg);
}

.logo::after {
  right: -60px;
  transform: translateY(-50%) rotate(45deg) scaleX(-1);
  animation-direction: reverse;
}

.subtitle {
  font-size: 2rem;
  color: var(--secondary-LemonChiffon);
  margin-top: -30px;
  margin-bottom: 30px;
  font-style: italic;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-family: "WarcraftFont", serif;
}

/* CTA Section */
.top-cta-section {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
  border-radius: 20px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  padding: 40px;
  margin: 20px 0 60px 0;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.top-cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--primary-gold);
  font-family: "Cinzel", serif;
}

.top-cta-section p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #e0e0e0;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 80px 0;
  align-items: center;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-gold);
  font-family: "Cinzel", serif;
}

.hero-content p {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.game-features {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.25) 0%, rgba(160, 82, 45, 0.15) 100%);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  padding: 40px;
  border: 2px solid rgba(218, 165, 32, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: var(--transition-fast);
}

.game-features:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.game-features h3 {
  color: var(--primary-gold);
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-family: "Cinzel", serif;
}

.game-features ul {
  list-style: none;
  font-size: 1.2rem;
  line-height: 2;
}

/* Screenshot Section */
.screenshot-section {
  margin: 60px 0;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary-gold);
  margin-bottom: 40px;
  font-family: "Cinzel", serif;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.screenshot-placeholder {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.2) 0%, rgba(160, 82, 45, 0.1) 100%);
  border: 2px solid rgba(218, 165, 32, 0.3);
  border-radius: 15px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.screenshot-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);
  border-color: var(--primary-gold);
}

.img-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}

/* Features Section */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.feature-card {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.2) 0%, rgba(160, 82, 45, 0.1) 100%);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid rgba(218, 165, 32, 0.3);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-gold);
  box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.3) 0%, rgba(160, 82, 45, 0.2) 100%);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.feature-card h3 {
  color: var(--primary-gold);
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-family: "Cinzel", serif;
}

/* Buttons */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  padding: 15px 25px;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  font-family: "Cinzel", serif;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-gold), #f39c12);
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
}

.btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

ul ul {
  margin-left: 20px;
}

h5 {
  font-size: 16px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 5px 10px;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.2) 0%, rgba(160, 82, 45, 0.1) 100%);
  border-radius: 6px;
  transform: translateX(-26px);
  margin: 12px 6px;
}

.value-change {
  display: inline-block;
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffd700;
  font-weight: bold;
  font-family: monospace;
  white-space: nowrap;
}

/* Stats Section */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.stat-card {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-gold);
  display: block;
  margin-bottom: 10px;
  font-family: "Cinzel", serif;
}

.stat-label {
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  background-image: url("../img/BottomBanner.jpg");
  margin-top: -10px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  gap: 20px;
}

.social-links a {
  background-color: rgb(51 31 19);
  font-size: 1.5rem;
  transition: var(--transition-fast);
  padding: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.DiscordImg {
  clip-path: circle(50%);
  display: block;
  margin: auto;
  width: 40px;
}

.W3CImg {
  clip-path: circle(50%);
  display: block;
  margin: auto;
  width: 40px;
 } 
 
  .HiveImg {
  clip-path: circle(50%);
  display: block;
  margin: auto;
  width: 40px;
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.1);
}

/* Animations */
@keyframes titleGlow {
  from {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  }
}

@keyframes swordFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(-45deg) translateY(0);
  }
  50% {
    transform: translateY(-50%) rotate(-45deg) translateY(-8px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .logo::before,
  .logo::after {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr;
  }
}

/* Performance optimizations */
.feature-card,
.screenshot-placeholder,
.stat-card,
.btn {
  will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.guide-card {
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guide-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.guide-readmore {
  margin-top: 15px;
  font-weight: bold;
  color: var(--primary-gold);
  text-align: right;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.guide-card:hover .guide-readmore {
  text-decoration: underline;
  filter: brightness(1.2);
}

.guide-content {
  max-width: 800px;
  margin: 60px auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.guide-content h1 {
  color: var(--primary-gold);
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-family: "Cinzel", serif;
}

.guide-content h2 {
  color: var(--primary-gold);
  margin-top: 40px;
  font-size: 1.5rem;
  font-family: "Cinzel", serif;
}

.note-box {
  border-left: 6px solid var(--primary-gold);
  background: rgba(255, 215, 0, 0.1);
  padding: 16px 20px;
  margin: 30px 0;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.note-box-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.note-box-content {
  flex: 1;
}
.guide-cta-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.guide-cta-card-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 215, 0, 0.15); /* golden glow */
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 700px;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.05);
}

.guide-cta-card-v2:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 215, 0, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.guide-cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.guide-cta-icon {
  font-size: 2rem;
}

.guide-cta-text {
  display: flex;
  flex-direction: column;
}

.guide-cta-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0;
}

.guide-cta-subtext {
  font-size: 0.95rem;
  margin: 4px 0 0;
  opacity: 0.85;
}

.guide-cta-chevron {
  font-size: 1.5rem;
  transition: transform 0.2s ease;
  color: rgba(255, 255, 255, 0.8);
}

.guide-cta-card-v2:hover .guide-cta-chevron {
  transform: translateX(5px);
  color: #ffd700;
}

.income-chart-wrapper {
  margin-top: 30px;
  margin-bottom: 60px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 12px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  max-width: 820px;
  overflow: hidden; /* no more scroll */
}

table {
  width:100%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
  border-radius: 20px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  padding: 15px;
}

td {
  vertical-align: top;
}

.cage-guide {
	display: flex;
	justify-content: space-between;
	width: 100%;
	 align-items: flex-start;
}

h1 {
	font-size: 5em;
}

li {
  margin-left: 26px;
}