@import url(MM30Title.css);

:root {
    --primary:#f4f6fa;;
    --secondary: #6c63ff;
    --accent: #ff6b6b;
    --light: #f8f9fa;
    --dark: #212529;
    --neon-glow: 0 0 10px rgba(108, 99, 255, 0.7);
  }
  
  /* Global Styles */
  body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    color: var(--dark);
    overflow-x: hidden;
  }
  
  /* Typography */
  h1, h2, h3, .tech-font {
    font-family: 'Orbitron', sans-serif;
  }

#logo_banner img {
    width: 50%;
}

@media (max-width: 750px) {
    #logo_banner img {
        width: 75%;
    }
}

@media (max-width: 500px) {
    #logo_banner img {
        width: 87.5%;
    }
}

.tab {
    text-indent: 40px;
}

.navbar {
    background-color: #e9eee3;
    border-bottom: 1px groove #698362;
}

.navbar-discord button {
    border-color: #606bda;
    border-width: 2px;
    color: #606bda;
    font-size: 17px;
    font-family: sans-serif;
    font-weight: 520;
}

.navbar-discord:hover button {
    background-color: #606bda;
    color: white;
    font-size: 17px;
    font-family: sans-serif;
    font-weight: 520;
}

.discord-logo-hover {
    display: none;
}

  .section-title {
    position: relative;
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 4px;
    background: var(--secondary);
  }
  
  /* Animated Title */
  .title {
    position: relative;
    font-weight: 900;
    margin-bottom: 2rem;
  }
  
  .title span {
    display: inline-block;
    position: relative;
    margin-right: 10px;
    transform-style: preserve-3d;
    perspective: 500px;
    transition: all 0.3s ease;
  }
  
  .title span:hover {
    transform: translateY(-5px);
    color: var(--secondary);
  }
  
  .title span::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    transform: translateZ(-10px);
    color: rgba(108, 99, 255, 0.2);
    transition: all 0.3s ease;
  }
  
  /* Navigation */
  .navbar {
    background-color: var(--primary);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: white;
  }
  
  .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    color: white;
  }
  
  .navbar-nav .nav-link::after {
    content: none;
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover::after {
    width: 100%;
  }
  
  /* Banner */
  #logo_banner {
    position: relative;
    padding: 80px 0;
    background: var(--primary);
    background-image:#fff8e1;
    overflow: hidden;
  }
  
  @keyframes spotlight {
    0% {
      filter: brightness(0.2) blur(5px);
      transform: scale(1.2);
      opacity: 0;
    }
    60% {
      filter: brightness(1.25) blur(0);
      transform: scale(1);
      opacity: 1;
    }
    100% {
      filter: brightness(1) blur(0);
    }
  }

  #logo_banner img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    animation: spotlight 2.25s ;
  }
  
  #logo_banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
  }
  
  /* Cards & Containers */
  .container.shadow {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: none !important;
    padding: 30px;
    background: white;
    transition: all 0.3s ease;
  }
  
  .container.shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  /* Schedule Table */
  .table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .table thead th {
    background-color: var(--primary);
    color: black;
    border: none;
  }
  
  .table-hover tbody tr:hover {
    background-color: rgba(108, 99, 255, 0.05);
  }
  
  .table-active {
    background-color: rgba(108, 99, 255, 0.1) !important;
    font-weight: 700;
  }
  
  /* Prize Display */
  .table-hover.table-lg {
    font-size: 1.2rem;
  }
  
  /* Buttons & CTAs */
  .btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    border-radius: 30px;
    padding: 10px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: all 0.4s ease;
    z-index: -1;
  }
  
  .btn-primary:hover::before {
    left: 0;
  }
  
  .btn-primary:hover {
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
    transform: translateY(-2px);
  }
  
  /* Footer */
  footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 30px;
  }
  
  .footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .footer-links a:hover {
    color: white;
    text-decoration: none;
  }
  
  .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
  }
  
  .copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* Animations */
  @keyframes float {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  
  .floating {
    animation: float 3s ease-in-out infinite;
  }
  
  /* Custom neon animation for headings */
  @keyframes neon-pulse {
    0%, 100% {
      text-shadow: 0 0 10px rgba(108, 99, 255, 0.7);
    }
    50% {
      text-shadow: 0 0 20px rgba(108, 99, 255, 1), 0 0 30px rgba(108, 99, 255, 0.5);
    }
  }
  
  .neon-text {
    animation: neon-pulse 2s infinite;
  }
  
  /* Countdown styling */
  .countdown {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    gap: 20px;
  }
  
  .countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    padding: 15px;
    min-width: 80px;
    text-align: center;
    box-shadow: var(--neon-glow);
  }
  
  .countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
  }
  
  .countdown-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* Utilities */
  .bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #2c3e50 100%);
  }
  
  .text-gradient {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .border-gradient {
    border: 3px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, var(--secondary), var(--accent));
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .countdown {
      flex-wrap: wrap;
    }
    
    .countdown-item {
      min-width: 70px;
    }
    
    .countdown-number {
      font-size: 1.8rem;
    }
    
    .title span {
      margin-right: 5px;
    }
  }
  
  /* Custom Tab Indentation */
  .tab {
    text-indent: 2em;
  }
  
  /* Event display */
  .event-gallery {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
  }
  
  .gallery-item {
    flex: 0 0 auto;
    width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
  }
  
  .gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  /* Accordion styling for FAQ */
  .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .accordion-button {
    font-weight: 500;
    padding: 20px;
    background-color: white;
    color: var(--primary);
  }
  
  .accordion-button:not(.collapsed) {
    background-color: var(--secondary);
    color: white;
  }
  
  .accordion-button:focus {
    box-shadow: none;
  }

  .discord-logo-hover {
    display: none;
}

.navbar-discord:hover .discord-logo-hover {
    display: inline-block;
}

.navbar-discord:hover .discord-logo-normal {
    display: none;
}

.discord, .wiki, .twitch, .java, .python, .visualizer, .faq {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    min-height: 40px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.discord a, .wiki a, .twitch a, .java a, .python a, .visualizer a, .faq a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    font-weight: 400;
    transition: none;
}

/* Keep your existing hover styles but ensure they work with flexbox */
.discord:hover {
    background-color: #7289da;
}

.discord:hover a {
    color: white !important;
    transition: none;
}

.discord a {
    color: #7289da !important;
    transition: none;
}

.wiki a {
    color: #333 !important;
    font-weight: 500;
}

.wiki:hover {
    background-color: #333;
}

.wiki:hover a {
    color: white !important;
    transition: none;
}

.twitch a {
    color: #6441a5 !important;
    font-weight: 500;
}

.twitch:hover {
    background-color: #6441a5;
}

.twitch:hover a {
    color: white !important;
    transition: none;
}

.java a {
    color: #b18a70 !important;
    font-weight: 500;
}

.java:hover {
    background-color: #f89820;
}

.java:hover a {
    color: white !important;
    transition: none;
}

.python a {
    color: #4b8bbe !important;
    font-weight: 500;
}

.python:hover {
    background-color: #4b8bbe;
}

.python:hover a {
    color: white !important;
    transition: none;
}

.visualizer a {
    color: #333 !important;
    font-weight: 500;
}

.visualizer:hover {
    background-color: #0975f0;
}

.visualizer:hover a {
    color: white !important;
    transition: none;
}

.faq a {
    color: #333 !important;
    font-weight: 500;
}

.faq:hover {
    background-color: #a3371bb0;
}

.faq:hover a {
    color: white !important;
    transition: none;
}

.faq a {
    transition: none;
}
