@font-face {
  font-family: 'Roboto';
  src: url(/src/fonts/roboto-regular.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url(/src/fonts/roboto-bold.woff2) format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg-main: #0b0f14;
  --bg-dark: #05070a;
  --bg-card: #111824;
  --accent-green: #1cb95f;
  --accent-gold: #f5c451;
  --accent-red: #c53b3b;
  --text-main: #cfd6df;
  --text-muted: #8c97a5;
  --text-white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  font-family: 'Roboto', Arial, sans-serif;
}

body {
  margin: 0;
  padding-top: 80px;
  background: radial-gradient(circle at top, #121826, #070a0f);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}

a:hover {
  color: #2edb7b;
}

a:active {
  transform: scale(0.96);
}

h1,
h2 {
  color: var(--text-white);
  text-align: center;
  margin: 30px 0 20px;
}

h1::after,
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}

h3 {
  color: var(--accent-gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-main));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(5, 7, 10, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

#logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

#logo img {
  height: 40px;
}

#logo ul {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#logo ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

#logo ul li a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.desktop-menu ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.desktop-menu a {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  display: inline-block;
}

.desktop-menu a.signupcolor {
  background: linear-gradient(135deg, #1cb95f, #0e7f43);
  box-shadow: 0 5px 20px rgba(28, 185, 95, 0.45);
}

.desktop-menu a:not(.signupcolor) {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu {
  display: none;
}

.page-top {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.95)),
    url('/src/img/content/baji-bj.webp') center/cover no-repeat;
}

.page-top span {
  display: block;
  max-width: 900px;
  margin: 20px auto 0;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-soft);
}

#content {
  max-width: 1130px;
  margin: 40px auto;
  padding: 0 20px;
}

#content img.imgmain {
  margin: 25px auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

#content ul {
  list-style: none;
  padding: 0;
}

#content ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

#content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border-radius: 50%;
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  margin: 30px 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  border-collapse: collapse;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

th,
td {
  padding: 14px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

th {
  background: #0e1622;
  color: #fff;
}

tr:last-child td {
  border-bottom: none;
}

footer {
  background: linear-gradient(180deg, var(--bg-dark), #020304);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-partner-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  gap: 50px;
}

@media (min-width: 900px) {
  .footer-partner-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links li a {
  color: var(--text-muted);
}

.footer-links li a:hover {
  color: var(--accent-green);
}

.footer-links li img {
  background: rgba(255, 255, 255, 0.06);
  padding: 8px;
  border-radius: var(--radius-sm);
  width: 40px;
}

.footer-links.license {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links.license img {
  height: 38px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease;
}

.footer-links.license img:hover {
  transform: translateY(-4px);
}

.footer-links.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links.contacts img {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.footer-links.contacts img:hover {
  background: var(--accent-green);
}

.footer-flag-container {
  display: block;
}

.footer-flag-container img {
  width: 32px !important;
  height: 22px !important;
  border-radius: 4px;
  object-fit: cover;
  margin: auto;
}

#footerdown {
  text-align: center;
  padding: 25px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#footerdown img {
  max-width: 140px;
  margin-bottom: 10px;
  margin: auto;
}

#footerdown p {
  font-size: 12px;
  color: #6c7683;
}

@media (max-width: 900px) {
  .navbar {
    padding: 10px 12px;
  }
  #logo {
    gap: 8px;
  }
  #logo img {
    height: 32px;
  }
  #logo ul {
    gap: 4px;
  }
  #logo ul li a {
    padding: 6px 8px;
    font-size: 11px;
  }
  .desktop-menu {
    display: flex;
  }
  .desktop-menu ul {
    gap: 5px;
  }
  .desktop-menu a {
    padding: 7px 10px;
    font-size: 12px;
  }
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 400px) {
  #logo ul li a span {
    display: none;
  }
  #logo {
    gap: 5px;
  }
  .desktop-menu a {
    padding: 6px 8px;
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  .page-top {
    padding: 40px 15px;
  }
}
