:root {
  --colors-bg-primary: #2b2e34;
  --colors-bg-gradient-warm: #3a2c3d;
  --colors-bg-gradient-cool: #243942;
  --colors-text-primary: #ffffff;
  --colors-text-secondary: #c5cbd3;
  --colors-accent-primary: #5865f2;
  --colors-accent-hover: #4752c4;
  --colors-success: #10b981;
  --colors-glass-bg: rgba(35, 37, 42, 0.72);
  --colors-glass-blur: 16px;
  --typography-font-main: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --typography-font-mono: "JetBrains Mono", "Cascadia Code", "Fira Code", monospace;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--typography-font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: linear-gradient(135deg, var(--colors-bg-gradient-warm) 0%, var(--colors-bg-primary) 50%, var(--colors-bg-gradient-cool) 100%);
  background-attachment: fixed;
  color: var(--colors-text-primary);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 95%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.logo {
  width: 80px;
  height: 80px;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.68rem;
  background-color: var(--colors-success);
  color: #ffffff;
  padding: 0.74rem 1.7rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  margin: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.btn:hover {
  transform: translateY(-2px);
  background-color: #0ea371;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.btn-secondary {
  background-color: var(--colors-accent-primary);
  color: var(--colors-text-primary);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.btn-secondary:hover {
  background-color: var(--colors-accent-hover);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.24);
}

.site-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--colors-text-secondary);
  width: 100%;
}

.site-footer-license {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.provenance {
  font-style: normal;
  opacity: 0.8;
  font-weight: 500;
  color: var(--colors-text-primary);
  margin: 1rem 0 0.2rem 0;
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  background: #000;
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}

@media (max-width: 600px) {
  body.centered-page {
    justify-content: flex-start;
  }

  .container {
    padding: 2rem 1rem;
  }
}
