:root {
  --color-primary: #724cf9;
  --color-secondary: #e9f1f7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

body {
  font-family: "Anonymous Pro", monospace;
  background-color: var(--color-primary);
  color: var(--color-secondary);
  height: 100svh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 640px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
}

.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.time-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.clock-icon {
  width: 14px;
  height: 14px;
}

.main {
  width: 100%;
  margin-bottom: 1.5rem;
}

.content {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  color: var(--color-secondary);
}

.content em {
  font-style: italic;
}

#binzekTerm {
  cursor: pointer;
  position: relative;
  transition: opacity 0.2s ease;
}

#binzekTerm:hover {
  opacity: 0.8;
}

.linkedin-link {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  position: relative;
}

.linkedin-link:hover {
  opacity: 0.8;
}

.email {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  position: relative;
}

.email:hover {
  opacity: 0.8;
}

.footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.pin-icon {
  width: 14px;
  height: 14px;
}

.wave-line {
  flex: 1;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14' fill='none'%3E%3Cpath d='M0 7 Q5 1.5 10 7 T20 7 T30 7 T40 7' stroke='%23e9f1f7' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 40px 14px;
  background-position: center;
}

.header .wave-line {
  margin: 0 1rem 0 0;
  animation: waveHeaderMove 3s linear infinite;
}

.footer .wave-line {
  margin: 0 0 0 1rem;
  animation: waveFooterMove 3s linear infinite;
}

@keyframes waveHeaderMove {
  0% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: 40px;
  }
}

@keyframes waveFooterMove {
  0% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: -40px;
  }
}

.tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  display: none;
  pointer-events: none;
  z-index: 1000;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tooltip.show {
  opacity: 1;
  transform: translateY(-5px);
}

.tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.85);
}

.email-tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  display: none;
  pointer-events: none;
  z-index: 1000;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.email-tooltip.show {
  opacity: 1;
  transform: translateY(-5px);
}

.email-tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.85);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }

  .content {
    font-size: 0.95rem;
  }

  .header {
    margin-bottom: 1.25rem;
  }

  .main {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  .content {
    font-size: 0.9rem;
  }

  .time-indicator,
  .location {
    font-size: 0.8rem;
  }

  .clock-icon,
  .pin-icon {
    width: 12px;
    height: 12px;
  }
}
