* {
  box-sizing: border-box;
}
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #ebe9e5e8;
  --main-bg: #f7f7f7;
  --desc-bg: #fcdab9;
  --color: #333;
  --header-bg: rgba(255, 255, 255, 0.7);
  --header-color: linear-gradient(90deg, orange, orangered);
  --icon-color: #0d0d0d;
  --shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  --preloader-bg: linear-gradient(135deg, #fffdfd, #d6d5d4);
  --infoNote-bg: #ff4500;
  --infoNote-color: #fff3cd;
  --filter: blur(20px) brightness(90%);
  --bottomNav-color: #e3e3e3;
  --active-color: #ff4500;
  --padding: 10px;
  --font-size: 1rem;
  --radius: 8px;
  --btn-bg: #ff6a00;
  --link-color: #ff7300;
  --link-color-hover: #f59f1d;
}
body.darkMode {
  --link-color: #f59f1d;
  --link-color-hover: #ff7300;
  --desc-bg: #44321f;
  --bg: #1e1e1e;
  --main-bg: #1e1e1e;
  --color: #ffffff;
  --header-bg: rgba(0, 0, 0, 0.7);
  --shadow: 0 0 10px 0 rgb(0, 0, 0);
  --preloader-bg: linear-gradient(135deg, #0d0d0d, #1e1e1e);
  --infoNote-bg: #fff3cd;
  --infoNote-color: #ff4500;
  --filter: blur(60px) brightness(60%);
  --bottomNav-color: #1e1e1e;
  --active-color: #ffff00;
  --icon-color: #ffffff;
  --toast-color-success: green;
  --toast-color-error: #ff4500;
}

html,
body {
  scroll-behavior: smooth;
  padding: 0;
  margin: 0;
}
body {
  transition:
    background-color 0.9s ease,
    color 0.9s ease-in-out;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Push footer to the bottom */
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: var(--color);
  line-height: 1.6;
  font-size: var(--font-size);
}

::selection {
  background-color: #ff6a00;
  color: #ffffff;
}
/* Custom scrollbar for dark theme */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #333;

  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f97316;
}

/*PRELOADER*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--preloader-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: all 0.5s ease;
}
#preloader .logo {
  animation: slideIn 4s ease;
}
@keyframes slideIn {
  from {
    transform: translateX(-100px);
  }
  to {
    transform: translateX(0);
  }
}
.tt-sizzle-loader {
  position: relative;
  width: 60px;
  height: 40px;
}

.tt-sizzle-loader span {
  position: absolute;
  bottom: 0;
  width: 6px;
  height: 6px;
  background: #ff6b35;
  border-radius: 50%;
  animation: sizzle 0.9s infinite ease-out;
  opacity: 0;
}

.tt-sizzle-loader span:nth-child(1) {
  left: 5px;
  animation-delay: 0s;
}
.tt-sizzle-loader span:nth-child(2) {
  left: 20px;
  animation-delay: 0.15s;
}
.tt-sizzle-loader span:nth-child(3) {
  left: 35px;
  animation-delay: 0.3s;
}
.tt-sizzle-loader span:nth-child(4) {
  left: 50px;
  animation-delay: 0.45s;
}

@keyframes sizzle {
  0% {
    transform: translateY(0) scale(0.6);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(-25px) scale(1);
    opacity: 0;
  }
}

/*HEADER STYLE*/
header {
  display: flex;
  background: var(--header-bg);
  padding: 0 var(--padding);
  position: sticky;
  backdrop-filter: blur(5px);
  top: 10px;
  z-index: 1000;
  margin: 0 auto;
  border-radius: 50px;
  height: 50px;
  max-width: 1200px;
  width: 100%;
  max-height: 95px;
}
header .logo {
  background: var(--header-color);
  background-clip: text;
  color: transparent;
}
.logo {
  font-weight: 600;
  margin: 3px 10px 2px 5px;
  font-size: 1.5rem;
  color: var(--color);
}
/*MAIN ELEMENT*/
main {
  flex: 1;
  animation: slideup 1s ease;
  max-width: 1400px;
  width: 100%;
  overflow-x: hidden;
  margin: 20px auto 70px;
  padding: calc(var(--padding) * 2);
  background-color: var(--main-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
#toast {
  visibility: hidden; /* Hidden by default */
  min-width: 250px;
  margin: 0 auto;
  backdrop-filter: var(--filter);
  color: var(--toast-color-success);
  text-align: center;
  border-radius: 5px;
  padding: 16px;
  position: fixed;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  font-size: 16px;
  opacity: 0;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}

/* Show the toast */
#toast.show {
  visibility: visible;
  opacity: 1;
}
#toast.error {
  visibility: visible;
  opacity: 1;
  color: var(--toast-color-error);
}
.infoNote a {
  text-decoration: underline;
  color: #ff9900;
  font-weight: 900;
}
.infoNote {
  text-align: center;
  background-color: var(--infoNote-bg);
  color: var(--infoNote-color);
  padding: 10px;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 1rem;
}
/*LOADER ANIMATION*/
.loadBar {
  background: rgba(255, 217, 111, 0.9);
  width: 190px;
  height: 4px;
  overflow-x: hidden;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}
.loadLine,
.loadBar {
  border-radius: calc(var(--radius) / 2);
}
.loadLine {
  background: #ff4500;
  height: 4px;
  width: 100px;
  animation: movingLine 0.9s alternate infinite;
}
@keyframes movingLine {
  from {
    transform: translateX(-100px);
    width: 20px;
  }
  to {
    transform: translateX(200px);
  }
}
/*SLIDEUP AND FADEIN ANIMATION FOR MAIN ELEMENT*/
@keyframes slideup {
  from {
    opacity: 0;
    margin: 100px auto;
  }
  to {
    opacity: 1;
    margin: 20px auto;
  }
}
a {
  transition: 0.4s;
  text-decoration: none;
  color: var(--link-color);
}

a:hover {
  color: var(--link-color-hover);
  text-decoration: underline;
}
.upperNavContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}
/*USER PROFILE LINK*/
a.userProfileLink {
  width: 60px;
  height: 60px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/*USER PROFILE IMAGE STYLE*/
a .profileImg {
  width: 50px;
  height: 50px;
  margin-top: 4px;
}
a.userProfileLink span {
  color: var(--color);
  font-size: clamp(0.6rem, 2vw, 10%);
  margin: 0;
}

.social-icons a {
  color: var(--color);
  font-size: 28px;
  margin: 0 12px;
  text-decoration: none;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: var(--header-bg);
}

#bottomNavContainer {
  display: none;
}
@media (max-width: 394px) {
  a.toastNavLink {
    display: none;
  }
  #bottomNavContainer {
    display: flex;
    align-self: center;
    margin: 0 auto;
    position: sticky;
    z-index: 9;
    bottom: -1px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px calc(var(--padding) * 2);
    flex-wrap: wrap;
    background-color: var(--bottomNav-color);
    border-radius: var(--radius) var(--radius) 0 0;
    animation: slideIn 1s ease;
  }
  #bottomNavContainer a {
    width: calc(var(--font-size) * 2);
    height: 100%;
    color: var(--icon-color);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
  }
  #bottomNavContainer a svg {
    margin: 0;
    padding: 0;
  }

  #bottomNavContainer a:hover {
    opacity: 0.8;
    border-top: 1px solid;
    text-decoration: none;
    transform: translateY(-1px);
  }

  #bottomNavContainer a.active {
    color: var(--active-color);
    padding: 4px;
    transform: scale(1.09);
    border-top: 1px solid;
  }
  #bottomNavContainer a[href*="favs"] svg {
    transform: scale(0.9);
  }
  #bottomNavContainer a[href*="videos"] svg {
    margin: 3px 3px 0 0;
  }
  #bottomNavContainer span {
    font-size: 0.6rem;
    font-weight: 600;
  }
}

#otherAppsIcon {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  width: 28px;
  height: 28px;
  gap: 4px;
  position: absolute;
  left: 15px;
  bottom: 15px;
  z-index: 99999;
}

#FromScybud {
  left: 40px;
  bottom: 30px;
  padding: 0;
  transition: all 0.7s ease;
  text-align: center;
}
#scybudApps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  text-align: center;
}
#scybudApps a {
  text-decoration: none;
  border: none;
  border-radius: 20px;
}
#scybudApps .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#scybudApps a span {
  margin-top: 5px;
  color: #ffffff;
  font-weight: 600;
  font-size: calc(var(--font-size) / 1.5);
}
#scybudApps .container img {
  border-radius: 20px;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
#scybudApps img:hover {
  transform: scale(1.06);
}
.mayHide.hideSection {
  display: none;
}
.popupModal {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 5px;
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100dvh;
}
.feedbackPopupModal {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 5px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 600px;
}
.modalContentContainer {
  color: var(--color);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 4px 30px;
  border-radius: 8px;
  background: var(--main-bg);
  border: 2px solid var(--btn-bg);
  backdrop-filter: blur(100px) brightness(60%);
}
.feedbackModalContentContainer {
  color: var(--color);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 4px 30px;
  border-radius: 8px;
  background: var(--main-bg);
  border: 2px solid var(--btn-bg);
  backdrop-filter: blur(100px) brightness(60%);
}
.modalContentContainer h2,
p {
  color: var(--color);
}
.feedbackModalContentContainer h2,
.feedbackModalContentContainer p {
  color: var(--color);
  margin: 2px;
}
.closeModal {
  position: absolute;
  cursor: pointer;
  right: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg);
}
.closeModal:hover {
  opacity: 0.8;
}
.closeModal svg {
  width: 40px;
  height: 40px;
}
.loginBtn {
  border: none;
  padding: 14px;
  width: 100%;
  text-align: center;
  color: var(--color);
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  margin: 10px auto;
  min-width: 40%;
  background: none;
  border: 2px solid var(--btn-bg);
  text-decoration: none;
}

.loginBtn:hover {
  background: var(--btn-bg);
  color: var(--color);
  text-decoration: none;
}

.upperFooter {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer svg {
  color: beige;
  padding: 4px;
  width: 40px;
  height: 40px;
  transition: all 0.6s ease;
}
footer svg:hover {
  fill: var(--link-color-hover);
}
footer {
  text-align: center;
  color: #ffffff;
  border-top: 1px solid #e5e5e5;
  padding-top: 1.5rem;
  box-shadow: var(--shadow);
  background-color: black;
}
footer p {
  color: #ffffff;
}

.footerContainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  gap: 10px;
  margin: 0 5px 15px;
  max-height: 100%;
  text-align: left;
  justify-content: center;
}
.footerMiddleContainer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: 10px 0;
  padding: 0 20px;
}
.footerLinks {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}
.footerSectionHeader {
  font-size: 0.9rem;
  font-weight: 700;
}
.trustpilot-widget {
  max-height: 52px;
  max-width: fit-content;
  overflow: hidden;
  margin: 0;
}
@media (max-width: 500px) {
  .footerContainer {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }
}

/*NEWS LETTER INPUT FIELD STYLE*/
.newsletter-box {
  padding: 1.5rem;
  border-radius: 10px;
  background: rgb(24, 24, 24);
  border: 1px solid #e5e5e5;
}

.newsletter-label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.newsletter-input-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

#newsletterEmail {
  min-width: auto;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#newsletterEmail:focus {
  outline: none;
  border-color: #ff7a00;
  box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.2);
}

.newsletter-btn {
  margin: 0;
  padding: 0.7rem 1.2rem;
  background: #ff7a00;
  color: white;
  border: none;
  border-radius: 6px;
  min-width: auto;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease transition 0.2s ease;
}

.newsletter-btn:hover {
  background: #e86d00;
}

.newsletter-note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}
