/* IW2 Azeroth Theme - Custom CSS Override */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Rajdhani:wght@400;600;700&display=swap');

/* Global dark theme override */
:root {
  --color-body: #0d0015 !important;
  --color-box-body: rgba(17, 5, 35, 0.95) !important;
  --color-primary: #8b5cf6 !important;
  --color-primary-dark-1: #7c3aed !important;
  --color-secondary: #fbbf24 !important;
}

/* Home page specific */
body.home {
  background: radial-gradient(ellipse at center, #1a0a2e 0%, #0d0015 50%, #000000 100%) !important;
  min-height: 100vh;
}

/* Animated particles overlay */
body.home::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #8b5cf6, transparent),
    radial-gradient(2px 2px at 40px 70px, #6366f1, transparent),
    radial-gradient(2px 2px at 50px 160px, #a78bfa, transparent),
    radial-gradient(2px 2px at 90px 40px, #8b5cf6, transparent),
    radial-gradient(2px 2px at 130px 80px, #6366f1, transparent),
    radial-gradient(2px 2px at 160px 120px, #a78bfa, transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: sparkle 4s ease-in-out infinite;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Magic glow overlay */
body.home::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(217, 70, 239, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body.home .full.height {
  position: relative;
  z-index: 1;
}

/* Hero section styling */
body.home .hero {
  padding: 4rem 0 !important;
  text-align: center;
}

body.home .hero h1,
body.home .hero .title {
  font-family: 'Cinzel', serif !important;
  font-size: 4em !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #c4b5fd 0%, #e879f9 50%, #fbbf24 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-shadow: none !important;
  letter-spacing: 0.05em;
}

body.home .hero h2 {
  font-family: 'Rajdhani', sans-serif !important;
  color: #a78bfa !important;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 1.3em !important;
}

/* Logo styling */
body.home .hero img.logo,
body.home .hero .logo img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  box-shadow:
    0 0 30px rgba(139, 92, 246, 0.6),
    0 0 60px rgba(99, 102, 241, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
  animation: pulse-glow 3s infinite ease-in-out;
  padding: 15px !important;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%) !important;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), 0 0 60px rgba(99, 102, 246, 0.3); }
  50% { box-shadow: 0 0 50px rgba(139, 92, 246, 0.8), 0 0 100px rgba(99, 102, 246, 0.5); }
}

/* Feature cards */
body.home .hero-card,
body.home .stackable.grid > .column > div {
  background: rgba(17, 5, 35, 0.9) !important;
  border: 1px solid rgba(139, 92, 246, 0.4) !important;
  border-radius: 12px !important;
  padding: 2em !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px);
}

body.home .hero-card:hover,
body.home .stackable.grid > .column > div:hover {
  border-color: #8b5cf6 !important;
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4), 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

body.home .hero-card h2,
body.home .stackable.grid h2 {
  font-family: 'Cinzel', serif !important;
  color: #e879f9 !important;
  font-size: 1.2em !important;
}

body.home .hero-card p,
body.home .stackable.grid p {
  font-family: 'Rajdhani', sans-serif !important;
  color: #a78bfa !important;
}

/* Buttons */
body.home .ui.button,
body.home a.button {
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

body.home .ui.primary.button {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
  border: 2px solid #8b5cf6 !important;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4) !important;
}

body.home .ui.primary.button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.6), 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

body.home .ui.secondary.button,
body.home .ui.basic.button {
  background: transparent !important;
  border: 2px solid #fbbf24 !important;
  color: #fbbf24 !important;
}

body.home .ui.secondary.button:hover,
body.home .ui.basic.button:hover {
  background: rgba(251, 191, 36, 0.15) !important;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.3) !important;
}

/* Navbar on home */
body.home #navbar {
  background: rgba(13, 0, 21, 0.9) !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.3) !important;
  backdrop-filter: blur(10px);
}

body.home #navbar a {
  color: #c4b5fd !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 600 !important;
}

body.home #navbar a:hover {
  color: #fbbf24 !important;
}

/* Footer */
body.home .page-footer,
body.home footer {
  background: transparent !important;
  border-top: 1px solid rgba(139, 92, 246, 0.2) !important;
  color: #6b21a8 !important;
}

body.home .page-footer a,
body.home footer a {
  color: #a78bfa !important;
}

/* Icons */
body.home .octicon {
  color: #8b5cf6 !important;
}

/* Page content wrapper */
body.home .page-content {
  position: relative;
  z-index: 1;
}
