/* ============================================
  THEMED FOOTER CSS
  ============================================
  - Colors replaced with Valorant variables.
  - Fonts set to match the header's theme.
  - 'border-radius' replaced with 'clip-path' for a cohesive, angular style.
  - Hover effects updated to use theme colors.
*/

/* Adding root variables for context */
:root {
  --valorant-red: #ff4655;
  --valorant-offwhite: #ece8e1;
  --valorant-dark: #0f172a; 
  --valorant-dark-accent: #111a2c;
  --valorant-red-transparent: rgba(255, 70, 85, 0.2);
}

.footer {
  /* --- THEME CHANGE: Background colors --- */
  background: linear-gradient(135deg, var(--valorant-dark), var(--valorant-dark-accent));
  padding: 6rem 0 2rem; /* Increased top padding for clip-path */
  color: var(--valorant-offwhite); /* --- THEME CHANGE: Text color --- */
  position: relative;
  overflow: hidden;
  
  /* --- THEME CHANGE: Added font-family --- */
  font-family: 'Bahnschrift', 'Tungsten', 'Inter', system-ui, -apple-system, sans-serif;
  
  /* --- THEME CHANGE: Added angular clip-path --- */
  clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-about {
  padding-right: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 50px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.footer-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  /* --- THEME CHANGE: Added text-transform --- */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8; /* --- THEME CHANGE: Adjusted opacity --- */
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  /* --- THEME CHANGE: Colors --- */
  background: var(--valorant-red-transparent);
  border: 1px solid var(--valorant-red-transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  
  /* --- THEME CHANGE: Replaced border-radius with clip-path --- */
  clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
}

.social-link:hover {
  /* --- THEME CHANGE: Hover colors & shadow --- */
  background: var(--valorant-red);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 70, 85, 0.4);
  text-decoration: none;
}

.social-link i {
  color: var(--valorant-offwhite); /* --- THEME CHANGE: Color --- */
  font-size: 1.2rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* (Removed redundant rules for text-decoration) */

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  /* --- THEME CHANGE: Color and text-transform --- */
  color: var(--valorant-red);
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--valorant-offwhite); /* --- THEME CHANGE: Color --- */
  text-decoration: none;
  opacity: 0.8; /* --- THEME CHANGE: Adjusted opacity --- */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(5px);
  color: var(--valorant-red); /* --- THEME CHANGE: Hover color --- */
}

.footer-links i {
  font-size: 0.8rem;
}

.contact-info {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-info i {
  width: 35px;
  height: 35px;
  /* --- THEME CHANGE: Colors --- */
  background: var(--valorant-red-transparent);
  border: 1px solid var(--valorant-red-transparent);
  color: var(--valorant-red);
  
  display: flex;
  align-items: center;
  justify-content: center;

  /* --- THEME CHANGE: Replaced border-radius with clip-path --- */
  clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  /* --- THEME CHANGE: Border color --- */
  border-top: 1px solid var(--valorant-red-transparent);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7; /* --- THEME CHANGE: Adjusted opacity --- */
}

.footer-decoration {
  position: absolute;
  z-index: 1;
}

/* --- THEME CHANGE: Made blobs red to match theme --- */
.footer-blob-1 {
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 70, 85, 0.08); 
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphBlob 15s ease-in-out infinite;
}

.footer-blob-2 {
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 70, 85, 0.08);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphBlob 20s ease-in-out infinite reverse;
}

/* --- (Responsive media queries are unchanged, they just inherit the new styles) --- */
@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  .footer-about {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
  }
  .footer-description {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-logo {
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 3rem 0 1rem;
    /* Reset clip-path on small screens if it causes issues */
    clip-path: none;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer-section {
    padding: 0 1rem;
  }
  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-links a {
    justify-content: center;
  }
  .contact-info li {
    justify-content: center;
    font-size: 0.9rem;
  }
  .footer-bottom {
    margin-top: 2rem;
    padding: 1rem;
    font-size: 0.85rem;
  }
}

/* --- THEME CHANGE: Developer info styling --- */
.developer-info {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.7; /* --- THEME CHANGE: Adjusted opacity --- */
}

.developer-info a {
  color: var(--valorant-offwhite);
  text-decoration: none;
  transition: color 0.3s ease;
}

.developer-info a:hover {
  color: var(--valorant-red); /* --- THEME CHANGE: Hover color --- */
}