html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', 'YuGothic', 'Yu Gothic', sans-serif;
  background: #111;
  color: #fff;
  height: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
  z-index: 0;
}

.layout {
  display: flex;
  flex-direction: column;
  height: auto;
  position: relative;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.background-container img,
.background-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 4s ease-in-out, filter 4s ease-in-out;
}

.dot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(black 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: 2;
  opacity: 0.9;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  margin: 0;
  padding: 1rem;
}

.pfp {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  display: block;
}

.xlogo {
  width: 1rem;
  height: 1rem;
  margin-top: 1rem;
  margin-right: 0.5rem;
}

.main {
  padding: 2rem 0;
  padding-top: 130px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 100%;
  position: relative;
  z-index: 0;
}

.update-section {
  display: none;
}

h1 {
  font-size: 2rem;
  margin: 0;
}

.subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0;
  line-height: 1;
  padding-top: 0;
}

.title-wrap {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

button.tab-button {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.1rem 0.8rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  text-align: center;
  z-index: 1;
  transition: color 0.2s ease 0.15s;
}

button.tab-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #fff;
  z-index: 0;
  transition: width 0.1s ease;
  pointer-events: none;
}

button.tab-button:hover::before,
button.tab-button.active::before {
  width: 100%;
}

button.tab-button:hover,
button.tab-button.active {
  color: #000;
}

button.tab-button:hover .label,
button.tab-button.active .label {
  color: #000;
}

button.tab-button .label {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 auto;
  text-align: center;
  color: inherit;
  transition: color 0.2s ease 0.15s;
}

.tab-content {
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: left;
}

.tab-content.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  height: auto;
  overflow: visible;
}

.content-inner {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .content-inner {
    max-width: 100%;
    min-width: 0;
    padding: 0 1.5rem;
    overflow-wrap: break-word;
  }
}

.content-inner>* {
  margin-left: 0 !important;
  padding-left: 0 !important;
  align-self: flex-start;
  text-align: left;
}

.tab-content a {
  color: #8cf;
  text-decoration: none;
}

.tab-content a:hover {
  color: #fff;
  text-decoration: none;
}

.tab-content h2 {
  margin-top: 0;
}

.log-heading {
  margin-top: 0;
  color: #888;
}

.update-note {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #888;
}

.link-list {
  list-style: none;
  padding: 0;
  width: 100%;
  margin-top: 10px;
}

.link-list li {
  margin-bottom: 20px;
}

.link-list a {
  display: block;
  background-color: rgba(189, 184, 201, 0);
  color: #fff;
  text-decoration: none;
  padding: 8px;
  margin: 30px 0;
  border: 1px solid #BDB8C9;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.4s ease;
}

.link-list a:hover {
  background-color: rgba(189, 184, 201, 0.5);
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 0.7rem;
  text-align: center;
  padding: 0.5rem;
  color: #fff;
  background: transparent;
  z-index: 1001;
}

#wpy-title {
  cursor: pointer;
}

.gradient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 0;
}

.header-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  z-index: 10;
  pointer-events: none;
}

.footer-fade {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  z-index: 1000;
  pointer-events: none;
}

