:root{
  --bg:#0a0a0a; --text:#e8f7f3; --muted:#98f5e1; --ink:#0b1211; --brand:#00ffc3; --line:#14332d;
}
*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:linear-gradient(180deg,#050607,#0a0a0a);position:relative}
body::before{content:'';position:fixed;top:0;left:0;right:0;bottom:0;background:radial-gradient(ellipse 1200px 800px at 50% 40%, rgba(0,255,195,0.08) 0%, rgba(0,255,195,0.03) 30%, transparent 70%);pointer-events:none;z-index:-1}
img{max-width:100%;display:block}
a{color:var(--brand)}

/* Header */
.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:12px 20px;background:rgba(10,10,10,.8);backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid var(--line);box-shadow:0 4px 30px rgba(0,255,195,0.25), 0 2px 10px rgba(0,255,195,0.1)}
.brand{display:flex;align-items:center;gap:.6rem;color:var(--text);text-decoration:none;font-weight:800;text-shadow:0 2px 4px rgba(0,0,0,0.3)}
.brand img{width:26px;height:26px}
.nav{display:flex;gap:1rem}
.nav a{color:var(--text);text-decoration:none;opacity:.9;text-shadow:0 1px 2px rgba(0,0,0,0.3)}
.nav a[aria-current="page"]{border-bottom:2px solid var(--brand)}
.nav a.active{color:var(--brand);background:rgba(0,255,195,.1);border:1px solid rgba(0,255,195,.3)}
.pill{border:1px solid var(--brand);padding:.35rem .7rem;border-radius:999px}
.nav-toggle{display:none;background:none;border:1px solid var(--line);color:var(--text);padding:.35rem .6rem;border-radius:.6rem}

/* Hero */
.hero{padding:8vh 20px 6vh;border-bottom:1px solid var(--line);background:radial-gradient(60% 80% at 50% 0%, #0b1614 0%, #0a0a0a 60%);position:relative}

/* Mobile responsive hero padding */
@media (max-width: 768px) {
  .hero {
    padding: 6vh 16px 4vh;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4vh 12px 3vh;
  }
}
.hero::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg, transparent, rgba(0,255,195,0.8), transparent);box-shadow:0 0 20px rgba(0,255,195,0.4), 0 0 40px rgba(0,255,195,0.2)}
.hero-inner{max-width:1000px;margin:0 auto;text-align:center}
.hero h1{font-size:clamp(2.2rem,6vw,3.5rem);margin:.2rem 0 .6rem;text-shadow:0 0 20px rgba(0,255,195,0.3), 0 0 40px rgba(0,255,195,0.2), 0 4px 8px rgba(0,0,0,0.5)}
.lead{opacity:.9;max-width:820px;margin:0 auto;text-shadow:0 2px 4px rgba(0,0,0,0.3)}
.cta-row{margin-top:1.2rem;display:flex;gap:.8rem;justify-content:center}

/* Mobile responsive CTA buttons - keep 2x2 grid */
@media (max-width: 768px) {
  .cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-row .btn {
    text-align: center;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .cta-row {
    gap: 10px;
    max-width: 350px;
  }
  
  .cta-row .btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* Tiles */
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:20px;max-width:1100px;margin:0 auto}

/* Desktop: Make tile-section behave like normal tiles */
.tile-section {
  display: contents; /* Makes the section invisible, children behave as if they're direct children of .tiles */
}

/* Mobile responsive tiles - 4x2 grid with free scrolling */
@media (max-width: 768px) {
  .tiles {
    display: flex;
    flex-direction: row;
    overflow-x: auto; /* Free horizontal scrolling */
    overflow-y: hidden;
    gap: 0;
    padding: 16px 0 0 0;
    max-width: none;
    margin: 0;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    position: relative;
    scroll-behavior: smooth;
  }
  
  .tiles::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  /* Each tile section takes full viewport width and contains 2x4 grid */
  .tile-section {
    flex: 0 0 100vw; /* Each section takes full viewport width */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 12px;
    padding: 0 16px;
    min-height: 600px; /* Increased height for 4 rows */
    align-content: start;
  }
}

@media (max-width: 480px) {
  .tiles {
    padding: 12px 0 0 0;
  }
  
  .tile-section {
    padding: 0 12px;
    gap: 10px;
    min-height: 560px; /* Increased height for 4 rows on small screens */
  }
}
.tile{border:1px solid var(--line);background:#0b1211;border-radius:14px;padding:16px 14px;text-decoration:none;color:var(--text);transition:.3s ease;box-shadow:0 0 0 1px rgba(0,255,195,0.2), 0 8px 25px rgba(0,255,195,0.1), 0 4px 15px rgba(0,0,0,0.4)}
.tile h3{text-shadow:0 0 10px rgba(0,255,195,0.2), 0 2px 4px rgba(0,0,0,0.3)}
.tile:hover{transform:translateY(-4px);border-color:var(--muted);box-shadow:0 0 0 2px rgba(0,255,195,0.4), 0 15px 40px rgba(0,255,195,0.25), 0 8px 25px rgba(0,0,0,0.5)}

/* Under Construction Overlay for Tiles - CACHE BUST: Fixed overlay display */
.tile.under-construction {
  position: relative !important;
  cursor: not-allowed !important;
}

.tile.under-construction::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(255, 0, 0, 0.5) !important;
  border-radius: 14px !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  backdrop-filter: blur(2px) !important;
}

.tile.under-construction::after {
  content: '🚧 UNDER CONSTRUCTION 🚧' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: linear-gradient(45deg, #ff6b35, #f7931e) !important;
  color: white !important;
  padding: 0.4rem 0.8rem !important;
  border-radius: 16px !important;
  font-size: 0.7rem !important;
  font-weight: bold !important;
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.5) !important;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.3) !important;
  z-index: 11 !important;
  border: 2px solid #ff6b35 !important;
  animation: pulse 2s infinite !important;
}

.tile.under-construction:hover {
  transform: none !important;
  border-color: var(--line) !important;
  background: #0b1211 !important;
  box-shadow: none !important;
}

.tile.under-construction:hover::after {
  transform: translate(-50%, -50%) scale(1.1) !important;
  box-shadow: 0 0 40px rgba(255, 107, 53, 0.8) !important;
}

@keyframes pulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
  }
}

/* Content */
.content{max-width:880px;margin:0 auto;padding:24px}
.postlist{list-style:none;padding:0;display:grid;gap:10px}
.postlist a{text-decoration:none;color:var(--text)}
.postlist .meta{display:block;font-size:.85rem;opacity:.7}
.checklist{line-height:1.9}
.links{list-style:none;padding:0;display:grid;gap:8px}
.links a{display:block;padding:12px 16px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--text);transition:.2s ease}
.links a:hover{border-color:var(--brand)}

/* Cards */
.card-grid{display:grid;gap:12px}
.card-grid.three{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.card{border:1px solid var(--line);background:#0b1211;border-radius:14px;padding:16px;text-decoration:none;color:var(--text)}

/* Footer */
.site-footer{border-top:1px solid var(--line);margin-top:24px;padding:22px;text-align:center;opacity:.9;box-shadow:0 -4px 30px rgba(0,255,195,0.25), 0 -2px 10px rgba(0,255,195,0.1)}
.footer-content{max-width:600px;margin:0 auto}
.daily-thought{margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:8px;background:rgba(11,18,17,0.5)}
.thought-label{font-size:0.9rem;opacity:0.8;margin:0 0 8px 0}
.thought-text{font-style:italic;margin:0;color:var(--muted)}

/* Mobile swipe indicator in footer */
.mobile-swipe-indicator {
  display: none; /* Hidden by default */
}

@media (max-width: 768px) {
  .mobile-swipe-indicator {
    display: block;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 255, 195, 0.2);
  }
  
  .mobile-swipe-indicator span {
    font-size: 0.75rem;
    color: var(--muted);
    opacity: 0.7;
  }
}

/* Topic Toggle */
.topic-toggle {
  display:flex; flex-wrap:wrap; gap:.5rem; margin:.75rem 0 0;
}
.topic-toggle button {
  background:#0f0f0f; color:#ddd; border:1px solid #333; border-radius:999px;
  padding:.35rem .8rem; font-size:.9rem; cursor:pointer;
}
.topic-toggle button.is-active { border-color:#00ffc3; color:#00ffc3; }
.topic-toggle button:focus-visible { outline:2px solid #00ffc3; outline-offset:2px; }

/* Blog index */
.wrap { max-width: 900px; margin: 0 auto; padding: 1rem; }
.page-title { font-size: 2rem; margin: 1rem 0 1.25rem; color: #cffff1; }

.blog-list { padding-bottom: 3rem; }
.post-item { padding: 1rem 0; border-bottom: 1px solid #1e1e1e; }
.post-item:last-child { border-bottom: 0; }

.post-title {
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #e8fff9;
  text-decoration: none;
}
.post-title:hover { text-decoration: underline; }
.post-emoji { margin-right: .4rem; }

.post-meta {
  margin-top: .35rem;
  color: #a8b3ad;
  font-size: .9rem;
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.dot { opacity: .6; }

.tag {
  display: inline-block;
  padding: .12rem .5rem;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  font-size: .8rem;
  color: #b8dcd1;
}

.post-excerpt {
  margin-top: .5rem;
  color: #d6efe7;
  line-height: 1.55;
  max-width: 68ch;
}

/* Featured Post Enhancements */
.featured-glow {
  position: relative;
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, 
    rgba(0, 255, 195, 0.08) 0%, 
    rgba(0, 255, 195, 0.03) 50%, 
    rgba(0, 255, 195, 0.08) 100%);
  border: 1px solid rgba(0, 255, 195, 0.2);
  box-shadow: 
    0 0 20px rgba(0, 255, 195, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.featured-glow:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 32px rgba(0, 255, 195, 0.25),
    0 0 40px rgba(0, 255, 195, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 255, 195, 0.4);
}

/* Mobile-specific featured post styling */
@media (max-width: 768px) {
  .featured-glow {
    background: linear-gradient(135deg, 
      rgba(0, 255, 195, 0.15) 0%, 
      rgba(0, 255, 195, 0.08) 50%, 
      rgba(0, 255, 195, 0.15) 100%);
    border: 2px solid rgba(0, 255, 195, 0.4);
    box-shadow: 
      0 0 15px rgba(0, 255, 195, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  
  .featured-title {
    font-size: 1.4rem !important;
    text-shadow: 0 0 10px rgba(0, 255, 195, 0.5) !important;
  }
  
  .featured-excerpt {
    font-size: 1.1rem !important;
    color: #e0e0e0 !important;
  }
  
  /* Mobile styling for members access button */
  .btn.members-access {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
  }
  
  /* Mobile layout for 4 buttons */
  .cta-row {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  
  .cta-row .btn {
    flex: 1;
    min-width: 140px;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}

.featured-title {
  color: #00ffc3 !important;
  text-shadow: 
    0 0 10px rgba(0, 255, 195, 0.5),
    0 0 20px rgba(0, 255, 195, 0.3),
    0 0 30px rgba(0, 255, 195, 0.1);
  font-weight: 700;
  font-size: 1.4rem !important;
  transition: all 0.3s ease;
}

.featured-title:hover {
  text-shadow: 
    0 0 15px rgba(0, 255, 195, 0.7),
    0 0 25px rgba(0, 255, 195, 0.5),
    0 0 35px rgba(0, 255, 195, 0.3);
  transform: scale(1.02);
}

.featured-excerpt {
  color: #e8fff9 !important;
  text-shadow: 0 0 8px rgba(232, 255, 249, 0.3);
  font-weight: 500;
  line-height: 1.6;
}

.featured .post-emoji {
  filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
  animation: lightning-pulse 2s ease-in-out infinite;
}

@keyframes lightning-pulse {
  0%, 100% { 
    filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.6));
    transform: scale(1);
  }
  50% { 
    filter: drop-shadow(0 0 12px rgba(255, 165, 0, 0.8));
    transform: scale(1.05);
  }
}

.draft { color: #93a2a0; font-weight: 500; font-size: .95rem; }

/* Article prose */
.prose {
  max-width: 72ch;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  line-height: 1.7;
  color: #e9fff7;
}
.prose h2 { margin-top: 1.6rem; font-size: 1.4rem; color: #ccfff0; }
.prose p { margin: .85rem 0; }
.prose ul { margin: .85rem 0; padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose hr { border: 0; border-top: 1px solid #1e1e1e; margin: 1.25rem 0; }
.prose blockquote {
  border-left: 3px solid #00ffc3; padding-left: .9rem; margin: 1rem 0; color: #c9fff1;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .post-title { font-size: 1.15rem; }
  .page-title { font-size: 1.6rem; }
}

/* Buttons */
.btn{display:inline-block;text-decoration:none;padding:.6rem 1rem;border-radius:10px;border:1px solid var(--brand)}
.btn.primary{background:var(--brand);color:#06221c;border-color:transparent}
.btn.ghost{background:transparent;color:var(--text)}
.btn.members{background:linear-gradient(135deg, #00ffc3 0%, #00d4aa 100%);color:#06221c;border:2px solid #00ffc3;font-weight:600;box-shadow:0 4px 12px rgba(0,255,195,0.3);transition:all 0.3s ease}
.btn.members:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,255,195,0.5);background:linear-gradient(135deg, #00d4aa 0%, #00b894 100%)}

/* Members Access Button - Same styling as other buttons */
.btn.members-access{
  background:linear-gradient(135deg, #00ffc3 0%, #00d4aa 100%);
  color:#06221c;
  border:2px solid #00ffc3;
  font-weight:600;
  padding:.6rem 1rem;
  border-radius:10px;
  box-shadow:0 6px 20px rgba(0,255,195,0.4), 0 0 30px rgba(0,255,195,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  transition:all 0.3s ease;
  text-shadow:0 2px 4px rgba(0,0,0,0.1);
  position:relative;
  overflow:hidden;
}
.btn.members-access::before{
  content:'';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition:left 0.6s;
}
.btn.members-access:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 25px rgba(0,255,195,0.6), 0 0 40px rgba(0,255,195,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  background:linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
}
.btn.members-access:hover::before{
  left:100%;
}
.btn.members-access:active{
  transform:translateY(-1px);
  box-shadow:0 4px 15px rgba(0,255,195,0.5), 0 0 25px rgba(0,255,195,0.4);
}

/* ===== MEMBERS LANDING PAGE ===== */
.members-landing {
  background: radial-gradient(1200px 400px at 30% -20%, rgba(0,255,195,.08), transparent 60%), 
              linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.2));
  min-height: 100vh;
  color: #fff;
}

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

/* Hero Section */
.hero-section {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.brand-name {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(0,255,195,0.3);
  margin-bottom: 0.5rem;
}

.membership-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00ffc3, #00d4aa);
  color: #00251c;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(0,255,195,0.4);
  text-shadow: none;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-chip {
  background: rgba(0, 255, 195, 0.1);
  border: 1px solid rgba(0,255,195,0.3);
  color: #00ffc3;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0,255,195,0.2);
  text-decoration: none;
  cursor: pointer;
}

.feature-chip:hover {
  border-color: rgba(0,255,195,0.6);
  box-shadow: 0 0 25px rgba(0,255,195,0.4);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.1rem;
}

/* Stats Section */
.stats-section {
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0,255,195,0.3);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0,255,195,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(0,255,195,0.6);
  box-shadow: 0 0 30px rgba(0,255,195,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #00ffc3;
  text-shadow: 0 0 15px rgba(0,255,195,0.5);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Features Section */
.features-section {
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #00ffc3;
  text-shadow: 0 0 20px rgba(0,255,195,0.5);
  margin-bottom: 3rem;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0,255,195,0.3);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0,255,195,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.feature-card:hover {
  border-color: rgba(0,255,195,0.6);
  box-shadow: 0 0 30px rgba(0,255,195,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

.feature-icon-large {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(0,255,195,0.3));
}

.feature-card h3 {
  color: #00ffc3;
  text-shadow: 0 0 10px rgba(0,255,195,0.5);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.feature-card p {
  color: #ccc;
  line-height: 1.6;
  font-size: 1rem;
}

/* Sign In Section */
.signin-section {
  padding: 3rem 0 4rem;
}

.signin-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0,255,195,0.3);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(0,255,195,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  max-width: 500px;
  margin: 0 auto;
}

.signin-title {
  color: #00ffc3;
  text-shadow: 0 0 15px rgba(0,255,195,0.5);
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.signin-subtitle {
  color: #ccc;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.google-signin-btn {
  background: linear-gradient(135deg, #fff, #f8f9fa);
  color: #333;
  border: none;
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0,255,195,0.3);
  position: relative;
  overflow: hidden;
}

.google-signin-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,255,195,0.2), transparent);
  transition: left 0.5s;
}

.google-signin-btn:hover::before {
  left: 100%;
}

.google-signin-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0,255,195,0.5);
}

.google-icon {
  flex-shrink: 0;
}

.signin-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 500;
}

.benefit-icon {
  font-size: 1.2rem;
  filter: drop-shadow(0 0 5px rgba(0,255,195,0.3));
}

.error-message{position:fixed;top:20px;right:20px;background:#ff4444;color:white;padding:1rem 1.5rem;border-radius:8px;z-index:1000;box-shadow:0 4px 12px rgba(255,68,68,0.3)}

/* Members Dashboard */
.dashboard-hero{background:linear-gradient(135deg, #0b1614 0%, #0a0a0a 100%);padding:2rem 20px;border-bottom:1px solid var(--line)}
.dashboard-hero-inner{max-width:1200px;margin:0 auto}
.dashboard-header{text-align:center;margin-bottom:2rem}
.dashboard-header h1{font-size:2.5rem;color:var(--brand);margin-bottom:1rem}
.dashboard-header p{font-size:1.1rem;opacity:0.9}

.user-profile-card{background:rgba(255,255,255,0.03);border:1px solid var(--line);border-radius:16px;padding:1.5rem;display:flex;justify-content:space-between;align-items:center;max-width:800px;margin:0 auto}
.profile-info{display:flex;align-items:center;gap:1rem}
.profile-avatar{width:60px;height:60px;border-radius:50%;border:2px solid var(--brand)}
.profile-details h2{color:var(--text);margin:0 0 0.25rem 0;font-size:1.2rem}
.profile-details p{opacity:0.7;margin:0 0 0.5rem 0;font-size:0.9rem}
.membership-badge{background:rgba(0,255,195,0.1);color:var(--brand);padding:0.25rem 0.75rem;border-radius:12px;font-size:0.8rem;font-weight:500;border:1px solid rgba(0,255,195,0.2)}
.sign-out-btn{background:#dc2626;color:white;border:none;padding:0.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:500;transition:background 0.3s ease}
.sign-out-btn:hover{background:#b91c1c}

.dashboard-content{padding:2rem 20px}
.dashboard-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;grid-template-areas:"quick-actions premium-access" "analytics analytics" "activity activity"}
.dashboard-section{background:rgba(255,255,255,0.02);border:1px solid var(--line);border-radius:16px;padding:1.5rem}
.dashboard-section h2{color:var(--brand);margin-bottom:1.5rem;font-size:1.3rem}
.dashboard-analytics{grid-area:analytics}
.dashboard-activity{grid-area:activity}

.access-cards{display:grid;gap:1rem}
.access-card{display:block;background:rgba(255,255,255,0.03);border:1px solid var(--line);border-radius:12px;padding:1.5rem;text-decoration:none;color:var(--text);transition:all 0.3s ease;position:relative}
.access-card:hover{transform:translateY(-2px);border-color:var(--brand);box-shadow:0 4px 20px rgba(0,255,195,0.1)}
.card-icon{font-size:2rem;margin-bottom:1rem}
.access-card h3{color:var(--brand);margin:0 0 0.5rem 0;font-size:1.1rem}
.access-card p{opacity:0.8;margin:0 0 1rem 0;font-size:0.9rem}
.card-status{position:absolute;top:1rem;right:1rem;background:rgba(0,255,195,0.1);color:var(--brand);padding:0.25rem 0.75rem;border-radius:12px;font-size:0.8rem;font-weight:500;border:1px solid rgba(0,255,195,0.2)}

.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}
.stat-card{background:rgba(255,255,255,0.03);border:1px solid var(--line);border-radius:12px;padding:1rem;text-align:center}
.stat-icon{font-size:1.5rem;margin-bottom:0.5rem}
.stat-content h3{color:var(--brand);margin:0 0 0.25rem 0;font-size:1.5rem;font-weight:800}
.stat-content p{opacity:0.7;margin:0;font-size:0.8rem}

.activity-feed{display:flex;flex-direction:column;gap:1rem}
.activity-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem;background:rgba(255,255,255,0.02);border:1px solid var(--line);border-radius:8px}
.activity-icon{font-size:1.2rem;flex-shrink:0}
.activity-content p{margin:0 0 0.25rem 0;color:var(--text)}
.activity-time{font-size:0.8rem;opacity:0.6}

.quick-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
.action-btn{display:flex;align-items:center;gap:0.75rem;background:rgba(0,255,195,0.1);border:1px solid rgba(0,255,195,0.2);color:var(--brand);padding:1rem;border-radius:12px;cursor:pointer;font-weight:500;transition:all 0.3s ease;text-align:left}
.action-btn:hover{background:rgba(0,255,195,0.2);transform:translateY(-2px)}
.action-icon{font-size:1.2rem}


@media (max-width: 768px) {
  .dashboard-hero-inner{padding:1rem}
  .dashboard-header h1{font-size:2rem}
  .user-profile-card{flex-direction:column;gap:1rem;text-align:center}
  .profile-info{flex-direction:column;text-align:center}
  .dashboard-grid{grid-template-columns:1fr;grid-template-areas:"quick-actions" "premium-access" "analytics" "activity"}
  .analytics-grid{grid-template-columns:repeat(2,1fr)}
  .quick-actions{grid-template-columns:1fr}
}

/* Mobile Responsive for Members Landing */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .brand-name {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-features {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .feature-chip {
    flex: 1;
    min-width: 140px;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem 1rem;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
  
  .signin-benefits {
    flex-direction: column;
    gap: 1rem;
  }
}

/* About Page */
.about-section{margin-bottom:48px}
.about-section h2{color:var(--brand);margin-bottom:16px}
.about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:24px}
.about-card{border:1px solid var(--line);background:#0b1211;border-radius:14px;padding:20px}
.about-card h3{margin:0 0 12px 0;color:var(--text)}
.about-card p{margin:0 0 16px 0;opacity:.9;line-height:1.6}
.about-card .tagline{font-style:italic;color:var(--brand);font-weight:600;margin:0}

.story-timeline{display:grid;gap:24px;margin-top:24px}
.timeline-item{border-left:2px solid var(--brand);padding-left:20px;position:relative}
.timeline-item::before{content:'';position:absolute;left:-6px;top:8px;width:10px;height:10px;background:var(--brand);border-radius:50%}
.timeline-item h4{margin:0 0 8px 0;color:var(--brand)}
.timeline-item p{margin:0;opacity:.9;line-height:1.6}

.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:24px}
.project-card{border:1px solid var(--line);background:#0b1211;border-radius:14px;padding:20px;position:relative}
.project-card h3{margin:0 0 12px 0;color:var(--text)}
.project-card p{margin:0 0 16px 0;opacity:.9;line-height:1.6}
.project-card .status{position:absolute;top:16px;right:16px;background:var(--brand);color:#06221c;padding:4px 8px;border-radius:6px;font-size:.8rem;font-weight:600}

.philosophy-list{display:grid;gap:20px;margin-top:24px}
.philosophy-item{border:1px solid var(--line);background:#0b1211;border-radius:14px;padding:20px}
.philosophy-item h4{margin:0 0 12px 0;color:var(--brand)}
.philosophy-item p{margin:0;opacity:.9;line-height:1.6}

.connect-options{display:flex;gap:16px;margin-top:24px;flex-wrap:wrap}

/* Story page */
.story-section {
  margin-bottom: 2.5rem;
}

.story-section h2 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.story-section p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.story-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.story-list li {
  padding: 0.5rem 0;
  border-left: 2px solid var(--line);
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.story-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* Mobile */
@media (max-width:760px){
  .nav{display:none}
  .nav.open{display:flex;flex-direction:column;position:absolute;right:12px;top:56px;background:#0b1211;border:1px solid var(--line);padding:10px 12px;border-radius:12px}
  .nav-toggle{display:block}
  
  .story-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Store Styles */
.store-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.store-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.store-header h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin: 0 0 1rem 0;
  color: var(--brand);
}

.store-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Store Tabs */
.store-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.tab-btn:hover {
  border-color: var(--muted);
  background: rgba(152, 245, 225, 0.1);
}

.tab-btn.active {
  background: var(--brand);
  color: var(--ink);
  border-color: var(--brand);
}

/* Store Sections */
.store-section {
  margin-bottom: 4rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.store-section.hidden {
  display: none;
}

.store-section h2 {
  font-size: 2rem;
  color: var(--brand);
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-desc {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  border: 1px solid var(--line);
  background: #0b1211;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 8px 25px rgba(0, 255, 195, 0.15);
}

.product-image {
  height: 200px;
  background: linear-gradient(135deg, #0f1a18 0%, #0b1211 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.placeholder-icon {
  font-size: 4rem;
  opacity: 0.7;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.3rem;
  margin: 0 0 0.75rem 0;
  color: var(--text);
}

.product-info p {
  margin: 0 0 1rem 0;
  opacity: 0.8;
  line-height: 1.6;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand);
}

.format, .platform, .status, .stock {
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  background: rgba(152, 245, 225, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

/* Shopify Product Placeholders */
.shopify-product {
  border: 2px dashed var(--line);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  background: rgba(152, 245, 225, 0.05);
  margin-top: 1rem;
}

.shopify-placeholder {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  color: var(--brand);
}

.shopify-note {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.7;
  font-style: italic;
}

/* Ko-fi Embed Placeholders */
.ko-fi-embed {
  border: 2px dashed var(--line);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  background: rgba(255, 193, 7, 0.05);
  margin-top: 1rem;
}

.ko-fi-placeholder {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  color: #ffc107;
}

.ko-fi-note {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.7;
  font-style: italic;
}

/* Support Section */
.support-section {
  background: linear-gradient(135deg, rgba(0, 255, 195, 0.05) 0%, rgba(11, 18, 17, 0.8) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 3rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.support-card {
  background: #0b1211;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.support-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem 0;
  color: var(--brand);
}

.support-card p {
  margin: 0 0 1.5rem 0;
  opacity: 0.8;
  line-height: 1.6;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 300px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: #0f0f0f;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem;
  color: var(--text);
  font-size: 0.9rem;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--brand);
}

.newsletter-form input[type="email"]::placeholder {
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .store-wrap {
    padding: 1rem;
  }
  
  .store-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .store-tabs {
    margin-bottom: 2rem;
  }
  
  .tab-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }
  
  .store-section h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .product-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .store-tabs {
    gap: 0.25rem;
  }
  
  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* Blog Post Footer Tags */
.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
  text-align: center;
}

.post-footer .post-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.post-footer .tag {
  padding: 0.3rem 0.8rem;
  background: rgba(68, 68, 68, 0.3);
  border: 1px solid #444;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #888;
  text-transform: lowercase;
  transition: all 0.3s ease;
}

.post-footer .tag:hover {
  background: rgba(0, 255, 195, 0.1);
  border-color: #00ffc3;
  color: #00ffc3;
}

.post-footer .dot {
  color: #666;
  margin: 0 0.25rem;
}

/* Community Styles */
.cc-community {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.cc-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cc-composer {
  margin-bottom: 2rem;
}

.cc-composer textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--text);
  border-radius: 8px;
  resize: vertical;
  font-family: inherit;
}

.cc-composer button {
  margin-top: 8px;
  padding: 8px 16px;
  background: var(--brand);
  color: var(--ink);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.cc-card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  transition: border-color 0.2s ease;
}

.cc-card:hover {
  border-color: var(--muted);
}

.cc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.cc-text {
  line-height: 1.6;
  color: var(--text);
}

.cc-delete {
  background: none;
  border: none;
  color: #ff4757;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.cc-delete:hover {
  background: rgba(255, 71, 87, 0.1);
}

/* Share Post Styles */
.cc-share {
  border-left: 4px solid var(--brand);
}

.cc-share-label {
  font-weight: 600;
  color: var(--brand);
}

.cc-share-content {
  margin-top: 8px;
}

.cc-share-title {
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.cc-share-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(0, 255, 195, 0.1);
  border: 1px solid var(--brand);
  border-radius: 6px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.cc-share-link:hover {
  background: var(--brand);
  color: var(--ink);
  transform: translateY(-1px);
}

/* Tier Badges */
.tier-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-free {
  background: rgba(255, 255, 255, 0.1);
  color: #aaa;
  border: 1px solid #444;
}

.tier-member {
  background: rgba(0, 255, 195, 0.1);
  color: var(--brand);
  border: 1px solid rgba(0, 255, 195, 0.3);
}

.tier-premium {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  border: 1px solid #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* === AI Shell === */
.ai-container { 
  max-width: 100vw; 
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Sign-in and Access Prompts */
.ai-signin-prompt, .ai-access-denied {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem;
}

.signin-card, .access-card {
  background: #0f1614;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.signin-card h2, .access-card h2 {
  margin: 0 0 1rem 0;
  color: var(--text);
}

.signin-card p, .access-card p {
  margin: 0 0 1.5rem 0;
  color: var(--muted);
  line-height: 1.5;
}

/* AI Shell Layout - Full Width */
.ai-shell { 
  display: grid; 
  grid-template-columns: 300px 1fr; 
  gap: 0; 
  min-height: calc(100vh - 160px); 
  transition: grid-template-columns .2s ease;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  box-shadow: 0 0 50px rgba(0, 255, 195, 0.1), 0 0 100px rgba(0, 255, 195, 0.05);
  border-radius: 1rem;
  overflow: hidden;
}

.ai-rail { 
  border-right: 1px solid var(--line); 
  padding: 0.75rem; 
  transition: width .2s ease; 
  overflow: hidden;
  background: #0a0a0a;
  height: 100%;
}

.ai-rail[data-open="false"] { 
  width: 0; 
  padding: 0; 
  border-right: 0; 
}

.ai-shell:has(.ai-rail[data-open="false"]) { 
  grid-template-columns: 0 1fr; 
}

.rail-head { 
  display:flex; 
  gap:.5rem; 
  align-items:center; 
  justify-content:space-between; 
  margin-bottom:.5rem; 
}

.rail-search { 
  padding:.25rem 0 .5rem; 
}

.rail-search input { 
  width:100%; 
  background:#0f1614; 
  border:1px solid var(--line); 
  color:var(--text); 
  border-radius:.6rem; 
  padding:.5rem .75rem; 
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 255, 195, 0);
}

.rail-search input:focus {
  border-color: rgba(0, 255, 195, 0.5);
  box-shadow: 0 0 15px rgba(0, 255, 195, 0.2), 0 0 30px rgba(0, 255, 195, 0.1);
  outline: none;
}

.conv-list { 
  display:flex; 
  flex-direction:column; 
  gap:.25rem; 
}

.conv { 
  text-align:left; 
  background:#0f1614; 
  border:1px solid var(--line); 
  color:var(--text); 
  border-radius:.8rem; 
  padding:.6rem .7rem; 
  cursor:pointer; 
  display:flex; 
  gap:.5rem; 
  justify-content:space-between; 
  align-items:center; 
  transition: all .3s ease; 
  width:100%; 
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0, 255, 195, 0);
}

.conv:hover { 
  background:#1a1f1d; 
  border-color: rgba(0, 255, 195, 0.3);
  box-shadow: 0 0 15px rgba(0, 255, 195, 0.2), 0 0 30px rgba(0, 255, 195, 0.1);
  transform: translateY(-1px);
}

.conv .title{ 
  font-weight:600; 
  flex:1; 
  text-align:left; 
  padding-right: 2rem; /* Make room for delete button */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv .meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.conv .delete-btn{ 
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important; 
  border: 0 !important; 
  color: #ff4757 !important; 
  cursor: pointer; 
  padding: 0.25rem; 
  border-radius: 0.4rem; 
  transition: all 0.2s ease; 
  font-size: 1rem; 
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

.conv:hover .delete-btn {
  opacity: 1;
  visibility: visible;
}

.conv .delete-btn:hover{ 
  background: rgba(255,71,87,0.2) !important; 
  color: #ff6b7a !important; 
  transform: translateY(-50%) scale(1.1); 
}

.ai-main { 
  display:flex; 
  flex-direction:column; 
  min-height:100%; 
  width: 100%;
  background: #0a0a0a;
}

.ai-bar { 
  display:flex; 
  justify-content:space-between; 
  align-items:center; 
  padding:0.75rem 1rem; 
  border-bottom:1px solid var(--line); 
  position:sticky; 
  top:0; 
  background:rgba(10,10,10,.8); 
  backdrop-filter: blur(6px); 
  z-index:10; 
}

#expand-rail { 
  display: none; 
}

.ai-shell:has(.ai-rail[data-open="false"]) #expand-rail { 
  display: block; 
}

.chat { 
  padding:1rem; 
  display:flex; 
  flex-direction:column; 
  gap:1rem; 
  overflow-y: auto; 
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 195, 0.3) transparent;
}

.chat::-webkit-scrollbar {
  width: 6px;
}

.chat::-webkit-scrollbar-track {
  background: transparent;
}

.chat::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 195, 0.3);
  border-radius: 3px;
}

.chat::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 195, 0.5);
}

.msg { 
  display:flex; 
}

.msg.user { 
  justify-content:flex-end; 
}

.msg .bubble { 
  max-width:min(900px, 92%); 
  padding:.9rem 1rem; 
  border-radius:1rem; 
  line-height:1.5; 
  transition: all .3s ease;
  box-shadow: 0 0 0 rgba(0, 255, 195, 0);
}

.msg.user .bubble { 
  background:#0f3; 
  color:#021; 
  opacity:.85; 
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), 0 0 40px rgba(0, 255, 0, 0.1);
}

.msg.assistant .bubble { 
  background: linear-gradient(135deg, #00ffc3, #00d4aa);
  color:#012b22; 
  border:1px solid rgba(0, 255, 195, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 195, 0.4), 0 0 40px rgba(0, 255, 195, 0.2);
  font-weight: 500;
}

.composer { 
  position:sticky; 
  bottom:0; 
  padding: .75rem; 
  background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,.9) 40%); 
  display:flex; 
  gap:.5rem; 
  align-items:flex-end; 
}

.composer textarea { 
  flex:1; 
  resize:none; 
  max-height:240px; 
  background:#0f1614; 
  color:var(--text); 
  border:1px solid var(--line); 
  border-radius:1rem; 
  padding:.75rem 1rem; 
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 255, 195, 0);
}

.composer textarea:focus {
  border-color: rgba(0, 255, 195, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 195, 0.3), 0 0 40px rgba(0, 255, 195, 0.1);
  outline: none;
}

.btn { 
  border:1px solid var(--line); 
  background:#0f1614; 
  color:var(--text); 
  border-radius:.8rem; 
  padding:.5rem .9rem; 
  cursor:pointer; 
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 255, 195, 0);
}

.btn:hover {
  border-color: rgba(0, 255, 195, 0.3);
  box-shadow: 0 0 15px rgba(0, 255, 195, 0.2), 0 0 30px rgba(0, 255, 195, 0.1);
  transform: translateY(-1px);
}

.btn.solid { 
  background: var(--brand); 
  color:#012b22; 
  border: 0; 
  box-shadow: 0 0 20px rgba(0, 255, 195, 0.4), 0 0 40px rgba(0, 255, 195, 0.2);
}

.btn.solid:hover {
  box-shadow: 0 0 25px rgba(0, 255, 195, 0.6), 0 0 50px rgba(0, 255, 195, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 1024px){
  .ai-shell { 
    grid-template-columns: 1fr !important; 
  }
  
  .ai-rail { 
    position: fixed; 
    inset: 60px auto 0 0; 
    width: 78%; 
    max-width: 380px; 
    background:#0a0a0a; 
    z-index: 30; 
    box-shadow: 0 10px 40px rgba(0,0,0,.5); 
  }
  
  .ai-rail[data-open="false"] { 
    transform: translateX(-110%); 
    width: 78%; 
    padding:.75rem; 
    border-right:1px solid var(--line); 
  }
}

/* Persona selector */
.persona-selector {
  margin-left: 1rem;
}

.persona-dropdown {
  background: #0f1614;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 255, 195, 0);
  min-width: 200px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffc3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.persona-dropdown:hover {
  border-color: rgba(0, 255, 195, 0.3);
  box-shadow: 0 0 15px rgba(0, 255, 195, 0.2), 0 0 30px rgba(0, 255, 195, 0.1);
}

.persona-dropdown:focus {
  border-color: rgba(0, 255, 195, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 195, 0.3), 0 0 40px rgba(0, 255, 195, 0.1);
  outline: none;
}

.persona-dropdown option {
  background: #0f1614;
  color: var(--text);
  padding: 0.5rem;
}

/* Persona description card */
.persona-description {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0f1614;
  border: 1px solid rgba(0, 255, 195, 0.3);
  border-radius: 0.8rem;
  padding: 1rem;
  margin-top: 0.5rem;
  box-shadow: 0 0 20px rgba(0, 255, 195, 0.3), 0 0 40px rgba(0, 255, 195, 0.1);
  z-index: 100;
  animation: fadeInUp 0.3s ease;
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.persona-description .desc-content h4 {
  margin: 0 0 0.5rem 0;
  color: var(--brand);
  font-size: 1.1rem;
}

.persona-description .desc-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.9rem;
}

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

.ai-bar-title { 
  display:flex; 
  align-items:center; 
  gap:.25rem; 
  flex-wrap:wrap; 
}

.persona-selector {
  position: relative;
}

/* === AI Shell (brand) === */
.ai-page { padding-top: .5rem; }
.ai-shell {
  display: grid; grid-template-columns: 280px 1fr;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: radial-gradient(1200px 400px at 30% -20%, rgba(0,255,195,.08), transparent 60%),
              linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.2));
}
.ai-sidebar { background: rgba(0,0,0,.35); border-right: 1px solid var(--line); display: flex; flex-direction: column; max-height: 70vh; }
.ai-sidebar[data-open="false"] { width: 64px; }
.ai-sidebar-header { display:flex; align-items:center; gap:.5rem; padding:.75rem; border-bottom:1px solid var(--line); }
.ai-sidebar-toggle { border:1px solid var(--line); background:transparent; color:var(--text); border-radius:8px; padding:.25rem .5rem; }
.ai-scope { font-weight:600; color:var(--muted); }
.ai-personas { padding:.75rem; border-bottom:1px solid var(--line); }
.ai-personas select { width:100%; background:transparent; color:var(--text); border:1px solid var(--line); border-radius:10px; padding:.5rem; }
.ai-chats { padding:.75rem; overflow:auto; }
.ai-chats ul { list-style:none; margin:.5rem 0 0; padding:0; display:grid; gap:.25rem; }
.ai-chats li { padding:.35rem .5rem; border-radius:10px; border:1px solid var(--line); cursor:pointer; }
.ai-chats li:hover { border-color: var(--brand); }

.ai-main { display: grid; grid-template-rows:auto 1fr auto; max-height:70vh; }
.ai-header { padding:.75rem 1rem; border-bottom:1px solid var(--line); }
.ai-crumbs .pill { background: rgba(0,255,195,.08); border:1px solid var(--line); color:var(--brand); padding:.2rem .5rem; border-radius:999px; font-size:.85rem; }

.ai-messages { padding:1rem; overflow:auto; display:grid; gap:.75rem; }
.msg { max-width:80ch; border:1px solid var(--line); border-radius:14px; padding:.75rem .9rem; background: rgba(255,255,255,.02); }
.msg.user { border-color: rgba(0,255,195,.35); background: rgba(0,255,195,.05); }
.msg.ai   { border-color: rgba(255,255,255,.12); box-shadow: inset 0 0 24px rgba(0,255,195,.12); }

.ai-inputbar { display:grid; grid-template-columns:1fr auto; gap:.5rem; padding:.75rem; border-top:1px solid var(--line); }
.ai-inputbar textarea { background:transparent; color:var(--text); border:1px solid var(--line); border-radius:12px; padding:.65rem .8rem; resize:none; min-height:44px; }
.ai-inputbar .btn { height:44px; border-radius:12px; background:var(--brand); color:#00251c; border:none; padding:0 1rem; }
.ai-inputbar .btn:disabled { opacity:.6; filter:grayscale(30%); }

/* Account Page Input Styles */
.input { 
  background: transparent; 
  color: var(--text); 
  border: 1px solid var(--line); 
  border-radius: 8px; 
  padding: 0.5rem 0.75rem; 
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}
.input:focus { 
  outline: none; 
  border-color: var(--brand); 
  box-shadow: 0 0 0 2px rgba(0, 255, 195, 0.2);
}
.input::placeholder { 
  color: var(--muted); 
  opacity: 0.7;
}

@media (max-width: 900px) {
  .ai-shell { grid-template-columns: 1fr; }
  .ai-sidebar { position: fixed; z-index: 50; left: 0; top: 0; bottom: 0; width: 86vw; transform: translateX(0); transition: transform .2s ease; }
  .ai-sidebar[data-open="false"] { transform: translateX(-100%); }
}
/* About Page Links - Hero Button Style */
.about-links {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,255,195,0.2);
}

.about-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #00ffc3 0%, #00d4aa 100%);
  color: #06221c;
  border: 2px solid #00ffc3;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,255,195,0.4), 0 0 30px rgba(0,255,195,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.about-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.about-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,255,195,0.6), 0 0 40px rgba(0,255,195,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
}

.about-link:hover::before {
  left: 100%;
}

.about-link:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,255,195,0.5), 0 0 25px rgba(0,255,195,0.4);
}

.link-icon {
  font-size: 1.2rem;
}

.link-text {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .about-links {
    gap: 0.6rem;
    flex-wrap: wrap;
  }
  
  .about-link {
    flex: 1;
    min-width: 140px;
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* Story Navigation Buttons - Bottom Style */
.story-nav {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,255,195,0.2);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid;
  position: relative;
  overflow: hidden;
}

.btn.ghost {
  background: transparent;
  color: #00ffc3;
  border-color: rgba(0,255,195,0.4);
  box-shadow: 0 4px 15px rgba(0,255,195,0.2), 0 0 20px rgba(0,255,195,0.1);
}

.btn.ghost:hover {
  background: rgba(0,255,195,0.1);
  border-color: rgba(0,255,195,0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,255,195,0.3), 0 0 30px rgba(0,255,195,0.2);
}

.btn.primary {
  background: linear-gradient(135deg, #00ffc3 0%, #00d4aa 100%);
  color: #06221c;
  border-color: #00ffc3;
  box-shadow: 0 6px 20px rgba(0,255,195,0.4), 0 0 30px rgba(0,255,195,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,255,195,0.6), 0 0 40px rgba(0,255,195,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
}

.btn.primary:hover::before {
  left: 100%;
}

.btn.primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,255,195,0.5), 0 0 25px rgba(0,255,195,0.4);
}

@media (max-width: 768px) {
  .story-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  
  .btn {
    width: 100%;
    max-width: 180px;
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .story-nav {
    gap: 0.5rem;
  }
  
  .btn {
    max-width: 160px;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
}

 
 / *   R e c i p e   C a r d   H o v e r   E f f e c t   * / 
 
 . r e c i p e - c a r d - h o v e r : h o v e r   {   t r a n s f o r m :   t r a n s l a t e Y ( - 4 p x ) ;   b o x - s h a d o w :   0   8 p x   2 5 p x   r g b a ( 0 ,   2 5 5 ,   1 9 5 ,   0 . 3 )   ! i m p o r t a n t ;   b o r d e r - c o l o r :   # 0 0 f f c 3   ! i m p o r t a n t ;   } 
 
 
/* ==================== RECIPE DETAIL PAGE STYLES ==================== */

/* Recipe Detail Page Container */
.recipe-detail-page {
  background: #0b0b0b;
  min-height: 100vh;
  padding: 2rem 0;
}

.recipe-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Recipe Header Section */
.recipe-header-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid #333;
}

.recipe-breadcrumb {
  margin-bottom: 1rem;
}

.recipe-breadcrumb a {
  color: #00ffc3;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.recipe-breadcrumb a:hover {
  color: #00d4aa;
}

.recipe-detail-title {
  color: #00ffc3;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.recipe-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00ffc3;
}

.recipe-author span {
  color: #aaa;
  font-size: 0.95rem;
}

.recipe-author strong {
  color: #fff;
}

.recipe-meta-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.meta-item {
  color: #aaa;
  font-size: 0.95rem;
}

.meta-item strong {
  color: #fff;
}

.recipe-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.recipe-action-btn {
  background: transparent;
  color: #00ffc3;
  border: 2px solid #00ffc3;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recipe-action-btn.primary {
  background: linear-gradient(135deg, #00ffc3, #00d4aa);
  color: #06221c;
  border-color: transparent;
}

.recipe-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 195, 0.3);
}

.recipe-image-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #111;
}

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

.recipe-placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #0b0b0b);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.placeholder-text {
  color: #00ffc3;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 255, 195, 0.3);
}

.recipe-badge-chaos {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Nutrition Bar */
.recipe-nutrition-bar {
  display: flex;
  justify-content: space-around;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.nutrition-item-detail {
  text-align: center;
}

.nutrition-value-large {
  color: #00ffc3;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.nutrition-label-small {
  color: #aaa;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Content Grid */
.recipe-content-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Ingredients Column */
.recipe-ingredients-column {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 2rem;
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.ingredient-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.ingredient-header h2 {
  color: #00ffc3;
  font-size: 1.5rem;
  margin: 0;
}

.servings-adjuster {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.servings-adjuster label {
  color: #aaa;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.servings-adjuster button {
  background: #00ffc3;
  color: #06221c;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.servings-adjuster button:hover {
  background: #00d4aa;
  transform: scale(1.05);
}

.servings-adjuster input {
  width: 60px;
  text-align: center;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
}

.ingredient-group {
  margin-bottom: 2rem;
}

.ingredient-group-title {
  color: #ff6b35;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #333;
}

.ingredient-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ingredient-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ingredient-item input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #00ffc3;
}

.ingredient-item label {
  color: #ddd;
  line-height: 1.6;
  cursor: pointer;
  flex: 1;
}

.ingredient-item input[type="checkbox"]:checked + label {
  text-decoration: line-through;
  opacity: 0.5;
}

.ingredient-amount {
  color: #00ffc3;
  font-weight: 600;
}

/* Instructions Column */
.recipe-instructions-column {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 2rem;
}

.recipe-instructions-column h2 {
  color: #00ffc3;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.instruction-section {
  margin-bottom: 3rem;
}

.instruction-section-title {
  color: #ff6b35;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #333;
}

.instruction-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00ffc3, #00d4aa);
  color: #06221c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.step-content {
  flex: 1;
  padding-top: 0.5rem;
}

.step-content p {
  color: #ddd;
  line-height: 1.8;
  margin: 0;
}

.step-content strong {
  color: #00ffc3;
  font-weight: 700;
}

/* Recipe Notes */
.recipe-notes-section {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 2rem;
}

.recipe-notes-section h2 {
  color: #00ffc3;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.recipe-note-text {
  color: #ddd;
  line-height: 1.8;
  font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .recipe-header-section {
    grid-template-columns: 1fr;
  }

  .recipe-content-grid {
    grid-template-columns: 1fr;
  }

  .recipe-ingredients-column {
    position: static;
  }

  .recipe-detail-title {
    font-size: 2rem;
  }

  .recipe-nutrition-bar {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .recipe-detail-container {
    padding: 0 1rem;
  }

  .recipe-header-section {
    padding: 1.5rem;
  }

  .recipe-detail-title {
    font-size: 1.75rem;
  }

  .recipe-meta-row {
    gap: 1rem;
  }

  .recipe-actions {
    width: 100%;
  }

  .recipe-action-btn {
    flex: 1;
    text-align: center;
  }

  .nutrition-value-large {
    font-size: 1.5rem;
  }

  .recipe-ingredients-column,
  .recipe-instructions-column,
  .recipe-notes-section {
    padding: 1.5rem;
  }

  .ingredient-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   UNIVERSAL DROPDOWN & SEARCH STYLING
   ========================================================================== */

/* Simple Dropdown & Search Bar Styling */
.filter-select,
.search-bar,
select.filter-select {
  background: #2a2a2a;
  border: 1px solid #00ffc3;
  color: #ddd;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.filter-select {
  cursor: pointer;
  /* Custom dropdown arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300ffc3' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.filter-select:focus,
.search-bar:focus {
  outline: none;
  border-color: #00ffc3;
  box-shadow: 0 0 10px rgba(0, 255, 195, 0.3);
}

.filter-select:hover {
  border-color: #00ffc3;
  box-shadow: 0 0 5px rgba(0, 255, 195, 0.2);
}

/* Dropdown options styling */
.filter-select option {
  background: #2a2a2a;
  color: #ddd;
  padding: 0.5rem;
}

/* Filter label styling */
.filter-label {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 500;
}

/* ==========================================================================
   INTERACTIVE CARD HOVER SYSTEM
   ========================================================================== */

/* Universal card hover effects for consistent lift-and-glow across site */
.card-hover,
.recipe-card-hover,
.collection-card-hover {
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-hover:hover,
.recipe-card-hover:hover,
.collection-card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(0,255,195,0.5) !important;
  box-shadow: 0 0 0 2px rgba(0,255,195,0.4), 
              0 15px 40px rgba(0,255,195,0.25), 
              0 8px 25px rgba(0,0,0,0.5);
}

