:root {
  --yellow: #FFD700;
  --black: #1A1A1A;
  --purple: #4A3B5C;
  --blue: #00A8FF;
  --bg-yellow: #FFF9E6;
  --white: #FFFFFF;
  --border: 3px solid var(--black);
  --shadow: 6px 6px 0 var(--black);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--black);
  background-color: var(--bg-yellow);
  background-image: radial-gradient(var(--black) 1px, transparent 1px);
  background-size: 20px 20px;
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--white);
  border-bottom: var(--border);
  z-index: 100;
  height: 64px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 20px; height: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; }
.nav-logo img { height: 32px; }
.nav-links { display: flex; gap: 24px; font-weight: bold; font-size: 15px; }
.nav-links a:hover { color: var(--purple); }
.nav-tag {
  background: var(--yellow); border: var(--border);
  padding: 4px 12px; font-weight: 900; font-size: 14px;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

/* Hero */
.hero {
  margin-top: 64px;
  display: flex; align-items: center;
  padding: 60px 20px;
  background: var(--white);
  border-bottom: var(--border);
  position: relative;
  overflow: hidden;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.hero-text { flex: 1; z-index: 2; padding-right: 20px; }
.hero h1 {
  font-size: 48px; line-height: 1.2; margin-bottom: 20px;
  -webkit-text-stroke: 1px var(--black);
  text-shadow: 4px 4px 0 var(--yellow);
  font-weight: 900;
}
.hero p { font-size: 18px; margin-bottom: 30px; font-weight: bold; }
.hero-tags { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.hero-tag {
  border: var(--border); padding: 4px 12px; font-weight: bold;
  background: var(--white); box-shadow: 3px 3px 0 var(--black);
}
.btn {
  display: inline-block; padding: 14px 30px;
  background: var(--black); color: var(--yellow);
  font-weight: 900; font-size: 18px;
  border: var(--border); box-shadow: 5px 5px 0 var(--yellow);
  transition: transform 0.1s, box-shadow 0.1s;
  cursor: pointer;
}
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--yellow); }
.hero-img { flex: 1; position: relative; }
.hero-img img {
  border: 4px solid var(--black);
  box-shadow: 8px 8px 0 var(--yellow);
  transform: rotate(2deg);
  background: var(--white);
}
.hero-speed-lines {
  position: absolute; top: 0; right: -50px; width: 200%; height: 100%;
  background: repeating-radial-gradient(circle at center, transparent, transparent 20px, rgba(0,0,0,0.05) 20px, rgba(0,0,0,0.05) 22px);
  z-index: 1; pointer-events: none;
}

/* Sections */
section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 32px; font-weight: 900; margin-bottom: 40px; text-align: center; text-shadow: 2px 2px 0 var(--yellow); }
.section-title::after {
  content: ''; display: block; width: 60px; height: 6px; background: var(--black); margin: 10px auto 0;
}

/* Ranking */
.rank-section { background: var(--bg-yellow); }
.rank-container { display: flex; gap: 20px; height: 400px; }
.rank-main { flex: 2; position: relative; border: 4px solid var(--black); overflow: hidden; }
.rank-main img { width: 100%; height: 100%; object-fit: cover; }
.rank-main-tag {
  position: absolute; top: 10px; left: 10px; background: var(--yellow);
  border: var(--border); padding: 4px 12px; font-weight: 900; font-size: 24px;
}
.rank-side { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.rank-card { flex: 1; position: relative; border: 4px solid var(--black); overflow: hidden; }
.rank-card img { width: 100%; height: 100%; object-fit: cover; }
.rank-card-tag {
  position: absolute; top: 10px; left: 10px; background: var(--white);
  border: var(--border); padding: 2px 8px; font-weight: 900; font-size: 16px;
}

/* Finished */
.finished-section { background: var(--white); border-top: var(--border); border-bottom: var(--border); }
.asym-grid { display: flex; gap: 20px; }
.asym-large { flex: 6; position: relative; border: 4px solid var(--black); }
.asym-small { flex: 4; position: relative; border: 4px solid var(--black); }
.asym-large img, .asym-small img { width: 100%; height: 100%; object-fit: cover; }
.badge-finished {
  position: absolute; top: -10px; right: -10px;
  background: var(--black); color: var(--white);
  padding: 4px 12px; font-weight: 900; font-size: 16px;
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

/* Calendar */
.calendar-section { background: var(--bg-yellow); }
.timeline { display: flex; justify-content: space-between; position: relative; padding-top: 30px; }
.timeline::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 4px; background: var(--black); border-top: 2px dashed var(--white); z-index: 1;
}
.timeline-item { flex: 1; display: flex; flex-direction: column; align-items: center; z-index: 2; position: relative; }
.timeline-item:nth-child(2) { transform: translateY(20px); }
.timeline-item:nth-child(3) { transform: translateY(-10px); }
.timeline-img {
  width: 80%; aspect-ratio: 1; border: 4px solid var(--black);
  box-shadow: 4px 4px 0 var(--black); position: relative; margin-bottom: 10px;
  background: var(--white);
}
.timeline-img img { width: 100%; height: 100%; object-fit: cover; }
.pin {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 20px; background: red; border-radius: 50%;
  border: 2px solid var(--black); z-index: 3;
}
.day-tag {
  padding: 2px 12px; font-weight: 900; border: var(--border); font-size: 14px;
}
.day-tag.mon { background: var(--yellow); }
.day-tag.wed { background: var(--blue); color: var(--white); }
.day-tag.fri { background: var(--purple); color: var(--white); }

/* Progress */
.progress-section { background: var(--white); border-top: var(--border); border-bottom: var(--border); }
.zigzag-row { display: flex; align-items: center; gap: 40px; margin-bottom: 60px; }
.zigzag-row.reverse { flex-direction: row-reverse; }
.zigzag-img { flex: 1; }
.zigzag-img img { border: 4px solid var(--black); box-shadow: 6px 6px 0 var(--yellow); }
.zigzag-text { flex: 1; }
.zigzag-text h3 { font-size: 28px; font-weight: 900; margin-bottom: 15px; }
.zigzag-text p { font-size: 16px; }

/* Checkin */
.checkin-section { background: var(--yellow); border-top: var(--border); border-bottom: var(--border); }
.checkin-panel {
  background: var(--white); border: 4px solid var(--black); padding: 30px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 8px 8px 0 var(--black);
}
.checkin-left h3 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.progress-bar-bg {
  width: 300px; height: 20px; background: #eee; border: 2px solid var(--black); position: relative;
}
.progress-bar-fill {
  width: 70%; height: 100%; background: var(--yellow); border-right: 2px solid var(--black);
}
.checkin-right { font-family: monospace; font-size: 32px; font-weight: 900; }

/* Reviews */
.reviews-section { background: var(--bg-yellow); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--white); border: var(--border); padding: 20px;
  box-shadow: 4px 4px 0 var(--black); font-size: 14px;
  transition: transform 0.2s;
}
.review-card:nth-child(odd) { transform: rotate(-1deg); }
.review-card:nth-child(even) { transform: rotate(1.5deg); }
.review-card:hover { transform: scale(1.05) rotate(0); z-index: 10; }

/* Editor */
.editor-section { background: var(--white); }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; border: 4px solid var(--black); }
.editor-item { padding: 30px; border: 2px solid var(--black); position: relative; }
.editor-stamp {
  position: absolute; top: 10px; right: 10px; color: red;
  border: 2px solid red; padding: 2px 6px; font-weight: 900;
  transform: rotate(-15deg); font-size: 14px;
}
.editor-item h3 { font-size: 20px; margin-bottom: 10px; font-weight: 900; }

/* Guide */
.guide-section { background: var(--yellow); border-top: var(--border); border-bottom: var(--border); }
.guide-steps { display: flex; gap: 20px; }
.guide-step {
  flex: 1; background: var(--white); border: 4px solid var(--black);
  padding: 30px 20px; text-align: center; box-shadow: 6px 6px 0 var(--black);
}
.guide-step h3 { font-size: 24px; font-weight: 900; margin-bottom: 15px; }

/* Topic */
.topic-section { background: var(--black); color: var(--white); text-align: center; }
.topic-section h2 { font-size: 40px; font-weight: 900; margin-bottom: 40px; color: var(--yellow); }
.topic-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.topic-tag {
  background: var(--white); color: var(--black); border: 3px solid var(--black);
  padding: 10px 24px; font-weight: 900; font-size: 18px; border-radius: 30px;
  cursor: pointer; transition: all 0.2s;
}
.topic-tag:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); transform: translateY(-5px); }

/* Memes */
.memes-section { background: var(--white); border-bottom: var(--border); }
.meme-post {
  border: var(--border); margin-bottom: 20px; background: var(--bg-yellow);
}
.meme-header {
  border-bottom: 2px solid var(--black); padding: 10px 20px;
  display: flex; justify-content: space-between; font-weight: bold; background: var(--yellow);
}
.meme-content { padding: 20px; font-size: 16px; }
.meme-floor { font-size: 12px; color: #666; text-align: right; padding: 5px 20px; }

/* Quote */
.quote-section { background: var(--black); color: var(--white); text-align: center; padding: 100px 20px; }
.quote-text { font-size: 56px; font-weight: 900; line-height: 1.4; margin-bottom: 20px; color: var(--yellow); }
.quote-source { font-size: 16px; color: #aaa; }

/* Performance */
.perf-section { background: var(--bg-yellow); border-bottom: var(--border); }
.perf-grid { display: flex; gap: 40px; justify-content: space-between; }
.perf-item { text-align: center; flex: 1; }
.perf-num { font-size: 80px; font-weight: 900; color: var(--yellow); -webkit-text-stroke: 2px var(--black); line-height: 1; }
.perf-text { font-size: 20px; font-weight: bold; margin-top: 10px; }

/* FAQ */
.faq-section { background: var(--white); }
.faq-item { border: var(--border); margin-bottom: 15px; }
.faq-q {
  padding: 20px; font-weight: 900; font-size: 18px;
  display: flex; justify-content: space-between; cursor: pointer; background: var(--white);
}
.faq-a { padding: 20px; border-top: 2px solid var(--black); color: var(--purple); display: none; }
.faq-item.active .faq-a { display: block; }
.faq-item.active .faq-q { background: var(--yellow); }

/* Disclaimer */
.disclaimer { background: var(--white); border: 2px dashed var(--black); padding: 20px; text-align: center; font-size: 12px; color: #666; max-width: 800px; margin: 0 auto 60px; }

/* Download */
.download-section { background: var(--black); color: var(--white); padding: 80px 20px; }
.download-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.download-img { flex: 1; }
.download-img img { border: 4px solid var(--yellow); box-shadow: 10px 10px 0 var(--purple); }
.download-text { flex: 1; }
.download-text h2 { font-size: 40px; font-weight: 900; margin-bottom: 20px; color: var(--yellow); }
.download-text p { font-size: 18px; margin-bottom: 30px; color: #ddd; }
.btn-large {
  display: block; width: 100%; text-align: center;
  background: var(--yellow); color: var(--black); padding: 20px;
  font-weight: 900; font-size: 24px; border: 3px solid var(--yellow);
  transition: all 0.2s;
}
.btn-large:hover { background: var(--white); border-color: var(--white); box-shadow: 0 0 15px var(--yellow); }
.disclaimer-small { font-size: 12px; color: #888; margin-top: 20px; text-align: center; }

/* Footer */
.footer { background: var(--white); padding: 40px 20px; text-align: center; font-size: 14px; color: #666; border-top: var(--border); }
.footer a { color: #999; }
.footer p { margin-bottom: 10px; }

/* Floating */
.float-btn {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  background: var(--white); border: 3px solid var(--black);
  border-radius: 30px; padding: 12px 24px; font-weight: 900;
  box-shadow: 0 0 20px var(--yellow), 4px 4px 0 var(--black);
  display: flex; align-items: center; gap: 5px; cursor: pointer;
  transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.05); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links, .nav-tag { display: none; }
  .hero { flex-direction: column; padding: 40px 20px; }
  .hero h1 { font-size: 32px; }
  .hero-text { padding-right: 0; margin-bottom: 30px; }
  .rank-container { flex-direction: column; height: auto; }
  .rank-main { height: 300px; }
  .rank-side { flex-direction: row; height: 150px; }
  .asym-grid { flex-direction: column; }
  .asym-large, .asym-small { height: 250px; }
  .timeline { flex-direction: column; gap: 30px; }
  .timeline::before { display: none; }
  .timeline-item { transform: none !important; }
  .zigzag-row, .zigzag-row.reverse { flex-direction: column; gap: 20px; }
  .checkin-panel { flex-direction: column; gap: 20px; text-align: center; }
  .progress-bar-bg { width: 100%; }
  .reviews-grid { grid-template-columns: 1fr; }
  .editor-grid { grid-template-columns: 1fr; }
  .guide-steps { flex-direction: column; }
  .perf-grid { flex-direction: column; gap: 30px; }
  .download-inner { flex-direction: column; gap: 40px; }
  .float-btn { bottom: 20px; right: 20px; padding: 10px 20px; font-size: 14px; }
  .quote-text { font-size: 32px; }
}