/* Base Styles */
:root {
    --primary: #8e2de2;
    --primary-gradient: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
    --secondary: #14f195;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.1);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: #1a1a2e;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }
  
  /* Navigation */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(26, 26, 46, 0.95); /* Dark blue with 95% opacity */
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
  
  .navbar.scrolled {
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
  
  .logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
  }
  
  .logo span {
    color: var(--secondary);
  }
  
  .logo-icon {
    margin-right: 10px;
    font-size: 2rem;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 2.5rem;
    position: relative;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
  }
  
  .nav-links a:hover {
    color: var(--secondary);
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  /* Dropdown Menu */
  .dropdown {
    position: relative;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(26, 26, 46, 0.95);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    top: 100%;
    left: 0;
    margin-top: 10px;
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: fadeIn 0.3s ease;
  }
  
  .dropdown-content:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .dropdown-content a {
    color: var(--light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .dropdown-content a:hover {
    background-color: rgba(142, 45, 226, 0.3);
    color: var(--secondary);
    padding-left: 20px;
  }
  
  /* Mobile Menu */
  .mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light);
  }
  
  .mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
  }
  
  .mobile-nav.active {
    left: 0;
  }
  
  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .close-menu {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light);
  }
  
  .mobile-nav-links {
    list-style: none;
    padding: 1rem 0;
  }
  
  .mobile-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .mobile-nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .mobile-nav-links a:hover {
    color: var(--secondary);
    background-color: rgba(142, 45, 226, 0.1);
  }
  
  .mobile-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.5rem;
    color: var(--light);
    background: none;
    border: none;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .mobile-dropdown-btn:hover {
    color: var(--secondary);
    background-color: rgba(142, 45, 226, 0.1);
  }
  
  .mobile-dropdown-content {
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding-left: 1rem;
  }
  
  .mobile-dropdown-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
  }
  

  .cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .cta-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
  }
  
  .cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(142, 45, 226, 0.4);
  }
  
  .cta-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--secondary);
  }
  
  .cta-secondary:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(20, 241, 149, 0.3);
  }
  
  .hero-image {
    position: relative;
    width: 40%;
    z-index: 10;
    animation: floatAnimation 3s ease-in-out infinite alternate;
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  }
  

  
  /* Newsletter Section */
  .newsletter {
    padding: 5rem 5%;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
  }
  
  .newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
  }
  
  .newsletter h2 {
    color: white;
    margin-bottom: 1rem;
  }
  
  .newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
  }
  
  .newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
  }
  
  .newsletter-input:focus {
    outline: none;
  }
  
  .newsletter-button {
    padding: 1rem 2rem;
    border: none;
    background-color: var(--dark);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .newsletter-button:hover {
    background-color: var(--secondary);
    color: var(--dark);
  }
  
  /* Footer */
  .footer {
    background-color: #14142b;
    padding: 5rem 5% 2rem;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-column h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
  }
  
  .footer-column h4::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-gradient);
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 0.8rem;
  }
  
  .footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: var(--secondary);
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .social-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.3);
  }
  
  .copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
  }
  
  /* Suggested Section in Mobile Nav */
  .suggested-section {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .suggested-section h4 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
  }
  
  .suggested-section a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(142, 45, 226, 0.1);
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--secondary);
  }
  
  .suggested-section a:hover {
    background: rgba(142, 45, 226, 0.2);
    color: var(--secondary);
    padding-left: 2rem;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from {
      transform: translateY(30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes floatAnimation {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-15px);
    }
  }
  
  @keyframes ticker {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .hero-content {
      width: 55%;
    }
    
    .hero-image {
      width: 45%;
    }
  }
  
  @media (max-width: 768px) {
    .navbar {
      padding: 1rem 5%;
    }
    
    .nav-links {
      display: none;
    }
    
    .mobile-menu {
      display: block;
    }
    
    .hero {
      flex-direction: column;
      height: auto;
      padding: 120px 5% 5rem;
    }
    
    .hero-content {
      width: 100%;
      padding-right: 0;
      text-align: center;
      margin-bottom: 3rem;
    }
    
    .hero h1 {
      font-size: 2.8rem;
    }
    
    .hero-cta {
      justify-content: center;
    }
    
    .hero-image {
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
    }
  }
  
  @media (max-width: 480px) {
    .hero h1 {
      font-size: 2.2rem;
    }
    
    .hero-cta {
      flex-direction: column;
    }
    
    .section-title {
      font-size: 2rem;
    }
  }
  
 
  .ad-rectangle {
    max-width: 300px;
    height: 250px;
  }
  
  .ad-large-rectangle {
    max-width: 336px;
    height: 280px;
  }
  
  .ad-sidebar {
    max-width: 160px;
    height: 600px;
    float: right;
    margin: 0 0 2rem 2rem;
  }
  

  
  /* Free Resource Section */
  .free-resource {
    padding: 5rem 5%;
    background-color: #161629;
    position: relative;
  }
  
  .free-resource .container {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .resource-content {
    flex: 1;
  }
  
  .resource-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--light);
  }
  
  .resource-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
  }
  
  .resource-benefits {
    margin: 2rem 0;
    padding-left: 1.5rem;
  }
  
  .resource-benefits li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 1.5rem;
  }
  
  .resource-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
  }
  
  .resource-join {
    font-weight: 600;
    font-size: 1.1rem;
  }
  
  /* Brevo Form Styling */
  .resource-form-container {
    margin: 2rem 0;
  }
  
  #error-message, #success-message {
    font-size: 16px;
    text-align: left;
    font-family: Helvetica, sans-serif;
    border-radius: 3px;
    margin-bottom: 10px;
    padding: 10px;
    display: none;
  }
  
  #error-message {
    color: #661d1d;
    background-color: #ffeded;
    border: 1px solid #ff4949;
  }
  
  #success-message {
    color: #085229;
    background-color: #e7faf0;
    border: 1px solid #13ce66;
  }
  
  .sib-form-message-panel__text {
    display: flex;
    align-items: center;
  }
  
  .sib-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }
  
  .custom-brevo-container {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
  
  /* Email and button container - exact match to original */
  .email-button-container {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
  }
  
  .form-input-wrapper {
    flex: 1;
  }
  
  /* Fixed input styling to match original */
  .form-input-wrapper input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    height: 100%;
    box-sizing: border-box;
  }
  
  input#EMAIL {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    height: 100%;
    border-radius: 0;
    margin: 0;
  }
  
  input#EMAIL:focus {
    outline: none;
  }
  
  /* Button styling exact match to original */
  .resource-button {
    padding: 1rem 2rem;
    border: none;
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    white-space: nowrap;
    height: auto;
  }
  
  .resource-button:hover {
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.3);
  }
  
  /* Captcha styling - outside the email container */
  .captcha-wrapper {
    width: 100%;
    margin: 15px 0;
    display: flex;
    justify-content: flex-start;
  }
  
  .progress-indicator__icon {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    display: none;
  }
  
  .privacy-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
  }
  
  .resource-image {
    flex: 1;
    max-width: 400px;
  }
  
  .resource-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  }
  
  .input--hidden {
    display: none !important;
  }
  
  /* Fix for Brevo form structure */
  #sib-container {
    text-align: left !important;
  }
  
  #sib-form {
    display: flex;
    flex-direction: column;
  }
  
  /* Fix any additional Brevo styles that might interfere */
  #sib-container input:-ms-input-placeholder {
    text-align: left;
    font-family: Helvetica, sans-serif;
    color: #c0ccda;
  }
  
  #sib-container input::placeholder {
    text-align: left;
    font-family: Helvetica, sans-serif;
    color: #c0ccda;
  }
  
  /* Ensure no Brevo default styles interfere */
  #sib-container .input {
    padding: 1rem 1.5rem !important;
    text-align: left !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }
  
  .sib-form-block {
    padding: 0 !important;
  }
  
  .form__entry {
    width: 100%;
  }
  
  /* Set consistent height and display for email and button */
  .form-input-wrapper, .resource-button {
    height: 56px;
    display: flex;
    align-items: center;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .free-resource .container {
      flex-direction: column;
    }
    
    .resource-image {
      order: -1;
      max-width: 100%;
    }
    
    .email-button-container {
      flex-direction: column;
      border-radius: 16px;
      overflow: hidden;
    }
    
    .resource-button {
      width: 100%;
    }
  }
  
  /* Media Queries */
  @media (max-width: 992px) {
    .free-resource .container {
      flex-direction: column;
    }
    
    .resource-image {
      order: -1;
      margin-bottom: 2rem;
    }
    
    .ad-sidebar {
      float: none;
      margin: 3rem auto;
    }
  }
  
  @media (max-width: 768px) {
    .difference-item {
      flex-direction: column;
    }
    
    .difference-number {
      margin-right: 0;
      margin-bottom: 1rem;
    }
    
    .resource-form {
      flex-direction: column;
      border-radius: 8px;
    }
    
    .resource-form input {
      border-radius: 8px 8px 0 0;
    }
    
    .resource-button {
      width: 100%;
      border-radius: 0 0 8px 8px;
    }
  }

  /* Topic Hero Section */
.topic-hero {
  background: var(--primary-gradient);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 60px; /* Account for fixed navbar */
}

.topic-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/crypto-pattern.png');
  background-size: cover;
  opacity: 0.1;
  z-index: 1;
}

.topic-hero .container {
  position: relative;
  z-index: 2;
}

.topic-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.topic-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
}

/* Topic Introduction */
.topic-introduction {
  padding: 80px 0;
  background-color: var(--dark);
  position: relative;
}

.topic-introduction::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
}

.topic-introduction .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.topic-content {
  flex: 1;
}

.topic-image {
  flex: 0 0 40%;
}

.topic-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.topic-image img:hover {
  transform: translateY(-10px);
}

.topic-introduction h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.topic-introduction p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.topic-highlights {
  background: rgba(142, 45, 226, 0.08);
  border-radius: 10px;
  padding: 25px;
  margin: 30px 0;
  border-left: 4px solid var(--secondary);
}

.topic-highlights h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.topic-highlights ul {
  list-style-type: none;
}

.topic-highlights li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.topic-highlights li::before {
  content: '✓';
  color: var(--secondary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Subtopics Navigation Section */
.subtopics-navigation {
  padding: 80px 0;
  background-color: rgba(26, 26, 46, 0.8);
  position: relative;
}

.subtopics-navigation .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.subtopics-navigation h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.subtopics-navigation > p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.subtopic-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.subtopic-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 15px;
  padding: 30px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.subtopic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(142, 45, 226, 0.3);
  border-color: rgba(142, 45, 226, 0.4);
}

.subtopic-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtopic-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--light);
}

.subtopic-card p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
}

.subtopic-link {
  display: inline-block;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.subtopic-link:hover {
  transform: translateX(5px);
}

/* Featured Content Section */
.featured-content {
  padding: 80px 0;
  background-color: var(--dark);
}

.featured-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.featured-content h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--light);
}

.featured-items {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.featured-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  overflow: hidden;
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  transition: all 0.3s ease;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(142, 45, 226, 0.25);
}

.featured-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.featured-item:hover img {
  transform: scale(1.05);
}

.featured-item h3 {
  font-size: 1.5rem;
  padding: 20px 20px 10px;
  color: var(--light);
}

.featured-item p {
  padding: 0 20px 20px;
  color: rgba(255, 255, 255, 0.8);
}

.featured-link {
  display: inline-block;
  margin: 0 20px 20px;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.featured-link:hover {
  transform: translateX(5px);
}

/* Testimonial Section */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)), url('/images/testimonial-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0.05;
}

.testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  color: var(--light);
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 30px;
  flex: 1;
  min-width: 280px;
  max-width: 550px;
  border: 1px solid var(--card-border);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(142, 45, 226, 0.2);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.author-info {
  margin-left: 15px;
}

.author-info h4 {
  color: var(--light);
  margin-bottom: 5px;
}

.author-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-15px);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .topic-introduction .container {
    flex-direction: column;
  }
  
  .topic-content {
    order: 2;
  }
  
  .topic-image {
    order: 1;
    margin-bottom: 40px;
    max-width: 500px;
    width: 100%;
  }
  
  .topic-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .topic-hero h1 {
    font-size: 2.5rem;
  }
  
  .topic-subtitle {
    font-size: 1.2rem;
  }
  
  .topic-introduction h2, 
  .subtopics-navigation h2,
  .featured-content h2,
  .testimonials h2 {
    font-size: 2rem;
  }
  
  .subtopic-card {
    min-width: 100%;
  }
  
  .featured-item {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .topic-hero h1 {
    font-size: 2rem;
  }
  
  .topic-subtitle {
    font-size: 1rem;
  }
  
  .topic-introduction h2, 
  .subtopics-navigation h2,
  .featured-content h2,
  .testimonials h2 {
    font-size: 1.8rem;
  }
  
  .testimonial {
    padding: 20px;
  }
}

/* Article Page Styles */

/* Container Structure */
.main-container {
  padding-bottom: 60px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-row {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-top: 30px;
}

/* Article Header */
.article-header {
  padding: 50px 0 30px;
  text-align: center;
  background: var(--dark);
}

.category-tag {
  display: inline-block;
  background: var(--primary-gradient);
  color: var(--light);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}

.author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.article-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.social-share:hover {
  transform: translateY(-3px);
  background: var(--primary-gradient);
}

.social-share img {
  width: 18px;
  height: 18px;
}

/* Featured Image */
.featured-image {
  margin: 0 auto 30px;
  max-width: 1200px;
  padding: 0 20px;
}

.responsive-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.image-caption {
  text-align: center;
  font-size: 14px;
  color: #b0b0b0;
  margin-top: 10px;
}

/* Article Content */
.article-content {
  font-size: 18px;
}

.table-of-contents {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 40px;
}

.table-of-contents h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 10px;
}

.table-of-contents ul {
  list-style-type: none;
}

.table-of-contents li {
  margin-bottom: 10px;
}

.table-of-contents a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.table-of-contents a:hover {
  color: var(--secondary);
}

.article-section {
  margin-bottom: 60px;
}

.article-section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  position: relative;
  padding-left: 15px;
}

.article-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 5px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.article-section h3 {
  font-size: 1.4rem;
  margin: 30px 0 20px;
}

.article-section p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #e0e0e0;
}

.article-section a {
  color: var(--secondary);
  text-decoration: none;
  border-bottom: 1px dotted var(--secondary);
  transition: all 0.3s ease;
}

.article-section a:hover {
  border-bottom: 1px solid var(--secondary);
}

blockquote {
  border-left: 4px solid var(--primary);
  padding: 15px 20px;
  margin: 30px 0;
  background: var(--card-bg);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

.scripture {
  background: rgba(20, 241, 149, 0.1);
  border-left: 4px solid var(--secondary);
}

.testimonial {
  background: rgba(142, 45, 226, 0.1);
  border-left: 4px solid var(--primary);
}

.article-list {
  margin: 20px 0 30px 20px;
}

.article-list li {
  margin-bottom: 15px;
}

.info-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
}

.info-box h4 {
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Step by Step Process */
.step-by-step {
  margin: 30px 0;
}

.step-by-step ol {
  counter-reset: step-counter;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.step-by-step li {
  position: relative;
  margin-bottom: 30px;
  padding-left: 50px;
  counter-increment: step-counter;
}

.step-by-step li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-by-step h4 {
  margin-bottom: 10px;
  color: var(--light);
}

/* Comparison Table */
.comparison-table {
  margin: 30px 0;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table th, 
.comparison-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.comparison-table th {
  background: var(--primary-gradient);
  color: var(--light);
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background: var(--card-bg);
}

/* Case Study */
.case-study {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
}

.next-steps {
  background: rgba(20, 241, 149, 0.1);
  border: 1px solid rgba(20, 241, 149, 0.2);
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
}

.next-steps ul {
  margin-left: 20px;
}

.next-steps li {
  margin-bottom: 10px;
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 25px;
  margin: 50px 0 30px;
}

.author-profile {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h3 {
  margin-bottom: 10px;
}

.author-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.author-social a {
  color: var(--light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.author-social a:hover {
  color: var(--secondary);
}

/* Comments Section */
.comments-section {
  margin-top: 50px;
}

.comments-section h3 {
  margin-bottom: 25px;
}

.comment-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--light);
  font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.comment-button {
  background: var(--primary-gradient);
  color: var(--light);
  border: none;
  border-radius: 8px;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comment-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(142, 45, 226, 0.4);
}

.comments-display {
  margin-top: 30px;
}

.comment {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.comment-date {
  font-size: 14px;
  color: #b0b0b0;
}

.comment-actions {
  margin-top: 15px;
}

.reply-button {
  background: transparent;
  color: var(--light);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 5px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reply-button:hover {
  background: var(--card-bg);
  border-color: var(--primary);
}

/* Sidebar Styles */
.article-sidebar {
  position: sticky;
  top: 30px;
}

.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
}

.author-widget {
  text-align: center;
}

.sidebar-author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.sidebar-widget h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.sidebar-button {
  display: inline-block;
  background: var(--primary-gradient);
  color: var(--light);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.sidebar-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(142, 45, 226, 0.4);
}

.sidebar-form {
  margin-top: 15px;
}

.sidebar-form input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--light);
  font-size: 16px;
  margin-bottom: 10px;
}

.small-text {
  font-size: 12px;
  color: #b0b0b0;
  margin-top: 10px;
}

.post-list {
  list-style-type: none;
}

.post-item {
  margin-bottom: 15px;
}

.post-item a {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-item a:hover {
  transform: translateX(5px);
}

.post-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.post-info h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
}

.post-meta {
  font-size: 12px;
  color: #b0b0b0;
}

.category-list {
  list-style-type: none;
}

.category-list li {
  margin-bottom: 10px;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  color: var(--light);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.category-list a:hover {
  color: var(--secondary);
}

.resource-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Related Articles */
.related-articles {
  padding: 50px 0;
  background: rgba(255, 255, 255, 0.02);
}

.related-articles h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-article {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.related-article:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.related-article a {
  color: var(--light);
  text-decoration: none;
}

.article-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-info {
  padding: 20px;
}

.category {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  background: var(--primary-gradient);
  color: var(--light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.article-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.article-info p {
  color: #b0b0b0;
  margin-bottom: 15px;
  font-size: 14px;
}

.read-more {
  color: var(--secondary);
  font-weight: 500;
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: var(--primary-gradient);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta-primary {
  background: var(--light);
  color: var(--dark);
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
  background: transparent;
  color: var(--light);
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--light);
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.ad-in-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .article-row {
    grid-template-columns: 1fr;
  }
  
  .article-sidebar {
    position: static;
  }
  
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .article-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-profile {
    margin: 0 auto 20px;
  }
  
  .author-social {
    justify-content: center;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .article-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .article-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .article-section h2 {
    font-size: 1.6rem;
  }
  
  .article-section h3 {
    font-size: 1.3rem;
  }
  
  .comparison-table {
    font-size: 14px;
  }
  
  .comparison-table th, 
  .comparison-table td {
    padding: 10px;
  }
}

.final-call {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: var(--primary-gradient);
  border-radius: 10px;
}

.final-call h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.final-button {
  margin: 1.5rem 0;
}

.final-call p {
  margin-top: 1.5rem;
  font-weight: 500;
}

.donation-button {
  text-align: center;
  margin: 1.5rem 0 0.5rem;
}

.donation-button a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.donation-button a:hover {
  transform: scale(1.05);
}

.final-button {
  margin: 1.5rem 0;
}




 /* Previous/Next Navigation Styles */
        .prev-next-navigation {
            display: flex;
            justify-content: space-between;
            gap: 2rem;
            margin: 3rem 0;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .nav-button {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.5rem;
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--card-border);
            border-radius: 15px;
            text-decoration: none;
            color: var(--light);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            cursor: pointer;
            min-height: 120px;
            flex: 1;
            max-width: 400px;
        }

        .nav-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary-gradient);
            transition: left 0.5s ease;
            z-index: -1;
        }

        .nav-button:hover::before {
            left: 0;
        }

        .nav-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(142, 45, 226, 0.3);
            border-color: var(--primary);
        }

        .nav-button.disabled {
            opacity: 0.4;
            cursor: not-allowed;
            pointer-events: none;
        }

        .nav-button.prev-button {
            justify-content: flex-start;
        }

        .nav-button.next-button {
            justify-content: flex-end;
            flex-direction: row-reverse;
        }

        .nav-icon {
            width: 24px;
            height: 24px;
            color: var(--secondary);
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .nav-button:hover .nav-icon {
            transform: scale(1.2);
        }

        .prev-button:hover .nav-icon {
            transform: translateX(-5px) scale(1.2);
        }

        .next-button:hover .nav-icon {
            transform: translateX(5px) scale(1.2);
        }

        .nav-content {
            flex: 1;
        }

        .nav-label {
            font-size: 0.85rem;
            color: var(--secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 500;
            display: block;
            margin-bottom: 0.5rem;
        }

        .nav-title {
            font-size: 1.1rem;
            font-weight: 600;
            line-height: 1.3;
            margin-bottom: 0.5rem;
            transition: color 0.3s ease;
        }

        .nav-button:hover .nav-title {
            color: var(--secondary);
        }

        .nav-category {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.7);
            background: rgba(142, 45, 226, 0.2);
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            display: inline-block;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .prev-next-navigation {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-button {
                min-height: auto;
                padding: 1rem;
                max-width: none;
            }
            
            .nav-title {
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 1rem;
            }
            
            .nav-button {
                flex-direction: column;
                text-align: center;
                gap: 0.5rem;
            }
            
            .nav-button.next-button {
                flex-direction: column;
            }
            
            .nav-content {
                text-align: center;
            }
        }



        /* Article Indicator Styles */
        .nav-indicator {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
        }

        .current-article {
            text-align: center;
            background: var(--primary-gradient);
            border-radius: 50px;
            padding: 1.2rem 1.8rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(142, 45, 226, 0.4);
        }

        .current-article::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50px;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.1; }
            50% { opacity: 0.3; }
        }

        .article-counter {
            font-size: 1.1rem;
            font-weight: 600;
            color: white;
            display: block;
            position: relative;
            z-index: 1;
            margin-bottom: 0.2rem;
        }

        .article-progress-text {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.8);
            position: relative;
            z-index: 1;
        }

        .progress-barr {
            width: 120px;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            overflow: hidden;
            position: relative;
        }

        .progress-filll {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 3px;
            transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            box-shadow: 0 0 10px rgba(142, 45, 226, 0.5);
        }

        .progress-filll::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        /* Responsive Design */
        @media (max-width: 480px) {
            .progress-barr {
                width: 100px;
            }
        }




        /* Ultimate YouTube Container - Zoom Optimized */
.ultimate-youtube-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 2px solid var(--card-border);
    border-radius: 32px;
    padding: 40px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 25px 80px rgba(142, 45, 226, 0.2),
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: containerEntrance 1.2s ease-out;
    contain: layout style paint;
}

.ultimate-youtube-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 32px;
    z-index: -1;
}

.ultimate-youtube-container:hover::before {
    opacity: 0.05;
}

.ultimate-youtube-container:hover {
    margin-top: -15px;
    box-shadow: 
        0 40px 120px rgba(142, 45, 226, 0.4),
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes containerEntrance {
    0% {
        opacity: 0;
        margin-top: 60px;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        margin-top: 0;
        filter: blur(0);
    }
}

/* Premium YouTube Player */
.premium-youtube-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    contain: layout style paint;
}

.premium-youtube-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(142, 45, 226, 0.1) 50%, transparent 70%);
    transform: translateX(-100%) translateZ(0);
    animation: ultraShimmer 4s infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes ultraShimmer {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(200%) skewX(-15deg); }
}

.youtube-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 24px;
    transition: all 0.4s ease;
    filter: brightness(0.95) contrast(1.05);
}

.premium-youtube-player:hover .youtube-iframe {
    filter: brightness(1) contrast(1.1);
}

/* YouTube Overlay */
.youtube-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: opacity 0.5s ease;
    border-radius: 24px;
}

.youtube-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Epic Play Button */
.epic-play-button {
    width: 120px;
    height: 120px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 15px 50px rgba(142, 45, 226, 0.5),
        0 5px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    animation: playPulse 3s ease-in-out infinite;
}

.epic-play-button::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: playRipple 2s ease-out infinite;
}

@keyframes playPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes playRipple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.epic-play-button:hover {
    transform: scale(1.15);
    box-shadow: 
        0 25px 80px rgba(142, 45, 226, 0.7),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 32px solid white;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    margin-left: 8px;
}

/* Video Info Section */
.video-info-section {
    margin-top: 35px;
    text-align: left;
    animation: infoSlideUp 1s ease-out 0.3s both;
}

@keyframes infoSlideUp {
    from {
        opacity: 0;
        margin-top: 65px;
    }
    to {
        opacity: 1;
        margin-top: 35px;
    }
}

.video-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--light);
    margin-bottom: 12px;
    line-height: 1.3;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 8px rgba(142, 45, 226, 0.3)); }
    to { filter: drop-shadow(0 0 15px rgba(142, 45, 226, 0.6)); }
}

.video-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.7);
}

.views {
    font-weight: 500;
    color: var(--light);
}

.separator {
    color: rgba(248, 249, 250, 0.5);
}

.quality-badge {
    background: var(--primary-gradient);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-description {
    color: rgba(248, 249, 250, 0.8);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.6;
    font-weight: 400;
    max-width: none;
}





html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  background: #000; /* fallback color */
}

body {
  position: relative;
  z-index: 0;
}

/* 🌈 Flowing Cinematic Background */
.cinematic-bg {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: -10;
  background: radial-gradient(circle at 30% 70%, rgba(142, 45, 226, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(20, 241, 149, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(74, 0, 224, 0.2) 0%, transparent 60%);
  background-size: 200% 200%;
  animation: gradientFlow 15s ease infinite;
  pointer-events: none;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ✨ Tiny Floating Particles */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -9;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: particleFloat 10s linear infinite;
  opacity: 0.7;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

/* 🌐 Mobile-friendly adjustments */
@media (max-width: 768px) {
  .particle {
    width: 2px;
    height: 2px;
  }
}
