/* Base Reset */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, white, white, white );
  color:#333;
  line-height: 1.9;
  scroll-behavior: smooth;
}
/* Container */
.container {
  max-width: 960px;
  margin: auto;
  padding: 20px;
  
 }

main.container {
  flex: 1;
}

/* Header */
.site-header {
  background:#1E1A4D;
  color:white;
  padding: 8px 0;
  border-bottom: 1px solid black;
  position: relative;
  z-index: 10;
  transition: background 0.5s ease-in-out;
}


.site-header h1 {
  font-size: 2.3rem;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 0.7s ease forwards;
   margin: 0;
  padding: 0;
  margin-bottom:25px;
}

.h1-head h1 {
  font-size: 1.4rem;
  text-align: center;
  margin: 40px 20px 20px;
  color:#0437F2;
 animation: fadeInDown 0.7s ease forwards;
  margin-top: 70px;
  margin-bottom: -15px;
 text-decoration: underline;
  
}
.seo-intro h5 {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 10px;
  margin-top: 0px;
  text-align: justify;
  font-weight: none;
  animation: fadeInDown 0.7s ease forwards;
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* ✅ Navigation Menu */
.nav {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav li a {
  text-decoration: none;
  color:#C0C0C0;
  font-weight: 500;
  font-size: 1.25rem;
 
}



@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Flex container holding title and hamburger */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px; /* 🔻 Reduce spacing between heading and button */
}
/* Hamburger spacing */
.hamburger {
  font-size: 24px;
  padding: 4px 8px;
  margin: 0;          /* 🔻 Remove default margin */
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color:white;
  display: none;      /* Show in media query */
  font-weight:550;
 }

/* Show nav on toggle */
.nav.show {
  display: flex;
}


/* Navigation */
.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
   
}

.nav li {
  margin: 0 15px;
}

.nav a {
  color:#fafafa;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  font-size: 1.2rem;
  text-decoration: underline;
 }

.nav a:hover {
  color:white;
}
.crypto-ticker-wrapper {
  flex: 1;
  overflow: hidden;
  background: transparent;
  height: 30px;
  display: flex;
  align-items: center;
  max-width:99.5%;
  justify-content:center;
  margin-bottom:-20px;
}
.crypto-ticker {
  display: flex;
  animation: scrollTicker 120s linear infinite;
}
.crypto-ticker ul {
  display: flex;
  gap: 40px;
  list-style: none;
  white-space: nowrap;
}
.crypto-ticker li {
  
  font-size: 15px;
  font-weight: 600;
}
.price-up { color:#009900; font-weight:500;}
.price-down { color:#FF0000; font-weight:500;}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* Submit Form */
.submit-link form {
  background:transparent;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0px 0px transparent;
  margin: 40px auto 30px;
  max-width: 500px;
  text-align: center;
  transition: all 0.3s ease-in-out;
 
  }

.submit-link h2 {
  text-align: center;
  margin-bottom: -40px;
  color:#0437F2;
  font-size: 1.35rem;
  animation: slideIn 0.4s ease-in;
  text-decoration: underline;
  margin-top: 15px;
}

.submit-link input {
  width: 100%;
  margin: 12px 0;
  padding: 14px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid black;
  transition: border-color 0.3s ease;
}

.submit-link input:focus {
  border-color: #007bff;
  outline: none;
}
/* Shared Styles for Both */
.form-buttons button {
  width: 200px !important;
  display: block;
  margin: 10px auto;
  padding: 12px;
  font-size: 16px;
  color: #fff;
  border: 1px solid #333;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
   margin-bottom:15px;
}
.g-recaptcha {
    margin-top: 15px;
}

/* 🔵 Post Link Button */
.post-btn {
  background-color:#007bff;
}

.post-btn:hover {
  background-color: #0056b3;
}

/* 🟢 Refresh Page Button */
.refresh-btn {
  background-color: #333;
}

.refresh-btn:hover {
  background-color:black;
}

/* 📱 Mobile Adjustments */
@media (max-width: 576px) {
  .form-buttons button {
    width: 90% !important;
    font-size: 15px;
  }
}
.disclaimer {
      color:#e60000;
      font-size: 1.03rem;
      margin: 25px auto;
      max-width: 700px;
      font-weight:600;
      margin-top:-15px;
     
    }
/* Links */
.latest-links,
.featured-links {
  margin-top:40px;
  animation: fadeInSection 0.8s ease-in-out;
  justify-content: center;
  text-align: center;
  color: #e60000;
}

.latest-links h2,
.featured-links h2,
.site-stats h2 {
  color:#0437F2;
  margin-bottom: 30px;
  font-size: 1.35rem;
  padding-left: 10px;
  text-decoration: underline;
  font-weight: 650;
}

.link-list,
.featured-list {
  list-style: none;
  padding: 0;
  }

.link-list li,
.featured-list li {
  background:transparent;
  padding: 15px 20px;
  margin-bottom: 12px;
  border: 1px solid #E5E8E8;
  border-radius: 6px;
 box-shadow: 0 5px 20px transparent;
 transition: transform 0.3s ease;
 line-height: 1.5;
 font-size: 1.05rem;
}

.link-list li:hover,
.featured-list li:hover {
 transform: translateY(-5px);
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  0% { transform: translateY(-15px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ===== Pagination Base Style ===== */
.pagination {
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px; /* space between buttons */
  }

.pagination a {
  flex: 0 0 auto;
  padding: 8px 14px;
  background: #311B92;
  color: #fafafa;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: 0.3s ease;
  text-align: center;
   margin-top: 15px;
}

.pagination a:hover {
  background: #007bff;
  color: white;
}

.pagination a[style*="font-weight:bold"] {
  background: #007bff;
  color: #fff !important;
}

/* ===== Responsive Media Queries ===== */

/* Large screens (desktops) */
@media (min-width: 1025px) {
  .pagination a {
    padding: 10px 18px;
    font-size: 16px;
  }
}

/* Tablets */
@media (max-width: 1024px) and (min-width: 768px) {
  .pagination a {
    padding: 9px 16px;
    font-size: 15px;
  }
}

/* Mobiles */
@media (max-width: 767px) {
  .pagination {
    gap: 5px;
  }
  .pagination a {
    flex: 1 1 45px;  /* all buttons equal width */
    height: 45px;    /* fixed height */
    min-width: 45px;
    max-width: 45px;
    padding: 0;
    line-height: 45px; /* vertically center text */
    font-size: 14px;
  }
}

/* Extra small mobiles (less than 400px) */
@media (max-width: 400px) {
  .pagination {
    gap: 4px;
  }
  .pagination a {
    flex: 1 1 38px;
    height: 38px;
    min-width: 38px;
    max-width: 38px;
    line-height: 38px;
    font-size: 13px;
  }
}

/* Site Stats */
.site-stats {
  margin-top: 40px;
  animation: fadeInSection 0.9s ease-in-out;
}

.site-stats .stats-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background:transparent;
}

.site-stats .stats-boxes div {
  flex: 1;
  min-width: 120px;
  background:transparent;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  border: 1px solid #333;
  font-weight: 500;
  }

.site-stats .stats-boxes div:hover {
  transform: scale(1.05);
}

.site-stats strong {
  display: block;
  font-size: 1.65rem;
  color:#e60000;

}
/* ✅ Site Info Section */
.site-info {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px 20px;
  background-color:transparent;
  border-radius: 12px;
  box-shadow: 0 0 10px transparent;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: -25px;
}

.site-info h2 {
  font-size: 1.4rem;
  color:#0437F2;
  margin-bottom:0px;
  text-align: center;
  display: inline-block;
  padding-bottom: 5px;
  text-decoration: underline;
}

.site-info p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
}

.site-info ul {
  list-style: none;
  padding-left: 0;
  margin-bottom:0px;
  margin-top:20px;
  }

.site-info ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  padding-left: 25px;
  position: relative;
}

.site-info ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color:#e60000;
  font-weight: bold;
}
.site-info img {
    max-width:480px; 
    height:auto;
}

/* 🔹 SEO Intro Section */
.seo-intro {
  background:transparent;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px transparent;
  margin: 30px auto;
  max-width: 900px;
  font-family: 'Segoe UI', sans-serif;
  margin-bottom:0px;
  margin-top:-40px;
  line-height: 1.9;
}

.seo-intro h2 {
  font-size: 1.35rem;
  color:#0437F2;
  margin-bottom: 0px;
  
}

.seo-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
  text-align: justify;
}

.seo-intro strong, a .site-info strong, a {
  color:#0437F2;
  text-decoration: none;
}

 .site-footer {
      background:#1E1A4D;
      color: white;
      text-align: center;
      padding: 20px 0;
      font-size: 0.95rem;
    }


/* Scroll to Top Button */
 #scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 40px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  font-size: 18px;
  cursor: pointer;
  display: none; /* hidden by default */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background 0.3s, transform 0.3s;
}

#scrollTopBtn:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}
 /* ✅ Tablets and Small Desktops (Max width: 992px) */
@media (max-width: 992px) {
  .container {
    padding: 0 15px;
    max-width: 100%;
  }

  .site-header h1 {
    font-size: 2rem;
  }
   .crypto-ticker-wrapper {
    margin-top: 0;  /* Remove extra space from above */
    padding-top: 0;
    margin-bottom: 20px;
    }
    .crypto-ticker {
    animation: scrollTicker 150s linear infinite;
    }
    .crypto-ticker ul {
    gap:18px;
   }
  
     .h1-head h1 {
    font-size: 1.3rem;
   margin-top: 35px;
   margin-bottom:15px;
   }
   .seo-intro h5 {
   margin-bottom: 15px;
  }
    .nav {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0px; /* ✅ Add this to reduce vertical spacing between links */
    padding: 0; /* Optional: Remove extra padding */
  }

  .nav li {
    margin: 5px 0; /* ✅ Reduce gap between each menu item */
  }
  .nav.show {
    display: flex;
  }
 .nav li a {
    font-size: 1.4rem;
  }

  .hamburger {
    display: block;
    font-size: 26px;
    float:right;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: -50px;
    
  }

  .site-info,
  .submit-link form {
    padding: 20px;
    margin: 20px auto;
  }
    .submit-link h2 {
        margin-bottom: 15px;
    }
     .g-recaptcha {
    transform: scale(0.99);
    transform-origin: 0 0;
    }
    .disclaimer {
    margin-bottom:-5px;
  }
  .site-stats .stats-boxes {
    flex-direction: column;
  }

  .site-footer {
    font-size: 0.9rem;
    padding: 15px 10px;
  }

  #scrollTopBtn {
    padding: 10px 14px;
    font-size: 16px;
    bottom: 25px;
    right: 20px;
  }

}

/* ✅ Mobile Devices (Max width: 768px) */
@media (max-width: 768px) {
     
  .site-header h1 {
    font-size: 2rem;
    text-align: center;
  }
 
    .crypto-ticker-wrapper {
    margin-top: 0;  /* Remove extra space from above */
    padding-top: 0;
    margin-bottom: 19px;
    }
    .crypto-ticker {
    animation: scrollTicker 150s linear infinite;
    }
    .crypto-ticker ul {
    gap:18px;
   }
   .h1-head h1 {
    font-size: 1.3rem;
    margin: 30px 10px 15px;
    margin-top: 35px;
   margin-bottom:15px;
   }
   .seo-intro h5 
   {
  line-height: 1.7;
  margin-bottom:15px;
  margin-top: 0px;
  }
   .submit-link h2 {
     margin-bottom:5px;
   }
  .submit-link h2,
  .latest-links h2,
  .featured-links h2,
  .site-info h2,
  .site-stats h2 {
    font-size: 1.2rem;
    text-align: center;
  }
   .submit-link form {
    padding: 20px;
  }

  .submit-link input {
    width: 90%;
    font-size: 0.95rem;
  }
  .form-buttons button {
     width: 90%;
    font-size: 0.95rem;
    margin-bottom:15px;
  }
   .g-recaptcha {
    transform: scale(0.98);
    transform-origin: 0 0;
}
 .disclaimer {
    font-size: 0.9rem;
    padding: 0 15px;
    margin-bottom:-5px;
  }

  .site-info p,
  .site-info ul {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .nav li a {
    font-size: 1.3rem;
  }

  .site-stats .stats-boxes div {
    padding: 15px;
    font-size: 1rem;
  }
  
  .seo-intro {
    padding: 20px 15px;
  }
  .site-info img {
    max-width:400px; 
    height:auto;
}
  .seo-intro h2 {
    font-size: 1.2rem;
  }

  .seo-intro p {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .site-footer {
    font-size: 0.85rem;
    padding: 10px;
  }

 #scrollTopBtn {
    bottom: 20px;
    right: 15px;
    padding: 8px 10px;
    font-size: 14px;
  }

}

/* ✅ Very Small Devices (Max width: 480px) */
@media (max-width: 480px) {

     .site-header {
    padding: 20px 0;
    text-align: center;         /* Center-align all text inside header */
  }
  .container {
    padding: 8px;
     max-width:90%;
     margin-top:-15px;
     line-height: 1.7;
    }

  .site-header h1 {
    font-size:2rem;
    }
    .nav li a {
    font-size: 1.3rem;
  }
     .crypto-ticker-wrapper {
    margin-top: 0;  /* Remove extra space from above */
    padding-top: 0;
    margin-bottom: 17px;
    max-width:98%;
    }
    .crypto-ticker {
    animation: scrollTicker 150s linear infinite;
    }
    .crypto-ticker ul {
    gap:18px;
   }
  .h1-head h1 {
    font-size: 1.25rem;
    margin: 30px 10px 15px;
   margin-top: 40px;
   margin-bottom:0px;
   line-height:1.5;
  }
  .seo-intro h5 {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 15px;
  }
  .submit-link h2,
  .latest-links h2,
  .featured-links h2,
  .site-info h2,
  .site-stats h2 {
    font-size: 1.25rem;
    text-align: center;
    font-weight: 650;
   }
  .nav li a {
    font-size: 1.2rem;
    color: white;
  }

  .submit-link form {
    padding: 15px;
    
  }
  .submit-link h2{
    margin-bottom:-10px;
    
  }
  .latest-links h2,
.featured-links h2,
.site-stats h2 {
  margin-bottom: 35px;
 }
  .latest-links h2 {
    margin-top: 10px;
  }
 .g-recaptcha {
    margin-top: 10px;
    margin-bottom: -10px;
    transform: scale(0.95);
    transform-origin: 0 0;
}
.form-buttons button {
    margin-bottom:15px;
  }
 .disclaimer {
    font-size: 0.92rem;
    margin-top: -15px;
    padding: 0 0px;
    font-weight:650px;
    margin-bottom:-10px;
    margin-left:5px;
  }
 .link-list li,
.featured-list li {
  background:#FDFEFE;
 border: 1px solid #C0C0C0;
 }

.link-list li:hover,
.featured-list li:hover {
 transform: translateY(-5px);
}
.site-stats .stats-boxes div {
  
  background:#FDFEFE;
 
  }
.site-info {
    margin-bottom:15px;
  }
   .site-info h2 {
    margin-bottom:13px;
    line-height:1.5;
  }
   .site-info p {
    margin-top:3px;
    line-height: 1.7;
   }
   
  .site-info,
  .site-stats {
    padding: 15px;
  }
  .site-info img {
    max-width:290px; 
    height:auto;
}
   
  .site-stats .stats-boxes div {
    font-size: 0.95rem;
    padding: 10px;
  }
   .seo-intro {
    padding:5px;
    margin-bottom:-15px;
    margin-top:-5px;
  }

  .seo-intro h2 {
    font-size: 1.2rem;
    margin-bottom: 12.5px;
    
  }

  .seo-intro p {
    font-size: 0.98rem;
     line-height: 1.7;
    
  }
  
   .site-footer {
    text-align: left;
  }
  #scrollTopBtn {
    width: 40px;
    height: 40px;
    font-size: 23px;
    padding: 6px 10px;
    bottom: 17px;
    right:10px;
  }
}
