:root {
  --bg-pure-black: #000000;
  --border-dark: #2c3247;
  --border-glow: #565f85;
  --angel-white: #ffffff;
  --angel-dim: #9aa0c2;
  --angel-muted: #4a506b;
  --pink-accent: #e290b2;
  --pink-glow: #ffc2df;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: var(--bg-pure-black);
  color: var(--angel-white);
  font-family: 'Cinzel', serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
.corner-symbol {
  position: fixed;
  font-size: 5.5rem;
  color: rgba(255, 255, 255, 0.25);
  font-family: 'Cinzel Decorative', serif;
  z-index: 10;
  user-select: none;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
  line-height: 1;
  pointer-events: none;
}
.top-left { top: 20px; left: 25px; }
.top-right { top: 20px; right: 25px; }
.bottom-left { bottom: 20px; left: 25px; }
.bottom-right { bottom: 20px; right: 25px; }
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.title-gothic {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 4.2rem;
  letter-spacing: 4px;
  background: linear-gradient(180deg, #ffffff 20%, #8890b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.2);
  margin-bottom: 0.2rem;
}
.sub-title {
  font-size: 0.75rem;
  letter-spacing: 8px;
  color: var(--angel-dim);
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}
.nav-link {
  background: transparent;
  border: none;
  color: var(--angel-dim);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: lowercase;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active {
  color: var(--angel-white);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}
.nav-link.active::after {
  content: '✝';
  position: absolute;
  bottom: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--angel-white);
}
.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.search-box {
  position: relative;
  width: 100%;
  max-width: 450px;
}
.search-box input {
  width: 100%;
  background: #000000;
  border: 1px solid var(--border-dark);
  padding: 0.8rem 1.2rem;
  color: var(--angel-white);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-align: center;
  outline: none;
  transition: all 0.3s ease;
}
.search-box input::placeholder {
  color: var(--angel-muted);
  letter-spacing: 4px;
}
.search-box input:focus {
  border-color: var(--border-glow);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}
.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
}
.split-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-dark) 15%, var(--border-dark) 85%, transparent);
  transform: translateX(-50%);
}
.column-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.column-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  letter-spacing: 4px;
  color: var(--angel-white);
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}
.column-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.card {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}
.card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--border-dark);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card:hover .card-img-wrapper {
  border-color: var(--border-glow);
  box-shadow: -8px -8px 20px -8px var(--border-glow), 8px -8px 20px -8px var(--border-glow), -8px 8px 20px -8px var(--border-glow), 8px 8px 20px -8px var(--border-glow);
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.8;
  filter: grayscale(20%) contrast(105%);
  transition: all 0.5s ease;
  user-select: none;
}
.card:hover .card-img {
  opacity: 1;
  filter: grayscale(0%) contrast(105%);
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 1rem;
  gap: 1.5rem;
}
.card-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
  min-height: 85px;
}
.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--angel-white);
  letter-spacing: 0.3px;
  text-transform: none;
  line-height: 1.35;
}
.card-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--angel-dim);
  line-height: 1.45;
}
.btn-dl {
  white-space: nowrap;
  padding: 0.6rem 1.2rem;
  background: #000000;
  border: 1px solid var(--border-dark);
  color: var(--angel-white);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 3px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-dl:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}
.settings-card, .filter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  padding: 1rem 0;
}
.settings-gif-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 280px;
  margin-bottom: 2.5rem;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.settings-gif-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: contrast(105%);
  user-select: none;
}
.settings-stats, .filter-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 400px;
}
.profile-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-label {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.9rem;
  letter-spacing: 4px;
  color: var(--angel-white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
.profile-link-btn {
  color: var(--pink-accent);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 3px;
  margin: 1.2rem 0;
  transition: all 0.3s ease;
  display: inline-block;
}
.profile-link-btn:hover {
  color: var(--pink-glow);
  text-shadow: 0 0 12px var(--pink-glow);
}
.settings-divider {
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-dark), transparent);
  margin: 0.5rem auto 2rem auto;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
  width: 100%;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--angel-dim);
  text-transform: uppercase;
}
.stat-value {
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--angel-white);
  font-weight: 600;
}
.glow-white {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
.tab-content { 
  display: none; 
  opacity: 0;
  transform: translateY(18px) scale(0.99);
}
.tab-content.active-tab { 
  display: block; 
  animation: tabFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes tabFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.hidden { display: none !important; }
footer {
  text-align: center;
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  color: var(--angel-dim);
  font-size: 0.7rem;
  letter-spacing: 4px;
}
@media (max-width: 900px) {
  .split-container { grid-template-columns: 1fr; gap: 4rem; }
  .split-container::before { display: none; }
  .card-footer { flex-direction: column; align-items: stretch; }
  .card-info { min-height: auto; }
  .btn-dl { text-align: center; }
  .settings-gif-box { height: auto; max-height: 280px; }
}
