/* === ENHANCED FOOTER SECTION STYLES - PERFECT DART ALIGNMENT === */

.footer-section {
  background: 
    linear-gradient(135deg, #161B22 0%, #0d1117 100%) !important;
  border-top: 3px solid var(--accent-gold) !important;
  padding: 3rem 1.2rem 2rem !important;
  margin-top: 2.5rem !important;
  position: relative !important;
  opacity: 1 !important;
  z-index: 100 !important;
  box-shadow: 0 -6px 35px rgba(0, 0, 0, 0.4) !important;
  overflow: hidden !important;
}

/* Enhanced background effects */
.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 212, 99, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.footer-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 2.5rem !important;
  margin-bottom: 2rem !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 2 !important;
}

/* === ENHANCED FOOTER MAIN === */
.footer-main {
  display: flex !important;
  flex-direction: column !important;
  background: rgba(255, 255, 255, 0.12) !important;
  padding: 2rem !important;
  border-radius: 16px !important;
  border: 2px solid var(--accent-gold) !important;
  opacity: 1 !important;
  backdrop-filter: blur(25px) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.footer-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.footer-main:hover {
  transform: translateY(-2px) !important;
  box-shadow: 
    var(--glow-gold),
    0 8px 32px rgba(0, 0, 0, 0.3) !important;
  border-color: rgba(212, 175, 55, 0.8) !important;
}

.footer-logo {
  width: 70px !important;
  height: 70px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin-bottom: 1.2rem !important;
  border: 3px solid var(--accent-gold) !important;
  opacity: 1 !important;
  box-shadow: var(--glow-gold) !important;
  transition: all 0.3s ease !important;
}

.footer-logo:hover {
  transform: scale(1.05) rotate(2deg) !important;
  box-shadow: 
    var(--glow-gold),
    0 4px 20px rgba(212, 175, 55, 0.3) !important;
}

.footer-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  transition: all 0.3s ease !important;
}

.footer-logo:hover img {
  transform: scale(1.1) !important;
}

.footer-studio-name {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 1.4rem !important;
  color: var(--accent-gold) !important;
  margin-bottom: 1rem !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3) !important;
  transition: all 0.3s ease !important;
}

.footer-studio-name:hover {
  color: rgba(212, 175, 55, 0.9) !important;
  text-shadow: 0 4px 12px rgba(212, 175, 55, 0.5) !important;
  transform: translateX(2px) !important;
}

.footer-description {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  font-size: 0.85rem !important;
  text-align: justify !important;
  text-justify: inter-word !important;
  hyphens: auto !important;
}

/* === ENHANCED CONTACT INFO === */
.footer-contact-info {
  margin-bottom: 1.5rem !important;
  opacity: 1 !important;
}

.footer-contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  margin-bottom: 0.8rem !important;
  padding: 0.6rem !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  opacity: 1 !important;
}

.footer-contact-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  transform: translateX(4px) !important;
}

.footer-contact-item .contact-icon {
  font-size: 1rem !important;
  width: 20px !important;
  text-align: center !important;
  opacity: 0.8 !important;
}

.footer-contact-item span:last-child {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
}

.footer-contact-item a {
  color: inherit !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.footer-contact-item a:hover {
  color: var(--accent-electric) !important;
}

/* === ENHANCED SOCIAL LINKS === */
.footer-social {
  display: flex !important;
  gap: 0.8rem !important;
  opacity: 1 !important;
  flex-wrap: wrap !important;
}

.footer-social-link {
  width: 40px !important;
  height: 40px !important;
  background: linear-gradient(135deg, var(--accent-electric) 0%, rgba(16, 212, 99, 0.8) 100%) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--primary-dark) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  opacity: 1 !important;
  font-size: 1rem !important;
  position: relative !important;
  overflow: hidden !important;
}

.footer-social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.footer-social-link:hover::before {
  left: 100%;
}

.footer-social-link:hover {
  background: linear-gradient(135deg, var(--accent-gold) 0%, rgba(212, 175, 55, 0.8) 100%) !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 
    var(--glow-gold),
    0 6px 20px rgba(16, 212, 99, 0.3) !important;
  color: var(--primary-dark) !important;
}

/* === ENHANCED FOOTER COLUMNS === */
.footer-column {
  background: rgba(255, 255, 255, 0.08) !important;
  padding: 1.5rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  opacity: 1 !important;
  backdrop-filter: blur(20px) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.footer-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-electric), var(--accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-column:hover::before {
  opacity: 1;
}

.footer-column:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.footer-column h4 {
  font-family: 'Orbitron', sans-serif !important;
  color: var(--accent-electric) !important;
  margin-bottom: 1.2rem !important;
  font-size: 1rem !important;
  opacity: 1 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-electric);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.footer-column:hover h4::after {
  width: 60px;
}

.footer-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
  opacity: 1 !important;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  padding: 0.6rem 0.8rem !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  font-size: 0.8rem !important;
  position: relative !important;
  overflow: hidden !important;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--accent-electric);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.footer-link:hover::before {
  transform: scaleY(1);
}

.footer-link:hover {
  color: var(--accent-electric) !important;
  background: rgba(16, 212, 99, 0.1) !important;
  transform: translateX(6px) !important;
  padding-left: 1.2rem !important;
}

/* === ENHANCED FOOTER GDPR COLUMN === */
.footer-gdpr-column {
  background: rgba(255, 255, 255, 0.08) !important;
  padding: 1.5rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 51, 102, 0.3) !important;
  opacity: 1 !important;
  backdrop-filter: blur(20px) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.footer-gdpr-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff3366, #ff6b8a);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-gdpr-column:hover::before {
  opacity: 1;
}

.footer-gdpr-column:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(255, 51, 102, 0.15) !important;
  border-color: rgba(255, 51, 102, 0.5) !important;
}

.footer-gdpr-column h4 {
  font-family: 'Orbitron', sans-serif !important;
  color: #ff6b8a !important;
  margin-bottom: 1.2rem !important;
  font-size: 1rem !important;
  opacity: 1 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
}

.footer-gdpr-column h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #ff6b8a;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.footer-gdpr-column:hover h4::after {
  width: 60px;
}

.footer-gdpr-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
  opacity: 1 !important;
}

.footer-gdpr-link {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  padding: 0.6rem 0.8rem !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  font-size: 0.8rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  position: relative !important;
  overflow: hidden !important;
}

.footer-gdpr-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: #ff6b8a;
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.footer-gdpr-link:hover::before {
  transform: scaleY(1);
}

.footer-gdpr-link:hover {
  color: #ff6b8a !important;
  background: rgba(255, 107, 138, 0.1) !important;
  transform: translateX(6px) !important;
  padding-left: 1.2rem !important;
}

.footer-gdpr-link span:first-child {
  font-size: 0.9rem !important;
  opacity: 0.9 !important;
}

/* === ENHANCED FOOTER BOTTOM === */
.footer-bottom {
  border-top: 2px solid var(--accent-electric) !important;
  padding: 1.5rem 2rem !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  background: rgba(16, 212, 99, 0.08) !important;
  border-radius: 16px !important;
  margin-top: 2rem !important;
  opacity: 1 !important;
  backdrop-filter: blur(15px) !important;
  position: relative !important;
  overflow: hidden !important;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 212, 99, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.footer-bottom p {
  margin: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

/* === ENHANCED LEGAL MODAL === */
.legal-modal {
  backdrop-filter: blur(8px) !important;
  animation: modalFadeIn 0.3s ease-out !important;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.legal-modal > div {
  animation: modalSlideIn 0.3s ease-out !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* === ENHANCED LOADING STATE === */
.footer-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.2rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(20px);
}

.footer-loading::before {
  content: '🦶';
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* === ENHANCED MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 !important;
  }

  .footer-section {
    padding: 2rem 1rem 1.5rem !important;
  }

  .footer-main {
    padding: 1.5rem !important;
    text-align: center !important;
  }

  .footer-logo {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 1rem auto !important;
  }

  .footer-studio-name {
    font-size: 1.2rem !important;
  }

  .footer-description {
    font-size: 0.8rem !important;
    text-align: center !important;
  }

  .footer-contact-info {
    text-align: left !important;
  }

  .footer-social {
    justify-content: center !important;
  }

  .footer-social-link {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.9rem !important;
  }

  .footer-column,
  .footer-gdpr-column {
    padding: 1.2rem !important;
    text-align: center !important;
  }

  .footer-links,
  .footer-gdpr-links {
    align-items: center !important;
  }

  .footer-bottom {
    padding: 1.2rem !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .footer-content {
    gap: 1rem !important;
  }

  .footer-section {
    padding: 1.5rem 0.8rem 1rem !important;
  }

  .footer-main {
    padding: 1.2rem !important;
  }

  .footer-column,
  .footer-gdpr-column {
    padding: 1rem !important;
  }

  .footer-logo {
    width: 50px !important;
    height: 50px !important;
  }

  .footer-studio-name {
    font-size: 1.1rem !important;
  }

  .footer-social-link {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
  }

  .footer-bottom {
    padding: 1rem !important;
    font-size: 0.7rem !important;
  }
}

/* === ENHANCED ACCESSIBILITY === */
@media (prefers-contrast: high) {
  .footer-main,
  .footer-column,
  .footer-gdpr-column {
    border-width: 3px !important;
    background: rgba(255, 255, 255, 0.25) !important;
  }
  
  .footer-studio-name,
  .footer-column h4,
  .footer-gdpr-column h4 {
    color: var(--accent-electric) !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  }

  .footer-link,
  .footer-gdpr-link {
    color: rgba(255, 255, 255, 0.95) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-social-link,
  .footer-link,
  .footer-gdpr-link,
  .footer-main,
  .footer-column,
  .footer-gdpr-column,
  .footer-logo {
    transition: none !important;
    animation: none !important;
  }

  .footer-bottom::before {
    animation: none !important;
  }

  .footer-loading::before {
    animation: none !important;
  }
}

/* === ENHANCED PERFORMANCE OPTIMIZATIONS === */
.footer-main,
.footer-column,
.footer-gdpr-column,
.footer-social-link,
.footer-link,
.footer-gdpr-link {
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* === ENHANCED OVERFLOW PROTECTION === */
.footer-description,
.footer-contact-item span,
.footer-link,
.footer-gdpr-link span {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* CRITICAL: Enhanced mobile overflow protection */
@media (max-width: 768px) {
  .footer-content,
  .footer-main,
  .footer-column,
  .footer-gdpr-column {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
}

/* === DARK MODE ENHANCEMENTS === */
@media (prefers-color-scheme: dark) {
  .footer-section {
    background: 
      linear-gradient(135deg, #0a0a0a 0%, #000000 100%) !important;
  }

  .footer-main {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--accent-gold) !important;
  }

  .footer-column,
  .footer-gdpr-column {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }
}

/* === FOCUS INDICATORS pentru ACCESSIBILITY === */
.footer-link:focus,
.footer-gdpr-link:focus,
.footer-social-link:focus {
  outline: 2px solid var(--accent-electric) !important;
  outline-offset: 2px !important;
  border-radius: 6px !important;
}

/* === PRINT STYLES === */
@media print {
  .footer-section {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    border-top: 2px solid #333 !important;
  }

  .footer-main,
  .footer-column,
  .footer-gdpr-column {
    background: transparent !important;
    border: 1px solid #ccc !important;
    backdrop-filter: none !important;
  }

  .footer-social-link {
    background: #f0f0f0 !important;
    color: #333 !important;
  }
}