.content-wrapper {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 2px;

  background:
    radial-gradient(circle at 20% 30%, rgba(252,172,70,0.25) 0 120px, transparent 121px),
    radial-gradient(circle at 80% 20%, rgba(214,113,39,0.2) 0 140px, transparent 141px),
    radial-gradient(circle at 30% 80%, rgba(255,200,120,0.25) 0 130px, transparent 131px),
    repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.02) 0px,
      rgba(0,0,0,0.02) 2px,
      transparent 2px,
      transparent 10px
    ),
    linear-gradient(to bottom, #f8f9fa, #f1f3f5);
}

body.dark-mode .content-wrapper {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,140,0,0.15) 0 140px, transparent 141px),
    radial-gradient(circle at 80% 25%, rgba(214,113,39,0.12) 0 160px, transparent 161px),
    radial-gradient(circle at 30% 80%, rgba(255,180,80,0.1) 0 150px, transparent 151px),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 2px,
      transparent 2px,
      transparent 12px
    ),
    linear-gradient(to bottom, #181818, #0f0f0f);
}

@media (max-width: 1280px) {
  .content-wrapper {
    padding: 0 6px;
  }
}

@media (max-width: 1230px) {
  .content-wrapper {
    padding: 0 2px;
  }
}

/* =============== NAV START =============== */
header nav {
  background: #2C3E50;
  width: 100%;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.2);
}

.container.nav__container {
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.logo-desktop {
  display: block;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-mobile {
  display: none;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.time-display {
  font-family: 'Arial', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  background-color: #d67127;
  padding: 5px 10px;
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0 15px 0 20px;
  display: inline-block;
}

.nav__items {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav__items .nav-item {
  position: relative;
}

.nav__items .nav-link {
  color: #fff;
}

.nav-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i,
.nav-item:focus-within .nav-link i {
  transform: rotate(180deg);
}

.nav-menu-icon,
.nav-icon {
  filter: brightness(0) invert(1);
}

.avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  align-content: center;
}

.mainavatar {
  width: 40px;
}

#navbarProfileDropdown {
  width: 40px;
  padding: 0;
  text-align: center;
  margin: 0 auto;
}

.nav__items .nav-link:hover {
  color: orange;
  border-radius: 6px;
}

.theme-toggle {
  cursor: pointer;
  font-size: 1.2rem;
  margin-right: 14px;
}

#open__nav-btn,
#close__nav-btn {
  display: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
  background-color: red;
  padding: 8px;
  margin: 0;
}

#logout-form {
  display: none;
}

@media (max-width: 768px) {
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }
}

@media (max-width: 320px) {
  #open__nav-btn {
    font-size: 24px;
  }

  .nav-right {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .nav-menu-icon {
    width: 18px;
    height: 18px;
  }
}
/* =============== NAV END =============== */


/* =============== NAV DROPDOWN START =============== */
.dropdown-menu {
  display: none;
  position: absolute;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 10px;
  z-index: 100;
  right: -20px;
  top: 100%;
  width: 150px;
  text-align: center;
  list-style: none;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu .dropdown-item {
  color: #fff;
  padding: 8px 16px;
  display: block;
  background-color: #333;
  border-radius: 20px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #555;
  color: orange;
}
/* =============== NAV DROPDOWN END =============== */


/* =============== MARKETPLACE NAV LOGO START =============== */
.nav-marketplace-wrapper {
  display: flex;
  align-items: center;
}

.nav-marketplace-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-left: 14px;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.nav-marketplace-logo img {
  width: 115%;
  height: 115%;
  object-fit: contain;
  display: block;
  filter: saturate(0.95) brightness(0.95);
}

.nav-marketplace-logo:hover {
  transform: scale(1.08);
  filter: brightness(1.1) saturate(1.1);
}

.nav-marketplace-logo.active {
  box-shadow: 0 0 0 2px #ff8c00;
}

@media screen and (max-width: 1024px) {
  .nav-marketplace-logo {
    width: 48px;
    height: 48px;
    margin-left: 14px;
    margin-right: 10px;
  }

  .nav-marketplace-logo img {
    width: 115%;
    height: 115%;
  }
}
/* =============== MARKETPLACE NAV LOGO END =============== */


/* =============== MARKETPLACE MESSAGES NAV START =============== */
.nav-item--messages {
  display: flex;
  align-items: center;
  margin-right: 14px;
}

.nav-link--messages {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
}

.nav-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.nav-bell-icon {
  width: 22px;
  height: 22px;
  color: #fff;
  display: block;
}

.nav-badge {
  position: absolute;
  right: -6px;
  bottom: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.nav-badge.is-hidden {
  display: none;
}

.dropdown-item-mobile-messages {
  display: none;
}

.dropdown-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .nav__items .nav-item--messages {
    display: none !important;
  }

  .dropdown-item-mobile-messages {
    display: block;
  }
}
/* =============== MARKETPLACE MESSAGES NAV END =============== */


/* =============== MOBILE NAV START =============== */
@media screen and (max-width: 650px) {
  #open__nav-btn {
    display: block;
  }

  .nav__items {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }

  .nav__items.show {
    display: flex;
  }

  .nav-active .nav__items {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 75%;
    top: 30px;
    transform: translateX(-50%);
    background: #2d2a30;
    width: 30%;
    max-width: 300px;
    z-index: 3;
    height: auto;
    text-align: center;
    border-radius: 15px;
  }

  .time-display {
    display: none;
  }

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .nav-item .dropdown-menu {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    background-color: #2d2a30;
    width: 100%;
    padding: 0;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: none;
  }

  .dropdown-menu .dropdown-item {
    display: block;
    padding: 14px 0;
    background-color: #2d2a30;
    border-bottom: 1px solid #444;
    color: #fff;
    text-align: center;
    font-size: 16px;
    width: 100%;
  }

  .dropdown-menu .dropdown-item:hover {
    background-color: #444;
  }

  .nav-item .nav-link + .dropdown-menu {
    display: block;
    position: static;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    list-style: none;
  }

  .theme-toggle {
    margin-right: 0;
    margin-bottom: 14px;
  }

  #close__nav-btn {
    display: none;
  }

  .nav-active #open__nav-btn {
    display: none;
  }

  .nav-active #close__nav-btn {
    display: block;
  }
}

@media (max-width: 750px) {
  .nav-list {
    position: static;
    display: none;
    width: 100%;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 10px;
  }

  .nav-list li {
    flex: 1;
    padding: 10px 0;
    border-top: 1px solid #ccc;
  }
}
/* =============== MOBILE NAV END =============== */


/* =============== SEARCH START =============== */

.search__bar {
  position: relative;
}

.search-icon {
    cursor: pointer;
    color: #fff;
    font-size: 22px;
    margin: 15px;

    background: transparent;
    border: none;
    padding: 0;

    width: auto;
    height: auto;

    transition:
        transform .25s ease,
        color .25s ease;
}

.search-icon:hover {
    color: #ffa500;
    transform: scale(1.1);
}

.search__bar-overlay {
  display: none;
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.58);

  z-index: 99;
}

.search__bar-overlay.active {
  display: block;
}

.search__bar-container {
  display: none;
  position: fixed;
  inset: 0;

  z-index: 100;

  width: 100%;
  max-width: none;
  padding: 20px;

  align-items: center;
  justify-content: center;
}

.search__bar-container.active {
  display: flex;
}

.search-panel {
  width: 100%;
  max-width: 620px;

  padding: 22px;

  border-radius: 18px;
  background: #fff8ec;
  border: 2px solid #ff9f1c;

  box-shadow:
    0 16px 40px rgba(0,0,0,0.35);
}

.search-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 14px;
}

.search-panel-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2C3E50;
}

.search-wrapper {
  display: flex;
  width: 100%;

  overflow: hidden;

  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;

  box-shadow:
    inset 0 1px 3px rgba(0,0,0,0.08);
}

.search-input {
  flex: 1;
  min-width: 0;

  border: none;
  outline: none;

  padding: 14px 18px;

  font-size: 16px;
  background: transparent;
  color: #222;
}

.search-submit-btn {
  width: 54px;
  min-width: 54px;

  border: none;

  background: linear-gradient(135deg, #ff8c00, #ffa500);
  color: #111;

  font-size: 18px;
  cursor: pointer;

  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}

.search-submit-btn:hover {
  filter: brightness(1.05);
}

.close-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  border: none;
  border-radius: 50%;

  background: rgba(0,0,0,0.08);
  color: #222;

  font-size: 24px;
  line-height: 1;
  cursor: pointer;

  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.close-search:hover {
  background: rgba(255,140,0,0.25);
  transform: rotate(90deg);
}

/* =============== SEARCH RESULTS PAGE START =============== */

.search-results .p {
  display: inline-block;
  margin: 15px 0 5px;
  padding: 8px 14px;

  background: rgba(255,140,0,.12);
  border-left: 4px solid #ff8c00;

  font-weight: 600;
}

.search-results-title,
.search-results-info {
  display: inline-block;

  padding: 10px 18px;
  border-radius: 12px;

  background: linear-gradient(
    135deg,
    #ff8c00,
    #ffa500
  );

  color: #111;
  font-weight: 700;

  box-shadow:
    0 3px 8px rgba(0,0,0,.15);
}

.search-results-title {
  font-size: 1.8rem;
  margin: 20px 0 25px 12px;
}

.search-results-info {
  font-size: 1rem;
  margin: 10px 0 20px 12px;
}

/* =============== SEARCH RESULTS PAGE END =============== */


/* =============== DARK MODE SEARCH START =============== */

body.dark-mode .search-panel {
  background: #1f1f1f;
  color: #fff;
  border-color: #ffa500;
}

body.dark-mode .search-panel-title {
  color: #ffa500;
}

body.dark-mode .search-wrapper {
  background: #2a2a2a;
  border-color: rgba(255,255,255,0.12);
}

body.dark-mode .search-input {
  color: #fff;
}

body.dark-mode .search-input::placeholder {
  color: #aaa;
}

body.dark-mode .close-search {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

body.dark-mode .close-search:hover {
  background: rgba(255,140,0,0.25);
}

body.dark-mode .search-results .p {
  color: #fff;
  background: rgba(255,140,0,.08);
}

body.dark-mode .search-results-title,
body.dark-mode .search-results-info {
  color: #111;
}

/* =============== DARK MODE SEARCH END =============== */


/* =============== MOBILE SEARCH START =============== */

@media (max-width: 480px) {
  .search__bar-container {
    padding: 14px;
  }

  .search-panel {
    padding: 18px;
    border-radius: 16px;
  }

  .search-panel-title {
    font-size: 1.1rem;
  }

  .search-input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .search-submit-btn {
    width: 48px;
    min-width: 48px;
  }
}

@media (max-width: 320px) {
  .search-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

/* =============== MOBILE SEARCH END =============== */

/* =============== SEARCH END =============== */

/* =============== DARK MODE NAV ICONS START =============== */
.icon-dark {
  display: none;
}

body.dark-mode .icon-dark {
  display: inline;
}

body.dark-mode .icon-light {
  display: none;
}
/* =============== DARK MODE NAV ICONS END =============== */

/* =============== ADS START =============== */
.ad-container {
  padding: 14px 16px 18px;
  border-radius: 14px;
  background: radial-gradient(circle at top,
    rgba(255, 184, 90, 0.9) 0%,
    rgba(0, 0, 0, 0.75) 55%,
    rgba(0, 0, 0, 0.9) 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 165, 0, 0.7);
}

.ad-container--wide {
  max-width: 1230px;
  margin: 40px auto;
}

@media (max-width: 768px) {
  .ad-container {
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    border: none;
  }

  .ad-container--wide {
    max-width: 100%;
    margin: 20px auto;
  }

  .ad-container ins.adsbygoogle {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* =============== ADS END =============== */

/* =============== SOCIAL SHARE START =============== */
.social-share {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 10px;
  padding-bottom: 20px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-right: 8px;
}

.social-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.social-icon.facebook {
  background-color: #3b5998;
}

.social-icon.twitter {
  background-color: #000;
}

.social-icon.youtube {
  background-color: #FF0000;
}

.social-icon.linkedin {
  background-color: #0077b5;
}

.social-icon.instagram {
  background-color: #e4405f;
}

.social-icon.pinterest {
  background-color: #E60023;
  border-radius: 8px;
  /*padding: 8px;*/
}

.social-icon.pinterest img {
  filter: brightness(0) invert(1);
}

.social-icon:hover {
  filter: brightness(85%);
  transform: scale(1.1);
}

.social-icon:hover img {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .social-share h2 {
    display: none;
  }
}
/* =============== SOCIAL SHARE END =============== */

/* =============== FOOTER START =============== */
footer {
  background-color: transparent;
  color: #fff;
  padding: 20px 0;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 2rem;
}

.footer-columns {
  padding: 30px;
  border: 2px solid rgba(255,140,0,0.25);
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.about-section,
.sitemap {
  flex: 1;
  margin: 20px;
  text-align: center;
}

.about-section p,
.sitemap p {
  line-height: 1.6;
  margin-bottom: 0.8rem;
  font-size: 15px;
  color: #f1f1f1;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: orange;
}

.footer-quote {
  font-style: italic;
  color: #ffcc80;
  margin-bottom: 1rem;
}

.footer-invite {
  font-weight: bold;
  color: #ffa726;
  margin-top: 1rem;
}

.email-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-top: 1.5rem;
}

.email-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.email-note {
  margin-top: 8px;
  font-size: 14px;
  color: #ddd;
  text-align: center;
  max-width: 300px;
}

.email-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  min-width: 240px;
}

.default-email {
  background-color: #4caf50;
}

.default-email:hover {
  background-color: #45a049;
}

.gmail {
  background-color: #d93025;
}

.gmail:hover {
  background-color: #b71c1c;
}

footer a {
  color: #000;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .about-section,
  .sitemap {
    flex-basis: 100%;
    text-align: center;
    margin: 30px 0;
  }

  .email-btn {
    width: 90%;
  }

  .email-note {
    font-size: 13px;
    max-width: 90%;
  }

  .privacy-policy {
    width: 95%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============== FOOTER END =============== */

/* =============== LEGAL LINKS START =============== */
.legal {
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.legal a {
  margin: 10px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.legal a:hover {
  text-decoration: underline;
}

/* =============== DARK MODE LEGAL LINKS START =============== */
body.dark-mode .legal a {
    color: orange;
}

body.dark-mode .legal a:hover {
    color: #ffb347;
}
/* =============== DARK MODE LEGAL LINKS END =============== */

/* =============== LEGAL LINKS END =============== */

/* =============== BACK TO TOP START =============== */

#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;

  display: none;

  z-index: 999;

  padding: 10px 16px;

  border: none;
  border-radius: 6px;

  background-color: #ff3b30;
  color: #fff;

  font-size: 20px;
  font-weight: bold;

  cursor: pointer;

  box-shadow:
    0 4px 12px rgba(0,0,0,0.25);

  transition:
    opacity 0.3s ease,
    transform 0.25s ease,
    background-color 0.25s ease;
}

#backToTop:hover {
  background-color: #d6281f;
  transform: translateY(-3px);
}

#backToTop.show {
  display: block;
}

/* =============== BACK TO TOP END =============== */

/* =============== ALERTS START =============== */

.alert {
  padding: 20px;
  color: white;
  opacity: 1;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width: 80%;
  max-width: 600px;
  transition: opacity 0.5s;
}

.alert-success {
  background-color: #4CAF50;
}

.alert-danger {
  background-color: #f44336;
}

.alert ul {
  list-style: none;
  padding-left: 0;
}

.fade-out {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

.timer-help-text {
  font-size: 0.85rem;
  color: #777;
  margin-top: 4px;
  margin-bottom: 8px;
}

.dark-mode .timer-help-text {
  color: #aaa;
}

/* =============== ALERTS END =============== */