@import url('root.css');

/* Footer Styles */
footer {
  background: var(--dark-bg);
  color: var(--text);
  padding: 3rem 0 1rem;
  position: relative;
  border-top: 1px solid var(--card-border);
}

.footer-container {
  max-width: var(--breakpoint-xl);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo h2 {
  font-size: 1.8rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-logo span {
  color: var(--logo-color);
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: var(--line-height-normal);
  margin-bottom: 1.5rem;
  font-size: var(--font-size-sm);
}

.footer-brand p a {
  color: var(--logo-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer-brand p a:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-circle);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.social-link:hover {
  background: var(--card-hover);
  transform: translateY(-2px);
  border-color: var(--logo-color);
  box-shadow: var(--shadow-md);
}

.social-icon {
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0.8);
  transition: var(--transition);
}

.social-link:hover .social-icon {
  filter: brightness(1);
}

/* Social Media Icons */
.discord {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127.14 96.36'%3E%3Cpath fill='%23CBD5E0' d='M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.85.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z'/%3E%3C/svg%3E");
}

.instagram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23CBD5E0' d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/%3E%3C/svg%3E");
}

.youtube {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='%23CBD5E0' d='M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z'/%3E%3C/svg%3E");
}

.footer-links h3 {
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
  color: var(--text);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--logo-color);
  border-radius: 1px;
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-size: var(--font-size-sm);
}

.footer-links ul li a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright p {
  color: var(--text-secondary);
  font-size: var(--font-size-xs);
  margin: 0;
}

/* Mascot Styles */
.footer-mascot {
  position: absolute;
  right: 5%;
  bottom: 0;
  height: 90%;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 15px rgba(203, 213, 224, 0.2));
  transition: var(--transition);
}

.footer-mascot:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 0 20px rgba(203, 213, 224, 0.3));
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-mascot {
    height: 80%;
    right: 2%;
  }
}

@media (max-width: 992px) {
  .footer-mascot {
    display: none;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-social {
    justify-content: center;
  }
}