:root {
    --bg-dark: #120b29;
    --bg-deep: #0a061a;
    --accent-green: #00e696;
    --text-gray: #b1a7c5;
    --card-bg: #1c1435;
    --button-text-color: #000;
    --text-body: #ffffff;
    --nav-main: #0a071b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-body);
    margin: 0;
}


/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-deep); border-radius: 10px; }

/* Navigation Style */
.nav-main {
    background-color: var(--nav-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--button-text-color)!important;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.2s;
    text-transform: capitalize;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    color: var(--text-body)!important;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.2s;
    text-transform: capitalize;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.text-primary {
    display: block;
    color: var(--text-body);
}
.text-primary:hover {
    color: var(--accent-green);
}

.desktop-nav-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease;
    clip-path: circle(0% at 100% 0%);
}
#mobile-menu.active {
    clip-path: circle(150% at 100% 0%);
}

/* Sidebar Rating Blocks */
.rating-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
}

.stars { color: #ffc107; display: flex; gap: 2px; }

/* Content Blocks */
.content-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-body);
}

.green-link { color: var(--accent-green); text-decoration: underline; }


/* TOC Block */
.toc-bar {
    background: var(--accent-green);
    color: var(--button-text-color);
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 30px;
}

/* Enhanced Bonus Banner */
.bonus-banner {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.bonus-content {
    z-index: 10;
    flex: 1;
}

.bonus-image-container {
    z-index: 5;
    position: relative;
    display: none;
}

@media (max-width: 768px) {
    .bonus-banner {
        display: block;
        width: 100%;
        height: auto;
    }
    .bg-main-green img{
        display: none;
    }
}

  /* (Table of Contents) */
.toc-container {
    margin-bottom: 40px;
}
.toc-header {
    background-color: var(--accent-green);
    color: var(--button-text-color);
    padding: 12px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
}
.toc-content {
    background-color: var (--card-bg);
    border-radius: 0 0 6px 6px;
    max-height: 0;
    overflow: hidden;
    /*transition: max-height 0.1s ease-out;*/
}
.toc-container.open .toc-content {
    max-height: 500px;
    padding: 24px;
    border: 1px solid rgba(0, 230, 150, 0.2);
    border-top: none;
}

#toc ul li {
    list-style: none;
    
}
.toc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s;
}
.toc-item:hover {
    color: var(--accent-green);
}
.toc-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
}
#toc ul {
    list-style: none;
  padding-left: 0;
}
/* FAQ Styling */
.faq-item {
    margin-bottom: 12px;
}
.faq-question {
    background: white;
    color: black;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}
.faq-answer {
    padding: 15px 20px;
    color: #b1a7c5;
    font-size: 16px;
    line-height: 1.6;
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-item.active .faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.faq-question i {
    transition: transform 0.2s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.main-content a {
	color: var(--accent-green);
}
.main-content img{
	padding: 20px 0;
}

.post-entry h1,
.post-entry h1 span,
.post-entry h1 strong {
    color: var(--text-body)!important;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.post-entry h2,
.post-entry h2 span,
.post-entry h2 strong {
    display: block;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-green);
    color: var(--text-body)!important;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    margin-top: 30px;
}

.post-entry h3,
.post-entry h3 span,
.post-entry h3 strong {
    border-bottom: 0px solid var(--accent-green);
    color: var(--accent-green)!important;
    font-size: 26px;
    padding-bottom: 4px;
    display: block;
    margin-top: 30px;
}

.post-entry p:not(:last-child) {
      margin-bottom: 24px;
      margin-top: 24px;
    }
    
.post-entry ol {
  margin-bottom: 24px;
  padding-left: 20px;
    } 
.post-entry ul {
  margin-bottom: 24px;
  padding-left: 20px;
    }     
.post-entry ol li:not(:last-child) {
  margin-bottom: 10px;
}

.post-entry ol li {
  list-style: decimal;
  position: relative;
}

.post-entry ul li:not(:last-child) {
  margin-bottom: 10px;
}
.post-entry ul li {
  list-style: disc;
  position: relative;
}


.post-entry {
    overflow-x: auto;
}
.post-entry table {
    display: block;
    overflow: auto;
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,.078);
    margin-bottom: 16px;
}

.post-entry table tr {
  background-color: transparent !important;
}

.post-entry table tr td {
  padding: 14px 16px;
  border: 1px solid;
  
}

.post-entry table thead tr th {
    background: var(--card-bg)!important; 
    color: #fff !important;
}


.post-entry table tr:nth-child(odd) td {
    background: var(--card-bg)!important; 
}


.post-entry table tr:nth-child(even) td {
    background: var(--card-bg)!important; 
}


.post-entry table td,
.post-entry table th {
    color:  var(--text-body)!important;
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */

.sticky-mobile-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 40;
  background: linear-gradient(to top, var(--card-bg) 60%, transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}


.sticky-mobile-btn.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.sticky-mobile-btn button {
  display: block;
  width: 100%;
  background: var(--accent-green);
  color: var(--button-text-color);
  padding: 16px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
  animation: pulse 2s infinite;
}

.sticky-mobile-btn button:hover {
  transform: scale(1.02);
}

@media (min-width: 768px) {
    .toc-grid {
        grid-template-columns: 1fr 1fr;
    }
    .post-entry table {
        width: none;
    }
    .sticky-mobile-btn {
        display: none;
  }
}