* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #000000 0%, #0a1929 50%, #001a3d 100%);
  color: #e8edf2;
  line-height: 1.6;
  overflow-x: hidden;
}

#main-content {
  flex: 1;
  position: relative;
}

.gradient-primary {
  background: linear-gradient(90deg, #000000 0%, #0067f5 100%);
}

.gradient-radial {
  background: radial-gradient(circle at 0% 0%, #0a80ed 0%, #00109f 100%);
}

.gradient-overlay {
  position: relative;
  overflow: hidden;
}

.gradient-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(10, 128, 237, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 103, 245, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.02em;
}

p {
  color: #b4bcc6;
  line-height: 1.6;
}

a {
  color: #0a80ed;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: #0067f5;
}

.prehead {
  background: linear-gradient(90deg, #000000 0%, #0067f5 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 101;
}

.prehead-container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prehead-text {
  opacity: 0.95;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.prehead-lang {
  display: flex;
  gap: 16px;
}

.prehead-lang a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.75;
  transition: all 0.2s ease;
  padding: 4px 8px;
  border-radius: 4px;
}

.prehead-lang a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

.prehead-lang a.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

.navbar {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 128, 237, 0.2);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 103, 245, 0.1);
}

.navbar-container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

.navbar-brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(10, 128, 237, 0.3));
  transition: all 0.3s ease;
}

.navbar-brand:hover img {
  filter: drop-shadow(0 4px 12px rgba(10, 128, 237, 0.5));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #0a80ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-slogan {
  font-size: 10px;
  font-weight: 500;
  color: #7b8fa3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-actions .nav-link {
  color: #b4bcc6;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  padding: 8px 0;
}

.navbar-actions .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0a80ed 0%, #0067f5 100%);
  transition: width 0.3s ease;
}

.navbar-actions .nav-link:hover {
  color: #ffffff;
}

.navbar-actions .nav-link:hover::after {
  width: 100%;
}

.navbar-actions .btn-primary {
  background: linear-gradient(135deg, #0a80ed 0%, #0067f5 100%);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(10, 128, 237, 0.3);
}

.navbar-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 128, 237, 0.4);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 128, 237, 0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  max-height: 500px;
}

.mobile-menu a {
  padding: 16px 20px;
  color: #b4bcc6;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(10, 128, 237, 0.1);
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  background: rgba(10, 128, 237, 0.1);
  color: #ffffff;
  padding-left: 28px;
}

.page-content {
  width: 90%;
  max-width: 1400px;
  margin: 60px auto;
  position: relative;
  z-index: 1;
}

.footer {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(10, 128, 237, 0.2);
  padding: 40px 0;
  margin-top: 80px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #0a80ed 50%, transparent 100%);
}

.footer-container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #0a80ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #7b8fa3;
  max-width: 350px;
}

.footer-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #7b8fa3;
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #0a80ed;
  padding-left: 4px;
}

.footer-bottom {
  width: 90%;
  max-width: 1400px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 128, 237, 0.1);
  text-align: center;
  color: #7b8fa3;
  font-size: 13px;
}

.admin-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: #5a6b7a;
  opacity: 0.6;
  transition: all 0.25s ease;
}

.admin-link:hover {
  opacity: 1;
  color: #0a80ed;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, #0a80ed 0%, #0067f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-text {
  text-shadow: 0 0 20px rgba(10, 128, 237, 0.5);
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(10, 128, 237, 0.2);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(10, 128, 237, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 128, 237, 0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(10, 128, 237, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(10, 128, 237, 0.6);
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .prehead-text {
    font-size: 12px;
  }

  .navbar-brand {
    font-size: 18px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 9px;
  }

  .page-content {
    margin: 40px auto;
  }
}

@media (max-width: 768px) {
  .navbar-actions {
    display: none;
  }

  .burger {
    display: flex;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .prehead-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .prehead-container,
  .navbar-container,
  .page-content,
  .footer-container {
    width: 94%;
  }

  .navbar-brand img {
    height: 36px;
  }

  .brand-name {
    font-size: 16px;
  }

  .page-content {
    margin-top: 30px;
  }

  .footer {
    padding: 32px 0;
  }
}


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

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0a80ed 0%, #00109f 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0067f5 0%, #0a80ed 100%);
}
