/* ========================================
   微剧工坊 - 主样式表
   Murder Mystery Style Theme
   CSS前缀: wj-
   ======================================== */

/* --- Google Fonts 本地化替代 --- */
@import url('wj-fonts.css');

/* --- CSS Variables --- */
:root {
  --wj-color-primary: #2C2C2C;
  --wj-color-secondary: #A89A8A;
  --wj-color-accent: #8B0000;
  --wj-color-text: #E0D8CD;
  --wj-color-link: #A89A8A;
  --wj-color-bg: #1A1A1A;
  --wj-color-card-bg: #2C2C2C;
  --wj-color-border: #3D3530;
  --wj-font-heading: 'ZCOOL KuaiLe', 'STKaiti', cursive, sans-serif;
  --wj-font-body: 'STSong', 'Noto Serif SC', 'Songti SC', serif;
  --wj-shadow-candle: 0 0 20px rgba(168, 154, 138, 0.15);
  --wj-transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--wj-font-body);
  background-color: var(--wj-color-bg);
  color: var(--wj-color-text);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--wj-color-link);
  text-decoration: none;
  transition: var(--wj-transition);
}

a:hover {
  color: #C4B5A5;
  text-shadow: 0 0 8px rgba(168, 154, 138, 0.4);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wj-font-heading);
  color: var(--wj-color-text);
  line-height: 1.3;
}

/* --- 干扰标签隐藏 --- */
.craft-jammer-block {
  display: none !important;
  visibility: hidden;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ========================================
   导航栏
   ======================================== */
.wj-nav {
  background: url('../images/wood-texture.webp') center/cover no-repeat;
  padding: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--wj-color-accent);
  position: relative;
}

.wj-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.wj-nav-logo {
  font-family: var(--wj-font-heading);
  font-size: 1.5rem;
  color: var(--wj-color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.wj-nav-logo-icon {
  width: 36px;
  height: 36px;
  position: relative;
}

.wj-nav-logo-icon svg {
  width: 100%;
  height: 100%;
}

.wj-nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.wj-nav-links li {
  position: relative;
}

.wj-nav-links a {
  font-family: var(--wj-font-heading);
  font-size: 1rem;
  color: var(--wj-color-text);
  padding: 10px 16px;
  display: block;
  position: relative;
  transition: var(--wj-transition);
}

.wj-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--wj-color-accent);
  transition: width 0.3s ease;
  border-radius: 50%;
  filter: url(#wj-ink-filter);
}

.wj-nav-links a:hover::after,
.wj-nav-links a.wj-active::after {
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--wj-color-accent), var(--wj-color-accent), transparent);
}

.wj-nav-links a:hover {
  text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

/* 移动端汉堡菜单 */
.wj-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.wj-menu-toggle svg {
  width: 28px;
  height: 28px;
  fill: var(--wj-color-text);
}

/* 侧边栏菜单 */
.wj-sidebar {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: url('../images/parchment-texture.webp') center/cover;
  z-index: 2000;
  transition: right 0.4s ease;
  padding: 60px 24px 24px;
  box-shadow: -5px 0 30px rgba(0,0,0,0.7);
  overflow-y: auto;
}

.wj-sidebar.wj-sidebar-open {
  right: 0;
}

.wj-sidebar-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--wj-color-primary);
  cursor: pointer;
}

.wj-sidebar-links {
  list-style: none;
  padding: 0;
}

.wj-sidebar-links a {
  display: block;
  padding: 14px 0;
  font-family: var(--wj-font-heading);
  font-size: 1.1rem;
  color: var(--wj-color-primary);
  border-bottom: 1px dashed var(--wj-color-secondary);
}

.wj-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
}

.wj-overlay.wj-overlay-active {
  display: block;
}

/* ========================================
   首页 - 开场白 Hero
   ======================================== */
.wj-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wj-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  z-index: 0;
}

.wj-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  padding: 40px;
  background: rgba(44, 44, 44, 0.75);
  border: 1px solid var(--wj-color-secondary);
  border-radius: 2px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.wj-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--wj-color-secondary);
}

.wj-hero-slogan {
  font-family: var(--wj-font-heading);
  font-size: 1.6rem;
  color: var(--wj-color-text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.wj-hero-desc {
  font-size: 1rem;
  color: var(--wj-color-text);
  opacity: 0.85;
}

.wj-typewriter {
  overflow: hidden;
  border-right: 2px solid var(--wj-color-accent);
  white-space: nowrap;
  animation: wj-typing 3.5s steps(30, end), wj-blink-caret 0.75s step-end infinite;
  display: inline-block;
}

@keyframes wj-typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes wj-blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--wj-color-accent) }
}

/* ========================================
   通用模块标题
   ======================================== */
.wj-section {
  padding: 80px 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.wj-section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 48px;
  color: var(--wj-color-secondary);
  position: relative;
  display: inline-block;
  width: 100%;
}

.wj-section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: var(--wj-color-accent);
  margin: 12px auto 0;
}

.wj-section-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--wj-color-text);
  opacity: 0.7;
  margin-top: -32px;
  margin-bottom: 40px;
}

/* ========================================
   最新谜案 - 卷宗卡片
   ======================================== */
.wj-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.wj-case-card {
  background: var(--wj-color-card-bg);
  border: 1px solid var(--wj-color-border);
  border-radius: 2px;
  overflow: hidden;
  transition: var(--wj-transition);
  position: relative;
}

.wj-case-card:hover {
  box-shadow: var(--wj-shadow-candle);
  transform: translateY(-4px);
}

.wj-case-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/3;
}

.wj-case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wj-case-card:hover .wj-case-card-img img {
  transform: scale(1.05);
}

.wj-case-card-stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--wj-color-accent);
  color: #fff;
  padding: 4px 12px;
  font-family: var(--wj-font-heading);
  font-size: 0.85rem;
  transform: rotate(5deg);
  border-radius: 2px;
}

.wj-case-card-body {
  padding: 16px;
}

.wj-case-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.wj-case-card-body p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

.wj-case-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--wj-color-secondary);
}

/* ========================================
   热门剧集 - 胶片滚动
   ======================================== */
.wj-popular-wrap {
  overflow: hidden;
  position: relative;
}

.wj-film-strip {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  scrollbar-width: none;
}

.wj-film-strip::-webkit-scrollbar {
  display: none;
}

.wj-film-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  position: relative;
  border: 3px solid var(--wj-color-border);
  border-radius: 2px;
  overflow: hidden;
  transition: var(--wj-transition);
}

.wj-film-item:hover {
  border-color: var(--wj-color-accent);
  box-shadow: var(--wj-shadow-candle);
}

.wj-film-item img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.wj-film-info {
  padding: 10px;
  background: var(--wj-color-card-bg);
}

.wj-film-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.wj-film-rating {
  color: var(--wj-color-accent);
  font-weight: bold;
  font-size: 0.9rem;
}

/* ========================================
   悬赏剧本 - 悬赏海报
   ======================================== */
.wj-bounty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.wj-bounty-card {
  background: url('../images/parchment-texture.webp') center/cover;
  padding: 28px;
  border: 2px solid var(--wj-color-secondary);
  border-radius: 2px;
  color: var(--wj-color-primary);
  position: relative;
  transition: var(--wj-transition);
}

.wj-bounty-card:hover {
  box-shadow: 0 0 25px rgba(168, 154, 138, 0.3);
}

.wj-bounty-card h3 {
  font-size: 1.2rem;
  color: var(--wj-color-accent);
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--wj-color-accent);
  padding-bottom: 8px;
}

.wj-bounty-card p {
  font-size: 0.9rem;
  color: #3D3530;
  line-height: 1.7;
}

.wj-bounty-reward {
  margin-top: 16px;
  font-family: var(--wj-font-heading);
  font-size: 1.1rem;
  color: var(--wj-color-accent);
}

/* ========================================
   幕后档案
   ======================================== */
.wj-behind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.wj-behind-card {
  background: var(--wj-color-card-bg);
  border: 1px solid var(--wj-color-border);
  border-radius: 2px;
  overflow: hidden;
  transition: var(--wj-transition);
}

.wj-behind-card:hover {
  box-shadow: var(--wj-shadow-candle);
}

.wj-behind-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.wj-behind-card-body {
  padding: 16px;
}

.wj-behind-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.wj-behind-card-body p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ========================================
   签约编剧 - 通缉令风格
   ======================================== */
.wj-writers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.wj-writer-card {
  text-align: center;
  padding: 24px;
  background: var(--wj-color-card-bg);
  border: 2px solid var(--wj-color-border);
  border-radius: 2px;
  transition: var(--wj-transition);
}

.wj-writer-card:hover {
  border-color: var(--wj-color-accent);
  box-shadow: var(--wj-shadow-candle);
}

.wj-writer-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 2px;
  margin: 0 auto 16px;
  filter: grayscale(0.3);
  border: 2px solid var(--wj-color-secondary);
}

.wj-writer-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.wj-writer-card .wj-writer-alias {
  font-size: 0.85rem;
  color: var(--wj-color-accent);
  margin-bottom: 8px;
  font-family: var(--wj-font-heading);
}

.wj-writer-card p {
  font-size: 0.88rem;
  opacity: 0.8;
}

/* ========================================
   合作伙伴 Logo墙
   ======================================== */
.wj-partners-wrap {
  text-align: center;
}

.wj-partners-wrap img {
  max-width: 100%;
  margin: 0 auto;
  filter: sepia(0.3) brightness(0.9);
  border-radius: 4px;
}

/* ========================================
   行业资讯 - 滚动播报
   ======================================== */
.wj-news-list {
  max-width: 900px;
  margin: 0 auto;
}

.wj-news-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--wj-color-border);
}

.wj-news-date {
  flex: 0 0 auto;
  font-family: var(--wj-font-heading);
  font-size: 0.85rem;
  color: var(--wj-color-secondary);
  white-space: nowrap;
}

.wj-news-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.wj-news-item p {
  font-size: 0.88rem;
  opacity: 0.75;
}

/* ========================================
   观影指南 - 分类索引
   ======================================== */
.wj-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.wj-guide-card {
  background: var(--wj-color-card-bg);
  border: 1px solid var(--wj-color-border);
  border-radius: 2px;
  padding: 24px;
  text-align: center;
  transition: var(--wj-transition);
}

.wj-guide-card:hover {
  border-color: var(--wj-color-accent);
  box-shadow: var(--wj-shadow-candle);
}

.wj-guide-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.wj-guide-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.wj-guide-card p {
  font-size: 0.88rem;
  opacity: 0.8;
}

.wj-guide-card ul {
  list-style: none;
  margin-top: 12px;
  text-align: left;
}

.wj-guide-card ul li {
  padding: 4px 0;
  font-size: 0.85rem;
  border-bottom: 1px dotted var(--wj-color-border);
}

.wj-guide-card ul li a {
  color: var(--wj-color-link);
}

/* ========================================
   加入我们
   ======================================== */
.wj-join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.wj-join-card {
  background: var(--wj-color-card-bg);
  border: 1px solid var(--wj-color-border);
  border-radius: 2px;
  padding: 32px;
  text-align: center;
  transition: var(--wj-transition);
}

.wj-join-card:hover {
  border-color: var(--wj-color-accent);
}

.wj-join-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.wj-join-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

/* 火漆印章按钮 */
.wj-btn-seal {
  display: inline-block;
  padding: 12px 28px;
  background: var(--wj-color-accent);
  color: #fff;
  font-family: var(--wj-font-heading);
  font-size: 1rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--wj-transition);
  text-decoration: none;
  box-shadow: 0 0 10px rgba(139, 0, 0, 0.4);
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
}

.wj-btn-seal:hover {
  background: #A00000;
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.6);
  transform: scale(1.05);
  color: #fff;
}

.wj-btn-rect {
  display: inline-block;
  padding: 10px 24px;
  background: var(--wj-color-accent);
  color: #fff;
  font-family: var(--wj-font-heading);
  font-size: 0.95rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--wj-transition);
  text-decoration: none;
}

.wj-btn-rect:hover {
  background: #A00000;
  color: #fff;
}

/* ========================================
   页脚 - 档案柜风格
   ======================================== */
.wj-footer {
  background: var(--wj-color-primary);
  border-top: 3px solid var(--wj-color-accent);
  padding: 48px 24px 24px;
  margin-top: 60px;
}

.wj-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.wj-footer-col h4 {
  font-family: var(--wj-font-heading);
  font-size: 1.1rem;
  color: var(--wj-color-secondary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wj-color-border);
}

.wj-footer-col ul {
  list-style: none;
}

.wj-footer-col ul li {
  margin-bottom: 8px;
}

.wj-footer-col ul li a {
  font-size: 0.9rem;
  color: var(--wj-color-text);
  opacity: 0.75;
}

.wj-footer-col ul li a:hover {
  opacity: 1;
  color: var(--wj-color-link);
}

.wj-footer-bottom {
  max-width: 1440px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--wj-color-border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--wj-color-text);
  opacity: 0.6;
  line-height: 2;
}

.wj-footer-bottom a {
  color: var(--wj-color-link);
  opacity: 0.8;
}

.wj-footer-honor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
}

.wj-footer-honor svg {
  width: 16px;
  height: 16px;
  fill: var(--wj-color-secondary);
}

/* ========================================
   内页通用
   ======================================== */
.wj-page-header {
  padding: 100px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(44,44,44,0.9), var(--wj-color-bg));
  position: relative;
}

.wj-page-header h1 {
  font-size: 2.2rem;
  color: var(--wj-color-secondary);
  margin-bottom: 16px;
}

.wj-page-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  opacity: 0.8;
}

.wj-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* 内页剧集卡片网格 */
.wj-series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* ========================================
   编剧间页面
   ======================================== */
.wj-wr-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-height: 60vh;
}

.wj-wr-panel {
  background: var(--wj-color-card-bg);
  border: 1px solid var(--wj-color-border);
  border-radius: 2px;
  padding: 24px;
}

.wj-wr-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--wj-color-secondary);
}

.wj-wr-textarea {
  width: 100%;
  min-height: 300px;
  background: url('../images/parchment-texture.webp') center/cover;
  border: 1px dashed var(--wj-color-secondary);
  border-radius: 2px;
  padding: 16px;
  font-family: var(--wj-font-body);
  font-size: 0.95rem;
  color: var(--wj-color-primary);
  resize: vertical;
  line-height: 1.8;
}

.wj-wr-textarea::placeholder {
  color: #8B7D6B;
}

.wj-wr-toolbar {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.wj-wr-toolbar button {
  padding: 8px 16px;
  background: var(--wj-color-accent);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: var(--wj-font-heading);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--wj-transition);
}

.wj-wr-toolbar button:hover {
  background: #A00000;
}

.wj-wr-preview {
  background: url('../images/parchment-texture.webp') center/cover;
  min-height: 300px;
  padding: 16px;
  border: 1px solid var(--wj-color-secondary);
  border-radius: 2px;
  color: var(--wj-color-primary);
  font-size: 0.95rem;
  line-height: 1.8;
  overflow-y: auto;
}

.wj-wr-mode-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.wj-wr-mode-toggle button {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--wj-color-secondary);
  color: var(--wj-color-text);
  font-family: var(--wj-font-heading);
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--wj-transition);
}

.wj-wr-mode-toggle button.wj-active {
  background: var(--wj-color-accent);
  border-color: var(--wj-color-accent);
  color: #fff;
}

/* ========================================
   APP下载页
   ======================================== */
.wj-app-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wj-app-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.wj-app-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  padding: 40px;
}

.wj-app-content h1 {
  font-size: 2.5rem;
  color: var(--wj-color-secondary);
  margin-bottom: 16px;
}

.wj-app-content p {
  font-size: 1rem;
  margin-bottom: 32px;
  opacity: 0.85;
}

.wj-app-qr {
  width: 180px;
  height: 180px;
  background: #fff;
  margin: 0 auto 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #333;
}

.wj-app-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.wj-app-links a {
  padding: 10px 24px;
  border: 1px solid var(--wj-color-secondary);
  border-radius: 2px;
  color: var(--wj-color-text);
  font-family: var(--wj-font-heading);
  transition: var(--wj-transition);
}

.wj-app-links a:hover {
  background: var(--wj-color-accent);
  border-color: var(--wj-color-accent);
  color: #fff;
}

/* ========================================
   响应式断点
   ======================================== */

/* 1440px */
@media (max-width: 1440px) {
  .wj-section {
    max-width: 1200px;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .wj-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .wj-wr-container {
    grid-template-columns: 1fr;
  }
  .wj-hero-content h1 {
    font-size: 2rem;
  }
}

/* 768px - Tablet */
@media (max-width: 768px) {
  .wj-nav-links {
    display: none;
  }
  .wj-menu-toggle {
    display: block;
  }
  .wj-sidebar {
    display: block;
  }
  .wj-hero-slogan {
    font-size: 1.2rem;
  }
  .wj-hero-content h1 {
    font-size: 1.8rem;
  }
  .wj-section {
    padding: 50px 16px;
  }
  .wj-section-title {
    font-size: 1.6rem;
  }
  .wj-cases-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .wj-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .wj-page-header {
    padding: 80px 16px 40px;
  }
  .wj-page-header h1 {
    font-size: 1.8rem;
  }
}

/* 360px - Mobile */
@media (max-width: 360px) {
  html {
    font-size: 14px;
  }
  .wj-hero-content {
    padding: 24px 16px;
  }
  .wj-hero-content h1 {
    font-size: 1.5rem;
  }
  .wj-hero-slogan {
    font-size: 1rem;
  }
  .wj-cases-grid {
    grid-template-columns: 1fr;
  }
  .wj-bounty-grid {
    grid-template-columns: 1fr;
  }
  .wj-writers-grid {
    grid-template-columns: 1fr;
  }
  .wj-join-grid {
    grid-template-columns: 1fr;
  }
  .wj-guide-grid {
    grid-template-columns: 1fr;
  }
  .wj-nav-inner {
    padding: 10px 12px;
  }
  .wj-nav-logo {
    font-size: 1.2rem;
  }
}
