.payme-bg {
    position: relative;
    background-image: url(../img/backgrounds/payme/payme-bg.jpg);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical centering */
    align-items: center;     /* horizontal centering */
    z-index: 1;
}

.payme-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* black with 50% opacity */
    z-index: 2;
}

.payme-preferred-header,
.payme-alt-header,
.payme-preferred-links,
.payme-alt-links {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-bottom: 20px; /* optional spacing */
}

.payme-preferred-header h2,
.payme-alt-header h2 {
    position: relative;
    z-index: 3;
}

.payme-preferred-header {
    padding-top: 20px;
    text-align: center;
}

.payme-preferred-header h2 {
    color: white; /* Or black depending on your background */
    font-size: 4rem;
    text-shadow: -1.5px -1.5px 0 black, 1.5px -1.5px 0 black, -1.5px  1.5px 0 black, 1.5px  1.5px 0 black;
    text-decoration: underline solid 3px;
}

.payme-preferred-links {
    display: flex;
    column-gap: 130px;
}

.payme-throne {
    margin-top: 25px;
    width: 200px;
    height: 200px;
    background-image: url(../img/logos/throne-logo.png);
    background-repeat: no-repeat;
    background-size: contain; /* Ensure the full image fits */
    background-position: center; /* Center the image inside the div */
}

.payme-ca {
    margin-top: 25px;
    width: 200px;
    height: 200px;
    background-image: url(../img/logos/cashapp-logo.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.payme-alt-header {
    padding-top: 50px;
    text-align: center;
}

.payme-alt-header h2 {
    color: white; /* Or black depending on your background */
    font-size: 4rem;
    text-shadow: -1.5px -1.5px 0 black, 1.5px -1.5px 0 black, -1.5px  1.5px 0 black, 1.5px  1.5px 0 black;
    text-decoration: underline solid 3px;
}

.payme-alt-links {
    display: flex;
    column-gap: 130px;
}

.payme-of {
    margin-top: 25px;
    width: 200px;
    height: 200px;
    background-image: url(../img/logos/of-logo.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.payme-lf {
    margin-top: 25px;
    width: 225px;
    height: 200px;
    background-image: url(../img/logos/lf-logo.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.logo-tile {
    position: relative;
    overflow: hidden;
}

/* the tint layer */
.logo-tile::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* black tint */
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* remove tint on hover */
.logo-tile:hover::after {
    opacity: 0;
}






@media (max-width: 768px) {
  .payme-bg {
    padding: 20px;
    align-items: stretch;
  }
  .payme-preferred-header h2,
  .payme-alt-header h2 {
    font-size: 2.2rem;
    padding: 0 10px;
  }
  .payme-preferred-links,
  .payme-alt-links {
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
    column-gap: 0;
  }
  .payme-throne,
  .payme-ca,
  .payme-of,
  .payme-lf {
    width: 160px;
    height: 160px;
    margin-top: 20px;
  }
  .payme-alt-header {
    padding-top: 40px;
  }
}

@media (max-width: 390px) {
  .payme-throne,
  .payme-ca,
  .payme-of,
  .payme-lf {
    width: 140px;
    height: 140px;
  }
}