:root {
    --bg-color: #FDFBF7;
    --text-main: #2C3E2D;
    --text-muted: #5C6B5D;
    --green-light: #E8F0E4;
    --green-mid: #A3C293;
    --green-dark: #4A6B44;
    --berry: #C23B3B;
    --berry-light: #F4E3E3;
    --wood: #D4A373;
    --wood-light: #FAEDCD;
    --border-radius: 12px;
    --shadow: 0 4px 12px rgba(74, 107, 68, 0.08);
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

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

  /* Typography */
  h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
  }

  /* Header & Nav */
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 2px dashed var(--green-mid);
  }

  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .brand img {
    height: 32px;
    width: auto;
    border-radius: 6px;
  }

  .brand span {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--green-dark);
    white-space: nowrap;
  }

  .nav-links {
    display: none;
    gap: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
  }

  .nav-links a:hover {
    color: var(--berry);
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .search-box {
    display: none;
    align-items: center;
    background: var(--green-light);
    border-radius: 20px;
    padding: 4px 12px;
  }

  .search-box input {
    border: none;
    background: transparent;
    padding: 4px;
    outline: none;
    font-size: 0.9rem;
    width: 120px;
    color: var(--text-main);
  }

  .btn-download-top {
    background-color: var(--berry);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s;
  }

  .btn-download-top:active {
    background-color: #A32A2A;
  }

  /* Main Section */
  main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  section {
    padding: 40px 0;
    border-bottom: 1px solid var(--green-light);
  }

  .section-header {
    text-align: center;
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 1.6rem;
    color: var(--green-dark);
    margin-bottom: 8px;
  }

  .section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
  }

  /* Hero Section */
  .hero {
    text-align: center;
    padding: 60px 0 40px;
    background-image: radial-gradient(circle at 50% 0%, var(--green-light) 0%, transparent 70%);
  }

  .hero h1 {
    font-size: 2rem;
    color: var(--green-dark);
    margin-bottom: 16px;
  }

  .hero h1 span {
    color: var(--berry);
  }

  .hero-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 24px;
  }

  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    font-size: 0.85rem;
    color: var(--green-dark);
    font-weight: bold;
  }

  .hero-images {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .hero-images::-webkit-scrollbar { display: none; }

  .hero-images img {
    width: 100px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 2px solid white;
    flex-shrink: 0;
  }

  .hero-download {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .btn-hero {
    width: 80%;
    max-width: 300px;
    min-height: 48px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .btn-android {
    background-color: var(--green-dark);
  }

  .btn-ios {
    background-color: var(--text-main);
  }

  /* Grid Layouts */
  .grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 16px;
  }

  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .grid-4 { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

  /* Card Style */
  .card {
    background: white;
    border-radius: var(--border-radius);
    padding: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
  }

  .card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
  }

  .card h3 {
    font-size: 0.95rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .tag-free, .tag-limit {
    background-color: var(--berry-light);
    color: var(--berry);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
  }

  .tag-rank {
    background-color: var(--wood);
    color: white;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.8rem;
  }

  /* Specific Sections */
  .calendar-group {
    margin-bottom: 24px;
  }

  .calendar-group h3 {
    font-size: 1.1rem;
    color: var(--green-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .calendar-group h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-mid);
  }

  .calendar-group.active h3::before {
    background: var(--berry);
  }

  .calendar-items {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .calendar-item {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
  }

  .calendar-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 4px;
  }

  .calendar-item span {
    font-size: 0.75rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* FAQ */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .faq-item {
    background: white;
    border-radius: 8px;
    border: 1px solid var(--green-light);
    overflow: hidden;
  }

  .faq-item summary {
    padding: 16px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
  }
  
  .faq-item summary::-webkit-details-marker { display: none; }

  .faq-item summary::after {
    content: '+';
    color: var(--green-dark);
    font-size: 1.2rem;
  }

  .faq-item[open] summary::after {
    content: '-';
  }

  .faq-content {
    padding: 0 16px 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px dashed var(--green-light);
    padding-top: 12px;
  }

  /* Footer */
  footer {
    background-color: var(--green-dark);
    color: #A3C293;
    padding: 32px 20px;
    font-size: 0.8rem;
    margin-top: 40px;
  }

  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

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

  footer a {
    color: #A3C293;
  }
  
  footer a:hover {
    color: white;
  }

  .footer-time {
    opacity: 0.7;
    font-size: 0.75rem;
  }

  /* Mobile Bottom Bar */
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    display: flex;
    padding: 8px 12px;
    gap: 12px;
    z-index: 999;
  }

  .mobile-bottom-bar a {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 0.95rem;
  }

  .mobile-bottom-bar .m-android { background-color: var(--green-dark); }
  .mobile-bottom-bar .m-ios { background-color: var(--text-main); }

  /* Responsive */
  @media (min-width: 768px) {
    .nav-links { display: flex; }
    .search-box { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .hero-images img { width: 120px; height: 180px; }
    .grid-3 { grid-template-columns: repeat(4, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .hero-download { flex-direction: row; justify-content: center; }
    .btn-hero { width: auto; padding: 0 32px; }
    .mobile-bottom-bar { display: none; }
    footer { padding-bottom: 32px; }
    .footer-content { flex-direction: row; justify-content: space-between; text-align: left; }
    .calendar-items { flex-wrap: wrap; overflow-x: visible; }
  }

  @media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(5, 1fr); }
    .grid-4 { grid-template-columns: repeat(5, 1fr); }
    .hero-images img { width: 140px; height: 200px; }
    .hero h1 { font-size: 3rem; }
  }
  
  @media (max-width: 767px) {
    main { padding-bottom: 80px; }
  }