@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;600;800&display=swap");

:root {
  --bg-color: #0f172a;
  --text-color: #f8fafc;
  --accent-color: #38bdf8;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}
 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-color);
  background-image: radial-gradient(
      at 0% 0%,
      rgba(56, 189, 248, 0.1) 0px,
      transparent 50%
    ),
    radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
  color: var(--text-color);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.main-container {
  width: 100%;
  position: relative;
  padding: 2rem 0;
}

/* Modern Marquee styling */
.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  padding: 4rem 0; /* Scaled 2x (was 2rem) */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: scroll 40s linear infinite; /* Scaled time to keep speed consistent */
  /* Ensure hardware acceleration */
  will-change: transform;
}

.marquee-item {
  font-size: 16rem; /* Scaled 2x (was 8rem) */
  font-weight: 800;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 4px rgba(255, 255, 255, 0.2); /* Scaled 2x */
  margin-right: 8rem; /* Scaled 2x */
  position: relative;
  transition: all 0.3s ease;
}

.marquee-item:hover {
  color: var(--text-color);
  -webkit-text-stroke: 4px var(--text-color); /* Scaled 2x */
  text-shadow: 0 0 60px rgba(56, 189, 248, 0.5); /* Scaled 2x */
  cursor: default;
}

/* Highlighted text variation */
.highlight {
  color: var(--accent-color);
  -webkit-text-stroke: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Decorative background elements */
.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.2) 0%,
    rgba(139, 92, 246, 0.2) 100%
  );
  filter: blur(80px);
  border-radius: 50%;
  z-index: -1;
  animation: breathe 10s infinite alternate;
}

@keyframes breathe {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(20px, -20px);
  }
}
