:root {
  --bg-dark: #0a0a0a;
  --glass-bg: rgba(20, 20, 20, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --accent: #e50914; /* Netflix-like red accent or just white */
  --accent-hover: #f40612;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-dark);
  font-family: "Inter", sans-serif;
  color: var(--text-main);
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.glass-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Navbar */
#navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  top: auto; /* Reset top */
  border-top: 1px solid var(--glass-border);
  border-bottom: none;
}

#navbar.hidden {
  transform: translateY(100%);
}

.nav-content {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

.years-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 20px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  max-width: 800px;
}

.years-container::-webkit-scrollbar {
  display: none;
}

.year-link {
  padding: 8px 16px;
  border-radius: 4px; /* Square */
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.year-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.year-link.active {
  color: var(--text-main);
  background: transparent;
  font-weight: 600;
  border-color: var(--text-main); /* Outline */
}

/* Floating Buttons Generic */
.float-btn {
  position: fixed;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000; /* Topmost */
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.float-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Specific Positions */
#floating-info-btn {
  bottom: 85px;
}

#show-nav-btn {
  bottom: 25px;
}

/* Visibility */
.float-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8) translateY(10px);
}

.float-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.actions {
  display: flex;
  align-items: center;
  gap: 15px; /* More gap */
  margin-left: 10px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  display: flex; /* Centering */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Iframe */
.frame-container {
  width: 100%;
  height: 100vh;
  padding-top: 0;
}

#content-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
