body {
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.video-background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.video-background video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#runningTextContainer {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  text-align: center;
  padding: 12px 10px;
  background-color: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(226, 43, 89, 0.3);
  box-shadow: 0 4px 15px rgba(226, 43, 89, 0.15);
  z-index: 10;
}

.mq-name {
  color: #ffcc00;
  font-weight: 700;
}

.mq-action {
  color: #ffffff;
  opacity: 0.95;
}

.twemoji {
  width: 1.3em;
  height: 1.3em;
  vertical-align: -0.25em;
  margin-left: 4px;
}

#runningText {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  display: inline-block;
  white-space: nowrap;
  animation: marquee linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-100%);
  }
}

.container {
  max-width: 600px;
  padding: 20px;
  text-align: center;
}

.logo {
  width: 45px;
  position: center;
  margin-top: 100px;
  text-align: center;
}

h1 {
  font-size: 26px;
  color: #fff;
  top: 300px;
}

.container p {
  font-size: 15px;
  color: #fff;
  margin-bottom: 200px;
}

.join-button {
  display: inline-block;
  margin-bottom: 80px;
  padding: 12px 30px;
  background: linear-gradient(45deg, #ff3366, #9f1de0);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.join-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 51, 102, 0.6);
}

.footer {
  font-size: 13px;
  color: #fff;
  position: fixed;
  bottom: 15px;
  width: 100%;
}

.age-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.age-selector select,
.age-selector input {
  margin: 0 10px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.join-button span {
  font-weight: bold;
  margin-left: 5px;
  animation: blink 0.8s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Auto Redirect Message Styles */
.auto-redirect-msg {
    margin-top: -100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: fadeIn 0.5s ease-in-out;
}

.auto-redirect-msg span {
    color: #ffcccc;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(226, 43, 89, 0.3);
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(226, 43, 89, 0.3);
    border-radius: 50%;
    border-top-color: #e22b59;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}