/* =========================================
   1. BASE & PERFORMANCE FIXES
========================================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #000;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* =========================================
   2. PARALLAX NIGHT SKY BACKGROUND
========================================= */
.background-container {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  z-index: 0;
}

.stars {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #000 url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/stars.png) repeat top center;
  z-index: 0;
}

.twinkling {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: transparent url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/twinkling.png") repeat top center;
  z-index: 1;
  animation: move-bg 100s linear infinite;
}

.moon {
  position: absolute;
  top: -20px;
  right: -40px;
  width: 250px;
  height: 250px;
  z-index: 2;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

.clouds {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: transparent url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/clouds_repeat.png") repeat top center;
  z-index: 3;
  opacity: 0.6;
  animation: move-bg 60s linear infinite;
}

@keyframes move-bg {
  from { background-position: 0 0; }
  to { background-position: -10000px 0; }
}

/* =========================================
   3. FOREGROUND UI (SHMO CARD)
========================================= */
.shmo-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 100vh;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.shmo-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  margin-bottom: 15px;
}

.profile-name {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.profile-bio {
  color: #ddd;
  font-size: 15px;
  margin: 5px 0 30px 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* =========================================
   4. LINK CARDS
========================================= */
.links-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.link-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.link-card:active {
  transform: translateY(0) scale(0.98);
}

.card-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: rgba(100, 150, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #7eb3ff;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.card-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 400;
}

.card-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  transition: all 0.3s ease;
}

.link-card:hover .card-arrow {
  color: rgba(255, 255, 255, 0.8);
  transform: translateX(4px);
}

/* =========================================
   5. SOCIAL SECTION
========================================= */

.social-section {
  margin-top: 40px;
  text-align: center;
  width: 100%;
}

.social-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  position: relative;
}

/* Optional thin line effect */
.social-title::before,
.social-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.social-title::before { left: 0; }
.social-title::after { right: 0; }

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  text-decoration: none;
  
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.social-btn:active {
  transform: scale(0.95);
}