:root {
  --color-background: #0a0a0a;
  --color-nav-bg: rgba(18, 18, 18, 0.5);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-primary: #0095e0;
  --color-primary-hover: #00aaff;
  --text-main: #e0e0e0;
  --text-secondary: #a0a0a0;
  --font-main: "Roboto Condensed", sans-serif;
  --shadow-high: 0 8px 32px rgba(0, 0, 0, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--color-background);
  background-image: url('../images/background.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  font-family: var(--font-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.header { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: 95%; max-width: 1200px; z-index: 1000; }
.nav-container { display: flex; align-items: center; background: rgba(18, 18, 18, 0.6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border: 1px solid var(--color-border); border-radius: 16px; padding: 0.75rem 2rem; box-shadow: var(--shadow-high); }
.nav-logo img { height: 45px; display: block; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 3rem; margin: 0 auto; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: color 0.3s ease; position: relative; padding-bottom: 5px; }
.nav-links a:hover { color: var(--text-main); }
.nav-links a.active { color: var(--text-main); cursor: default; pointer-events: none; }
.nav-links a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: var(--color-primary); }
.copy-ip-button { background: rgba(50, 50, 50, 0.5); border: 1px solid var(--color-border); color: var(--text-secondary); border-radius: 10px; padding: 0.7rem 1.2rem; font-family: var(--font-main); font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 0.5rem; }
.copy-ip-button:hover { background: rgba(70, 70, 70, 0.7); border-color: rgba(255, 255, 255, 0.3); color: var(--text-main); }
.copy-ip-button i { font-size: 1.2rem; }
.dropdown { position: relative; padding-bottom: 0.75rem; margin-bottom: -0.75rem; }
.dropdown-toggle { display: flex; align-items: center; gap: 0.3rem; }
.dropdown-toggle i { transition: transform 0.3s ease; }
.dropdown:hover .dropdown-toggle i { transform: rotate(180deg); }
.dropdown-menu { list-style: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--color-nav-bg); border: 1px solid var(--color-border); border-radius: 10px; padding: 0.5rem; width: max-content; z-index: 1100; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, transform 0.3s ease; transform-origin: top center; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) scaleY(1); }
.dropdown-menu li a { display: block; padding: 0.75rem 1.5rem; color: var(--text-secondary); text-decoration: none; border-radius: 6px; transition: background-color 0.3s ease, color 0.3s ease; }
.dropdown-menu li a:hover { background-color: rgba(255, 255, 255, 0.05); color: var(--text-main); }

.main-content { flex-grow: 1; padding-top: 120px; width: 100%; }

.footer {
  width: 100%;
  margin-top: auto;
  padding: 2.5rem 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 1rem;
}

.footer-copyright {
  flex-shrink: 0;
  width: 480px;
}

.footer-main-links {
  display: flex;
  flex-shrink: 0;
  gap: 5rem;
}

.footer-copyright p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-docs,
.footer-navigation,
.footer-links,
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-docs p,
.footer-navigation p,
.footer-links p,
.footer-socials p {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.footer-docs a,
.footer-navigation a,
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  line-height: 1.6;
}
.footer-docs a:hover,
.footer-navigation a:hover,
.footer-links a:hover {
  color: var(--color-primary);
}
.footer-links a i { font-size: 1.2rem; }

.social-links-container { display: flex; gap: 1.5rem; }
.social-links-container a { color: var(--text-secondary); font-size: 1.75rem; transition: color 0.3s ease, transform 0.3s ease; }
.social-links-container a:hover { color: var(--color-primary); transform: translateY(-3px); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

@media (max-width: 1100px) {
  .footer-container {
    flex-direction: column;
    gap: 3rem;
  }
}
