/* if your peeping i got sum planned w dis */
@font-face {
  font-family: "AgencyFB";
  src: url("../fonts/agencyfb_reg.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "AgencyFB";
  src: url("../fonts/agencyfb_bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

:root {
  --bg: #0b0b0b;
  --panel: #121212;
  --accent: #7a3ef2;
  --accent-soft: #b784ff;
  --text: #e0e0e0;
  --subtle: #888;
  --border: #222;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem .5rem 2rem;
  border-bottom: .5px solid var(--border);
}

.header-left h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--accent-soft);
}

.header-left p {
  margin-top: 0.5rem;
  color: var(--subtle);
  font-size: 0.95rem;
}

.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;
  transition: 0.3s;
  border-radius: 28px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background-color: var(--accent);
}

.switch input:checked + .slider::before {
  transform: translateX(24px);
}
.container {
  display: flex;
  justify-content: space-between;
  height: calc(100vh - 160px);
  position: relative;
}

.left {
  width: 40%;
  background: var(--panel);
  border-right: 1px solid var(--border);
  padding: 2rem;
  overflow-y: scroll;
  height: calc(100vh - 160px);
  transition: width 0.4s ease;
}

.right {
  position: fixed;
  top: 160px;
  right: -60%; 
  width: 60%;
  height: calc(100vh - 160px);
  background: var(--bg);
  border-left: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  transition: right 0.4s ease;
  z-index: 5;
}

.right.active {
  right: 0; 
}

body.right-closed .left {
  width: 100%;
  border-right: none;
}

.placeholder {
  max-width: 420px;
  text-align: center;
}

.placeholder h2 {
  color: var(--accent-soft);
}

.toggle-panel {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.top p {
  text-align: left;
  margin-top: 0.5rem;
  color: var(--subtle);
  font-size: 0.95rem;
}


.mode {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.mode span {
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.mode input {
  display: none;
}

.mode input:checked + span {
  color: var(--accent-soft);
}

.mode:hover {
  background: #201a30;
  box-shadow: 0 0 6px #7a3ef250;
}

.menus {
  margin-top: 1rem;
}

.menu-group {
  margin-bottom: 1.25rem;
  border-left: 2px solid #222;
  padding-left: 0.75rem;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--accent-soft);
  font-weight: bold;
  font-size: 1rem;
  margin: 0.5rem 0;
  transition: color 0.2s ease;
}

.menu-header:hover {
  color: var(--accent);
}

.arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}

.menu-content,
.submenu {
  display: none;
  margin-left: 1rem;
  border-left: 1px dashed var(--border);
  padding-left: 1rem;
}

.open {
  display: block;
}

.feature {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--text);
  transition: opacity 0.25s ease;
}

.feature.hidden {
  opacity: 0.2;
}

.left::-webkit-scrollbar {
  width: 8px;
}
.left::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}
.left::-webkit-scrollbar-thumb:hover {
  background: #333;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  text-align: left;
  padding: 1rem 1rem;
  z-index: 10;
}

.footer a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 1rem;
  margin: 0 10px;
  transition: color 0.3s, transform 0.2s;
}

.footer a:hover {
  color: #aa00d4;
  transform: scale(1.05);
}

.footer a:active {
  color: #ff4081;
}

.fade {
  opacity: 1;
  animation: fadeIn 0.6s ease-in-out;
}

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

.fade-in {
    opacity: 1;
}

.fade-out {
    opacity: 0;
}