/* -------------------------------
   IMPORTS & BASE RESET
---------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  background: #0d0d0e;
  color: #eee;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* subtle grain / noise overlay for mood, keep if you have grain.png */
.grain {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('grain.png') repeat;
  opacity: 0.04;
  z-index: 9999;
}

/* -------------------------------
   TYPOGRAPHY & HEADERS
---------------------------------*/
.title, h1, h2 {
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  text-shadow:
    0 0 6px #33f,
    0 0 14px #33f,
    0 0 28px #22ccff;
}

.subtitle {
  font-size: 1.1rem;
  color: #aaa;
  text-shadow: 0 0 4px #33f;
  margin-top: 0.5rem;
}

a {
  color: #22ccff;
  text-decoration: none;
  transition: all 0.25s ease;
}
a:hover, nav a:hover {
  color: #66eaff;
  text-shadow: 0 0 8px #33f, 0 0 16px #22ccff;
}

/* -------------------------------
   LAYOUT: NAV / HEADER / FOOTER
---------------------------------*/
header {
  text-align: center;
  padding: 2rem 1rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

nav a {
  font-weight: bold;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 8px #33f, 0 0 16px #22ccff;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #33f;
  text-shadow: 0 0 6px #33f;
}

/* -------------------------------
   MAIN CONTENT AREA
---------------------------------*/
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.card {
  background: rgba(15, 15, 20, 0.85);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(50, 80, 140, 0.3);
  box-shadow:
    0 0 12px rgba(50, 120, 255, 0.2),
    inset 0 0 8px rgba(30, 100, 255, 0.15);
  transition: box-shadow 0.3s ease;
}
.card:hover {
  box-shadow:
    0 0 20px rgba(50, 140, 255, 0.4),
    inset 0 0 12px rgba(30, 120, 255, 0.25);
}

.section-title {
  font-size: 1.8rem;
  color: #66eaff;
  text-shadow: 0 0 6px #33f, 0 0 14px #22ccff;
  margin-bottom: 0.7rem;
}

.divider {
  text-align: center;
  color: #22ccff;
  font-size: 1.4rem;
  text-shadow: 0 0 6px #33f;
  margin-bottom: 1.2rem;
}

/* -------------------------------
   COIN GRID / ENTRIES (if you use archive layout)
---------------------------------*/
.coin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.coin-entry {
  background: rgba(10, 10, 15, 0.9);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow:
    0 0 10px rgba(40, 120, 255, 0.15),
    inset 0 0 6px rgba(20, 80, 255, 0.1);
}
.coin-entry:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 20px rgba(60, 160, 255, 0.35),
    inset 0 0 12px rgba(30, 120, 255, 0.2);
}

.coin-entry img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 0.4rem;
  box-shadow: 0 0 6px #33f, 0 0 12px #22ccff;
}

.coin-label {
  font-weight: bold;
  color: #66eaff;
  text-shadow: 0 0 6px #33f, 0 0 14px #22ccff;
  margin-bottom: 0.3rem;
}

.coin-description {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 0.6rem;
}

.tag-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.tag {
  font-size: 0.75rem;
  background: rgba(5, 120, 255, 0.1);
  border: 1px solid #22ccff;
  border-radius: 3px;
  padding: 0.2rem 0.5rem;
  color: #22ccff;
  text-shadow: 0 0 4px #33f;
}

/* -------------------------------
   EXTERNAL LINKS / BUTTON‑LIKE LINKS
---------------------------------*/
.external-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 1rem;
  background: rgba(5, 110, 200, 0.15);
  border: 1px solid #22ccff;
  border-radius: 5px;
  color: #22ccff;
  text-shadow: 0 0 4px #33f;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.external-link:hover {
  box-shadow: 0 0 14px #33f, 0 0 28px #22ccff;
  transform: translateY(-2px);
}

/* -------------------------------
   OPTIONAL: For neon‑text headings or special banners
---------------------------------*/
.neon-text {
  color: #fff;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 15px #33f,
    0 0 25px #22ccff,
    0 0 35px #22ccff,
    0 0 45px #22ccff;
  /* optional pulsing animation */
  animation: pulseGlow 2.5s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from {
    text-shadow:
      0 0 5px #fff,
      0 0 10px #fff,
      0 0 15px #33f,
      0 0 25px #22ccff,
      0 0 35px #22ccff,
      0 0 45px #22ccff;
  }
  to {
    text-shadow:
      0 0 8px #fff,
      0 0 16px #fff,
      0 0 20px #33f,
      0 0 30px #22ccff,
      0 0 45px #22ccff,
      0 0 60px #22ccff;
  }
}
