:root {
  --bg-color: #fbf8f1;
  --text-main: #2b2a27;
  --text-muted: #6b6862;
  --brand-yellow: #ffcc00;
  --brand-yellow-hover: #e6b800;
  --brand-green: #2c5e2e;
  --card-bg: #ffffff;
  --border-color: #e5e0d5;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 12px 24px rgba(0,0,0,0.08);
  --font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-yellow);
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 50px;
  transition: background-color 0.2s, transform 0.1s;
  min-height: 44px;
  gap: 8px;
}
.btn:hover {
  background-color: var(--brand-yellow-hover);
}
.btn:active {
  transform: scale(0.98);
}
.btn svg {
  width: 20px;
  height: 20px;
}
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--brand-green);
}
.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}
section {
  padding: 5rem 0;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(251, 248, 241, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.4rem;
}
.brand img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: none;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 24px;
    font-weight: 500;
  }
  .nav-links a:hover {
    color: var(--brand-green);
  }
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 5rem;
  }
}
.hero-content {
  flex: 1;
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
    max-width: 500px;
    padding-top: 4rem;
  }
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--brand-green);
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
@media (min-width: 1024px) {
  .hero-tags {
    justify-content: flex-start;
  }
}
.tag {
  background-color: #f0ebd8;
  color: var(--brand-green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}

/* Banana Wall */
.banana-wall {
  flex: 1;
  display: flex;
  gap: 16px;
  height: 600px;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.banana-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.banana-col:nth-child(even) {
  transform: translateY(-50px);
}
.banana-item {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #eee;
  aspect-ratio: 9 / 16;
}
.banana-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .banana-wall {
    height: 400px;
    mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
  }
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}
@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }
}

/* Grid Layouts */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-5px);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-main);
}
.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Poster lists */
.poster-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}
.poster-list::-webkit-scrollbar {
  height: 8px;
}
.poster-list::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}
.poster-item {
  flex: 0 0 160px;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .poster-item {
    flex: 0 0 220px;
  }
}
.poster-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.poster-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.poster-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hottest Ranking */
.rank-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .rank-top {
    flex-direction: row;
    align-items: center;
  }
}
.rank-hero {
  flex: 1;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
@media (min-width: 768px) {
  .rank-hero {
    aspect-ratio: auto;
    height: 400px;
  }
}
.rank-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.rank-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #ff4d4f;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.2rem;
}
.rank-info {
  flex: 1;
  padding: 20px;
}
.rank-info h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.rank-list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--card-bg);
  padding: 10px;
  border-radius: var(--radius-md);
}
.rank-list-item span {
  font-weight: bold;
  color: var(--brand-green);
  font-size: 1.2rem;
  width: 24px;
}
.rank-list-item img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Status Table */
.status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .status-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.status-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  gap: 15px;
  padding: 15px;
}
.status-card img {
  width: 80px;
  height: 106px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.status-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.status-label {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 8px;
  align-self: flex-start;
}
.label-ripe { background: #e6f7e6; color: #2c5e2e; }
.label-ripening { background: #fff3e0; color: #e65100; }
.label-ready { background: #e3f2fd; color: #1565c0; }

/* Tabs / Order Desk */
.order-desk {
  background: var(--brand-green);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  color: white;
}
.order-desk .section-title {
  color: var(--brand-yellow);
}
.order-desk .section-desc {
  color: #ccc;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.filter-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--brand-yellow);
  color: var(--text-main);
  border-color: var(--brand-yellow);
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
@media (min-width: 768px) {
  .filter-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
.filter-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  cursor: pointer;
}
.filter-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.filter-item:hover img {
  transform: scale(1.05);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.review-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review-card::before {
  content: "“";
  font-size: 4rem;
  color: #eee;
  position: absolute;
  top: -10px;
  left: 10px;
  font-family: serif;
}
.review-text {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  background: #ddd;
  border-radius: 50%;
}
.review-name {
  font-weight: bold;
  font-size: 0.9rem;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  overflow: hidden;
}
.faq-q {
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  padding: 0 20px 20px;
  color: var(--text-muted);
  display: block;
}

/* Download */
.download-box {
  background: var(--brand-yellow);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
}
.download-box h2 {
  color: var(--text-main);
  margin-bottom: 1rem;
}
.download-box p {
  margin-bottom: 2rem;
}
.download-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 2rem;
  font-size: 0.9rem;
}
.download-steps span {
  background: rgba(0,0,0,0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Footer */
footer {
  background: var(--text-main);
  color: #888;
  padding: 40px 0;
  font-size: 0.85rem;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a:hover {
  color: white;
}
.icp {
  color: #666;
}
.icp a {
  color: #666;
  text-decoration: underline;
}

/* Bottom Bar */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  z-index: 100;
}
@media (min-width: 768px) {
  .bottom-bar {
    display: none;
  }
}
.bottom-bar .btn {
  width: 100%;
}