@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --bg-dark: #030712;
  --primary-teal: #00f2fe;
  --primary-blue: #4facfe;
  --text-white: #ffffff;
  --text-muted: #64748b;
  --font-main: 'Outfit', sans-serif;
  --glow-teal: 0 0 40px rgba(0, 242, 254, 0.4);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Background Image & Overlay */
.bg-wrapper {
  position: fixed;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  z-index: -2;
  background-image: url('assets/ship-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(12px) brightness(0.25) contrast(1.1);
  transform: scale(1.05); /* Prevent blur edges showing */
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(3, 7, 18, 0.1) 0%, rgba(3, 7, 18, 0.8) 100%);
}

.container {
  z-index: 1;
  text-align: center;
  padding: 2rem;
  animation: fade-in-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: var(--primary-teal);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  padding-left: 0.5em; /* Compensate for letter-spacing offset */
}

h1 {
  font-size: 5.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 40%, #e2e8f0 70%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-glow-pulse 6s ease-in-out infinite alternate;
}

h1 .dot {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--glow-teal);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes text-glow-pulse {
  0% {
    filter: drop-shadow(0 0 0px rgba(0, 242, 254, 0));
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.15));
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .brand {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.75rem;
  }
}
