/*!***************************************************************
Updated Miningcore CSS for Hash3030
Brand accent: #9c27b0
Font: Raleway
****************************************************************/

/* Base Font */
body, p, a, li, h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
}
/* Offset anchor scroll for fixed navbar */
:target::before {
  content: "";
  display: block;
  height: 80px; /* same as navbar height */
  margin-top: -80px; /* negative of navbar height */
  visibility: hidden;
}

body {
  font-size: 1rem;
  background-color: #83888d;
  color: #3C4858;
  font-weight: 400;
  margin: 0;
}
/* Coin Table Font - Original (Roboto/Helvetica/Arial fallback) */
#pool-coins {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 510;
 
}

/* Chart container for Total Stats */
.chart-container {
  width: 100%;
  max-width: 1200px;
  height: 250px;
  margin: 20px auto;
}
/* Sidebar */
.custom-sidebar {
  width: 220px;
  background: linear-gradient(180deg, #111, #222);
  color: #fff;
  flex-shrink: 0;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  padding: 2rem 1rem;
  box-shadow: 0 16px 38px -12px rgba(0,0,0,0.56),
              0 4px 25px 0px rgba(0,0,0,0.12),
              0 8px 10px -5px rgba(0,0,0,0.2);
  border-right: 3px solid #9c27b0;
  transition: all 0.3s ease;
  z-index: 1050;
}

.custom-sidebar h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #9c27b0;
}

.custom-sidebar ul {
  list-style: none;
  padding: 0;
}

.custom-sidebar ul li {
  margin-bottom: 1rem;
}

.custom-sidebar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.custom-sidebar ul li a:hover {
  background: linear-gradient(90deg, #9c27b0, #7b1fa2);
  color: #fff;
  transform: translateX(5px);
}

/* Main Content */
.main-content {
  margin-left: 220px;
  background: #83888d;
  flex-grow: 1;
}

/* Navbar (Top Gradient) */
.navbar {
  background: linear-gradient(90deg, #000000, #9c27b0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand img {
  height: 40px;
}

.nav-link {
  color: #83888d !important;
}

.nav-link:hover {
  color: #fff !important;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-top: 70px; /* makes border fully visible */
  margin-bottom: 50px;
  background: #83888d;
}

.hero-content {
  display: inline-block;
  padding: 2rem 12rem;
  border: 5px solid #9c27b0;
  border-radius: 85px;
  background: #FDF9F6;
  position: top;
  z-index: 1;
  box-shadow: 0 8px 20px #233ec6;
}

/* Sidebar Font */
.custom-sidebar, 
.custom-sidebar h2, 
.custom-sidebar ul li a {
    font-family: "Roboto","Helvetica","Arial",sans-serif;
}

.hero h1, .hero h3 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #9c27b0;
}

.hero p.lead {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.hero .points {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  color: #333;
}

.hero .points p {
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.6rem;
  background: rgba(156, 39, 176, 0.05);
}

.hero .points span {
  color: #9c27b0;
  font-weight: 600;
  margin-right: .5rem;
}

/* Section Titles */
.section-title {
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #111;
}

/* Cards / Tables */
.card {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.table thead {
  background-color: #9c27b0;
  color: #fff;
}

.table-hover tbody tr:hover {
  background-color: #f3e5f5;
}

/* FAQ Accordion */
.accordion-button {
  font-weight: 600;
  color: #111;
}

.accordion-button:not(.collapsed) {
  color: #9c27b0;
  background-color: #f8f9fa;
}

/* Discord Button */
.btn-primary-discord {
  background: #9c27b0;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary-discord:hover {
  background: linear-gradient(90deg, #7b1fa2, #9c27b0);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #9c27b0;
}

footer img {
  margin: 0 8px;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .custom-sidebar {
    position: fixed;
    left: -220px;
    top: 0;
    height: 100%;
    z-index: 1050;
    transition: left 0.3s ease-in-out;
  }
  .custom-sidebar.active {
    left: 0;
  }
  .main-content {
    margin-left: 0;
  }
  .navbar {
    margin-left: 0 !important;
  }
}
