.root {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #1a0a2e 0%, #0a0a0a 70%);
  color: white;
  padding: 2rem;
}

.inner {
  width: min(100%, 500px);
  max-width: 500px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.title {
  font-size: var(--font-size-display-lg);
  margin: 0;
  background: linear-gradient(135deg, #d946ef, #f0abfc, #0ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sectionTitle {
  font-size: 1rem;
  color: #d946ef;
  margin: 0;
  letter-spacing: 0.1em;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #ccc;
}

.techItem {
  position: relative;
  cursor: default;
}

.tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: rgba(20, 10, 40, 0.95);
  border: 1px solid rgba(217, 70, 239, 0.4);
  color: #e0d0f0;
  font-size: 0.75rem;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: normal;
  width: max-content;
  max-width: 220px;
  text-align: center;
  line-height: 1.4;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 10;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(217, 70, 239, 0.4);
}

.techItem:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.text {
  color: #ccc;
  margin: 0;
}

.event {
  margin: 0.25rem 0 0;
  color: #d946ef;
  letter-spacing: 0.25em;
}

.ctaSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.ctaText {
  margin: 0;
  color: #f0abfc;
  letter-spacing: 0.14em;
}

.devpostCta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 255, 255, 0.35);
  background:
    linear-gradient(135deg, rgba(217, 70, 239, 0.18), rgba(15, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.16);
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.devpostCta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 28px rgba(15, 255, 255, 0.22);
  border-color: rgba(15, 255, 255, 0.6);
}

.ctaEmoji {
  font-size: 1.1em;
  line-height: 1;
}

.sponsorLogos {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  height: 36px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(0.5) brightness(1.5);
  transition: opacity 0.2s, filter 0.2s;
}

.logo:hover {
  opacity: 0.9;
  filter: grayscale(0) brightness(1);
}

.logoDark {
  filter: grayscale(1) brightness(1.8) invert(1);
}

.logoDark:hover {
  filter: grayscale(0) brightness(1) invert(1);
}

.shuffleList {
  position: relative;
}

.shuffleItem {
  animation: shuffleIn 0.4s ease-out;
}

@keyframes shuffleIn {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.backBtn {
  align-self: center;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.15s, background 0.15s;
}

.backBtn:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 640px) {
  .root {
    align-items: flex-start;
    justify-content: flex-start;
    padding:
      max(1rem, env(safe-area-inset-top))
      1.25rem
      max(1.5rem, env(safe-area-inset-bottom))
      1.25rem;
  }

  .inner {
    width: 100%;
    gap: 1.5rem;
  }

  .columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .devpostCta {
    width: 100%;
    max-width: 320px;
  }
}
