@font-face {
  font-family: "Montserrat Light";
  src: url("fonts/montserrat.woff2") format("woff2"),
       url("fonts/montserrat.ttf") format("truetype");
  font-display: swap;
}

* { box-sizing: border-box; }

@keyframes floatLogo {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat Light", sans-serif;
  color: #fff;
  background-image: url('images/bg.jpg');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ========== HEADER / BANNER ========== */
header {
  width: 100%;
}

#banner {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 65%, rgba(0,0,0,1) 100%),
    url('images/flippedbanner.jpg') center/cover no-repeat;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo img {
  width: 380px;
  max-width: 85vw;
  height: auto;
  animation: floatLogo 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.08);
}

nav {
  width: 100%;
}

#TopBar {
  background: #000;
  padding: 14px 12px;
  border-radius: 0 0 22px 22px;
  position: relative;
  max-width: 100%;
}

#TopBar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #363636 20%, #363636 80%, transparent);
  border-radius: 0 0 22px 22px;
  pointer-events: none;
}

.NavBarText {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 18px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.NavBarText a {
  color: #fff;
  text-decoration: none;
  padding: 2px 4px;
  position: relative;
  transition: color 0.25s ease;
}

.NavBarText a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: #00d900;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.NavBarText a:hover {
  color: #00d900;
}

.NavBarText a:hover::after {
  transform: scaleX(1);
}

.NavBarText span.current {
  color: #00d900;
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: 920px;
  margin: 24px auto 0;
  padding: 0 14px 40px;
}

.content-panel {
  background: #000;
  border: 1px solid #111;
  border-radius: 18px;
  padding: 22px 20px 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  text-align: left;
}

.content-panel h1 {
  text-align: center;
  margin: 0 0 8px;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}

.content-panel hr {
  border: none;
  border-top: 1px solid #222;
  margin: 12px 0 18px;
}

.content-panel p {
  line-height: 1.75;
  margin: 0 0 12px;
  color: #e8e8e8;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
}

.hero-text {
  flex: 1 1 280px;
  min-width: 0;
}



.box-body, .welcome-box, #Body {
  background: #000;
  border: 1px solid #111;
  border-radius: 15px;
  padding: 16px;
  line-height: 1.75;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

#fanartContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  padding: 12px 0 20px;
  max-width: 100%;
}

.fanartBody {
  background: #000;
  border: 1px solid #111;
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fanartBody .art-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #0a0a0a;
}

.fanartBody .art-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.fanartBody hr {
  width: 100%;
  border: none;
  border-top: 1px solid #222;
  margin: 10px 0 6px;
}

.hero-side {
  flex: 0 1 260px;
  text-align: center;
  position: relative;
}

.hero-side .preview-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 2px #222;
  background: #0a0a0a;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.hero-side .preview-wrap:hover {
  box-shadow: 0 0 0 2px #00d900;
  transform: scale(1.03);
}

.hero-side .preview-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.hero-side .preview-wrap .slideshow-hint {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.75);
  color: #00d900;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.hero-side .preview-wrap.sliding .slideshow-hint {
  opacity: 1;
}

a {
  color: #00d900;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ========== FOOTER ========== */
#SocialContainer {
  margin-top: auto;
  width: 100%;
  background: linear-gradient(to bottom, transparent 0%, #000 40%);
  padding: 28px 12px 18px;
  text-align: center;
}

#SocialContainer img {
  vertical-align: middle;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#IconBorders {
  border-radius: 10px;
  box-shadow: 0 0 3px 3px #363636;
}

#IconBorders:hover {
  transform: scale(1.08);
  box-shadow: 0 0 5px 4px #00d900;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  body { background-attachment: scroll; }

  #banner { height: 150px; }
  .logo img { width: 260px; }

  #TopBar {
    padding: 12px 8px;
    border-radius: 0 0 16px 16px;
  }

  .NavBarText {
    gap: 4px 12px;
    font-size: 0.95rem;
  }

  .site-main {
    margin-top: 16px;
    padding: 0 10px 30px;
  }

  .content-panel {
    padding: 16px 14px 22px;
    border-radius: 14px;
  }

  .hero-row {
    flex-direction: column;
    align-items: center;
  }

  .hero-side {
    max-width: 240px;
  }
}

@media (max-width: 480px) {
  #banner { height: 120px; }
  .logo img { width: 200px; }

  .NavBarText {
    font-size: 0.85rem;
    gap: 2px 8px;
  }

  .content-panel h1 { font-size: 1.4rem; }

  #SocialContainer img {
    width: 42px !important;
    height: 42px !important;
  }
}

@media (min-width: 1100px) {
  .site-main { max-width: 980px; }
  #banner { height: 220px; }
  .logo img { width: 420px; }
}


/* ===== About / Credits ===== */
.about-blurb {
  text-align: center;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 28px;
  color: #e0e0e0;
}

.about-blurb p {
  margin: 0 0 14px;
}

.credits-section {
  margin-top: 8px;
}

.credits-section h2 {
  text-align: center;
  color: #00d900;
  font-size: 1.35rem;
  margin: 0 0 16px;
  letter-spacing: 0.06em;
}

.credits-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.credits-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding: 8px 14px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.credits-list li:hover {
  border-color: #00d900;
  background: #0f140f;
}

.credit-name {
  color: #00d900;
  font-weight: 600;
  white-space: nowrap;
}

.credit-roles {
  color: #999;
  font-size: 0.92rem;
}

.credit-roles::before {
  content: "— ";
  color: #444;
}
