/*************************************************
 * GLOBAL THEME VARIABLES
*************************************************/
:root {
  --gold-light: #f5dd66;
  --gold-dark: #dab241;
  --black: #000000;
  --white: #ffffff;
  --glass-dark: rgba(0, 0, 0, 0.78);
  --border-gold: rgba(245, 221, 102, 0.32);
}

/*************************************************
 * LAYOUT BACKGROUND
*************************************************/
.rt-layout-bg {
  background: linear-gradient(145deg, #000000, #0b0b0b, #1a1a1a);
  background-attachment: fixed;
  color: var(--white);
}

/*************************************************
 * NAVBAR
*************************************************/
.rt-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.9rem 0;
}

.rt-navbar-inner {
  max-width: 1280px;
  margin: auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*************************************************
 * BRAND
*************************************************/
.rt-navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.rt-logo-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 221, 102, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rt-navbar-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.rt-logo-text {
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 700;
}

/*************************************************
 * DESKTOP NAVIGATION
*************************************************/
.rt-navbar-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.rt-nav-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.rt-nav-link:hover {
  color: var(--gold-light);
  text-shadow: 0 0 6px rgba(245, 221, 102, 0.4);
}

.rt-sell-btn {
  padding: 0.55rem 1.1rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)) !important;
  color: var(--black) !important;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.28s ease;
}

.rt-sell-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(245, 221, 102, 0.45);
}

.rt-nav-icon i {
  width: 24px;
  height: 24px;
  color: var(--gold-light);
  transition: 0.28s ease;
}

.rt-nav-icon:hover i {
  color: var(--white);
  transform: translateY(-2px);
}

/*************************************************
 * MOBILE MENU BUTTON
*************************************************/
.rt-mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold-light);
  padding: 0.3rem;
}

.rt-mobile-menu-btn i {
  width: 28px;
  height: 28px;
}

/*************************************************
 * MOBILE MENU PANEL
*************************************************/
.rt-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem;
  gap: 0.8rem;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--border-gold);
  width: 100%;
}

.rt-mobile-menu.open {
  display: flex;
}

.rt-mobile-item {
  padding: 0.65rem 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  text-decoration: none;
  color: var(--white);
  transition: 0.25s ease;
}

.rt-mobile-item:hover {
  background: rgba(245, 221, 102, 0.18);
  color: var(--gold-light);
}

/*************************************************
 * MAIN CONTENT
*************************************************/
.rt-main {
  width: 100%;
  max-width: 1280px;
  margin: 2.6rem auto;
  padding: 1rem;
}

/*************************************************
 * FOOTER
*************************************************/
.rt-footer {
  margin-top: auto;
  padding: 3rem 1rem;
  background: rgba(0, 0, 0, 0.88);
  border-top: 1px solid var(--border-gold);
}

/* Footer Grid */
.rt-footer-grid {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 2rem;
}

/*************************************************
 * FOOTER BRAND
*************************************************/
.ft-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ft-navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.ft-logo-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(245, 221, 102, 0.28);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-navbar-logo-img {
  width: 40px;
  height: 40px;
}

.ft-logo-text {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
}

.ft-tagline {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

/*************************************************
 * FOOTER LINKS
*************************************************/
.ft-column h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}

.ft-column p,
.ft-column a {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-bottom: 0.4rem;
  text-decoration: none;
  transition: 0.25s ease;
}

.ft-column a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 6px rgba(245, 221, 102, 0.45);
}

/*************************************************
 * SOCIAL ICONS
*************************************************/
.ft-social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.ft-social-links a {
  padding: 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 221, 102, 0.22);
  transition: 0.25s ease;
}

.ft-social-links a:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.ft-social-links a i {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
  transition: 0.25s ease;
}

.ft-social-links a:hover i {
  color: var(--black);
}

/*************************************************
 * FOOTER BOTTOM
*************************************************/
.rt-footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.rt-dev-link {
  color: var(--gold-light);
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.28s ease;
  text-decoration: none;
}

.rt-dev-link:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--black);
  transform: translateY(-2px);
}

/*************************************************
 * RESPONSIVE — TABLETS
*************************************************/
@media (max-width: 820px) {

  .rt-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rt-navbar-actions.rt-nav-desktop {
    display: none;
  }

  .rt-mobile-menu-btn {
    display: block;
  }
}

/*************************************************
 * RESPONSIVE — MOBILE
*************************************************/
@media (max-width: 520px) {

  .rt-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ft-navbar-brand {
    justify-content: center;
  }

  .ft-social-links {
    justify-content: center;
  }

  .rt-main {
    padding: 0.8rem;
  }
}
