h1{ 
   color: #FFFFFF; 
   font-size: 36px;
   font-weight: bold;
   text-align: center;
   margin-bottom: 1rem;
   line-height: 1.2;
}

@media (max-width: 640px) {
   h1 {
       font-size: 28px;
       margin-bottom: 0.75rem;
   }
}

@media (max-width: 480px) {
   h1 {
       font-size: 24px;
   }
}

.main-text{
    color: #FFFFFF;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 600px;
}

@media (max-width: 640px) {
    .main-text {
        font-size: 16px;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .main-text {
        font-size: 14px;
        padding: 0 0.75rem;
    }
}

body.centered-bg {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #611f69;
    padding: 1rem;
    margin: 0;
    overflow-x: hidden;
}

@media (max-width: 640px) {
    body.centered-bg {
        padding: 0.75rem;
    }
}

.go-to-slack-button {
    background-color: #2BAC76;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-block;
    min-height: 24px;
    text-align: center;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .go-to-slack-button {
        padding: 14px 24px;
        font-size: 16px;
        min-height: 52px;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .go-to-slack-button {
        padding: 12px 20px;
        font-size: 15px;
        min-height: 48px;
    }
}

.go-to-slack-button:hover, .go-to-slack-button:focus {
    background-color: #2BAC76;
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.15);
    transform: translateY(-2px) scale(1.03);
    text-decoration: none;
}

@media (max-width: 640px) {
    .go-to-slack-button:hover, .go-to-slack-button:focus {
        transform: translateY(-1px) scale(1.02);
    }
}

/* Image responsiveness */
body.centered-bg img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    body.centered-bg img {
        width: 150px;
        height: 150px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    body.centered-bg img {
        width: 120px;
        height: 120px;
    }
}

/* Content container for pages with more text */
.main-text[style*="max-width"] {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
    .main-text[style*="max-width"] {
        margin: 1rem;
        padding: 1.5rem !important;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .main-text[style*="max-width"] {
        margin: 0.5rem;
        padding: 1rem !important;
    }
}

.back-to-home-link {
  color: #fff;
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  background: rgba(0,0,0,0.18);
  padding: 10px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.10);
  z-index: 100;
  transition: background 0.2s, color 0.2s;
}

.back-to-home-link:hover, .back-to-home-link:focus {
  background: rgba(255,255,255,0.22);
  color: #611f69;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .back-to-home-link {
    font-size: 1rem;
    padding: 10px 16px;
    bottom: 12px;
  }
}
