/* ==========================================================================
   Design DNA Stylesheet for 7U77Live Bangladesh (7u77live.net)
   Prefix: hky3 | Archetype: stacked-bands | Fonts: Outfit / Manrope
   Palette: Background #F9FAF9 | Ink #102B17 | Accent #268208 | Accent2 #47A329
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --hky3-font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hky3-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --hky3-bg: #F9FAF9;
  --hky3-surface: #FFFFFF;
  --hky3-surface-tint: #F0F7EF;
  --hky3-ink: #102B17;
  --hky3-ink-muted: #4A6350;
  --hky3-border: #E1EBE2;
  
  --hky3-accent: #268208;
  --hky3-accent2: #47A329;
  --hky3-on-accent: #FFFFFF;
  
  --hky3-gold: #E5A910;
  --hky3-radius: 12px;
  --hky3-shadow-sm: 0 2px 8px rgba(16, 43, 23, 0.05);
  --hky3-shadow: 0 8px 24px rgba(16, 43, 23, 0.08), 0 2px 6px rgba(16, 43, 23, 0.04);
  --hky3-shadow-hover: 0 14px 32px rgba(16, 43, 23, 0.12), 0 4px 10px rgba(16, 43, 23, 0.06);

  --hky3-scale: 1.2;
  --hky3-base: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--hky3-font-body);
  background-color: var(--hky3-bg);
  color: var(--hky3-ink);
  font-size: var(--hky3-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Scroll Progress Bar */
#hky3-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1000;
}

#scrollProgressBar {
  height: 4px;
  background: linear-gradient(90deg, var(--hky3-accent), var(--hky3-accent2));
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--hky3-font-heading);
  color: var(--hky3-ink);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

h1 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 1.5rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1.1rem;
}

a {
  color: var(--hky3-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--hky3-accent2);
}

/* Container */
.hky3-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.hky3-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hky3-border);
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 0.75rem 0;
}

.hky3-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hky3-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--hky3-font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--hky3-ink);
}

.hky3-brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.hky3-nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hky3-nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hky3-ink);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.hky3-nav-link:hover {
  color: var(--hky3-accent);
}

.hky3-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hky3-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--hky3-ink);
  cursor: pointer;
  padding: 0.25rem;
}

/* Mobile Drawer */
.hky3-drawer {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background: var(--hky3-surface);
  z-index: 890;
  padding: 1.5rem;
  overflow-y: auto;
  border-bottom: 2px solid var(--hky3-accent);
}

.hky3-drawer.active {
  display: block;
}

.hky3-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hky3-drawer-link {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hky3-ink);
  border-bottom: 1px solid var(--hky3-border);
  padding-bottom: 0.75rem;
}

/* Buttons */
.hky3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hky3-font-heading);
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.hky3-btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.hky3-btn-accent {
  background-color: var(--hky3-accent);
  color: #FFF !important;
  text-decoration: none;
}

.hky3-btn-accent:hover {
  background-color: var(--hky3-ink);
  box-shadow: 0 4px 12px rgba(38, 130, 8, 0.3);
}

.hky3-btn-accent2 {
  background-color: var(--hky3-accent2);
  color: #FFF !important;
  text-decoration: none;
}

.hky3-btn-accent2:hover {
  background-color: var(--hky3-accent);
  box-shadow: 0 4px 12px rgba(71, 163, 41, 0.3);
}

.hky3-btn-outline {
  background: transparent;
  border-color: var(--hky3-border);
  color: var(--hky3-ink) !important;
  text-decoration: none;
}

.hky3-btn-outline:hover {
  border-color: var(--hky3-accent);
  color: var(--hky3-accent) !important;
}

/* Cards - Layered Elevation (12px radius, two-layer shadow) */
.hky3-card {
  background: var(--hky3-surface);
  border-radius: var(--hky3-radius);
  padding: 1.5rem;
  box-shadow: var(--hky3-shadow);
  border: 1px solid var(--hky3-border);
  transition: all 0.25s ease;
}

.hky3-card:hover {
  box-shadow: var(--hky3-shadow-hover);
  transform: translateY(-2px);
}

.hky3-card-tint {
  background: var(--hky3-surface-tint);
  border-color: rgba(38, 130, 8, 0.15);
}

/* Stacked Bands Layout */
.hky3-band {
  padding: 4rem 0;
  width: 100%;
}

.hky3-band-alt {
  background-color: var(--hky3-surface);
  border-top: 1px solid var(--hky3-border);
  border-bottom: 1px solid var(--hky3-border);
}

.hky3-band-tint {
  background-color: var(--hky3-surface-tint);
  border-top: 1px solid var(--hky3-border);
  border-bottom: 1px solid var(--hky3-border);
}

/* Hero Section */
.hky3-hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--hky3-bg) 100%);
  border-bottom: 1px solid var(--hky3-border);
}

.hky3-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--hky3-surface-tint);
  border: 1px solid rgba(38, 130, 8, 0.25);
  color: var(--hky3-accent);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hky3-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

/* Carousel / Top Picks Grid */
.hky3-carousel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Grids */
.hky3-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.hky3-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hky3-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Answer Capsule */
.hky3-answer-capsule {
  background: var(--hky3-surface-tint);
  border-left: 4px solid var(--hky3-accent);
  border-radius: 0 var(--hky3-radius) var(--hky3-radius) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hky3-answer-capsule strong {
  color: var(--hky3-accent);
}

/* Tables */
.hky3-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--hky3-radius);
  border: 1px solid var(--hky3-border);
  box-shadow: var(--hky3-shadow-sm);
}

.hky3-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--hky3-surface);
  font-size: 0.95rem;
  text-align: left;
}

.hky3-table th {
  background: #EBF3EC;
  color: var(--hky3-ink);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--hky3-border);
}

.hky3-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--hky3-border);
}

.hky3-table tr:last-child td {
  border-bottom: none;
}

/* FAQ Accordion */
.hky3-faq-item {
  background: var(--hky3-surface);
  border-radius: var(--hky3-radius);
  border: 1px solid var(--hky3-border);
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: var(--hky3-shadow-sm);
}

.hky3-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.4rem;
  font-family: var(--hky3-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hky3-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hky3-faq-answer {
  padding: 0 1.4rem 1.1rem;
  display: none;
  font-size: 0.95rem;
  color: var(--hky3-ink-muted);
}

.hky3-faq-item.active .hky3-faq-answer {
  display: block;
}

/* Author Box */
.hky3-author-box {
  background: var(--hky3-surface);
  border: 1px solid var(--hky3-border);
  border-radius: var(--hky3-radius);
  padding: 1.5rem;
  margin: 2.5rem 0;
  box-shadow: var(--hky3-shadow-sm);
}

.hky3-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--hky3-accent);
}

/* Responsible Banner */
.hky3-responsible-banner {
  background: #0B1D10;
  color: #FFF;
  padding: 1.25rem 0;
  border-top: 1px solid #193820;
}

.hky3-responsible-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hky3-badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #C92A2A;
  color: #FFF;
  font-weight: 900;
  border-radius: 50%;
  font-size: 0.95rem;
}

/* Footer */
.hky3-footer {
  background: #061109;
  color: #D3E0D6;
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}

.hky3-footer h5 {
  color: #FFF;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.hky3-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.hky3-footer-links {
  list-style: none;
}

.hky3-footer-links li {
  margin-bottom: 0.6rem;
}

.hky3-footer-links a {
  color: #A1B8A5;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.hky3-footer-links a:hover {
  color: var(--hky3-accent2);
  text-decoration: underline;
}

.hky3-footer-bottom {
  border-top: 1px solid #132B1A;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #728F77;
}

.hky3-footer-bottom a {
  color: #728F77;
  text-decoration: none;
}

.hky3-footer-bottom a:hover {
  color: #FFF;
}

/* Breadcrumbs */
.hky3-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--hky3-ink-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hky3-breadcrumbs a {
  color: var(--hky3-ink-muted);
  text-decoration: none;
}

.hky3-breadcrumbs a:hover {
  color: var(--hky3-accent);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .hky3-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hky3-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hky3-nav-desktop {
    display: none;
  }
  .hky3-menu-toggle {
    display: block;
  }
  .hky3-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hky3-grid-2, .hky3-grid-3, .hky3-grid-4 {
    grid-template-columns: 1fr;
  }
  .hky3-footer-grid {
    grid-template-columns: 1fr;
  }
}
