/* Import MonsterRacing font */
@font-face {
    font-family: 'MonsterRacing';
    src: local('MonsterRacing'),
         url(../../fonts/SpicedRumSupernova.otf) format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  .footer-section {
    padding: 0;
    margin: 0;
    position: relative;
    font-family: 'MonsterRacing', 'Poppins', sans-serif;
    /* background: linear-gradient(180deg, #392c3b 0%, #1a1a1a 100%); */
    background-image: url(../../images-event/bg/29.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }
  
  /* Add styles for marquee text */
  .marquee-text {
    font-family: 'MonsterRacing', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #ffffff;
  }
  
  .marquee-container {
    /* background-color: #610079; */
    overflow: hidden;
    width: 100%;
    background: transparent;
  }
  
  .marquee {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
  }
  
  .marquee span {
    display: inline-block;
    font-family: 'MonsterRacing', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #ffffff;
    padding-right: 2rem;
    white-space: nowrap;
  }
  
  @keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  .marquee-wrapper {
    width: 100%;
    padding: 5px 0;
  }
  
  .footer-content {
    padding: 80px 0 0px;
    position: relative;
  }
  
  /* Title Styling */
  .footer-title {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .title-wrapper {
    display: inline-block;
    position: relative;
  }
  
  .social-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
  }
  
  .gradient-text {
    font-family: 'MonsterRacing', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(45deg, #fff 30%, #17a2b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    padding-left: 0.2em;
    padding-right: 0.2em;
    line-height: 1;
    letter-spacing: -2px;
  }
  
  .year-text {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255,255,255,0.1);
    margin: -20px 0 0;
    line-height: 1;
  }
  
  .tagline {
    color: #17a2b8;
    font-size: 1rem;
    letter-spacing: 4px;
    margin-top: 20px;
    font-weight: 500;
  }
  
  /* Animated Divider */
  .divider-container {
    width: 100%;
    height: 2px;
    margin: 0px 0 0px;
    position: relative;
    overflow: hidden;
  }
  
  .animated-divider {
    position: absolute;
    width: 100%;
    height: 100%;
    margin-bottom:20px;
    background: linear-gradient(90deg, transparent, #17a2b8, transparent);
    animation: divider-animation 3s infinite;
  }
  
  @keyframes divider-animation {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
  /* Info Section */
  .footer-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
  }
  
  .footer-info-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s ease;
  }
  
  .footer-info-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
  }
  
  .info-label {
    color: #17a2b8;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
  }
  
  .info-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 400;
  }
  .rotating-planet{
    margin-top: 100px;
  }
  
  /* Social Icons */
  .social-container {
    background: transparent !important;
    transform: none !important;
    padding: 40px !important;
    overflow: visible !important;
  }
  
  .floating-socials {
    position: relative;
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  
  .social-icon {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, #17a2b8, #392c3b);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3),
                -5px -5px 15px rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    transform: translate(var(--x-offset), var(--y-offset));
  }
  
  .social-icon.floating {
    animation: floating 3s ease-in-out infinite;
    animation-delay: var(--delay);
  }
  
  .social-icon:hover {
    transform: translate(var(--x-offset), var(--y-offset)) scale(1.15);
    background: linear-gradient(145deg, #17a2b8, #2a95a8);
    box-shadow: 8px 8px 20px rgba(0,0,0,0.4),
                -8px -8px 20px rgba(255,255,255,0.1);
  }
  
  .icon-shadow {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    filter: blur(5px);
    animation: shadow-move 3s ease-in-out infinite;
    animation-delay: var(--delay);
  }
  
  @keyframes floating {
    0%, 100% {
      transform: translate(var(--x-offset), var(--y-offset));
    }
    50% {
      transform: translate(var(--x-offset), calc(var(--y-offset) - 15px));
    }
  }
  
  @keyframes shadow-move {
    0%, 100% {
      transform: translateX(-50%) scale(1);
      opacity: 0.3;
    }
    50% {
      transform: translateX(-50%) scale(0.8);
      opacity: 0.2;
    }
  }
  
  /* Bottom Section */
  .footer-bottom {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 100px;
    z-index: 2;
  }
  
  .social-row {
    display: flex;
    gap: 20px;
  }
  
  .footer-copyright {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
  }
  
  /* Planet Container */
  .planet-container {
    display: flex;
    justify-content: center;
    position: relative;
    height: 300px;
    overflow: hidden;
    margin: 0;
    width: 100%;
    margin-bottom: -10px;
    z-index: 10;
  }
  
  .rotating-planet {
    width: 700px;
    height: 700px;
    animation: rotate 20s linear infinite;
    position: absolute;
    top: -100px;
    filter: drop-shadow(0 0 20px rgba(23,162,184,0.3));
  }
  
  @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  /* Responsive Design */
  @media (max-width: 1200px) {
    .footer-info {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .gradient-text {
      font-size: 2.8rem;
      text-align: center;
      width: 100%;
      white-space: nowrap;
      letter-spacing: -1px;
    }
    
    .title-wrapper {
      width: 100%;
      display: flex;
      justify-content: center;
      overflow: visible;
    }

    .footer-title {
      margin-bottom: 40px;
      overflow: visible;
    }
    
    .year-text {
      font-size: 6rem;
    }
    
    .footer-info {
      grid-template-columns: 1fr;
    }
    
    .footer-bottom {
      flex-direction: column;
      gap: 20px;
      align-items: center;
      bottom: 150px;
    }
  }

  .position-relative {
    position: relative;
  }

  .social-scatter {
    position: absolute;
    width: 100%;
    height: 100%;
    top: -60px;
    left: 0;
    pointer-events: none;
    z-index: 1;
  }

  .social-scatter .social-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    pointer-events: auto;
  }

  .social-icon {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(145deg, #17a2b8, #392c3b);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3),
                -5px -5px 15px rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    transform: translate(var(--x-offset), var(--y-offset));
  }

  .social-icon.floating {
    animation: floating 3s ease-in-out infinite;
    animation-delay: var(--delay);
  }

  .social-icon:hover {
    transform: translate(var(--x-offset), var(--y-offset)) scale(1.15);
    background: linear-gradient(145deg, #17a2b8, #2a95a8);
    box-shadow: 8px 8px 20px rgba(0,0,0,0.4),
                -8px -8px 20px rgba(255,255,255,0.1);
  }

  .icon-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 8px;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    filter: blur(4px);
    animation: shadow-move 3s ease-in-out infinite;
    animation-delay: var(--delay);
  }

  @keyframes floating {
    0%, 100% {
      transform: translate(var(--x-offset), var(--y-offset));
    }
    50% {
      transform: translate(var(--x-offset), calc(var(--y-offset) - 10px));
    }
  }

  @keyframes shadow-move {
    0%, 100% {
      transform: translateX(-50%) scale(1);
      opacity: 0.3;
    }
    50% {
      transform: translateX(-50%) scale(0.8);
      opacity: 0.2;
    }
  }

  /* Make sure the title stays above the social icons */
  .gradient-text {
    position: relative;
    z-index: 3;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .social-icon {
      --x-offset: calc(var(--x-offset) * 0.6);
      --y-offset: calc(var(--y-offset) * 0.6);
    }
  }
  .footer-modern-glass {
    margin: 40px auto 0 auto;
    max-width: 420px;
    background: rgba(30, 41, 59, 0.45);
    border-radius: 22px;
    box-shadow: 0 4px 24px 0 rgba(0,255,255,0.10);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1.5px solid rgba(0,255,255,0.13);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 18px 14px 18px;
    z-index: 2;
  }
  /* Restore original social icon styles */
  .footer-social-list-modern {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    justify-content: center;
  }
  .footer-social-icon-modern {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(145deg, #17a2b8, #392c3b);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3),
                -5px -5px 15px rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
  }
  .footer-social-icon-modern:hover, .footer-social-icon-modern:focus {
    background: linear-gradient(145deg, #17a2b8, #2a95a8);
    box-shadow: 8px 8px 20px rgba(0,0,0,0.4),
                -8px -8px 20px rgba(255,255,255,0.1);
    color: #fff;
    outline: none;
    transform: scale(1.15);
  }
  .footer-social-icon-modern i {
    z-index: 2;
    position: relative;
    transition: color 0.3s, transform 0.3s;
  }
  @media (max-width: 600px) {
    .footer-social-icon-modern { width: 32px; height: 32px; font-size: 1.1rem; }
  }
  .footer-copyright-modern {
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-top: 6px;
    text-align: center;
    letter-spacing: 1px;
    opacity: 0.85;
  }