body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  position: relative;
  background: #333;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://www.loliapi.com/acg/pc/') no-repeat center center/cover;
  z-index: -1;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 10px;
}

:root {
  --card-left-width: 400px;
  --card-right-width: 400px;
}

.card {
  display: flex;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: calc(var(--card-left-width) + var(--card-right-width));
  max-width: 100%;
}

.card-left {
  width: var(--card-left-width);
  background-color: #fff;
}

.card-left picture,
.card-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-right {
  width: var(--card-right-width);
  padding: 63px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-icon img {
  height: 100px;
}

.url-box {
  display: inline-flex;
  align-items: center;
  background-color: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 15px 0;
}

.url-box span {
  font-size: 1.2em;
  margin-right: 10px;
  user-select: none;
}

.url-box button {
  background-color: #e91e63;
  border: none;
  color: #fff;
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.url-box button:hover {
  background-color: #d81b60;
}

.btn-check {
  background-color: #e91e63;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 1em;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.btn-check:hover {
  background-color: #d81b60;
}

.loading {
  margin-top: 10px;
  font-size: 1.2em;
}

.status {
  margin-top: 15px;
  font-size: 1.5em;
}

a {
  color: #e91e63;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .card {
    flex-direction: column;
    width: 100%;
    overflow: hidden;
  }
  .card-left,
  .card-right {
    width: 100%;
  }
  .card-left {
    height: 200px;
    object-fit: cover;
  }
  .card-right {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    justify-content: center;
  }
  .service-icon img {
    height: 70px;
    margin-bottom: 20px;
  }
  
  .url-box {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    width: 100%;
    padding: 5px 10px;
    margin: 15px 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .url-box span {
    font-size: 1em;
    margin-right: 10px;
    user-select: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .url-box button {
    background-color: #e91e63;
    border: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
    margin-left: 10px;
  }
  
  .url-box button:hover {
    background-color: #d81b60;
  }
  
  .btn-check {
    width: 100%;
    max-width: 100%;
    padding: 12px 0;
    background-color: #e91e63;
    color: #fff;
    border: none;
    font-size: 1em;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
  }
  
  .btn-check:hover {
    background-color: #d81b60;
  }
}
