/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #01020b;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  text-align: center;
}

.cover-container {
  position: relative;
  width: 640px;
  height: 696px;
  margin: 0 auto;
  background: url("/images/bg-not-right.jpg") no-repeat center top;
  background-size: contain;
  overflow: hidden;
}

.cover {
  position: absolute;
  inset: 0;
}

.button-container {
  position: absolute;
  top: 385px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.hide-from-desktop {
  display: none;
}

.service-button {
  flex: 1;
  background: rgba(255,255,255,0.7);
  color: #01020b;
  text-decoration: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.service-button i {
  margin-right: 8px;
}
.service-button:hover {
  background: rgba(1,2,11,0.92);
  color: #fff;
}

/* ► Social Icons */
.footer-socials {
  position: absolute;
  top: 620px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 70px;
}
.footer-socials a {
  color: #ffffff;
  font-size: 24px;
  transition: color 0.3s;
}
.footer-socials a:hover {
  color: #ccc;
}

.copyright {
  position: absolute;
  top: 660px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #fff;
}

.youtube-btn {
  background-color: #FF0000;
  color: #FFFFFF;
}

/* Optional: darker on hover */
.youtube-btn:hover {
  background-color: #CC0000;
  color: #FFFFFF;
}

@media (max-width: 575.98px) {
  .cover-container {
    transform: scale(0.87);
    transform-origin: top center;
    overflow: visible;
  }
}

@media (max-width: 639px) {
  .cover-container {
    width: 100% !important;
    aspect-ratio: 640/696 !important;
    background-size: 100% auto !important;
    transform: none !important;
    overflow: visible !important;
    height: auto !important;
  }

  .cover {
    position: static !important;
    padding-top: 380px !important;
    padding-bottom: 1rem !important;
  }

  .button-container {
    position: static !important;
    transform: none !important;
    max-width: none !important;
    padding: 0 1rem !important;
    gap: 12px !important;
  }

  .row {
    flex-wrap: wrap !important;
  }

  .service-button {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-socials {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    gap: 50px !important;
    margin: 1.5rem 0 1rem 0 !important;
    width: 100% !important;
    overflow: visible !important;
    transform: none !important;
  }

  .footer-socials a {
    font-size: 28px !important;
  }

  .copyright {
    position: static !important;
    width: 100% !important;
    margin: 0.5rem 0 1.5rem 0 !important;
    text-align: center !important;
    font-size: 14px !important;
    transform: none !important;
  }
}

@media (max-width: 639px) and (min-width: 541px) {
  .button-container {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .footer-socials {
    position: absolute !important;
    top: 88% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .copyright {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

}

@media (max-width: 540px) {
  .cover {
    padding-top: 103% !important;
  }

  .row {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .hide-from-desktop {
    display: flex;                 /* match your .row layout */
    justify-content: space-between;
    gap: 10px;
  }

  .service-button {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}