/* ==========================================
   CASHMASH WIKI STYLE
   Matches main style.css perfectly
   ========================================== */

/* GLOBAL */
:root {
  --gold: #f5c542;
  --gold-light: #ffdb6e;
  --text-light: #fff;
  --text-dim: #bbb;
  --bg-dark: #000;
}

/* UNIVERSAL STYLING */
body {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
}

/* ==========================================
   WIKI HERO
   ========================================== */
.wiki-hero {
  position: relative;
  padding: 140px 20px 120px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(245,197,66,0.12), transparent 75%),
              linear-gradient(to bottom, #020617 0%, #000 100%);
  overflow: hidden;
}

.wiki-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('/images/glow-pattern.png');
  background-size: cover;
  opacity: 0.06;
  z-index: 0;
}

.wiki-hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease forwards;
}

.wiki-hero-content h1 {
  font-size: 3em;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(245,197,66,0.3);
}

.wiki-hero-content h1 span {
  color: var(--gold);
  animation: goldGlow 3s infinite ease-in-out;
}

.wiki-hero-content p {
  margin: 18px auto 0px;
  max-width: 650px;
  color: var(--text-dim);
  font-size: 1.15em;
  line-height: 1.6;
}

/* ==========================================
   WIKI GRID SECTION
   ========================================== */
.wiki-section {
  padding: 90px 20px 120px;
  background: var(--bg-dark);
  position: relative;
}

.wiki-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(245,197,66,0.06), transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}

.wiki-grid {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  gap: 35px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Cards */
.wiki-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 32px;
  text-decoration: none;
  color: var(--text-light);
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}

.wiki-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245,197,66,0.16), transparent);
  transition: 0.8s ease;
}

.wiki-card:hover::after {
  left: 100%;
}

.wiki-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(245,197,66,0.25);
}

.wiki-card-icon {
  font-size: 38px;
  margin-bottom: 15px;
  color: var(--gold);
  text-shadow: 0 0 15px rgba(245,197,66,0.35);
}

.wiki-card h2 {
  font-size: 1.45em;
  color: var(--gold);
  margin-bottom: 10px;
}

.wiki-card p {
  color: var(--text-dim);
  font-size: 0.95em;
  line-height: 1.55;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes goldGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(245,197,66,0.4); }
  50% { text-shadow: 0 0 25px rgba(245,197,66,0.9); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  .wiki-hero-content h1 {
    font-size: 2.2em;
  }
  .wiki-hero-content p {
    font-size: 1em;
  }
}
