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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #1A1A1A;
  color: #E2E2E2;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #D97706;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: #B45309;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.disclosure-banner {
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  text-align: center;
  color: #555555;
  background-color: #EDE8E3;
  border-top: 1px dotted #AAAAAA;
  border-bottom: 1px dotted #AAAAAA;
  position: relative;
  z-index: 10;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #1A1A1A 0%, #2A2A2A 100%);
  min-height: 60px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.nav-toggle {
  display: none;
}

.burger-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 200;
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #E2E2E2;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: #E2E2E2;
  font-size: 14px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #D97706;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover {
  color: #D97706;
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

.site-footer {
  background-color: #242424;
  border-top: 1px solid rgba(180, 83, 9, 0.2);
  padding: 48px 24px 32px;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
}

.footer-links a {
  color: #888888;
  font-size: 14px;
}

.footer-links a:hover {
  color: #D97706;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.footer-badges a,
.footer-badges span {
  display: block;
}

.footer-badges img {
  height: 48px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.footer-badges a:hover img {
  opacity: 1;
}

.footer-au-disclosure {
  font-size: 11px;
  color: #888888;
  line-height: 1.7;
  max-width: 800px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(180, 83, 9, 0.15);
}

.cookie-checkbox {
  display: none;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(36, 36, 36, 0.96);
  border-top: 1px solid rgba(180, 83, 9, 0.2);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner p {
  font-size: 13px;
  color: #888888;
  max-width: 600px;
}

.cookie-banner a {
  color: #D97706;
}

.cookie-accept-label {
  display: inline-block;
  padding: 8px 20px;
  background-color: #B45309;
  color: #E2E2E2;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background-color 0.25s ease;
}

.cookie-accept-label:hover {
  background-color: #D97706;
}

.cookie-checkbox:checked ~ .cookie-banner {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.page-main {
  flex: 1 0 auto;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #E2E2E2;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.25rem;
  color: #D97706;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.05rem;
  color: #D97706;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  color: #888888;
  margin-bottom: 16px;
}

.legal-content ul {
  color: #888888;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: #E2E2E2;
  font-weight: 600;
}

.legal-content code {
  font-size: 0.9em;
  background: rgba(180, 83, 9, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.not-found-section {
  text-align: center;
  padding: 80px 24px 120px;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.not-found-section h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: #B45309;
}

.not-found-section p {
  color: #888888;
  font-size: 1.1rem;
  max-width: 480px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background-color: #B45309;
  border: 1px solid rgba(180, 83, 9, 0.4);
  color: #E2E2E2;
  font-size: 15px;
  transition: background-color 0.25s ease;
}

.btn-primary:hover {
  background-color: #D97706;
  color: #E2E2E2;
}

@media (max-width: 768px) {
  .burger-label {
    display: flex;
  }

  .nav-toggle:checked ~ .burger-label .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked ~ .burger-label .burger-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .burger-label .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: linear-gradient(180deg, #2A2A2A 0%, #1A1A1A 100%);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 32px 32px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 150;
  }

  .nav-toggle:checked ~ .nav-links {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 16px;
  }
}
