:root {
  --bg-color: #0f111a;
  --primary-purple: #8b5cf6;
  --neon-purple: #a855f7;
  --text-color: #ffffff;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Segoe UI", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-direction: column;
  @media (max-width: 450px) {
    padding: 1rem;
  }
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  text-align: center;
}

.logo {
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.logo span {
  color: var(--primary-purple);
}

.status {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.link {
  text-decoration: none;
  color: var(--text-color);
  padding: 10px 25px;
  border: 1px solid var(--primary-purple);
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.link:hover {
  background-color: var(--primary-purple);
  box-shadow: 0 0 10px var(--neon-purple);
  transform: translateY(-3px);
}
/* Styling for Icons inside the links */
.link i {
  margin-right: 8px; /* Space between icon and text */
  font-size: 1.1rem;
  vertical-align: middle;
}

/* Optional: Different color on hover for each platform to match Fez Academy's vibe */
.link:hover i.fa-youtube {
  color: #ff0000;
}
.link:hover i.fa-instagram {
  color: #e1306c;
}
.link:hover i.fa-tiktok {
  color: #ca009e;
}
.link:hover i.fa-github {
  color: #fafafa;
}

.logo-img {
  width: 150px;
  height: 150px;
  border-radius: 100%;
}

/* Card Container for Layout */
.code-cards-container {
  display: flex;
  flex-wrap: wrap; /* Allow cards to wrap to next line on smaller screens */
  gap: 30px; /* Space between cards */
  justify-content: center;
  margin-top: 60px; /* Space from the "Under Maintenance" section */
  padding-bottom: 2rem;
}

/* Individual Code Card Styling */
.code-card {
  background-color: #1a1e28; /* Slightly lighter dark background for contrast */
  /* border: 1px solid var(--primary-purple); */
  border-radius: 15px;
  overflow: hidden; /* Important for image corners */
  width: 18rem; /* Fixed width for consistent design */
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.code-card:hover {
  transform: translateY(-8px); /* Lift effect on hover */
  box-shadow: 0px 0px 15px #a955f74d; /* Stronger glow on hover */
}

.card-image {
  width: 100%;
  height: 10rem;
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Allows content to take up available space */
}

.card-title {
  font-size: 1.4rem;
  color: var(--neon-purple);
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.card-description {
  font-size: 0.95rem;
  color: #cbd5e1; /* Lighter grey for description text */
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1; /* Pushes the button to the bottom */
}

.github-button {
  display: inline-flex; /* Align icon and text */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: var(--primary-purple);
  color: var(--text-color);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 5px rgba(139, 92, 246, 0.4);
}

.github-button:hover {
  background-color: var(--neon-purple);
  box-shadow: 0 5px 10px rgba(168, 85, 247, 0.6);
  transform: translateY(-2px);
}

.github-button i {
  margin-right: 10px;
}
.scroll-indicator {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary-purple);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

.scroll-indicator p {
  margin-bottom: 10px;
}

.scroll-indicator i {
  font-size: 1.5rem;
  animation: bounce 2s infinite; /* أنميشن الحركة */
}

/* حركة السهم طالع نازل */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
