/*
Theme Name: Bucket Lists Ideas - BucketListIdeas
Theme URI: https://bucketlistideas.com
Author: BucketListIdeas
Author URI: https://bucketlistideas.com
Description: A beautifully crafted WordPress theme for bucket list enthusiasts. Designed to inspire dreamers to organize their adventures and life goals with a modern, clean aesthetic powered by Tailwind CSS.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bucketlistideas
Tags: blog, custom-menu, custom-logo, featured-images, full-width-template, one-column, two-columns, theme-options, threaded-comments, translation-ready
*/

/* ============================================
   CSS Custom Properties - Design Tokens
   ============================================ */
:root {
  /* Primary */
  --color-primary: #0070F3;
  --color-primary-dark: #0058C3;
  --color-primary-light: #E6F0FF;

  /* Secondary */
  --color-secondary: #006D37;
  --color-secondary-light: #6BFE9C;

  /* Tertiary */
  --color-tertiary: #A66800;

  /* Surfaces */
  --color-surface: #FBF9F8;
  --color-surface-container-lowest: #FFFFFF;
  --color-surface-container-low: #F5F3F3;
  --color-surface-container: #EFEDED;
  --color-surface-container-high: #E9E8E7;
  --color-surface-container-highest: #E4E2E2;

  /* Text */
  --color-text: #1B1C1C;
  --color-text-secondary: #414754;
  --color-outline: #727786;

  /* Shadows */
  --shadow-ambient: 0 8px 32px rgba(27, 28, 28, 0.04);
  --shadow-elevated: 0 12px 48px rgba(27, 28, 28, 0.08);
  --shadow-card: 0 4px 16px rgba(27, 28, 28, 0.03);

  /* Roundness */
  --radius-card: 12px;
  --radius-container: 24px;
  --radius-pill: 9999px;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ============================================
   Base Resets & Typography
   ============================================ */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-surface);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

/* ============================================
   WordPress Core Styles
   ============================================ */
.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
}

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

/* ============================================
   Glassmorphic Header
   ============================================ */
.site-header {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.80);
  border-bottom: none;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(27, 28, 28, 0.06);
}

/* ============================================
   Hero Card
   ============================================ */
.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(27, 28, 28, 0.75), transparent);
  pointer-events: none;
}

.hero-card-content {
  position: relative;
  z-index: 2;
}

/* ============================================
   Button Gradients
   ============================================ */
.btn-primary {
  background: linear-gradient(135deg, #0058C3, #0070F3);
  color: #FFFFFF;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 112, 243, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 112, 243, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--color-surface-container-lowest);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-ambient);
  border: none;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

/* ============================================
   Vibe Chips / Pills
   ============================================ */
.vibe-chip {
  transition: all 0.2s ease;
}

.vibe-chip:hover {
  background-color: var(--color-surface-container-high);
}

.vibe-chip.active {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

/* ============================================
   Progress Bar
   ============================================ */
.progress-bar-fill {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
  border-radius: 9999px;
  transition: width 0.6s ease;
}

/* ============================================
   Quiz Card
   ============================================ */
.quiz-card {
  background: linear-gradient(135deg, #0058C3 0%, #0070F3 100%);
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-item {
  border: none;
  background: var(--color-surface-container-low);
  transition: all 0.3s ease;
}

.faq-item .faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ============================================
   Gradient Text
   ============================================ */
.gradient-text {
  background: linear-gradient(135deg, #0070F3, #006D37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Article Content
   ============================================ */
.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-text-secondary);
}

.article-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content img {
  border-radius: var(--radius-card);
  margin: 2rem 0;
}

/* ============================================
   Table of Contents (Pillar Page)
   ============================================ */
.toc-sidebar {
  position: sticky;
  top: 100px;
}

.toc-sidebar a {
  transition: all 0.2s ease;
}

.toc-sidebar a.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* ============================================
   Form Styles
   ============================================ */
.form-input {
  background: var(--color-surface-container-low);
  border: none;
  border-radius: var(--radius-card);
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus {
  background: var(--color-surface-container);
  box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.15);
}

.form-input::placeholder {
  color: var(--color-outline);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.breadcrumbs a {
  color: var(--color-outline);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ============================================
   Screen Reader Text (WordPress a11y)
   ============================================ */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ============================================
   Pagination
   ============================================ */
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
  background: var(--color-surface-container);
}

.pagination .page-numbers.current {
  background: var(--color-primary);
  color: #FFFFFF;
}

/* ============================================
   Comments
   ============================================ */
.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list .comment {
  margin-bottom: 1.5rem;
}

.comment-list .children {
  margin-left: 2rem;
  list-style: none;
  padding: 0;
}

/* ============================================
   Single Post - Hero
   ============================================ */
.single-hero__category {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.single-hero__category:hover {
  opacity: 0.7;
}

.single-hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-surface-container-high);
  display: inline-block;
}

.single-hero__meta {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.single-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.single-hero__image {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  margin-bottom: 3rem;
}

.single-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}

.single-hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

/* ============================================
   Single Post - Article Content
   ============================================ */
.single-article {
  max-width: 56rem;
  margin: 0 auto;
}

.single-post .article-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.single-post .article-content h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.single-post .article-content p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.single-post .article-content ol {
  counter-reset: list-counter;
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.single-post .article-content ol > li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.single-article__content ol > li::before {
  counter-increment: list-counter;
  content: counter(list-counter);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: rgba(0, 112, 243, 0.08);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.single-post .article-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.single-post .article-content ul > li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.single-article__content ul > li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 0.6rem;
}

.single-post .article-content a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.single-post .article-content a:hover {
  border-bottom-color: var(--color-primary);
}

.single-post .article-content strong {
  color: var(--color-text);
  font-weight: 700;
}

/* Tags */
.single-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-surface-container);
}

.single-article__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: var(--color-surface-container-low);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s;
}

.single-article__tag:hover {
  background: var(--color-surface-container);
}

/* ============================================
   Single Post - Author Bio
   ============================================ */
.single-author {
  border-top: 1px solid var(--color-surface-container);
  padding-top: 4rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.single-author__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .single-author__inner {
    flex-direction: row;
    text-align: left;
  }
}

.single-author__avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-elevated);
}

.single-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}

.single-author__label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.single-author__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.single-author__bio {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.single-author__links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .single-author__links {
    justify-content: flex-start;
  }
}

.single-author__link {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.single-author__link:hover {
  text-decoration: underline;
}

/* ============================================
   Single Post - Related Stories
   ============================================ */
.single-related__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.single-related__card-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.single-related__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}

.single-related__card-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text);
}

.single-related__card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  transition: color 0.2s;
}

.single-related__card:hover .single-related__card-title {
  color: var(--color-primary);
}

/* ============================================
   Front Page — Full Width Modern
   ============================================ */
.fp-tonal-shift { background-color: #f2f3ff; }

.fp-glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.fp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #ffffff !important;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 8px 24px rgba(0, 112, 243, 0.2);
  transition: all 0.2s;
  text-decoration: none;
}
.fp-btn-primary:hover { opacity: 0.9; transform: scale(1.02); }
.fp-btn-primary:active { transform: scale(0.95); }

.fp-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--color-surface-container-high);
  color: var(--color-text);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.2s;
  text-decoration: none;
  background: transparent;
}
.fp-btn-outline:hover { background: var(--color-surface-container-low); }
.fp-btn-outline:active { transform: scale(0.95); }

.fp-saved-msg {
  display: none;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.fp-quiz-opt {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #334155;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.fp-quiz-opt:hover { border-color: #3b82f6; background: rgba(59, 130, 246, 0.1); }
.fp-quiz-opt--active { border-color: #3b82f6 !important; background: rgba(59, 130, 246, 0.1) !important; }

.fp-tracker-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: 1rem;
  border: 1px solid rgba(194, 198, 216, 0.3);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.fp-tracker-card:hover { box-shadow: 0 12px 48px rgba(27, 28, 28, 0.08); }

.fp-tracker-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.25rem;
  border: 2px solid var(--color-outline);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  margin-top: 0.125rem;
}
.fp-tracker-check--done {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.fp-tracker-check--done::after {
  content: '✓';
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.fp-cat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(194, 198, 216, 0.2);
  text-decoration: none;
  transition: all 0.2s;
  background: var(--color-surface);
}
.fp-cat-card:hover {
  background: var(--color-surface-container-low);
  box-shadow: 0 4px 16px rgba(27, 28, 28, 0.06);
  border-color: var(--color-primary);
}

/* ============================================
   Front Page — Mobile Helpers
   ============================================ */
.fp-hide-scrollbar::-webkit-scrollbar { display: none; }
.fp-hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.fp-tracker-check-mob.fp-tracker-check--done::after {
  content: '✓';
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
}

/* ============================================
   Legal Page
   ============================================ */
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.legal-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.legal-content ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.legal-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.legal-content li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.legal-content li strong {
  color: var(--color-text);
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   Front Page — BL Component (legacy)
   ============================================ */
.bl-wrap { padding: 16px; }
.bl { background: #FAFAF7; border-radius: 12px; overflow: hidden; max-width: 780px; margin: 0 auto; }

/* Hero */
.bl-hero { background: #1A1A2E; padding: 44px 32px 40px; position: relative; overflow: hidden; }
.bl-hero__watermark { position: absolute; top: 10px; right: 20px; opacity: .04; }
.bl-hero__tag { font-size: 11px; letter-spacing: 3px; color: #F0C056; margin: 0 0 12px; }
.bl-hero__title { font-size: 32px; font-weight: 500; color: #FAFAF7; margin: 0 0 14px; line-height: 1.2; max-width: 480px; font-family: var(--font-display); }
.bl-hero__desc { font-size: 14px; color: #8888A8; margin: 0 0 24px; max-width: 400px; line-height: 1.6; }
.bl-hero__btns { display: flex; gap: 10px; }

/* Buttons */
.bl-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 10px 22px; border-radius: 8px; cursor: pointer; transition: transform 0.15s, opacity 0.15s; }
.bl-btn:hover { opacity: 0.9; }
.bl-btn:active { transform: scale(0.97); }
.bl-btn--gold { background: #F0C056; color: #1A1A2E; }
.bl-btn--ghost { border: 1px solid #3A3A5E; color: #A0A0B8; background: transparent; }
.bl-btn--dark { background: #1A1A2E; color: #F0C056; }
.bl-btn--outline { border: 1px solid #E8E6E0; color: #888; background: #fff; }
.bl-btn--sm { font-size: 12px; padding: 9px 18px; border-radius: 6px; }

/* Sections */
.sec { padding: 24px; }
.sec-t { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 12px; letter-spacing: 2px; color: #888; font-weight: 500; }
.bl-sec--border { border-bottom: 1px solid #E8E6E0; }

/* Randomizer */
.bl-rand { background: #FFFFFF; border: 1px solid #E8E6E0; border-radius: 12px; padding: 28px; text-align: center; position: relative; overflow: hidden; }
.bl-rand__card { min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bl-rand__icon { width: 48px; height: 48px; border-radius: 12px; background: #E8F4F8; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.bl-rand__cat { font-size: 11px; letter-spacing: 1px; color: #888; font-weight: 500; margin: 0 0 6px; }
.bl-rand__idea { font-size: 20px; font-weight: 500; color: #1A1A2E; margin: 0 0 6px; font-family: var(--font-display); max-width: 500px; line-height: 1.3; }
.bl-rand__desc { font-size: 13px; color: #888; margin: 0; max-width: 400px; line-height: 1.5; }
.bl-rand__btns { margin-top: 20px; display: flex; justify-content: center; gap: 10px; }
.bl-rand__saved { display: none; margin-top: 10px; font-size: 12px; color: #639922; font-weight: 500; }

/* Quiz */
.bl-quiz { background: #1A1A2E; border-radius: 12px; padding: 28px; position: relative; overflow: hidden; }
.bl-quiz__progress { position: absolute; top: 0; left: 0; height: 3px; background: #F0C056; width: 0%; transition: width 0.4s; border-radius: 0 2px 2px 0; }
.bl-quiz__question { text-align: center; }
.bl-quiz__step { font-size: 11px; letter-spacing: 2px; color: #6868A0; margin: 0 0 8px; }
.bl-quiz__text { font-size: 20px; font-weight: 500; color: #FAFAF7; margin: 0 0 24px; font-family: var(--font-display); line-height: 1.3; }
.bl-quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 500px; margin: 0 auto; }
.bl-quiz__opt { background: #2A2A4E; border: 1px solid #3A3A5E; border-radius: 10px; padding: 14px 18px; font-size: 14px; color: #C8C8E0; cursor: pointer; transition: all 0.15s; text-align: center; }
.bl-quiz__opt:hover { background: #3A3A5E; border-color: #F0C056; color: #FAFAF7; }
.bl-quiz__result { text-align: center; }
.bl-quiz__result-icon { width: 56px; height: 56px; border-radius: 50%; background: #F0C056; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.bl-quiz__result-type { font-size: 11px; letter-spacing: 2px; color: #F0C056; margin: 0 0 8px; }
.bl-quiz__result-title { font-size: 22px; font-weight: 500; color: #FAFAF7; margin: 0 0 10px; font-family: var(--font-display); }
.bl-quiz__result-desc { font-size: 13px; color: #8888A8; margin: 0 0 20px; max-width: 440px; display: inline-block; line-height: 1.5; }
.bl-quiz__result-ideas { display: flex; flex-direction: column; gap: 8px; max-width: 400px; margin: 0 auto 20px; text-align: left; }
.bl-quiz__result-idea { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #C8C8E0; background: #2A2A4E; padding: 10px 14px; border-radius: 8px; }
.bl-quiz__result-btns { display: flex; justify-content: center; gap: 10px; }

/* Tracker */
.bl-tracker { background: #FFFFFF; border: 1px solid #E8E6E0; border-radius: 12px; padding: 20px; }
.bl-tracker__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bl-tracker__count { font-size: 28px; font-weight: 500; color: #1A1A2E; }
.bl-tracker__label { font-size: 14px; color: #888; }
.bl-tracker__pct { font-size: 13px; font-weight: 500; color: #F0C056; background: #1A1A2E; padding: 6px 14px; border-radius: 8px; }
.bl-tracker__bar-wrap { height: 6px; background: #E8E6E0; border-radius: 3px; margin-bottom: 16px; overflow: hidden; }
.bl-tracker__bar { height: 100%; background: #F0C056; border-radius: 3px; width: 0%; transition: width 0.3s; }
.bl-tracker__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bl-tracker__item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #444; padding: 8px 10px; border-radius: 8px; cursor: pointer; transition: background 0.15s; }
.bl-tracker__item:hover { background: #F5F3F0; }
.bl-tracker__item input { display: none; }
.bl-tracker__check { width: 18px; height: 18px; border: 1.5px solid #D0D0D0; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.15s; }
.bl-tracker__item input:checked ~ .bl-tracker__check { background: #F0C056; border-color: #F0C056; }
.bl-tracker__item input:checked ~ .bl-tracker__check::after { content: '✓'; font-size: 11px; color: #1A1A2E; font-weight: 700; }
.bl-tracker__item input:checked ~ span:last-child { text-decoration: line-through; color: #AAA; }
.bl-tracker__msg { display: none; text-align: center; margin-top: 14px; font-size: 13px; font-weight: 500; color: #639922; }

/* Filter */
.bl-filter__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.fbtn { font-size: 12px; padding: 6px 16px; border-radius: 20px; cursor: pointer; transition: all 0.15s; border: 1px solid #E8E6E0; background: #fff; color: #1A1A2E; }
.fbtn-active { background: #1A1A2E !important; color: #F0C056 !important; border-color: #1A1A2E !important; }
.bl-filter__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.bl-filter__card { background: #fff; border: 1px solid #E8E6E0; border-radius: 10px; padding: 16px; transition: all 0.15s; cursor: pointer; }
.bl-filter__card:hover { border-color: #F0C056; transform: translateY(-1px); }
.bl-filter__card-cat { font-size: 10px; letter-spacing: 1px; color: #888; font-weight: 500; margin: 0 0 4px; text-transform: uppercase; }
.bl-filter__card-title { font-size: 14px; font-weight: 500; color: #1A1A2E; margin: 0; line-height: 1.3; }

/* Categories Grid */
.bl-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bl-cats__item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: #1A1A2E; font-size: 14px; font-weight: 500; transition: background 0.15s; }
.bl-cats__item:hover { background: #EFEDE8; }
.bl-cats__icon { font-size: 18px; color: #F0C056; }
.bl-cats__name { flex: 1; }
.bl-cats__arrow { color: #CCC; flex-shrink: 0; }

/* Latest Posts */
.bl-posts { display: flex; flex-direction: column; gap: 2px; }
.bl-posts__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px; border-radius: 10px; text-decoration: none; color: #1A1A2E; transition: background 0.15s; }
.bl-posts__item:hover { background: #EFEDE8; }
.bl-posts__cat { font-size: 10px; letter-spacing: 1px; color: #F0C056; font-weight: 600; text-transform: uppercase; margin: 0 0 2px; }
.bl-posts__title { font-size: 14px; font-weight: 500; color: #1A1A2E; margin: 0; line-height: 1.3; }

/* Footer */
.bl-footer { background: #1A1A2E; }
.bl-footer__newsletter { padding: 24px; border-bottom: 1px solid #2A2A4E; display: flex; gap: 16px; align-items: center; }
.bl-footer__nl-text { flex: 1; }
.bl-footer__nl-title { font-size: 14px; font-weight: 500; color: #FAFAF7; margin: 0 0 4px; }
.bl-footer__nl-desc { font-size: 12px; color: #6868A0; margin: 0; }
.bl-footer__nl-form { display: flex; gap: 8px; }
.bl-footer__nl-input { background: #2A2A4E; border: 1px solid #3A3A5E; border-radius: 6px; padding: 9px 14px; font-size: 12px; color: #6868A0; min-width: 180px; }
.bl-footer__bottom { padding: 14px 24px; display: flex; justify-content: space-between; font-size: 11px; color: #3A3A5E; }

/* Responsive */
@media (max-width: 640px) {
  .bl-hero__title { font-size: 24px; }
  .bl-hero { padding: 32px 20px; }
  .sec { padding: 20px; }
  .bl-filter__grid { grid-template-columns: 1fr 1fr; }
  .bl-quiz__opts { grid-template-columns: 1fr; }
  .bl-tracker__list { grid-template-columns: 1fr; }
  .bl-cats { grid-template-columns: 1fr; }
  .bl-footer__newsletter { flex-direction: column; }
  .bl-footer__nl-form { width: 100%; }
  .bl-footer__nl-input { flex: 1; }
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--color-surface-container-high);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-outline);
}
