/* === Contact Page (Web3 Animated Grid) === 
body, html {
  height: 100%;
  font-family: 'Lato', sans-serif;
  background: #06163A;
  overflow-x: hidden;
}*/

.contact-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.gradient-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, #e00011 0%, #0a0a0a 60%, #000000 100%);
  animation: gradientShift 10s infinite alternate ease-in-out;
  /*filter: blur(100px);*/
  opacity: 0.8;
  z-index: 0;
}

@keyframes gradientShift {
  0% { background-position: 30% 30%; }
  100% { background-position: 70% 70%; }
}

.center-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px 80px;
}

.contact-title h1 {
  font-size: 44px;
  font-weight: 800;
  color: #f5f5f5;
  margin-bottom: 10px;
}
.contact-title p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 50px;
  color: #f5f5f5;
}


/* === Web3 Grid === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  justify-items: center;
}

.icon-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 26px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  animation: floatCard 5s ease-in-out infinite;
}

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

/* Give each card a slight delay for natural rhythm */
.icon-card:nth-child(1) { animation-delay: 0s; }
.icon-card:nth-child(2) { animation-delay: 0.5s; }
.icon-card:nth-child(3) { animation-delay: 1s; }
.icon-card:nth-child(4) { animation-delay: 1.5s; }
.icon-card:nth-child(5) { animation-delay: 2s; }
.icon-card:nth-child(6) { animation-delay: 2.5s; }
.icon-card:nth-child(7) { animation-delay: 3s; }
.icon-card:nth-child(8) { animation-delay: 3.5s; }

.icon-card span {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.icon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(214,45,48,0.3), rgba(255,255,255,0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.icon-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 0 30px rgba(214,45,48,0.4);
}
.icon-card:hover::before {
  opacity: 1;
}

/* Brand Colors */
.icon-card.email i { color: #ffb700; }
.icon-card.telegram i { color: #0088cc;}
.icon-card.whatsapp i { color: #25D366; }
.icon-card.instagram i { color: #e4405f; }
.icon-card.twitter i { color: #1DA1F2; }
.icon-card.facebook i { color: #1877F2; }
.icon-card.tiktok i { background: linear-gradient(45deg, #ff0050, #00f2ea); -webkit-background-clip: text; color: transparent; }
.icon-card.snapchat i { color: #FFFC00; }

/* Glow per brand on hover */
.icon-card.email:hover { box-shadow: 0 0 30px #ffb700; }
.icon-card.telegram:hover { box-shadow: 0 0 30px #0088cc; }
.icon-card.whatsapp:hover { box-shadow: 0 0 30px #25D366; }
.icon-card.instagram:hover { box-shadow: 0 0 30px #e4405f; }
.icon-card.twitter:hover { box-shadow: 0 0 30px #1DA1F2; }
.icon-card.facebook:hover { box-shadow: 0 0 30px #1877F2; }
.icon-card.tiktok:hover { box-shadow: 0 0 30px #00f2ea; }
.icon-card.snapchat:hover { box-shadow: 0 0 30px #FFFC00; }

/* Responsive */
@media (max-width: 768px) {
  .icon-card {
    width: 140px;
    height: 140px;
    font-size: 22px;
  }
}
@media (max-width: 480px) {
  .icon-card {
    width: 120px;
    height: 120px;
    font-size: 20px;
  }
  .contact-title h1 { font-size: 30px; }
}

