:root {
  font-size: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #fff;
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  background: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.nav-avatar {
  width: 56px;
  height: 56px;
  border-radius: 45%;
  object-fit: cover;
  display: block;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 18px;
  font-weight: 600;
  transition: 0.3s ease;
}

.nav-left a {
	margin: 0 18px;
	display: flex;
	align-items: center;
	height: 56px;
}

.nav-links a:hover {
  color: #7aa2ff;
}

#nowPlayingBanner {
  display: none;
  position: absolute;
  top: 110px;
  left: 20px;
  align-items: center;
  background: #222;
  padding: 12px 20px;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  animation: fadeIn 0.3s ease;
  gap: 12px;
  border-radius: 8px;
  z-index: 1000;
}

#nowPlayingBanner.fade-out {
  animation: fadeOut 0.9s forwards;
}

#nowPlayingBanner img {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  object-fit: cover;
}

.np-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.np-title {
  font-weight: 600;
  font-size: 1rem;
  color: #7aa2ff;
}

.np-track {
  font-size: 0.95rem;
}

.page {
  display: none;
  padding: 50px 20px;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

.page.active {
  display: block;
}

#home p {
  font-size: 1.4rem;
  text-align: left;
  margin-top: 20px;
}

main {
  flex: 1;
  margin-bottom: 60px;
}

.centered-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.social-btn {
  display: block;
  width: 100%;
  max-width: 500px;
  text-align: center;
  padding: 16px 0;
  background: #222;
  border-radius: 10px;
  color: #fff;
  font-size: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
  transition: transform 0.25s ease, background 0.3s ease;
  text-decoration: none;
}

.social-btn:hover {
  background: #333;
  transform: translateY(-2px) scale(1.02);
}

.project-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.project-card {
  display: block;
  width: 100%;
  max-width: 500px;
  padding: 16px;
  background: #222;
  border-radius: 10px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.3s ease;
}

.project-card h2 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.project-card p {
  font-size: 1rem;
  color: #ccc;
}

.project-card:hover {
  background: #333;
  transform: translateY(-2px) scale(1.02);
}

.setting-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 1.2rem;
  margin-top: 30px;
  background: #222;
  border-radius: 10px;
  padding: 14px 18px;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.setting-item:hover {
  background: #333;
  transform: scale(1.02);
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #444;
  border-radius: 28px;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background-color: #7aa2ff;
}

input:checked + .slider:before {
  transform: translateX(24px);
}

#footer {
  background: #111;
  overflow: hidden;
  padding: 12px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.sticker-container {
  white-space: nowrap;
  overflow: hidden;
}

.sticker-track {
  display: inline-flex;
  animation: ticker 60s linear infinite;
}

.sticker-track img {
  width: 88px;
  height: 31px;
  margin-right: 10px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-5px); }
}
