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

/* Base layout */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #fff;
  color: #000;
  /* Comic Sans family */
  font-family: "Comic Sans MS", "Comic Sans", "Comic Neue", cursive;
}

/* Running marquee */
.marquee {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  z-index: 1000;
}

.marquee-content {
  display: inline-block;
  animation: scroll 15s linear infinite;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: bold;
}

.marquee-content span {
  margin-right: 50px;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 60px; /* Space for marquee */
}

/* Top text */
.top-text {
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
}

/* Logo styles */
.logo {
  width: 200px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Bounce animation on hover */
.logo:hover {
  animation: bounce 0.6s;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* Simple X Logo */
.x-logo {
  width: 32px;
  height: 32px;
  fill: #000;
  transition: transform 0.2s ease;
}

.x-logo:hover {
  transform: scale(1.1);
}

/* X link */
.x-link {
  margin-top: 24px;
}

/* CA container - positioned at bottom center */
.ca-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border: 2px solid #000;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  user-select: none;
  min-width: 250px;
  text-align: center;
}

.ca-container:hover {
  background: #fff;
  color: #000;
}

.ca-container:active {
  transform: translateX(-50%) scale(0.95);
}

.ca-label {
  font-weight: bold;
  margin-right: 8px;
}

.ca-value {
  font-family: inherit;
  letter-spacing: 1px;
}

/* Copy feedback animation */
.copy-feedback {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 6px 12px;
  border: 2px solid #000;
  font-size: 0.9rem;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.copy-feedback.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .marquee-content {
    font-size: 1rem;
  }
  
  main {
    margin-top: 50px;
  }
  
  .ca-container {
    bottom: 10px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.9rem;
    padding: 10px 15px;
    min-width: 200px;
  }
  
  .ca-container:active {
    transform: translateX(-50%) scale(0.95);
  }
  
  .top-text {
    font-size: 1.5rem;
  }
  
  .logo {
    width: 150px;
  }
  
  .x-logo {
    width: 28px;
    height: 28px;
  }
} 