 /* Global Styles */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
     font-family: 'Poppins', sans-serif;
     color: #f0f0f0;
     scroll-behavior: smooth;
 }

 body {
     background: linear-gradient(135deg, #0b0d15 0%, #1c1f2b 100%);
     min-height: 15vh;
     overflow-x: hidden;
 }
 
/* Meteor Shower Effect */
.meteor {
    position: absolute;
    width: 50px;
    height: 1.5px;
    background-color: #ff0095;
    box-shadow: 0 0 6px #ff0095, 0 0 15px #ff0095, 0 0 30px #ff0095;
    border-radius: 50%;
    transform: rotate(-45deg);
    z-index: -1;
    /* Initial rotation for correct path */
    animation: meteor-fall linear;
}

@keyframes meteor-fall {
    0% {
        transform: translate(0, 0) rotate(-45deg);
        /* Faces the right direction */
        opacity: 1;
    }

    100% {
        transform: translate(-100vw, 100vh) rotate(-45deg);
        /* Stays aligned along its path */
        opacity: 0;
    }
}

 /* Enhanced Navigation Bar */
 .navbar {
     display: flex;
     justify-content: space-between;
     align-items: center;
     background: rgba(28, 31, 43, 0.9);
     padding: 1em 3em;
     position: fixed;
     width: 100%;
     top: 0;
     z-index: 1000;
     backdrop-filter: blur(10px);
     box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
     border-bottom: 2px solid #ff0095;
 }

 .nav-links {
     list-style: none;
     display: flex;
     gap: 2.5em;
     justify-content: center;
     flex: 1;
 }


 .nav-links.nav-active {
     display: flex;
     /* Change to flex */
 }

 .nav-links li a {
     text-decoration: none;
     color: #ffffff;
     font-size: 1rem;
     font-weight: 600;
     position: relative;
     transition: color 0.3s ease;
 }

 .nav-links li a:hover {
     color: #ff0095;
 }


 .nav-links.nav-active {
     display: flex;
 }

 .hamburger {
     display: none;
     /* Hide hamburger on larger screens */
 }

 @media (max-width: 768px) {
     .nav-links {
         position: absolute;
         top: 70px;
         right: 0;
         height: 100vh;
         width: 100%;
         background: rgba(28, 31, 43, 0.9);
         flex-direction: column;
         justify-content: center;
         align-items: center;
         gap: 2em;
         display: none;
     }

     .nav-links.nav-active {
         display: flex;
     }

     .logo-large {
         display: none;
     }

     .logo-small {
         display: block;
     }

     .hamburger {
         display: block;
     }
 }

 /* Content and Cards */
 .content {
     padding-top: 15em;
     display: flex;
     justify-content: center;
     align-items: center;
     flex-direction: column;
     text-align: center;
     color: #ffffff;
 }

 .content h2 {
     font-size: 3rem;
     font-weight: bold;
     margin-bottom: 1em;
     background: linear-gradient(to right, #ff0095, #00ff99);
     -webkit-background-clip: text;
     color: transparent;
     animation: float 3s ease-in-out infinite;
 }
  .content h4 {
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 1em;
      background: linear-gradient(to left, hsl(269, 70%, 45%),hsl(269, 70%, 45%));
      -webkit-background-clip: text;
      color: transparent;
      
  }

 .content p {
     max-width: 800px;
     margin: 0 auto 2em;
     font-size: 1.2rem;
     color: #a2a5b3;
 }

 .card button {
     display: inline-block;
     background-color: #ff0095;
     padding: 0.8em 1.5em;
     border-radius: 8px;
     text-decoration: none;
     color: #ffffff;
     font-weight: bold;
     margin-top: 1rem;
     transition: background-color 0.3s ease;
 }

 @keyframes float {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-15px);
     }
 }

 .cards-container {
     display: flex;
     gap: 2.5rem;
     justify-content: center;
     flex-wrap: wrap;
     max-width: 1200px;
     padding: 0 2rem;
 }

 .card {
     padding: 2em;
     width: 320px;
     background: #1c1f2b;
     border-radius: 15px;
     position: relative;
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
     overflow: hidden;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     cursor: pointer;
 }

 .card:hover {
     transform: scale(1.05);
     box-shadow: 0 30px 40px rgba(255, 0, 149, 0.4);
 }

 .card img {
     width: 100%;
     height: 250px;
     object-fit: cover;
     border-radius: 10px;
 }

 .card h3 {
     margin-top: 1rem;
     color: #fff;
 }

 .card p {
     color: #a2a5b3;
 }

 /* Modal Styles */
 .modal {
     display: none;
     position: fixed;
     z-index: 1000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: auto;
     background-color: rgba(0, 0, 0, 0.8);
     backdrop-filter: blur(5px);
 }

 .modal-content {
     background-color: #2e2e3c;
     margin: 10% auto;
     padding: 30px;
     border: 1px solid #888;
     width: 80%;
     max-width: 800px;
     border-radius: 15px;
     box-shadow: 0 0 25px rgba(255, 0, 149, 0.5);
     animation: slide-in 0.5s forwards;
 }

 /* Thumbnail Styles in Modals */
 .thumbnail-image {
     display: block;
     width: 150px;
     height: auto;
     border-radius: 10px;
     margin: 0 auto 20px;
     /* Center the image and add some space below */
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
 }


 .close {
     color: #ff0095;
     float: right;
     font-size: 30px;
     font-weight: bold;
     cursor: pointer;
 }

 .close:hover {
     color: #ffffff;
 }

 h2,
 h3 {
     color: #ff0095;
 }

 p {
     color: #a2a5b3;
     line-height: 1.5;
 }

 /* Modal Buttons */
 .modal-buttons a {
     display: inline-block;
     margin: 10px 0;
     padding: 10px 20px;
     background-color: #ff0095;
     color: white;
     text-decoration: none;
     border-radius: 5px;
     transition: background-color 0.3s ease;
 }

 .modal-buttons a:hover {
     background-color: #e60082;
 }

 /* Animation for modal */
 @keyframes slide-in {
     from {
         opacity: 0;
         transform: translateY(-50%);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 
 .thumbnail-image {
     display: block;
     width: 85%;
     /* Adjusts the thumbnail size to inherit based on modal size */
     max-width: 400px;
     /* Ensures it doesn't grow too large */
     height: auto;
     /* Maintain aspect ratio */
     border-radius: 10px;
     margin: 0 auto 20px;
     /* Center the image */
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
 }
 /* Flexbox for Partnered Servers Section */
/* Flexbox for Partnered Servers Section */
/* Flexbox for Partnered Servers Section */
#partnered-servers {
    padding: 50px 20px;
    text-align: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

.grid-item {
    position: relative;
    background-color: #2a2a2a;
    padding: 20px;
    color: white;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.grid-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-item.medium {
    grid-column: span 2;
    grid-row: span 1;
}

.grid-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

.grid-item h3 {
    color: #ff0095;
}

.grid-item:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ff0095, #55004e);
}

.grid-item p {
    color: #d1d1d1;
    font-size: 14px;
}

/* Server Icon */
.server-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
}

.server-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Creative "Cut" Styles for Flexboxes */
.grid-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
    clip-path: polygon(100% 0, 100% 100%, 0 85%);
    transform: translateY(-5px);
}

.grid-item:hover:before {
    background: linear-gradient(135deg, #ff0095, #55004e);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Footer */
footer {
    text-align: center;
    padding: 3em 0 !important;
    background: #0b0d15 !important;
    margin-top: 3em !important;
    border-top: 2px solid #ff0095 !important;
}

footer p {
    color: #a2a5b3;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #ffffff;
    margin: 0 1em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff0095;
}

.social-icons a {
    color: #ffffff;
    margin: 0 0.8em;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff0095;
}
@media (max-width: 768px) {
    footer {
        padding: 2em 0;
    }
}

/* Logo Styling */
.logo-container img {
    width: 100px;
    /* Set your desired width */
    height: auto;
    /* This ensures the aspect ratio is maintained */
}