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

html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Landing Page Styles */
.landing-background {
  display: flex;
  width: 100%;
  min-height: 100vh;
  padding: 40px 20px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(118deg, #E11D1D 0%, #061014 60%);
  position: relative;
  overflow: hidden;
}

.gradient-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0.08;
  background: 
    radial-gradient(123.74% 123.74% at -3700% -3700%, #F5F5F7 0.25%, rgba(245, 245, 247, 0.00) 0.25%), 
    radial-gradient(88.39% 88.39% at -1200% -1200%, #F5F5F7 0.35%, rgba(245, 245, 247, 0.00) 0.35%), 
    radial-gradient(107.53% 107.53% at 1300% -3700%, #F5F5F7 0.29%, rgba(245, 245, 247, 0.00) 0.29%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.landing-card {
  display: flex;
  width: 100%;
  max-width: 560px;
  padding: 32px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  background: rgba(15, 20, 22, 0.68);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(225, 29, 29, 0.30);
  position: relative;
  z-index: 1;
}

.avatar-container {
  display: flex;
  width: 88px;
  height: 88px;
  padding: 1px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid #2B2B33;
  background: #0F1720;
  flex-shrink: 0;
}

.avatar-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.title-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.title-text {
  color: #F5F5F7;
  text-align: center;
  font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 28.6px;
}

.verification-badge {
  display: flex;
  width: 22px;
  height: 22px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #1DA1F2;
  flex-shrink: 0;
}

.username {
  color: #9AA4AB;
  text-align: center;
  font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.user-count {
  color: #9AA4AB;
  text-align: center;
  font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.card-glow {
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  position: absolute;
  left: -2px;
  top: -2px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.00);
  box-shadow: 0 0 0 1px rgba(225, 29, 29, 0.28), 0 0 24px 0 rgba(225, 29, 29, 0.28) inset;
  pointer-events: none;
}

.description-container {
  display: flex;
  width: 100%;
  padding-top: 4px;
  flex-direction: column;
  align-items: center;
}

.description-wrapper {
  display: flex;
  width: 100%;
  padding: 0 16px;
  flex-direction: column;
  align-items: center;
  opacity: 0.92;
}

.description-text {
  width: 100%;
  color: #F5F5F7;
  text-align: center;
  font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.button-container {
  display: flex;
  width: 100%;
  padding-top: 12px;
  flex-direction: column;
  align-items: stretch;
}

.start-button {
  display: flex;
  padding: 15px 17px;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(225, 29, 29, 0.50);
  background: linear-gradient(95deg, #E11D1D 0%, #000 100%);
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(225, 29, 29, 0.7);
  }
  50% {
    box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(225, 29, 29, 0);
  }
}

.start-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px 0 rgba(0, 0, 0, 0.45);
  animation: none;
}

.button-text {
  color: #FFF;
  text-align: center;
  font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* Media queries for mobile responsiveness */
@media (max-width: 640px) {
  .landing-background {
    padding: 20px 16px;
  }

  .landing-card {
    padding: 24px 20px;
    gap: 12px;
    max-width: calc(100% - 32px);
  }

  .avatar-container {
    width: 72px;
    height: 72px;
  }


  .title-text {
    font-size: 18px;
    line-height: 24px;
  }

  .verification-badge {
    width: 18px;
    height: 18px;
  }

  .verification-badge svg {
    width: 12px;
    height: 12px;
  }

  .username,
  .user-count {
    font-size: 12px;
  }

  .description-wrapper {
    padding: 0 8px;
  }

  .description-text {
    font-size: 14px;
    line-height: 20px;
  }

  .start-button {
    padding: 12px 16px;
  }

  .button-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .landing-background {
    padding: 16px 12px;
  }

  .landing-card {
    padding: 20px 16px;
    max-width: 100%;
  }

  .title-text {
    font-size: 16px;
    line-height: 22px;
  }

  .description-text {
    font-size: 13px;
    line-height: 18px;
  }
}

@media (max-width: 375px) {
  .landing-background {
    padding: 12px 10px;
  }

  .landing-card {
    padding: 16px 12px;
    gap: 10px;
  }

  .avatar-container {
    width: 64px;
    height: 64px;
  }


  .title-text {
    font-size: 14px;
    line-height: 20px;
  }

  .description-text {
    font-size: 12px;
    line-height: 16px;
  }

  .start-button {
    padding: 10px 14px;
  }

  .button-text {
    font-size: 13px;
  }
}