/* ----- GLOBAL RESETS ----- */
html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #e0e0e0;
    height: 100%; /* Optional if you want a tall page by default */
    scroll-behavior: smooth; /* Enables smooth scrolling to anchors */
  }
  
  /* HEADER */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    box-sizing: border-box;
    /* Replace the black background with an animated gradient */
    background: linear-gradient(135deg, #1e1e1e 25%, #2b2b2b 50%, #1e1e1e 75%);
    background-size: 200% 200%;
    animation: headerGradient 8s ease-in-out infinite;
    min-height: 200px; 
  }
  
  @keyframes headerGradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  header hr {
    border: none;
    border-top: 1px solid #555;
    margin: 0;
  }
  
  /* Gradient text effect for the site title */
  .site-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    text-align: left;
    margin-left: 220px; /* Offsets from a fixed sidebar, if present */
    margin-top: 20px;
    letter-spacing: 1px;
    background: linear-gradient(to right, #6a5acd, #87ceeb, #b0e0e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 3s ease;
  }
  
  .site-title.hidden {
    opacity: 0;
  }
  
  /* CONTENT WRAPPER */
  .content-wrapper {
    display: flex;
    /* If you want a sticky footer approach:
       you could remove height: 100%; 
       and rely on flex layout at the html/body level. */
  }
  
  /* SIDEBAR (fixed left) */
  .sidebar {
    width: 200px;
    background-color: #1e1e1e;
    padding: 20px;
    border-right: 1px solid #333;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh; /* Full viewport height */
    z-index: 10;   /* Ensure it is on top */
  }
  
  .sidebar ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
  }
  
  .sidebar ul li {
    margin-bottom: 15px;
  }
  
  .sidebar ul li a {
    text-decoration: none;
    color: #e0e0e0;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 10px;
    border: 1px solid #444;
  }
  
  .sidebar ul li a:hover {
    background-color: #333;
    color: #ffffff;
    border-color: #ffe602; 
  }
  
  .sidebar ul li a.active {
    font-weight: bold;
    color: #90caf9;
    background-color: #333f52;
  }
  
  /* MAIN */
  main {
    flex: 1; /* If you set display:flex on .content-wrapper, main can grow */
    padding: 20px;
    background-color: #1e1e1e;
    margin-left: 200px; /* offset for the sidebar's fixed width */
    box-sizing: border-box;
    min-height: 100vh; /* optional for a tall main if content is small */
  }
  
  /* CATEGORY SECTIONS */
  .category-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
  }
  
  .category-section h2 {
    font-size: 40px;
    margin-top: 0;
    color: #e0e0e0;
    border-left: 5px solid;
    border-image: linear-gradient(to bottom, #6a5acd, #87ceeb) 1;    
    padding-left: 10px;
  }
  
  /* ITEM GRID (for "Launching Soon" single blocks, etc.) */
  .item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  /* Single category item boxes */
  .category-item {
    display: block;
    background-color: #2c2c2c;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #444;
    text-align: center;
    transition: transform 0.1s ease, background-color 0.1s;
    width: 80px; 
    height: 80px;
  }
  
  .category-item:hover {
    background-color: rgba(255, 223, 0, 0.2);
  }
  
  .category-link {
    text-decoration: none;
    color: inherit;
  }
  .category-link:hover {
    text-decoration: none;
  }
  
  .category-item h3 {
    margin: 0;
    font-size: 10px;
    color: #e0e0e0;
  }
  
  .item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  
  /* SCROLLABLE BOX WITHIN CATEGORY GROUPS */
  .categories-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 20px;
  }
  
  .category-group {
    width: 200px;
    flex-shrink: 0;
  }
  
.category-header {
  font-size: 12px;
  color: #ffffff;
  margin: 10px 0 5px;
  padding-left: 20px; /* Increase padding to accommodate the square */
  text-align: left;
  position: relative; /* Required for positioning the pseudo-element */
}

.category-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12px; /* Width and height define the square size */
  height: 12px;
  background-color: #ffcc00; /* Same color as the border */
  }

  .scrollable-box {
    max-height: 150px;
    overflow-y: auto;
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 12px;
  }
  
  .scrollable-box ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  .scrollable-box ul li {
    margin-bottom: 5px;
  }
  
  .scrollable-box ul li a {
    text-decoration: none;
    color: #e0e0e0;
    display: block;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .scrollable-box ul li a:hover {
    background-color: #444;
    color: #fff;
  }
  
  /* BOTTOM SECTION (rendered dynamically) */
  .bottom-section {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    width: 0%;
    padding: 20px 0;
    color: #e0e0e0;
    text-align: left;
    background: none;
    box-shadow: none;
    margin-left: 225px;  
    margin-top: -60px; /* Pull the bottom-section closer */ 
  }
  
  .bottom-section .column {
    flex: 0 0 auto;
    width: 200px;
    padding: 10px;
    box-sizing: border-box;
    border-right: 1px solid #555;
  }
  
  .bottom-section .column:last-child {
    border-right: none;
  }
  
  .bottom-section .column h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #ffcc00; /* or choose another accent color */
  }
  
  .bottom-section .column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .bottom-section .column ul li {
    margin-bottom: 5px;
  }
  
  .bottom-section .column ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.9s ease-out, color 0.9s ease-out, box-shadow 0.9s ease-out;
  }

  .bottom-section .column ul li a:hover {
    color: #5100ff;
    background-color: rgba(81, 0, 255, 0.1); /* Subtle background tint */
    border-radius: 4px; /* Smooth rounded edges */
    box-shadow: 0 0 10px rgba(81, 0, 255, 0.3); /* Soft glow effect */
    transition: background-color 0.9s ease-out, color 0.9s ease-out, box-shadow 0.9s ease-out;
    
  }


  footer.site-footer {
    text-align: center;
    background-color: #1e1e1e;
    color: #e0e0e0;
    padding: 10px 0;
    font-size: 14px;
    border-top: 1px solid #444;
  }
  
  /* SCROLLBAR STYLING */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background-color: #777;
  }
  ::-webkit-scrollbar-track {
    background-color: #1e1e1e;
  }
  html {
    scrollbar-color: #555 #1e1e1e; /* For Firefox */
    scrollbar-width: thin;
  }
  
  /* RESPONSIVE BREAKPOINTS */
  @media screen and (max-width: 768px) {
    .sidebar {
      position: static; 
      width: 100%;
      border-right: none;
      border-bottom: 1px solid #333;
      height: auto;
    }
    main {
      margin-left: 0;
    }
    .content-wrapper {
      flex-direction: column;
    }
    .categories-container {
      flex-direction: column;
      gap: 15px;
    }
    .category-group {
      width: 100%;
    }
  }
  
  @media screen and (max-width: 480px) {
    .item-grid {
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
  }
  
/* ===========================
   Account (Updated)
   =========================== */
   #sidebarNav li:first-child a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;

    /* Background Image */
    background: url("/frontend/ancillary/images/account.webp") no-repeat center center;
    background-repeat: repeat-x; /* Infinite horizontal movement */
    background-size: cover;

    /* Gradient Overlay */
    background-blend-mode: multiply;
    background-color: rgba(30, 30, 40, 0.7); /* Slight blue tint for uniqueness */

    /* Neon border effect using Account colors */
    border-image: linear-gradient(to right, #6a5acd, #87ceeb); /* SlateBlue to SkyBlue */
    border-image-slice: 1;

    /* Soft blue glow and transition effects */
    box-shadow: 0 0 8px rgba(106, 90, 205, 0.3);
    transition: 
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.2s ease,
        border-image 0.3s ease;
}

/* Hover Effect */
#sidebarNav li:first-child a:hover {
    background-color: rgba(30, 30, 40, 0.9); /* Darker overlay effect */
    border-image: linear-gradient(to right, #87ceeb, #6a5acd); /* Reverse gradient */
    border-image-slice: 1;

    /* Stronger blue glow */
    box-shadow: 0 0 12px rgba(106, 90, 205, 0.6);

    /* Slight movement */
    transform: translateY(-2px);
    color: #e0e0ff; /* Softer blue glow effect on text */
}
  
/* ===========================
   Kraken Terminal Link (Revised)
   =========================== */
   .sidebar ul li a.services-link {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    /* padding: 48px 24px; */
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;

    /* Background Image */
    background: url("/frontend/ancillary/images/kraken-terminal.webp") no-repeat center center;
    background-size: cover;

    /* Gradient Overlay */
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.5);
    background-position: center -30px; /* Moves it up by 20px */
    background-position: 10px -30px;
    background-repeat: repeat-x;

    /* Neon border effect */
    border-image: linear-gradient(to right, #00bfa6, #00e5ff);
    border-image-slice: 1;

    /* Soft glow and transition effects */
    box-shadow: 0 0 8px rgba(0, 191, 166, 0.3);
    transition: 
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.2s ease;
}

/* Hover Effect */
.sidebar ul li a.services-link:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Darker overlay effect */
    border-image: linear-gradient(to right, #00e5ff, #00bfa6);
    border-image-slice: 1;
    
    /* Stronger glow */
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
    
    /* Slight movement */
    transform: translateY(-2px);
    color: #e0e0e0;
}
  
/* ===========================
   Discover Link (Updated)
   =========================== */
   .sidebar ul li a.discover-link {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;

    /* Background Image */
    background: url("/frontend/ancillary/images/discover.webp") no-repeat center center;
    background-repeat: repeat-x;
    background-size: cover;
    background-position: 20px -82px;

    /* Gradient Overlay */
    background-blend-mode: multiply;
    background-color: rgba(30, 30, 30, 0.7);

    /* Neon green border effect */
    border-image: linear-gradient(to right, #32cd32, #9acd32);
    border-image-slice: 1;

    /* Soft green glow and transition effects */
    box-shadow: 0 0 8px rgba(50, 205, 50, 0.3);
    transition: 
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.2s ease;
}

/* Hover Effect */
.sidebar ul li a.discover-link:hover {
    background-color: rgba(30, 30, 30, 0.9); /* Darker overlay effect */
    border-image: linear-gradient(to right, #9acd32, #32cd32);
    border-image-slice: 1;

    /* Stronger green glow */
    box-shadow: 0 0 12px rgba(50, 205, 50, 0.6);

    /* Slight movement */
    transform: translateY(-2px);
    color: #e0e0e0;
}

/* The container must be positioned relative so the overlay sits on top */
.overlay-container {
  position: relative;
}

/* The overlay is initially invisible (opacity: 0) and non-interactive */
.no-copy-overlay {
  position: absolute;
  top: -1.5%; 
  left: -0.5%;
  right: -0.5%; 
  bottom: 1.5%;
  background: rgba(0, 0, 0, 0);
  border-radius: 12px; /* Adjust value for more or less rounding */
  opacity: 0;
  pointer-events: none;  /* Not clickable at first */
  transition: background 0.4s ease, opacity 0.4s ease;
  z-index: 9999;
}

.overlay-container:hover .no-copy-overlay,
.no-copy-overlay:hover {
  background: rgba(0, 0, 0, 0.8);
  opacity: 1;
  pointer-events: all;  /* Now it blocks clicks */
  cursor: not-allowed;
}

/* The text that appears in the center of the overlay */
.no-copy-overlay::before {
  content: "Site Development In Progress";
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  background: rgba(30, 30, 30, 0.8);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  pointer-events: none;  /* The text doesn't capture clicks */
  opacity: 0;            /* Hidden initially */
  transition: opacity 0.4s ease;
}

/* Fade the text in when hovering the container or overlay */
.overlay-container:hover .no-copy-overlay::before,
.no-copy-overlay:hover::before {
  opacity: 1;
}


  

  
  
  


  
  