@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&family=IM+Fell+English:ital@0;1&display=swap');

:root {
  --bg:        #050005;
  --bg-box:    #0f000f;
  --pink:      #ff2d78;
  --hot-pink:  #ff69b4;
  --deep-pink: #c2185b;
  --neon:      #ff0066;
  --text:      #f0c8e0;
  --muted:     #9b6b8a;
  --visited:   #b060d0;
}

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

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(194, 24, 91, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 45, 120, 0.05) 0%, transparent 45%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 45, 120, 0.013) 2px,
      rgba(255, 45, 120, 0.013) 4px
    );
  color: var(--text);
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 14px;
  line-height: 1.75;
  min-height: 100vh;
}

/* scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #0a000a; }
::-webkit-scrollbar-thumb { background: var(--deep-pink); }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

/* links */
a {
  color: var(--hot-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.1s, text-shadow 0.1s;
}
a:visited { color: var(--visited); }
a:hover {
  color: var(--neon);
  text-shadow: 0 0 8px rgba(255, 0, 102, 0.7);
  text-decoration: none;
}

/* navigation */
#nav {
  background: #080008;
  border-bottom: 2px solid var(--pink);
  box-shadow: 0 0 20px rgba(255, 45, 120, 0.35), inset 0 -1px 0 rgba(255, 45, 120, 0.15);
  text-align: center;
}
#nav table { margin: 0 auto; border-collapse: collapse; }
#nav td { padding: 0; }
#nav a {
  display: inline-block;
  padding: 9px 24px;
  color: var(--hot-pink);
  text-decoration: none;
  font-family: 'IM Fell English', serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-right: 1px solid #2a002a;
  transition: background 0.15s, color 0.15s, text-shadow 0.15s;
}
#nav td:last-child a { border-right: none; }
#nav a:visited { color: var(--hot-pink); }
#nav a:hover {
  background: rgba(255, 45, 120, 0.1);
  color: var(--neon);
  text-shadow: 0 0 10px rgba(255, 0, 102, 0.7);
  text-decoration: none;
}

/* main wrapper */
#wrapper {
  max-width: 740px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

/* headings */
h1.site-title {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 60px;
  color: var(--pink);
  text-align: center;
  letter-spacing: 6px;
  line-height: 1.1;
  margin: 22px 0 8px;
  animation: glimmer 5s ease-in-out infinite;
}
@keyframes glimmer {
  0%, 100% {
    text-shadow: 0 0 18px rgba(255, 45, 120, 0.9), 0 0 36px rgba(255, 45, 120, 0.4), 3px 3px 0 #1a000a;
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 45, 120, 1), 0 0 58px rgba(255, 105, 180, 0.6), 3px 3px 0 #1a000a;
  }
}

h1.page-title {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 44px;
  color: var(--pink);
  text-align: center;
  letter-spacing: 4px;
  margin: 22px 0 8px;
  text-shadow: 0 0 20px rgba(255, 45, 120, 0.7), 2px 2px 0 #1a000a;
}

h2 {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 28px;
  color: var(--hot-pink);
  letter-spacing: 2px;
  margin: 20px 0 10px;
  text-shadow: 0 0 10px rgba(255, 105, 180, 0.45);
}

h3 {
  font-family: 'IM Fell English', serif;
  font-size: 15px;
  color: var(--pink);
  font-style: italic;
  letter-spacing: 1px;
  margin: 14px 0 5px;
}

.subtitle {
  text-align: center;
  font-style: italic;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

/* sparkle divider */
.sparkle {
  text-align: center;
  color: var(--pink);
  font-size: 15px;
  letter-spacing: 8px;
  margin: 18px 0;
  text-shadow: 0 0 8px rgba(255, 45, 120, 0.55);
  user-select: none;
}

hr {
  border: none;
  border-top: 1px solid #3a003a;
  margin: 14px 0;
  box-shadow: 0 0 5px rgba(255, 45, 120, 0.2);
}

/* marquee strip */
.marquee-strip {
  background: #080008;
  border-top: 1px solid #2a002a;
  border-bottom: 1px solid #2a002a;
  padding: 5px 0;
  margin: 0;
}
.marquee-strip marquee {
  color: var(--hot-pink);
  font-size: 12px;
  letter-spacing: 3px;
}

/* content box */
.box {
  background: var(--bg-box);
  border: 2px solid var(--deep-pink);
  box-shadow: inset 0 0 24px rgba(194, 24, 91, 0.07), 0 0 14px rgba(194, 24, 91, 0.15);
  padding: 18px 22px;
  margin: 14px 0;
  position: relative;
}
.box::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dotted rgba(255, 45, 120, 0.22);
  pointer-events: none;
}

/* visitor counter */
.counter {
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 3px;
  margin-top: 8px;
}
.counter span {
  color: var(--hot-pink);
  font-size: 14px;
  font-weight: bold;
}

/* info table (about page) */
table.info-table {
  border-collapse: collapse;
  width: 100%;
  margin: 8px 0 12px;
  font-size: 13px;
}
table.info-table td {
  border: 1px solid #2a002a;
  padding: 7px 12px;
  vertical-align: top;
}
table.info-table td.label {
  color: var(--hot-pink);
  font-style: italic;
  width: 120px;
  background: rgba(194, 24, 91, 0.1);
  white-space: nowrap;
}

/* gothic list */
ul.gothic-list {
  list-style: none;
  padding-left: 0;
  margin: 6px 0;
}
ul.gothic-list li {
  padding: 3px 0 3px 22px;
  position: relative;
}
ul.gothic-list li::before {
  content: "✦";
  color: var(--pink);
  position: absolute;
  left: 0;
  text-shadow: 0 0 6px rgba(255, 45, 120, 0.5);
}

/* text art card */
.card-art {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
  padding: 12px 16px;
  border: 1px solid #3a003a;
  background: #060010;
  box-shadow: 0 0 14px rgba(194, 24, 91, 0.2), inset 0 0 10px rgba(194, 24, 91, 0.05);
  margin: 12px auto;
  max-width: 310px;
}
.card-art .c-name {
  color: var(--pink);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.card-art .c-mana {
  color: var(--muted);
  float: right;
}
.card-art .c-type {
  color: var(--hot-pink);
  font-size: 10px;
  border-bottom: 1px solid #2a002a;
  padding-bottom: 6px;
  margin-bottom: 6px;
  clear: both;
}
.card-art .c-text {
  color: #d0aac0;
  font-size: 10px;
  line-height: 1.5;
}
.card-art .c-flavor {
  color: var(--muted);
  font-style: italic;
  font-size: 10px;
  border-top: 1px solid #2a002a;
  margin-top: 8px;
  padding-top: 6px;
}
.card-art .c-loyalty {
  color: var(--hot-pink);
  text-align: right;
  font-size: 12px;
  font-weight: bold;
  margin-top: 4px;
}

/* deck entries */
.deck { margin: 12px 0; }
.deck-name {
  color: var(--pink);
  font-style: italic;
  font-size: 14px;
  margin-bottom: 4px;
}

/* last updated / footer */
.last-updated {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  font-style: italic;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid #1a001a;
}

.site-footer { text-align: center; margin-top: 20px; }
