@font-face {
    font-family: "CheekyRabbit";
    src: url("fonts/CheekyRabbit.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Minecraft";
    src: url("fonts/Minecraft.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
   font-family: "Minecraft", sans-serif; 
    margin: 0;
    padding: 0;
    background: 
        linear-gradient(to right, #f5efff 2px, transparent 1px),
        linear-gradient(to bottom, #f5efff 2px, transparent 1px),
        #fbf8ff;
    background-size: 30px 30px;
    color: #5b3d69;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    transition: margin-top 0.3s; 
}

header {
    text-align: center;
    padding: 80px 0px 60px 0px;
    
    height: 20px;
}

header h1 {
    font-family: "CheekyRabbit", sans-serif;
    font-size: 3rem;
    margin: 0;
    color: #a020f0;
    opacity: 1;
}

header p {
  font-family: "Knewave", system-ui;
  font-weight: 64;
  font-style: normal;
    font-size: 1rem;
    margin-top: -2px;
    color: #d8b3ff;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.fade {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.link {
    color: #d8b3ff;
    padding: 0.8rem;
    position: relative;
}

.link::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #d8b3ff;
    border-radius: 5px;
    transform: scaleX(0);
    transition: all 0.6s ease;
    bottom: 0;
    left: 0;
}

.link:hover::before {
    transform: scaleX(1);
}

.logo {
    transition: 0.35s ease;
}

.logo:hover {
    opacity: 0.5;
}

button, .community {
    display: inline-block;
    margin-top: 10px;
    background: #d8b3ff;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
    font-size: 0.8em;
}

.invite-button {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    background: #d8b3ff;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
    
}

button:hover, .invite-button:hover, .community:hover {
    background: #a020f0;
    transform: scale(1.05);
}

.top-things {
    display: flex;
    width: 100%;
    align-items: center;
    height: 50px;
}

.cheese-icon {
    width: 10%;
    display: flex;
    justify-content: center;
    margin-right: 10px;
    margin-top: 5px;
}

.navbar {
    width: 80%;
    display: flex;
    justify-content: left;
    overflow-x: auto;
    margin-top: 5px;
}

.nav-list {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    flex-shrink: 0;
}

.nav-list a {
    text-decoration: none;
    display: inline-block;
}

.menu-section {
    width: 10%;
    display: flex;
    justify-content: center;
}

.menu-icon {
    font-size: 1.8em;
    cursor: pointer;
    color: #d8b3ff;
    padding-right: 5px;
    margin-top: 5px;
}

::-webkit-scrollbar {  
  display: none;  
}  
scrollbar-width: none;

.images-slider {
    text-align: center;
    margin: 0px auto;
}

.slider {
    width: 100%;
    max-width: auto;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 16px;
}

.slider-images {
    display: flex;
    transition: transform 1s ease-in-out;
}

.slider img {
    width: 100%;
    flex-shrink: 0;
}

.info, .invite {
    text-align: center;
    margin: 8px auto;
}

.description, .rules {
  border-radius: 30px;
  background: #f0e7ff;
  font-size: 0.6em;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(210, 180, 255, 0.5);
  opacity: 0.7;
}

.rules {
  margin-top: 20px;
  margin-bottom: -10px;
}

.flex-box {
  display: flex;
  gap: 16px;
  margin: 20px auto;
}

.box {
  background: #fcd6e5;
  padding: 8px;
  border-radius: 24px;
  text-align: center;
  flex: 1;
  box-shadow: 0 4px 10px rgba(210, 180, 255, 0.5);
opacity:0.7;
}

.box a {
  font-size: 0.8em;
}

.box p {
  font-size: 0.5em;
  text-align: center;
  transition: 0.5s;
}

.icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-top: 12px;
  margin-bottom: -2px;
  transition: filter 0.2s;
}

.icon.hit {
  filter: brightness(1.1) saturate(2.8) hue-rotate(-20deg) sepia(0.3) drop-shadow(0 0 10px rgba(255, 150, 170, 0.7));
}

.members {
  margin-top: 8px;
  padding: 8px 8px;
  text-align: center;
}

.members a {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}

.uhh {
    overflow: hidden;
    padding: 10px;
}

.info ul, .invite ul, .rules ul {
    list-style: none;
    padding: 0;
    transition: 0.5s;
}

.info ul:hover, .invite ul:hover, .rules ul:hover, .members p:hover {
    color: #d8b3ff;
}

.info li, .invite li, .rules li {
    margin: 8px 0;
    font-size: 0.9em;
}

.info-card-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0;
  gap: 5px;
}

.info-card {
  flex: 0 0 calc(100% / 3 - 6px);
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  border-radius: 24px;
  text-align: center;
  background-color: #d8b3ff;
  box-shadow: 0 4px 10px rgba(210, 180, 255, 0.5);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.featured-servers {
  /* uhh... idk... */
}

.servers {
  border-radius: 30px;
  background: #fcd6e5;
  font-size: 0.6em;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(252, 214, 229, 0.5);
  opacity: 0.8;
}

.server-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.server-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
}

.text-box {
  display: flex;
  flex-direction: column;
}

.server-name {
  font-weight: bold;
  font-size: 0.9em;
  color: #c58ad1;
  text-decoration: none;
  margin-bottom: 3px;
}

.desc {
  font-size: 0.8em;
  color: #555;
}

.server-box {
  background: #ffffff40;
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.serverjoin-btn {
  margin-top: 8px;
  display: inline-block;
  background-color: #d8c7f9;
  color: #fff;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.75em;
  text-decoration: none;
  width: fit-content;
  transition: background 0.3s ease;
}

.serverjoin-btn:hover {
  background-color: #c3aaf3;
}

@media (min-width: 1024px) {
  .info-card {
    flex: 0 0 calc(100% / 3 - 6px);
  }
}

.info-card:hover {
  transform: scale(1.05);
}

.info-card img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}

.info-card h3 {
  font-size: 20px;
  margin: 15px 0;
}

.info-card p {
  font-size: 16px;
  color: #555;
  margin: 0 15px 15px;
}

@media (max-width: 768px) {
  .info-card-container {
    padding: 10px;
    gap: 20px;
  }

  .info-card {
    width: 250px;
    height: 333px;  
  }
}

@media (max-width: 480px) {
  .info-card-container {
    gap: 15px;
  }

  .info-card {
    width: 320px;
    height: 260px;  
  }
}

#more-things {
    width: 100%;
    height: 0; 
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    overflow: hidden; 
    transition: height 0.5s ease, padding 0.5s ease; 
    border-radius: 0px 0px 20px 20px;
    padding: 0; 
}

#more-things.more-things-open {
    width: 100%;
    height: 40vh;  
    position: fixed;
    top: 0;
    left: 0;
    
    transition: 0.5s ease;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#rickroll-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border: none;
}

#lol {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 0px 0px;
    font-size: 2em;
    color: #fff;
    background-color: transparent;
    border: none;
    cursor: pointer;
    
    transition: background-color 0.3s;
}

#lol:hover {
    color: #d8b3ff;
}

#more-things a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #a020f0; 
    display: block;
    transition: 0.3s;
}

#more-things a:hover {
    color: #d8b3ff; 
}

#more-things a.profile {
    font-size: 18px;
    font-weight: bold;
    color: #a020f0; 
    text-align: center;
    display: block;
    margin-top: 20px;
}

#more-things a.profile:hover {
    color: #d8b3ff; 
}

#more-things .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    color: #d8b3ff;
    cursor: pointer;
}

body.more-things-open {
    margin-top: 40vh; 
}

.more-things-open {
    top: 0; 
}

.menu-icon {
    font-size: 30px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    color: #d8b3ff;
}

.menu-icon.open {
    opacity: 0; 
}

.menu-icon.close {
    opacity: 1; 
}

footer {
  background: linear-gradient(to bottom, #f5efff, #d8b3ff);
  text-align: center;
  padding: 15px;
  font-size: 0.7em;
  border-radius: 30px 30px 0px 0px
}

footer .copyright i {
    color: #ff00ff;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 50%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.2);
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
        margin-top: -30px;
    }
    
    .cheese-icon {
      font-size: 1.6em;
    }
    
    .navbar {
      opacity: 0;
    }

    .info h3 {
        font-size: 0.8em;
    }
    
    .info p {
       font-size: 0.6em;
    }

    .invite-button {
        padding: 10px 20px;
    }
}

@media (min-width: 768px) and (orientation: landscape) {
    header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }

    header h1 {
        font-size: 8vw;
    }
    
    body.more-things-open {
        margin-top: 80vh; 
    }
    
    #more-things.more-things-open {
        height: 80vh;
    }
}

@media (min-width: 768px) {
    .uhh {
      padding: 50px;
    }
    
    .navbar {
        display: flex;
        justify-content: center;
    }

    .nav-list {
        justify-content: center;
        width: auto;
    }
}

.connections {
    text-align: center;
}

.connections a {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.connections ul {
    list-style-type: none;
    padding: 0;
}

.social-media {
    text-align: center;
}

footer .social-media a {
  font-size: 40px;
  color: #a020f0;
  margin: 0 8px;
  transition: color 0.3s;
  text-decoration: none;
}

footer .social-media a:hover {
  color: #d8b3ff;
}

footer .social-media i {
  display: inline-block;
}

.social-media img {
    border-radius: 40%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.invite-button, .community {
    transition: transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(210, 180, 255, 0.5);
}

 .social-media i {
   transition: transform 0.2s ease;
 }

.cute-bouncyy {
    animation: cute-bouncyy 0.4s ease-in-out;
}

@keyframes cute-bouncyy {
    0% { transform: scale(1); }
    30% { transform: scale(0.95); }
    50% { transform: scale(1.1); }
    70% { transform: scale(0.98); }
    100% { transform: scale(1); }
}


  #modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

  #modal.fade-in {
    animation: fadeIn 0.3s forwards;
  }

  #modal.fade-out {
    animation: fadeOut 0.3s forwards;
  }

  #modal-content {
    background: white;
    border-radius: 32px;
    width: calc(100% - 32px);
    max-width: 800px;
    height: 80%;
    padding: 16px;
    box-sizing: border-box;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }


.sleepyy {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  text-align: center;
}

#lylium-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #d8b3ff;
  font-size: 1.2em;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1000;
}

#lylium-btn i {
  color: #a020f0;
}

#lylium-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

#lylium-modal.show {
  opacity: 1;
  visibility: visible;
}

.lylium-content {
  width: 90%;
  max-width: 600px;
  height: 80%;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  margin: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.lylium-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.verification-container {
      display: none;
      font-family: 'Segoe UI', sans-serif;
      animation: growBounce 0.4s ease;
    }

    @keyframes growBounce {
      0% { transform: scale(0.7); opacity: 0; }
      60% { transform: scale(1.1); opacity: 1; }
      100% { transform: scale(1); }
    }

    @keyframes shrinkBounce {
      0% { transform: scale(1); opacity: 1; }
      50% { transform: scale(0.85); }
      100% { transform: scale(0); opacity: 0; }
    }

    .verification-hide {
      animation: shrinkBounce 0.4s ease forwards;
    }

    .verification-m-p { margin: 0; padding: 0; }
    .verification-block { display: block; }
    .verification-line-normal { line-height: normal; }

    .verification-checkbox-window {
     height: 74px;
     width: 300px;
     background-color: #f5e6ff;
     border-radius: 6px;
     border: 1px solid #d8b3ff;
     margin: 20px auto 0px;
   }

    .verification-checkbox-container {
      width: 28px;
      height: 28px;
    }

    .verification-checkbox {
      background-color: #fff;
      border-radius: 2px;
      height: 100%;
      width: 100%;
      border: 2px solid #c792ff;
      margin: 21px 0 0 12px;
      outline: none;
      transition: all 400ms;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
    }

    .verification-checkbox:hover {
      border: 2px solid #b76fff;
    }

    .verification-im-not-a-robot {
      position: relative;
      left: -40px;
      bottom: 20px;
      font-size: 15px;
      color: #444;
    }

    .verification-logo {
      position: relative;
      left: 112px;
      bottom: 54px;
      font-size: 2em;
      color: #d8b3ff;
    }

    .verification-checkbox-desc {
      color: #888;
      font-size: 0.6em;
      text-align: center;
      bottom: 50px;
      left: 112px;
      position: relative;
    }

    .verification-checkbox-desc:nth-child(2) {
      bottom: 33px;
    }

    .verification-spinner {
      visibility: hidden;
      position: relative;
      top: -20px;
      left: 14px;
      height: 35px;
      width: 35px;
      opacity: 0;
      transition: opacity 400ms;
      display: inline-flex;
      gap: 4px;
    }

    .verification-spinner span {
      width: 6px;
      height: 6px;
      background-color: #a020f0;
      border-radius: 50%;
      animation: jump 0.6s infinite;
    }

    .verification-spinner span:nth-child(2) { animation-delay: 0.1s; }
    .verification-spinner span:nth-child(3) { animation-delay: 0.2s; }

    @keyframes jump {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }

    .check-icon {
      opacity: 0;
      transform: scale(0.7);
      transition: all 300ms ease;
      color: #c27aff;
    }

    .check-icon.show {
      opacity: 1;
      transform: scale(1);
    }
    
    [data-aos] {
  opacity: 0 !important;
}

[data-aos].aos-animate {
  opacity: 0.8 !important;
}
