html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 767.98px) {
  html,
  body {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    height: 0;
    width: 0;
  }
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

a {
  text-decoration-thickness: from-font;
}

.skip-link {
  background: #0f172a;
  color: #ffffff;
  font-weight: 800;
  left: 1rem;
  padding: 0.55rem 0.8rem;
  position: absolute;
  top: 0.5rem;
  transform: translateY(-140%);
  z-index: 10000;
}

.skip-link:focus {
  transform: translateY(0);
}

main:focus {
  outline: none;
}

/* SOURCE_CHROME_START */
/* NAVBAR */
.navbar-custom {
  background: linear-gradient(90deg, #0d1117 0%, #1a0a00 50%, #0d1117 100%);
  border-bottom: 2px solid var(--orange);
  padding: 0.6rem 1rem;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(249,115,22,0.3);
}

.navbar-brand img { height: 48px; width: auto; }

.navbar-nav .nav-link {
  color: #e5e7eb !important;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.5rem 0.65rem !important;
  border-radius: 4px;
  transition: all 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold) !important;
  background: rgba(249,115,22,0.15);
}

.navbar-toggler {
  border-color: var(--orange);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f97316' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-nav-register {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: #111 !important;
  font-weight: 700;
  border-radius: 6px;
  padding: 0.4rem 1rem !important;
}

.btn-nav-register:hover { opacity: 0.9; color: #111 !important; }

.btn-nav-login {
  border: 1.5px solid var(--orange);
  color: var(--orange) !important;
  border-radius: 6px;
  padding: 0.4rem 1rem !important;
  font-weight: 600;
}

.btn-nav-login:hover { background: var(--orange); color: #fff !important; }

/* FOOTER */
footer {
  background: #0a0f1a;
  border-top: 2px solid var(--orange);
  padding: 50px 0 20px;
}

.footer-brand h4 {
  color: var(--orange);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-muted-custom);
  font-size: 0.88rem;
  max-width: 260px;
}

.footer-title {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: var(--text-muted-custom);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--dark3);
  margin-top: 2rem;
  padding-top: 1.2rem;
  text-align: center;
  color: var(--text-muted-custom);
  font-size: 0.82rem;
}

.footer-email { color: var(--orange); }

.live-badge {
  display: inline-block;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  animation: pulse-badge 1.5s infinite;
  vertical-align: middle;
  margin-left: 6px;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.5); }
  50% { box-shadow: 0 0 0 10px rgba(249,115,22,0); }
}

.footer-main a,
footer a {
  text-decoration: none;
}

.footer-main a:hover,
footer a:hover {
  text-decoration: none;
}
/* SOURCE_CHROME_END */
