/*
Theme Name: MB19 theme
Theme URI: https://mtminings.com
Author: MTMinings Team
Author URI: https://mtminings.com
Description: Professional blockchain mining WordPress theme with SEO optimization for Bing search engine.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mb19
Tags: blockchain, mining, cryptocurrency, responsive, seo
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --secondary: #1a1a2e;
  --dark: #0f0f1a;
  --light: #ffffff;
  --gray: #8892b0;
  --gradient: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--light);
  background-color: var(--dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu li a {
  color: var(--light);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.hamburger:hover {
  background: rgba(0, 212, 255, 0.1);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: linear-gradient(rgba(15, 15, 26, 0.7), rgba(15, 15, 26, 0.7)), url('images/banner1.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 50px,
    rgba(0, 212, 255, 0.03) 50px,
    rgba(0, 212, 255, 0.03) 51px
  );
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s both;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--gradient);
  color: var(--light);
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease 0.4s both;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
  color: var(--light);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Why Choose Us */
.why-choose-us {
  background: var(--secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--dark);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
  border-color: var(--primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--light);
}

.feature-card p {
  color: var(--gray);
}

/* Rewards Table Section */
.rewards-table {
  background: var(--secondary);
  padding: 80px 0;
}

.rewards-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--dark);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rewards-table thead {
  background: var(--gradient);
}

.rewards-table th {
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--light);
  text-align: center;
}

.rewards-table td {
  padding: 18px 20px;
  text-align: center;
  color: var(--gray);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.rewards-table tbody tr:hover {
  background: rgba(0, 212, 255, 0.05);
}

.rewards-table tbody tr:last-child td {
  border-bottom: none;
}

.rewards-table td:first-child {
  font-weight: bold;
  color: var(--primary);
}

/* FAQ Section */
.faq__accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--secondary);
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.accordion-header {
  width: 100%;
  padding: 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--light);
  background: transparent;
  border: none;
  text-align: left;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: rgba(0, 212, 255, 0.05);
}

.accordion-header i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  color: var(--gray);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 25px 25px;
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--secondary);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 212, 255, 0.15);
}

.news-image {
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 25px;
}

.news-date {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.news-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.news-content p {
  color: var(--gray);
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-more:hover {
  gap: 10px;
}

/* Breadcrumb */
.breadcrumb {
  padding: 120px 0 30px;
  background: var(--secondary);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
}

.breadcrumb-list li a {
  color: var(--primary);
}

.breadcrumb-list li a:hover {
  text-decoration: underline;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '>';
  color: var(--gray);
}

.breadcrumb-list li:last-child {
  color: var(--light);
}

/* List Page */
.list-page {
  padding: 60px 0;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.list-item {
  background: var(--secondary);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
}

.list-item:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.list-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.list-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.list-item:hover .list-thumbnail img {
  transform: scale(1.05);
}

.list-content {
  padding: 25px;
}

.list-item h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.list-item h3 a:hover {
  color: var(--primary);
}

.list-item p {
  color: var(--gray);
  margin-bottom: 15px;
}

.list-meta {
  display: flex;
  justify-content: space-between;
  color: var(--gray);
  font-size: 0.9rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pagination .page-numbers:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination .page-numbers.current {
  background: var(--gradient);
  color: var(--light);
  border-color: transparent;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  padding: 0 20px;
}

/* Content Page */
.content-page {
  padding: 60px 0;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--secondary);
  padding: 50px;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.content-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-meta {
  display: flex;
  gap: 30px;
  color: var(--gray);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.content-body {
  color: var(--gray);
  line-height: 1.8;
}

.content-body img{
    width: 100%;
}

.content-body h2 {
  color: var(--light);
  font-size: 1.8rem;
  margin: 40px 0 20px;
}

.content-body h3 {
  color: var(--light);
  font-size: 1.4rem;
  margin: 30px 0 15px;
}

.content-body p {
  margin-bottom: 20px;
}

.content-body ul,
.content-body ol {
  margin: 20px 0;
  padding-left: 30px;
}

.content-body li {
  margin-bottom: 10px;
}

/* Content Tags */
.content-tags {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.content-tags h4 {
  color: var(--light);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.post-nav {
  padding: 25px;
  background: var(--secondary);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-nav:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 20px rgba(0, 212, 255, 0.15);
  transform: translateY(-3px);
}

.nav-label {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light);
}

.post-nav:hover .nav-title {
  color: var(--primary);
}

.next-post {
  text-align: right;
}

/* Related Articles */
.related-articles {
  padding: 80px 0 40px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.related-card {
  background: var(--secondary);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
}

.related-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
  transform: translateY(-5px);
}

.related-thumbnail {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.related-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-card:hover .related-thumbnail img {
  transform: scale(1.05);
}

.related-content {
  padding: 20px;
}

.related-content h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.related-content h3 a:hover {
  color: var(--primary);
}

.related-content p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.related-date {
  color: var(--gray);
  font-size: 0.85rem;
}

/* Footer */
footer {
  background: var(--secondary);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--light);
}

.footer-col p,
.footer-col li {
  color: var(--gray);
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  color: var(--gray);
}

/* Stats Section */
.stats-section {
  background: var(--dark);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--gray);
  font-size: 1.1rem;
}

/* How It Works Section */
.how-it-works {
  background: var(--dark);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 30px;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--light);
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.step-card p {
  color: var(--gray);
}

/* Testimonials Section */
.testimonials-section {
  background: var(--dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--secondary);
  padding: 40px 30px;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: var(--gray);
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.testimonial-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.testimonial-info p {
  color: var(--gray);
  font-size: 0.9rem;
}

.testimonial-rating {
  color: #ffd700;
  margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  text-align: center;
  padding: 100px 20px;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--light);
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  display: inline-block;
  padding: 15px 40px;
  background: var(--light);
  color: var(--secondary);
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: var(--secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--secondary);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu li a {
    display: block;
    padding: 10px 20px;
    transition: background 0.3s ease, color 0.3s ease;
  }

  .nav-menu li a:active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .content-wrapper {
    padding: 30px 20px;
  }

  .content-wrapper h1 {
    font-size: 1.8rem;
  }

  .list-grid {
    grid-template-columns: 1fr;
  }

  .list-thumbnail {
    height: 180px;
  }

  .pagination {
    gap: 8px;
  }

  .pagination .page-numbers {
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .next-post {
    text-align: left;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-thumbnail {
    height: 160px;
  }

  .tags-list {
    gap: 8px;
  }

  .tag {
    padding: 6px 14px;
    font-size: 0.85rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 2rem;
  }

  .rewards-table table {
    font-size: 0.9rem;
  }

  .rewards-table th,
  .rewards-table td {
    padding: 12px 10px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  .features-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
