:root {
  --brand-color-1: #a790c4;
  --brand-color-2: #61c3a5;
  --brand-color-3: #f7acad;
  --brand-color-4: #fff56b;
  --brand-color-5: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: white;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  touch-action: none; /* Prevent default touch behaviors like scrolling */
}

.container {
  position: fixed;
  padding: 30px;
  max-width: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container h1 {
  font-size: 32px;
  font-weight: 600;
  color: black;
  margin-bottom: 20px;
}

.footer {
  background-color: white;
  border-radius: 4px;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px;
  text-align: center;
  width: 320px;
  z-index: 2;
}

.footer a {
  color: var(--brand-color-1);
  transition: color 250ms ease-in;
}

.footer a:hover {
  color: var(--brand-color-3);
}

.logo-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.logo-item {
  position: absolute;
  width: 80px;
  height: 80px;
  cursor: pointer;
  transform-origin: center;
  will-change: transform;
}

.logo-item svg {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.brand-color-1 path:first-child {
  fill: #a790c4 !important;
}

.brand-color-2 path:first-child {
  fill: #61c3a5 !important;
}

.brand-color-3 path:first-child {
  fill: #f7acad !important;
}

.brand-color-4 path:first-child {
  fill: #fff56b !important;
}

.brand-color-5 path:first-child {
  fill: #ffffff !important;
}

/* Ensure touch events work properly */
.logo-grid {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media (max-width: 768px) {
  .container {
    padding: 20px;
    width: 90%;
  }

  .logo-item {
    width: 60px;
    height: 60px;
  }

  .footer {
    padding: 12px;
    width: 250px;
  }

  .footer p {
    font-size: 12px;
  }
}
