* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

body {
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 15px;
}

.card {
  background: rgba(20, 20, 20, 0.95);
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #6cff3f;
  box-shadow: 0 0 20px rgba(108, 255, 63, 0.3);
  max-width: 600px;
  width: 100%;
  animation: fadeIn 1s ease-in-out;
}

.card > img {
  width: 200px;
  margin-bottom: 15px;
  animation: float 3s ease-in-out infinite;
}

h2 {
  margin: 15px 0;
  font-size: 26px;
  color: #6cff3f;
}

p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #ddd;
}

.flags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.flag-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: #6cff3f;
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  font-size: 15px;
}

.flag-btn img {
  width: 25px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  animation: float-flags 3s ease-in infinite;
}

.flag-id {
  animation: float-flags 3s ease-in infinite;
}

.flag-btn:hover {
  background: #57d433;
  transform: scale(1.05);
}

.flag-btn.active {
  background: linear-gradient(45deg, #6cff3f, #32a852);
  color: white;
  padding: 8px 20px;
  box-shadow: 0 0 12px rgba(108, 255, 63, 0.8);
  transform: scale(1.1);
}

.small-text, .title,.desc {
  font-weight: 600;
}

.title,.desc {
  margin: 8px 0;
}

.small-text {
  color: #488aec;
  font-size: 14px;
}

.title {
  color: #fff;
  font-size: 26px;
  line-height: 26px;
}

.desc {
  color: rgb(151 153 167);
  font-size: 13px;
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  padding: 6px 20px;
  text-decoration: none;
  transition: 0.3s;
}

.button:first-child {
  box-shadow: 0 4px 6px -1px #488aec31, 0 2px 4px -1px #488aec17;
  background-color: #488aec;
}

.button:first-child:hover {
  background-color: #488aec17;
  transform: scale(1.1);
}

.button:last-child {
  box-shadow: 0 4px 6px -1px #0b162531, 0 2px 4px -1px #0e192b17;
  background-color: #fff;
}

.button:last-child:hover {
  background-color: #6cff3f;
  transform: scale(1.1);
}

.icon {
  height: 25px;
  width: 25px;
}

.icon svg {
  width: 100%;
  height: 100%;
}

.icon svg:last-child {
  fill: #000
}

.button-text {
  display: flex;
  flex-direction: column;
  margin-left: 8px;
}

.button-text span:first-child {
  font-size: 12px;
  font-weight: 600;
}

.google span:first-child {
  color: rgb(219 206 253);
}

.apple span:first-child {
  color: rgb(81 87 108);
}

.google span:last-child {
  color: #fff;
  font-weight: 800;
}

.apple span:last-child {
  color: #000;
  font-weight: 800;
}

.btn {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 14px;
  border: 1px solid #6cff3f;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  background: #6cff3f;
  color: #000;
  margin-top: 20px;
  margin-bottom: 15px;
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 8px 20px rgba(108, 255, 63, 0.4);
}

footer {
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
  font-weight: bold;
  color: #888;
}

.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 10px;
  margin-bottom: 5px;
  border: 1px solid #6cff3f;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.link-item i {
  font-size: 22px;
  margin-bottom: 8px;
  color: #6cff3f;
}

.link-item:hover {
  background: #6cff3f;
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(108, 255, 63, 0.3);
}

.link-item:hover i {
  color: #000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-flags {
  0%,
  100% {
    transform: translateY(2px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.hidden {
  display: none;
}

@media (max-width: 480px) {
  .card {
    padding: 20px;
    border-radius: 15px;
  }
  .card img {
    width: 140px;
  }
  h2 {
    font-size: 22px;
  }
  p {
    font-size: 14px;
  }
  .flag-btn {
    font-size: 14px;
    margin-right: 5px;
    padding: 6px 12px;
  }
  .flag-btn img {
    width: 20px;
    height: 14px;
  }
  .btn {
    font-size: 14px;
    padding: 12px;
    font-weight: 600;
  }
}
