/* Critical CSS that must be loaded first */
body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
}

.modern-nav {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  height: 80px; /* Exact height */
}

/* Update the notification-bar class */
.notification-bar {
  background: linear-gradient(90deg, rgba(0, 151, 178, 0.1) 0%, rgba(0, 151, 178, 0.2) 100%);
  position: fixed; /* Fixed position */
  top: 80px; /* Exactly at the bottom of the navbar */
  left: 0;
  right: 0;
  z-index: 99; /* Just below navbar */
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: center;
  border-bottom: 1px solid rgba(0, 151, 178, 0.2);
  height: 44px; /* Fixed height */
  transition: opacity 0.8s ease-in-out, background 0.8s ease-in-out, border-bottom 0.8s ease-in-out;
}

.notification-bar .container {
  position: relative;
  padding-right: 30px; /* Make room for the dismiss button */
}

/* Inline base64 encoded grid pattern for immediate loading */
.tile-background {
  position: relative;
  background-color: #010915;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzPgogICAgPHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSIxNTAiIGhlaWdodD0iMTUwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KICAgICAgPHJlY3Qgd2lkdGg9IjE1MCIgaGVpZ2h0PSIxNTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjEyKSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KICAgIDwvcGF0dGVybj4KICA8L2RlZnM+CiAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIgLz4KPC9zdmc+");
  background-size: 150px 150px;
  background-position: center;
  margin-top: 0; /* No margin */
}

/* Logo container styles */
.logo-container {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}

/* Demo button styles */
.demo-button {
  position: relative;
  background: linear-gradient(90deg, #0097b2 0%, #007a8f 100%);
  color: white;
  border: none;
  border-radius: 0.375rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.demo-button:hover {
  box-shadow: 0 0 20px rgba(0, 151, 178, 0.5);
  transform: translateY(-2px);
}

/* Mobile menu styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 101;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 24px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

.mobile-menu-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-cta {
  margin-top: 24px;
  width: 100%;
  padding: 12px 0;
  background: linear-gradient(90deg, #0097b2 0%, #007a8f 100%);
  color: white;
  font-weight: 500;
  border-radius: 6px;
  text-align: center;
  display: block;
  text-decoration: none;
}

.mobile-menu-cta:hover {
  box-shadow: 0 0 20px rgba(0, 151, 178, 0.5);
}
