body { margin: 0; background: #121212; font-family: Arimo, sans-serif; font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;}

:root {
  --color-primary: #63f450;
  --color-bg: #5c5c5c;
  --color-bg2: #3e3e3e;
  --color-primary-hover: #8aff77;
  --color-text: #fff;
  --color-text-muted: #e5e5e5;
  --color-error: #ff6c7a;
}
input:focus,
textarea:focus,
button:focus,
select:focus {
  outline: none;
  box-shadow: none;
}


.site-header {
  color: #fff;
  padding-bottom: 16px;
  position: relative;
  z-index: 50;
}
.header-row {
  display: flex;
   margin-top:15px;
  align-items: center;
  justify-content: space-between;
}
.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-icon { display: flex; align-items: center; }
.logo-icon img{ width:32px;height:32px; }
.logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  margin-left: 6px;
  text-shadow: -2px -2px 0px #5c5c5c;
  letter-spacing: 1px;
  text-decoration: none;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* push everything to the right */
  gap: 30px;
  position: relative;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto; /* push nav links to the right side */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link  {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.035em;
  transition: color 0.15s, background 0.15s;
}
.nav-link  span{
vertical-align:middle;
}
.nav-link img
{
vertical-align:middle;
width:28px;
height:28px;
}
.nav-link:hover span {
  cursor:pointer;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
}

.hamburger img
{
width:24px;
height:24px;
vertical-align:middle;
}

.remix-btn {
  background:linear-gradient(221.99deg,#7b45f7 23.57%,#c51bf4 86.24%);
   display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  padding:0px 10px 0 0;
  margin-left: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
.remix-text
{
margin-left:7px;
color: #fff;
 font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.035em;
}
.remix-icon
{
padding:3px 6px;
background: #212121;
display:inline-flex;align-items:center;
}
.remix-icon img
{
width:24px;
height:24px;
}
.login-btn
{
 display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.login-btn img
{
width:24px;
height:24px;
}
.remix-btn:hover { color: #fff; }


.header-searchbar {
 position: sticky;
  top: 0;
  padding:8px 0 8px 0;
  width:100%;
  background: #121212;
  z-index: 40;
 }
.search-form {
  display: flex;
  align-items: center;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  border: none;
  padding: 0 9px;
}
.search-form input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.15rem;
  background: transparent;
  padding: 20px 10px;
  color: #222;
  font-family: inherit;
}
.search-form .search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
}
.header-searchbar .searchbar-flex {
  display: flex;
  align-items: center;
   max-width: 100%;
  margin: 0 auto;
  justify-content: center;
  gap: 0;
  position: relative;
  transition: justify-content 0.25s cubic-bezier(.4,0,.2,1);
}

.searchbar-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  pointer-events: none;
  width: 0;
  margin-right: 0;
  overflow: hidden;
   transform: translateY(-26px);
  transition: 
   transform 0.43s cubic-bezier(.4,0,.2,1),
  opacity 0.43s cubic-bezier(.4,0,.2,1) 0.3s;

}
.searchbar-logo img {
  width: 32px;
  height: 32px;
}

/* When sticky (scrolled), show logo and shrink search */
.header-searchbar.scrolled .searchbar-flex {
  justify-content: flex-start;
  gap: 18px;
}

.header-searchbar.scrolled .searchbar-logo {
  opacity: 1;
  pointer-events: auto;
  width: 39px;
  transform: translateY(0);
}

.header-searchbar.scrolled .search-form {
  width: 100%; /* or 100% minus logo width for full bar effect */
  transition: width 0.25s cubic-bezier(.4,0,.2,1), max-width 0.27s cubic-bezier(.4,0,.2,1);
}

/* At the top: search is full width, logo is hidden */
.search-form {
  width: 100%;
    margin: 0;
  transition: width 0.25s cubic-bezier(.4,0,.2,1), max-width 0.27s cubic-bezier(.4,0,.2,1);
}
#searchbarSentinel
{
height:1px;
}

.login-dropdown {
  position: absolute;
  top: 40px; 
  right: 50px;
  min-width: 200px;
 background: linear-gradient(#181818,#2a2a2a);
  border-radius: 2px;
  border:1px solid #2a2a2a;
  z-index: 1002;
  display: flex;
  flex-direction: column;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35); 
}
.login-dropdown[hidden] { display: none; }
.login-dropdown-item{
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 0 14px 30px;
  color: #fff;
  font-size: 14px;
  font-weight:700;
  letter-spacing:0.035em;
  opacity:0.9;
  text-decoration: none;
  transition: background 0.14s;
}

.login-dropdown-item:hover {
  background: #282828;
    opacity:1;
}

  .floating-bottom-right {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 9999;
}

  .floating-bottom-right a {
  display: inline-block;
  background: #212121;
  color: #f1f1f1;
  font-weight: 500;
  font-size: 13px;
  padding: 10px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.1px;
}
.floating-bottom-right a:hover {
  color: #f8f8f8;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.dropdown-divider {
  height: 1px;
  background: #2e2e2e;
  margin: 4px 0;
}
/* ---------- Responsive: Mobile Layout ---------- */
@media (max-width: 700px) {
 .floating-bottom-right {
  display:none;
  }
  .logo-text,.remix-text
  {
  display:none;
  padding:0;
  margin:0;
  }
  .remix-btn 
  {
    gap: 0px;
    padding:0;
  margin:0;
 background:none;
  }
  .remix-icon img
  {
  padding:0;
  margin:0;
  background:none;
  }
   .remix-icon
  {
  padding:0;
  margin:0;
  background:none;
  }
  .header-nav {
  gap: 20px;
}
     .hamburger { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
     background: linear-gradient(#181818,#2a2a2a);
    position: fixed !important;
    top: 56px; 
    left: 0;
    gap: 0;
    padding:20px 0;
    width: 100%;
    min-height: 100vh;
    z-index: 2000;
    overflow-y: auto;
  }

  .nav-links.open { display: flex; }

  .nav-link {
    display: flex;
    padding: 20px 0 20px 30px;
    font-size: 17px;
    font-weight: 700;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    text-decoration: none;
  }
.nav-link img {
vertical-align:middle;
}
.nav-link span{
vertical-align:middle;
}

  /* keep login & remix fixed in header */
  .header-actions {
  gap:25px;
    margin-left: auto;
  }
  
 .login-dropdown {
   position: fixed !important;
    left: 0; 
   top: 56px; 
   border:none;
   padding:20px 0;
   box-shadow:none;
    min-width: unset;
    min-height:100vh;
    width: 100%;
  }

  .login-dropdown-item {
    justify-content: flex-start;
    padding: 20px 0 20px 35px;
    gap: 0;
    font-size: 16px;
  }  
  .header-searchbar.scrolled .search-form {
    width: 100%;
  }
  .searchbar-logo img { width: 32px; height: 32px; }
  .header-searchbar.scrolled .searchbar-logo { width: 39px;  }
}
