.rotating-text-demo {
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  line-height: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-weight: 300;
  overflow: hidden;
  padding: 3rem;
  color: #fff;
}

.rotating-text-main {
  padding: 0.125rem 0.5rem;
  background-color: #5227ff;
  color: #fff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  border-radius: 0.5rem;
}

.rotating-text-split {
  overflow: hidden;
  padding-bottom: 0.125rem;
}

.rotating-text-ptag {
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.2em;
}

@media (min-width: 640px) {
  .rotating-text-demo {
    font-size: 1.875rem;
    line-height: 2.25rem;
    padding: 5rem;
  }

  .rotating-text-main {
    padding: 0.25rem 0.5rem;
  }

  .rotating-text-split {
    padding-bottom: 0.25rem;
  }
}

@media (min-width: 768px) {
  .rotating-text-demo {
    font-size: 3rem;
    line-height: 1;
    padding: 6rem;
  }

  .rotating-text-main {
    padding: 0.5rem 0.75rem;
  }
}

@media (prefers-color-scheme: dark) {
  .rotating-text-demo {
    color: var(--muted);
  }
}

.announcement-bar {
  max-width: 1440px;
  width: calc(100% - 4em);
  position: fixed;
  bottom: 2em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  border-radius: 10px;
  background-color: #5227ff;
  color: white;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  gap: 12px;
}

.announcement-content {
  width: 100%;
  text-align: left;
  padding-right: 50px;
}

.announcement-link {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: all 0.2s ease;
}

.announcement-link:hover {
  text-decoration-thickness: 2px;
  opacity: 0.9;
}

.announcement-link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
  border-radius: 2px;
}

.announcement-actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.announcement-share,
.announcement-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  transition:
    background-color 0.2s ease,
    border 0.2s ease;
}

.announcement-close {
  position: absolute;
  background-color: #111;
  top: 16px;
  right: 16px;
}

.announcement-share {
  font-size: 12px;
  white-space: nowrap;
  gap: 4px;
  width: 100%;
  border: 2px solid transparent;
  background-color: #111;
  padding: 8px 16px;
  border-radius: 8px;
  margin-top: 8px;
}

.announcement-share:hover {
  border: 2px solid #111;
}

.announcement-share:focus,
.announcement-close:focus {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

.announcement-share-text {
  display: inline;
}

.custom-glass-surface {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: inherit;
}

.custom-glass-surface .glass-surface__content {
  justify-content: space-between;
  padding: 0 1rem;
}

.custom-text-type {
  font-size: clamp(1.5rem, 4vw, 4rem);
  font-weight: 700;
}

.sticker-peel-demo {
  position: absolute;
  z-index: 2;
}

/* Announcement Bar Responsive Styles */
@media (min-width: 768px) {
  .announcement-bar {
    padding: 16px;
    font-size: 14px;
    border-radius: 50px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .announcement-content {
    flex: 1;
    padding-right: 12px;
  }

  .announcement-actions {
    width: auto;
    gap: 8px;
  }

  .announcement-close {
    position: static;
  }

  .announcement-share {
    padding: 4px 8px;
    gap: 4px;
    font-size: 13px;
    width: auto;
    background-color: transparent;
    border-radius: 50px;
    margin-top: 0;
  }

  .announcement-share-text {
    display: inline;
  }
}

.announcement-padding {
  padding-top: 48px;
  transition: padding-top 0.3s ease;
}

.results-container::-webkit-scrollbar {
  width: 8px;
}

.results-container::-webkit-scrollbar-track {
  background: #060010;
}

.results-container::-webkit-scrollbar-thumb {
  background: #271e37;
  border-radius: 4px;
}

.results-container {
  scrollbar-width: thin;
  scrollbar-color: #271e37 #060010;
}

.eb-demo-card {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: #e9f8ff;
}

.eb-demo-badge {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.eb-demo-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.eb-demo-desc {
  margin: 0;
  opacity: 0.7;
  font-size: 14px;
}

.eb-demo-row {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.eb-demo-chip {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.eb-demo-cta {
  margin-top: 6px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  color: #2e2e2e;
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  transition:
    transform 120ms ease,
    filter 120ms ease,
    box-shadow 120ms ease;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.eb-demo-cta:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
  box-shadow: 0 6px 24px rgba(125, 249, 255, 0.25);
}

.eb-demo-button-wrap {
  width: 150px;
  height: 50px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eb-demo-button {
  font-size: 16px;
  line-height: 0;
  letter-spacing: -0.5px;
  color: #b19eef;
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.eb-button-container {
  transition: 0.3s ease;
}

.eb-button-container:hover {
  transform: scale(1.1);
  background-color: rgba(177, 158, 239, 0.1);
  box-shadow: 0 8px 16px rgba(177, 158, 239, 0.1);
  transition: 0.3s ease;
  filter: saturate(1.5);
}
