* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #2c2a2a !important;
  font-family: Arial, sans-serif;
}
.bg {
  width: 100%;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2vw;
  box-sizing: border-box;
}
.box {
  width: 100%;
  height: 100%;
  flex: 1;
}
.logo {
  margin-top: 20px;
  text-align: center;
}
.logo img {
  width: 70%;
  max-width: 300px;
}
.list {
  width: 96%;
  min-height: 32%;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 20px auto 0;
}
.list a {
  display: block;
  width: 100%;
  position: relative;
  text-decoration: none;
  background: #1d1d1d;
  border: 1px solid #ff5b7a;
  border-radius: 15px;
  margin-bottom: 10px;
  max-height: 75px;
  transition: all 0.3s ease;
}
.list a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 91, 122, 0.3);
}
.list a img {
  width: 100%;
  display: flex;
}
.list a .text {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 10px 0;
  color: #ff5757;
}
.list a .text .btnTitle {
  font-size: 16px;
  color: #fff;
}
.list a .text .btnLink {
  font-size: 14px;
}
.footer {
  text-align: center;
  font-size: 12px;
  color: #fff;
  line-height: 1.5;
  margin-top: 20px;
}
.footer a {
  color: #fff;
  text-decoration: underline;
}
.link-manager {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
}
.link-manager h3 {
  text-align: center;
  margin-bottom: 15px;
  color: #ff5b7a;
}
.link-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.link-form input {
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid #444;
  background: #333;
  color: #fff;
}
.link-form button {
  padding: 8px 12px;
  border-radius: 5px;
  border: none;
  background: #ff5b7a;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}
.link-form button:hover {
  background: #ff3d63;
}
.link-list {
  margin-top: 15px;
}
.link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  margin-bottom: 8px;
}
.link-actions button {
  margin-left: 5px;
  padding: 4px 8px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
}
.edit-btn {
  background: #4caf50;
  color: white;
}
.delete-btn {
  background: #f44336;
  color: white;
}
.control-buttons {
  text-align: center;
  margin: 15px 0;
}
.control-buttons button {
  padding: 8px 15px;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 5px;
}
.toggle-btn {
  background: #444;
}
.reset-btn {
  background: #666;
}
@media (min-width: 768px) {
  .bg {
    max-width: 450px;
  }
}
