/* Animated contact info styles */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 500px;
}

.contact-item {
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.2s;
}

.contact-item:nth-child(2) {
  animation-delay: 0.4s;
}
.contact-item:nth-child(3) {
  animation-delay: 0.6s;
}

.contact-link {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
}

.contact-link:hover {
  background: linear-gradient(90deg, #ff4d4d, #ffea00);
  color: #222;
  box-shadow: 0 4px 16px rgba(255,0,0,0.18);
  transform: scale(1.05);
}

.contact-icon {
  font-size: 2em;
  margin-right: 16px;
  transition: color 0.3s, transform 0.3s;
}

.contact-link:hover .contact-icon {
  color: #ff4d4d;
  transform: rotate(-12deg) scale(1.2);
}

.whatsapp-link .contact-icon {
  color: #25D366;
}

.contact-label {
  font-weight: bold;
  margin-right: 8px;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Slide-up text animation */
.slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 0.6s cubic-bezier(.4,2,.3,1) forwards;
}
.slide-up.delay-1 { animation-delay: 0.2s; }
.slide-up.delay-2 { animation-delay: 0.4s; }
.slide-up.delay-3 { animation-delay: 0.6s; }

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background: linear-gradient(120deg, #111 0%, #222 20%, #444 40%, #888 60%, #222 80%, #111 100%);
  background-size: 200% 200%;
  animation: blanketMove 12s ease-in-out infinite;
  color: #ffffff;
  min-height: 100vh;
  position: relative;
}

@keyframes blanketMove {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('OIP.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(3px);
  z-index: -1;
}


header {
  background: linear-gradient(90deg, #ff0000, #cc0000);
  color: #fff;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header h1 {
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  font-size: 2.8rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 2px 8px rgba(255,0,0,0.08);
  position: relative;
  z-index: 1;
}

.nav-links a:hover, .nav-links a.active {
  background: linear-gradient(90deg, #ff4d4d, #ffea00);
  color: #222;
  box-shadow: 0 4px 16px rgba(255,0,0,0.18);
}

.nav-links a::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #ff4d4d, #ffea00);
  border-radius: 2px;
  transition: transform 0.3s;
  z-index: 0;
}

.nav-links a:hover::after, .nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

main {
  padding: 2rem;
}

main section {
  width: 100%;
  margin-bottom: 2rem;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1.5rem;
    max-width: 900px;
  }
  .card {
    width: 340px;
    height: 420px;
    font-size: 0.95em;
  }
}

@media (max-width: 700px) {
  .cards-container {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1rem;
    max-width: 98vw;
  }
  .card {
    width: 98vw;
    max-width: 370px;
    height: 400px;
    font-size: 0.92em;
    margin: 0 auto 1.2rem auto;
  }
  header h1 {
    font-size: 1.3rem;
  }
  main {
    padding: 1rem;
  }
  .nav-links {
    gap: 1rem;
    font-size: 1rem;
  }
  .card-back h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 400px) {
  .card {
    width: 98vw;
    height: 320px;
    font-size: 0.85em;
  }
  header h1 {
    font-size: 1rem;
  }
}


.card {
  font-family: "Courier New", monospace;
  font-size: 1em;
  width: 400px;
  height: 500px;
  perspective: 1200px;
  position: relative;
  margin: 1rem;
  cursor: pointer;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  background: none;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(.4,2,.3,1);
  transform-style: preserve-3d;
  border-radius: 20px;
}

.card:hover .card-inner,
.card:focus-within .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  box-shadow: 0 0 24px 0 rgba(255,0,80,0.15), 0 0 0 4px rgba(255,255,255,0.08);
  z-index: 1;
}

.card-front {
  background: linear-gradient(145deg, #232526, #414345);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 0 32px 0 rgba(255,0,80,0.12);
}

.card-back {
  background: linear-gradient(145deg, #ff4d4d, #cc0000);
  color: white;
  transform: rotateY(180deg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 32px 0 rgba(255,0,80,0.18);
}

.card-back h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.specs {
  text-align: left;
  width: 100%;
}

.specs p {
  margin: 1rem 0;
  font-size: 1.2rem;
  padding: 0.8rem;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.specs p:hover {
  transform: translateX(10px);
  background: rgba(0,0,0,0.4);
}

.specs i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.card-back h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.card-back ul {
  list-style: none;
  padding: 0;
  width: 100%;
}

.card-back li {
  margin: 0.8rem 0;
  font-size: 1.1rem;
  padding: 0.5rem;
  background: rgba(0,0,0,0.2);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.card-back li:hover {
  background: rgba(0,0,0,0.4);
  transform: scale(1.05);
}

.card-header {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  border-bottom: 2px solid #000;
  padding-bottom: 0.25em;
}

.card-body p {
  margin: 0.5em 0;
  line-height: 1.4;
}

.status {
  color: #00ff99;
  font-weight: bold;
  text-shadow: 1px 1px #000;
}

/* Remove the glitch animation since we're using the star border instead */

#M1 {
  max-width: 400px;
}



footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1rem;
  position: sticky;
  bottom: 0;
}





/* Removed glowing animated border for cards as requested. */

.card {
  box-shadow: 0 0 32px 0 rgba(0,255,255,0.08), 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Remove old star-border-container and gradients for cards */

/* Removed display: none !important; to prevent hiding card content. */




#lights {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
}

canvas {
  width: 100%;
  height: 100%;
}