* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  height: 100dvh;
  overflow: hidden;
}

@keyframes appFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  animation: appFadeIn 0.08s ease-out;
  transition: opacity 0.08s ease-out;
}

body.fade-out {
  opacity: 0;
}

/* App Header - 56px height, padding 16px */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 16px;
  background-color: #000000;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.header-left,
.header-right {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.header-logo {
  flex: 1;
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  line-height: 32px;
  letter-spacing: 2px;
  user-select: none;
  color: #ffffff;
  transform: translateY(-4px);
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-bottom: 40px;
}

/* About Screen specific styling */
.about-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 24px;
  user-select: none;
  -webkit-user-drag: none;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  text-decoration: none;
  cursor: pointer;
}

.about-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}

.about-arrow {
  margin-left: 8px;
  display: flex;
  align-items: center;
}

/* Footer - Copyright matching AboutScreen */
.app-footer {
  padding-bottom: 24px;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
  flex-shrink: 0;
}

.copyright-text {
  color: #71767b;
  font-size: 13.5px;
  text-align: center;
}

/* Fullscreen Sidebar - 100% width and height, no borders, no dimming */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  border: none;
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(0.1, 0.9, 0.2, 1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  touch-action: pan-y;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  height: 56px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-brand {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.close-btn {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-links {
  flex: 1;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
}

.icon-container {
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.icon-container svg {
  color: #71767b;
}

.link-label {
  color: #71767b;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.1px;
}
