/* ---------------------------------
   RESET / BASE STYLES
   --------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
/* ---------------------------------
  COLORS
   --------------------------------- */
:root {
  /* Backgrounds */
  --background: #0d1119;
  --background-secondary: #151924;
  --background-dark: #000000;
--div-bg: #1c1f27;
--tab-bg: #282b33;
  /* Text Colors */
  --text-color: #ffffff;
  --offwhite: #b1b0b0;

  /* Accent Colors */
  --accent-primary: #f839ff; /* New main accent */
  --accent-secondary: rgba(248, 57, 255, 0.25); /* Soft accent glow */

  /* Badge Colors */
  --badge-primary: #8b2eff;

  /* Layout */
  --max-width: 1390px;

  --green-color: #4AFF6B;
  --ip-copied-background: #4aff6b2b;
  --ip-copied-icon-background: #4aff6b80;
  --red-color: #FF7C7C;
  --warning-background: #ff7c7c2b;
  --warning-icon-background: #ff7c7c80;
  --warning-color: #F5C1C1;     
}
/* ---------------------------------
   GLOBAL
   --------------------------------- */
::-webkit-scrollbar {
  display: none;
}

html {
  background: var(--background);
  font-family: 'Nunito', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--text-color);
}
a {
  color: var(--text-color);
}
/* Default container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Global font for responsive breakpoints */
html, body {
  font-family: 'Nunito', sans-serif;
}

/* Large tablets / smaller desktops */
@media screen and (max-width: 1200px) {
  .container {
    padding: 0 1.2rem;
    max-width: 95%;
  }
}

/* Tablets */
@media screen and (max-width: 992px) {
  .container {
    padding: 0 1rem;
    max-width: 90%;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .container {
    padding: 0 0.8rem;
    max-width: 100%;
  }
}

/* Very small phones */
@media screen and (max-width: 447px) {
  .container {
    padding: 0 0.5rem;
    max-width: 100%;
  }
}


/* Optional: Button & Div example styles */
button {
  border-radius: 10px;
  background-color: var(--accent-primary);
  color: var(--text-color);
  border: none;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
}
    .navbar {
      width: 100%;
      background: var(--background);
      backdrop-filter: blur(5px);
      padding: 20px 30px;
      /* position: fixed; */
      top: 0;
      left: 0;
      right: 0;
      border-bottom: 3px solid var(--background-secondary);
      z-index: 9999;
    }

    .navbar .navbar-container {
      max-width: var(--max-width);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      
    }

    .logo img {
      max-height: 50px;
    }

    .logo h3 {
      font-size: 25px;
      font-weight: 900;
      color: var(--text-color);
      text-transform: uppercase;
    }

    .logo h3 span {
      color: var(--accent-primary);
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      font-size: 25px;
      color: var(--text-color);
      cursor: pointer;
    }

    .navbar-menu {
      display: flex;
      align-items: center;
      gap: 30px;
    }

.links {
  display: flex;
  gap: 15px; /* reduced from 30px to 15px */
}

.link {
  color: var(--text-color);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  transition: 0.2s;
  text-transform: uppercase;
  padding: 10px 12px; /* slightly smaller padding */
  border-radius: 10px;
}
.link i,
.btn i {
  display: none;
}

.link.active,
.link:hover {
  background-color: var(--background-secondary);
  color: var(--accent-primary);
}

.buttons {
  display: flex;
  gap: 10px; /* reduced from 15px */
}

    .btn {
      padding: 10px 20px;
      background: var(--accent-primary);
      color: var(--text-color);
      border: none;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 900;
      cursor: pointer;
      transition: 0.3s ease-in-out;
      text-decoration: none;
       text-transform: uppercase;
    }

   

/* Section Styles */
.section-header {
  text-align: center;
 
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header h2 {
  font-size: 2.5rem;
}

.section-header p {
  color: var(--text-color);
  font-size: 1.1rem;
}


/* Section Tags */
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(220, 1, 240, 0.2);
  background: rgba(212, 1, 240, 0.2);
  color: var(--accent-primary);
}




.footer {
  background: var(--background-secondary);
  color: var(--text-color);
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}
.footer-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-transform: capitalize;
  font-weight: 900;
}

.footer-left img {
  width: 40px;
  margin-right: 10px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

.footer-description {
  margin-top: 0.5rem;
  line-height: 1.4;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--offwhite);
  font-weight: 800;
  transition: 0.3s ease-in-out;
  font-size: 1.1rem;
}

.footer-links a i {
  transition: 0.3s ease-in-out;
}
.footer-links a:hover {
  color: var(--text-color);
}
.footer-links a:hover i {
transform: translateX(5px);
color: var(--text-color);
    }


.footer-social a i {
  font-size: 2rem;
  margin-right: 0.7rem;
  transition: 0.3s ease-in-out;
  color: var(--offwhite);
}

/* Hover colors per social platform */
.footer-social a.x-social:hover i {
  color: #fff; /* Twitter Blue */
}

.footer-social a.discord-social:hover i {
  color: #5865F2; /* Discord Purple */
}

.footer-social a.tiktok-social:hover i {
  color: #ff008c; /* TikTok Pink */
}

.footer-social a.youtube-social:hover i {
  color: #ff0000; /* YouTube Red */
}

.footer-social a i.footer-right h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.support-btn {
  display: inline-block;
  margin-top: 0.8rem;
  background: var(--accent-primary);
  color: var(--text-color);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}
/* .support-btn i {
  display: none;
  transition: 0.3s ease-in-out;
}
.support-btn:hover i {
  display: inline;
transform: translateX(5px);
    } */

.footer-copy {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    margin-bottom: 2rem;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
  .footer-left .logo {
    flex-direction: column; /* Stack image and text */
    align-items: center;    /* Center horizontally */
    gap: 0.5rem;            /* Optional spacing between image and text */
  }
  /* Hover colors per social platform */
.footer-social a.x-social i {
  color: #fff; /* Twitter Blue */
}

.footer-social a.discord-social i {
  color: #5865F2; /* Discord Purple */
}

.footer-social a.tiktok-social i {
  color: #ff008c; /* TikTok Pink */
}

.footer-social a.youtube-social i {
  color: #ff0000; /* YouTube Red */
}
}

 /* Mobile Styles */
    @media screen and (max-width: 867px) {
      .hamburger {
        display: block;
      }

      .navbar-menu {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-top: 15px;
        display: none;
   
      }

      .navbar.active .navbar-menu {
        display: flex;
      }

      .links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        text-align: center;
      }

      .buttons {
        flex-direction: column;
        width: 100%;
      }

      .btn {
        width: 100%;
        text-align: center;
      }

          .logo img {
      max-height: 40px;
    }

    .logo h3 {
      font-size: 20px;
      font-weight: 900;
      color: var(--text-color);
      text-transform: uppercase;
    }
    }


    @media screen and (max-width: 819px) {
  .section-header {
		width: 90%;
    margin: 0 auto;
    text-align: center;
	}
}

@media screen and (max-width: 867px) {
.section-header {
		width: 90%;
    margin: 0 auto;
    text-align: center;
	}
}
/* ---------------------------------
   INDEX
   --------------------------------- */
/* Hero Section Styles */
.hero {
    background: url("../img/bg-blur.png") no-repeat fixed center;
    background-size: cover;
    min-width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    z-index: 0;
    padding: 0 60px;
}

.hero-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    width: 100%;
    height: 100%;
    gap: 60px;
}

/* Left content (text) */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
}

.hero-left h1 {
    font-size: 50px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--accent-primary);;
}

.hero-left p {
    font-size: 18px;
    /* line-height: 1.6; */
    font-weight: 400;
    color: var(--text-color);
}

.hero-left p i {
    color: var(--cyan);
}

.hero-left h1 span {
    color: var(--cyan);
}
.hero .hero-content .hero-left .server-name {
    display: flex;
    flex-direction: column;
}

.hero .hero-content .hero-left .server-name p {
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

.hero .hero-content .hero-left .server-name h1 {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 50px;
    font-weight: 900;
}

.hero .hero-content .hero-left .server-description {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.6;
}
/* Buttons */
.hero-button {
    background: var(--cyan-translucent);
    border: 3px solid var(--cyan);
    border-radius: var(--btn-br);
    padding: 10px 30px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    width: fit-content;
    text-transform: uppercase;
    transition: 0.2s ease-in-out;
}

.hero-button:hover {
    opacity: 0.8;
}

/* Right content (image) */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-right img {
    max-width: 430px;
    width: 100%;
    animation: float 4s ease-in-out infinite;
}

/* Floating image animation */
@keyframes float {
    0% { transform: translatey(0px); }
    50% { transform: translatey(-10px); }
    100% { transform: translatey(0px); }
}

/* Responsive adjustments */

.aboutus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.aboutus .left {
  flex: 1;

}

.aboutus .right {
  flex: 1;
  text-align: center;
}

.aboutus .right img {
  max-width: 80%;
  height: auto;
}

.aboutus .about-us {
  color: var(--description-color);
  font-size: 17px;
  line-height: 1.6;
}

.aboutus p {
  margin-left: 40px;
}
.aboutus .left i {
  color: var(--accent-primary);
}

    /* Sub Hero Section Styles */
.subhero {
    background: url("../img/bg-blur.png") no-repeat fixed center;
    min-width: 100%;
    /* min-height: 800px; */
    height: 395px;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    z-index: 0;
    display: flex;
    align-items: center;
}
    .subhero h1 {
    font-size: 4em;
    color: var(--cyan);
    text-align: left;
    }
    .subhero h1 span {

        color: var(--accent-primary);
        }
    .subhero p {
    font-size: 1.2em;
    text-align: left;
    }
    
    .subhero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-transform: uppercase;
    }
    .subhero-content h1 {
        font-size: 65px;
    font-weight: 900;
    }
.gamemodes-section {
  padding: 60px 20px;
  text-align: center;
  /* background: var(--bg-secondary); */
}

.gamemodes-section h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 40px;
}

.gamemodes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  /* max-width: 1200px;
  margin: auto; */
}


.gamemodes-card {
  position: relative;
  height: 340px; /* fixed height */
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s, box-shadow 0.3s;
}


.gamemodes-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gamemodes-badge {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--text-color);
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 4px;
  z-index: 1;
}
.gamemodes-badge i {
  color: var(--accent-primary);
}

.top-left {
  top: 10px;
  left: 10px;
  
}

.top-right {
  top: 10px;
  right: 10px;
}

.gamemodes-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.65);
  padding: 8px 14px;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--text-color);
  text-transform: uppercase;
  border-radius: 4px;
}



@media screen and (max-width: 1452px) {
    .hero {
        height: 80vh; /* slightly shorter hero */
    }

    .hero-content {
        flex-direction: column;
        justify-content: flex-start; /* push content down */
        padding: 180px 40px 60px 40px; /* top padding to account for navbar */
        gap: 50px;
    }

    .hero-left {
        align-items: center;
        text-align: left;
    }

    .hero-left h1 {
        font-size: 40px;
    }

    .hero-left p {
        font-size: 16px;
    }

    .hero-right img {
        display: none;
    }

    .hero .hero-content .hero-left .server-name h1 {
        font-size: 40px;
    }

    .hero .hero-content .hero-left .server-name p {
        font-size: 16px;
    }

    .hero .hero-content .hero-left .server-description {
        font-size: 16px;
        max-width: 600px;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        height: 70vh; /* shorter hero for phones */
    }

    .hero-content {
        padding: 160px 20px 40px 20px; /* push content down more */
        gap: 40px;
    }

    .hero-left h1 {
        font-size: 33px;
    }

    .hero-left p {
        font-size: 15px;
    }

    .hero-button {
        width: 100%;
        font-size: 16px;
        text-align: center;
    }

    .hero .hero-content .hero-left .server-name h1 {
        font-size: 30px;
    }

    .hero .hero-content .hero-left .server-name p {
        font-size: 14px;
    }

    .hero .hero-content .hero-left .server-description {
        font-size: 15px;
        max-width: 100%;
    }
}

@media screen and (max-width: 447px) {

    .hero-left h1 {
        font-size: 25px;
    }
    .hero {
        height: 60vh; /* even shorter */
    }

    .hero-content {
        padding: 140px 15px 30px 15px;
        gap: 30px;
    }
    .hero .hero-content .hero-left .server-name h1 {
        font-size: 25px;
    }

    .hero .hero-content .hero-left .server-name p {
        font-size: 16px;
    }

    .hero .hero-content .hero-left .server-description {
        font-size: 16px;
    }
}


@media (max-width: 768px) {
  .aboutus {
    flex-direction: column;
    padding: 0;
  }

  .aboutus .left,
  .aboutus .right {
    padding: 0;
    flex: none;
    /* text-align: center; */
  }

  .aboutus p {
    margin-left: 20px;
  }
  .aboutus .right img {
    display: none;
  }
}

   @media screen and (max-width: 768px) {
    .subhero {
height: 535px;

    }
        .subhero-content img {
            width: 60%; /* Adjusted width for smaller screens */
            max-width: 360px; /* Set a maximum width */
            margin-bottom: 20px; /* Add some space below the logo */
        }    
    .subhero h1 {
    font-size: 3.1em; /* Adjust the font size for smaller screens */
    text-align: center;
    /* font-size: 65px; */
    font-weight: 900;
    }
    
    .subhero p {
    font-size: 1.1em; /* Adjust the paragraph font size for smaller screens */
    text-align: center;
    margin: 20px;
    }
    }




@media (max-width: 768px) {
  .gamemode-section {
    padding: 40px 15px;
  }

  .gamemode-section h2 {
    font-size: 2rem;
  }

  .gamemode-card {
    height: 200px;
  }

  .gamemode-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .gamemode-title {
    font-size: 1.1rem;
    padding: 6px 12px;
  }
}


@media (max-width: 992px) {
  .gamemodes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .gamemodes-grid {
    grid-template-columns: 1fr;
  }

  .gamemodes-section h2 {
    font-size: 2rem;
  }

  .gamemodes-title {
    font-size: 1.1rem;
    padding: 6px 10px;
  }

  .gamemodes-badge {
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  .gamemodes-card {
    height: 200px;
  }
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* left = image, right = FAQ */
  /* max-width: 1600px;
  margin: 0 auto; */
  /* padding: 20px; */
}

.faq-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
 
}

/* Make it mobile-friendly */
@media screen and (max-width: 768px) {
  .faq-container {
    grid-template-columns: 1fr; /* stack image and FAQ */
    gap: 20px;
  }

  .faq-image {
    display: none;
  }
}


.faq .content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq .content .info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq .content .info .section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-color);
  position: relative;
}

.faq .content .info .section-title::before {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 150px;
  height: 1px;
  border-radius: 5px;
  background: var(--description-color);
}

.faq .content .info .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  border-radius: 5px;
  background: var(--accent-primary);
}

.faq .content .info .section-title span {
  color: var(--accent-primary);
}

.faq .content .info .section-description {
  color: var(--description-color);
  font-size: 17px;
  line-height: 1.6;
  max-width: 70%;
  margin-left: 10px;
}

.faq .content .accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq .content .accordion .accordion-item {
      background-color: var(--div-bg);
  border: 2px solid var(--tab-bg);
  border-radius: 5px;
}

.faq .content .accordion .accordion-item .accordion-item-header {
  padding: 20px 50px 20px 20px;
  line-height: 1.6;
  font-weight: 600;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  color: var(--text-color);
  font-size: 17px;
  
}

.faq .content .accordion .accordion-item .accordion-item-header::after {
  content: "\002B";
  font-size: 20px;
  position: absolute;
  right: 20px;
}

.faq .content .accordion .accordion-item .accordion-item-header.active::after {
  content: "\2212";
}

/* Horizontal line only when body is active */
.faq .content .accordion .accordion-item .accordion-item-header + .accordion-item-body {
  border-top: none; /* Default: no border */
}

.faq .content .accordion .accordion-item .accordion-item-body[style*="max-height"]:not([style="max-height: 0px;"]) {
  border-top: 3px solid var(--tab-bg); /* Line appears when expanded */
}

.faq .content .accordion .accordion-item .accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.2s ease-in-out;
}

.faq .content .accordion .accordion-item .accordion-item-body .accordion-item-body-content {
  padding: 20px;
  line-height: 1.6;
  /* border-top: 1px solid var(--accent-primary);
  color: var(--description-color); */
  font-size: 17px;
}

.accordion-item-body-content span {
  color: var(--accent-primary);
}


/* Mobile-Friendly FAQ */
@media screen and (max-width: 768px) {
  .faq .content .accordion .accordion-item .accordion-item-header {
    /* padding: 15px 30px; */
    font-size: 15px;
  }

  .faq .content .accordion .accordion-item .accordion-item-body {
    max-height: 300px; /* Limit the height for mobile */
    overflow-y: auto;
  }

  /* .faq .content .accordion .accordion-item .accordion-item-body .accordion-item-body-content {
    padding: 15px;
  } */
}

/*FAQ*/
@media screen and (max-width: 6729px) {
  .faq .content .info .section-description {
    max-width: 100%;
  }
}


/* ---------------------------------
   BLOGS
   --------------------------------- */
    .blogs-page {
      display: flex;
      flex-direction: column;
      gap: 60px;
    }
    .blogs-page a {
      text-decoration: none;
    }
/* 
    .featured-blog {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
      align-items: center;
      background-color: var(--div-bg);
      border: 2px solid var(--tab-bg);
      border-radius: 12px;
    }

    .featured-image {
      width: 100%;
      max-width: 500px;
      border-radius: 12px;
      object-fit: cover;
    }

    .featured-info {
      flex: 1;
    }

    .featured-info h2 {
      font-size: 2.8rem;
      margin-bottom: 10px;
      font-weight: 800;
    }

    .featured-meta {
      font-size: 0.9rem;
      color: var(--offwhite);
      margin-bottom: 15px;
    }

    .featured-description {
      font-size: 1.2rem;
      margin-bottom: 10px;
    } */

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 70%; /* Prevent overflow */
}

.blog-author-pfp {
  width: 40px;
  height: 40px;
  border-radius: 10%;
  object-fit: cover;
  flex-shrink: 0;
}
    .blog-author-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .blog-created-by {
      font-size: 0.85rem;
      color: var(--offwhite);
      margin: 0;
      line-height: 1.2;
    }

    .blog-author-name {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-color);
      margin: 0;
      line-height: 1.2;
    }

    .read-more {
      color: var(--accent-primary);
      font-weight: 600;
      text-decoration: none;
      transition: 0.3s;
      white-space: nowrap;
    }

    .read-more i {
      transition: transform 0.3s ease-in-out;
    }

    .read-more:hover i {
      transform: translateX(5px);
    }

    .blog-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 30px;
    }

.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ensures footer stays at the bottom */
  background-color: var(--div-bg);
  border: 2px solid var(--tab-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  height: 100%; /* ensures all cards stretch equally in the grid */
}

    .blog-card img {
      width: 100%;
      height: 220px;
      display: block;
      border: none;
      margin: 0;
    }

.blog-content {
  padding: 30px;
  background-color: var(--tab-bg);
  color: var(--text-color);
  flex-grow: 1; /* this ensures it expands to take up space */
}

    .blog-content h3 {
      font-size: 1.2rem;
      margin-bottom: 8px;
      color: var(--text-color);
      font-weight: 800;
    }

    .blog-content p {
      font-size: 1rem;
      line-height: 1.6;
      color: var(--offwhite);
    }

    .blog-meta {
      font-size: 0.85rem;
      color: var(--offwhite);
      margin-bottom: 10px;
    }

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: var(--background); */
  padding: 15px 20px;
  border-top: 2px solid var(--tab-bg);
  border-radius: 0 0 12px 12px;
  /* gap: 10px; */
  flex-wrap: nowrap;
  margin-top: auto; /* pushes the footer to the bottom */
}
.blog-footer img {
  max-width: 40px;
  height: 40px;
  object-fit: cover;
}
  

 /* ARTICLE CSS */
     .article-container {
      max-width: 900px;
      margin: auto;
      padding: 40px 20px;
    }

    .article-hero {
      width: 100%;
      border-radius: 12px;
      height: 400px;
      object-fit: cover;
      margin-bottom: 30px;
    }

    .article-title {
      font-size: 2rem;
      font-weight: 900;
      color: var(--text-color);
      margin-bottom: 10px;
      text-transform: uppercase;
    }

    .article-meta {
      color: var(--offwhite);
      font-size: 0.95rem;
      margin-bottom: 30px;
    }

    .article-meta span {
      margin-right: 20px;
    }

    .article-content p {
      margin-bottom: 20px;
      font-size: 1.05rem;
    }
    .article-content p code {
      color: var(--accent-primary);
    }

    .article-content h2 {
      color: var(--text-color);
      text-transform: uppercase;
      /* margin-top: 40px; */
      /* margin-bottom: 15px; */
      font-size: 1.7rem;
      font-weight: 900;
    }
    .article-content p {
      color: var(--offwhite);
    }
    .article-content ul {
      padding-left: 20px;
      margin-bottom: 20px;
    }

    .article-content li {
      margin-bottom: 10px;
    }

    .back-link {
display: inline-block;
margin-bottom: 1rem;
color: var(--accent-primary);
text-decoration: none;
font-weight: bold;
}

.back-link i {
transition: transform 0.3s ease-in-out;
}

.back-link:hover i {
transform: translateX(-5px);
}

    @media (max-width: 768px) {
      .article-title {
        font-size: 2rem;
      }

      .article-hero {
        height: 250px;
      }
    }

    .blogs-content-promo {
  width: 100%;
  padding: 14px 10px 15px 22px;
  border-left: 5px solid var(--accent-primary);
  background-color: var(--tab-bg);
  border-radius: 5px;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 500;
}

.blogs-content-promo p strong#promo-code {
  color: var(--accent-primary);
  cursor: pointer;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    /* padding: 0 15px; */
  }

  .blog-card {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--tab-bg);
    background-color: var(--div-bg);
  }

  .blog-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .blog-card-content {
    padding: 16px;
  }

  .blog-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .blog-card-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--offwhite);
  }

  .blog-card-meta {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--offwhite);
  }

  .blog-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    align-items: flex-start;
  }

.blog-author {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%; /* Forces it to span full width */
  flex-wrap: nowrap; /* Prevents wrapping */
  overflow: hidden; /* Avoids overflow issues */
}


  .blog-author-pfp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
  }

  .blog-author-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .blog-created-by {
    font-size: 0.8rem;
    color: #aaa;
    margin: 0;
  }

.blog-author-name {
  font-size: 0.8rem;
  margin: 0;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


  .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.95rem;
  }
    .article-meta span {
    display: block;
    margin-right: 0;
    /* Remove right margin since spans are stacked */
    margin-bottom: 10px;
    /* Optional spacing between lines */
  }
}
.article-header {
  display: flex;
  justify-content: space-between; /* Back link left, author right */
  align-items: center;            /* vertical center alignment */
  margin-bottom: 20px;
}

.back-link {
  display: flex;
  align-items: center;            /* center icon and text vertically */
  text-decoration: none;
  color: var(--main-color);
  font-weight: bold;
  gap: 5px;     
  margin-top: 20px;                  /* spacing between icon and text */
}

.author-info {
  display: flex;
  align-items: center;            /* center avatar and name vertically */
  gap: 10px;                      /* space between avatar and name */
  font-weight: 700;
}

.author-pfp {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
/* Mobile Styles */
@media (max-width: 768px) {
  .article-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .back-link {
    font-size: 14px; /* smaller text on mobile */
  }

  .author-info {
    gap: 5px; /* reduce spacing */
    font-size: 14px;
  }

  .author-pfp {
    width: 30px;
    height: 30px;
  }
}

/* .video-container {
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}


.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
} */
/* ---------------------------------
   GAMEMODE
   --------------------------------- */   
.page-header {
  text-align: center;
  padding: 50px 20px 20px;
}

.main-title {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: var(--accent-primary);
}

.subtitle {
  font-size: 1.2rem;
  color: #ccc;
}

.content-section {
  padding: 30px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.banner-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 30px;
  object-fit: cover;
}

.section-block {
  margin-bottom: 40px;
}

.section-block h2 {
  font-size: 1.8rem;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.section-block p {
  font-size: 1rem;
  color: #ddd;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 2px solid var(--tab-bg);
}

.video-container {
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}


.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
}

.call-to-action {
  text-align: center;
}

.action-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--accent-primary);
  color: var(--text-color);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  cursor: pointer;
  font-size: 17px;
}

/* .action-button:hover {
  background-color: var(--button-hover);
} */

 /* IP COPY */
.ip-copied {
    color: var(--green-color);
    background: var(--ip-copied-background);
    border: 3px solid var(--green-color);
    padding: 10px 20px;
    width: fit-content;
    border-radius: 10px;
    font-size: 17px;
    display: none;
    /* Center the message horizontally */
    margin: 0 auto;
    margin-top: 10px;
}
.ip-copied.active {
    display: flex;
}
.ip-copied.error {
    background: var(--warning-background);
    color: var(--red-color);
}

/* ---------------------------------
   TEAM
   --------------------------------- */   
:root {
  --owner: #ff00a8;
  --admin: #ff0000;
  --dev: #c259fb;
  --srmod: #a600ff;
  --mod: #7e43a6;
  --tmod: #7e43a6;
  --helper: #70c004;
  --builder: #7055a8;
}

    
    .role-section {
      margin-bottom: 60px;
    }

.role-title {
  font-size: 2rem;
  /* padding: 10px 20px; */
  background: var(--bg-secondary);
  border-radius: 3px;
  color: var(--text-color);
  text-transform: uppercase;
  font-weight: 800;

}
.role-title.owner,
.rank.owner { color: var(--owner); }

.role-title.administrator,
.rank.administrator { color: var(--admin); }

.role-title.dev,
.rank.dev { color: var(--dev); }

.role-title.srmod,
.rank.srmod { color: var(--srmod); }

.role-title.mod,
.rank.mod { color: var(--mod); }

.role-title.tmod,
.rank.tmod { color: var(--tmod); }

.role-title.helper,
.rank.helper { color: var(--helper); }

.role-title.builder,
.rank.builder { color: var(--builder); }


    .team-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      gap: 30px;
    }

    .team-card {
    background-color: var(--div-bg);
  border: 2px solid var(--tab-bg);
      border-radius: 12px;
      overflow: hidden;
      transition: transform 0.3s;
    
    }


    .team-card .skin {
      width: 100%;
      max-width: 148px;
      display: block;
      margin: auto;
      border-radius: 8px;
    }

     .team-card .info {
      background-color: var(--tab-bg);
      padding: 15px;
      width: 100%;
      box-sizing: border-box;
    }

     .team-card .username {
      font-size: 1.3rem;
      font-weight: bold;
    }

     .team-card .rank {
      font-weight: 900;
      margin: 8px 0;
      text-transform: uppercase;
    }

     .team-card .rank.owner { color: var(--owner); }
    /* .rank.manager { color: var(--manager); } */
     .team-card .rank.admin { color: var(--admin); }
     .team-card .rank.dev { color: var(--dev); }
     .team-card .rank.srmod { color: var(--srmod); }
     .team-card .rank.mod { color: var(--mod); }
     .team-card .rank.tmod { color: var(--tmod); }
     .team-card .rank.helper { color: var(--helper); }
     .team-card .rank.builder { color: var(--builder); }

     .team-card .description {
      font-size: 0.9rem;
      color: #ccc;
    }


@media (max-width: 768px) {
  .role-title {
    font-size: 1.7rem;
   
    /* margin-bottom: 20px; */
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  @media (max-width: 480px) {
    .team-grid {
      grid-template-columns: 1fr;
    }
  }

  .team-card {
    border-radius: 10px;
  }

  .team-card .skin {
    max-width: 100px;
  }

  .team-card .info {
    padding: 12px;
  }

  .team-card .username {
    font-size: 1.1rem;
  }

  .team-card .description {
    font-size: 0.85rem;
  }
}
/* ===== TEAM CARD SOCIAL MEDIA GRID ===== */
.team-card .social {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  width: 100%;
}

.team-card .social a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: var(--background-secondary);
}

/* Hover effect */
.team-card .social a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* Platform-specific backgrounds */
.team-card .social .social-twitter i { color: #1DA1F2; }
.team-card .social .social-bluesky i { color: #00B1E9; }
.team-card .social .social-discord i { color: #7289DA; }
.team-card .social .social-tiktok i { color: #ff008c; }
.team-card .social .social-instagram i { color: #E1306C; }
.team-card .social .social-youtube i { color: #FF0000; }
.team-card .social .social-barq i { color: #FFAA00; }

/* Icon styling */
.team-card .social a i {
  font-size: 1rem;
}

/* ---------------------------------
   VOTE
   --------------------------------- */  
  .vote-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
    grid-template-areas:
      "why-vote vote-links vote-rewards"
      "how-to-vote vote-links vote-rewards";
    /* max-width: 1200px;
    margin: 50px auto; */
  }

  /* Grid area assignment */
  .why-vote { grid-area: why-vote; }
  .how-to-vote { grid-area: how-to-vote; }
  .vote-links-panel { grid-area: vote-links; }
  .vote-rewards { grid-area: vote-rewards; }

  /* Common Panel Styling */
  .why-vote, .how-to-vote, .vote-links-panel, .vote-rewards {
    background-color: var(--div-bg);
    border: 2px solid var(--tab-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  .why-vote h2, .how-to-vote h2, .vote-links-panel h2, .vote-rewards h3 {
    font-weight: 900;
    color: var(--accent-primary);
    margin-bottom: 15px;
  }

  .why-vote p, .how-to-vote p {
    line-height: 1.6;
    font-size: 0.95rem;
  }

  /* Vote Links */
  .vote-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .vote-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: var(--div-bg);
    border: 2px solid var(--tab-bg);
    border-radius: 10px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s ease-in-out;
  }

  .vote-link-text {
    display: inline-block;
    line-height: 1.2;
  }

  .vote-link-text p span {
    color: var(--offwhite);
    font-size: 0.9rem;
  }

  .vote-link i {
    color: var(--accent-primary);
    font-size: 1.2rem;
    transition: 0.3s ease-in-out;
  }

  .vote-link:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
  }

  .vote-link:hover i {
    color: var(--text-color);
  }

  /* Vote Rewards */
  .vote-rewards ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .vote-rewards li {
    background-color: var(--div-bg);
    border: 2px solid var(--tab-bg);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .vote-rewards li i {
    color: var(--accent-primary);
    font-size: 2rem;
  }

  /* Responsive */
  @media (max-width: 900px) {
    .vote-wrapper {
      grid-template-columns: 1fr;
      grid-template-areas:
        "why-vote"
        "how-to-vote"
        "vote-links"
        "vote-rewards";
    }

    .vote-links {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 600px) {
    .vote-links {
      grid-template-columns: 1fr;
    }
    .vote-rewards ul {
      grid-template-columns: 1fr;
    }
    .vote-rewards li {
      font-size: 0.95rem;
    }
  }
/* ---------------------------------
   RULES
   --------------------------------- */   
    .rules-container {
      display: flex;
      max-width: 1200px;
      margin: 0 auto;
      padding: 40px 20px;
      gap: 2rem;
    }

    .categories {
      position: sticky;
      top: 40px;
          background-color: var(--div-bg);
  border: 2px solid var(--tab-bg);
      padding: 20px;
      border-radius: 10px;
      min-width: 200px;
      height: fit-content;
    }

    .categories button {
      display: block;
      width: 100%;
          background-color: var(--tab-bg);
  /* border: 2px solid var(--div-bg); */
      color: var(--text-color);
      border: 2px solid transparent;
      /* padding: 10px 15px; */
      margin-bottom: 10px;
      border-radius: 8px;
      cursor: pointer;
      transition: 0.3s ease-in-out;
    }
.categories button:hover {
  background-color: var(--accent-secondary);
  border-color: var(--accent-primary);
}
 .categories a {
  text-decoration: none;
  color: var(--text-color);
 }
    .rules-content {
      flex: 1;
          background-color: var(--div-bg);
  border: 2px solid var(--tab-bg);
      padding: 30px;
      border-radius: 12px;
    }

    .rules-section {
      margin-bottom: 30px;
    }

    .rules-section h2 {
      margin-bottom: 10px;
      font-size: 22px;
      color: var(--accent-primary);
    }

    .rules-section ol {
      padding-left: 20px;
      line-height: 25px;
    }

    .rules-section li {
      margin-bottom: 6px;
    }
    .rules-container .rules-section .rules-list .rule {
  list-style-type: none;
}
.rules-container .rules-section .rules-list .rule strong {
  color: var(--accent-primary)
}

    @media (max-width: 768px) {
  .categories {
    display: none;
  }

  .rules-container {
    flex-direction: column;
    padding: 20px 10px;
  }

  .rules-content {
    padding: 20px;
  }
}



.box {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
  width: 100%;
  font-family: "Nunito", sans-serif;
  text-align: center;
  flex-direction: column;
  z-index: 1; /* Keeps content above logo */
}




    .error {
      font-size: 1.8rem;
      color: var(--text-color);
      margin-bottom: 20px;
    }

    .errorOtherText {
      font-size: 1.2rem;
      color: gray;
    }
.error-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.error-buttons .btn {
  background: var(--accent-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.error-buttons .btn:hover {
  background: var(--accent-secondary);
}

@media (max-width: 480px) {
  .error { font-size: 2.5rem; }
  .errorOtherText { font-size: 1rem; }
  .error-buttons { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}

    @media (max-width: 480px) {
      .error { font-size: 4rem; }
      .errorOtherText { font-size: 1rem; }
    }