:root{
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --card: rgba(10, 14, 24, 0.68);
  --border: rgba(255,255,255,.14);
  --shadow: 0 12px 30px rgba(0,0,0,.28);
  --blue1: #2f7bff;
  --blue2: #1f5fe6;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: #05070d;

  /* 背景画像 */
  background-image: url("assets/IMG_0913.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* 読みやすくする暗幕（あなた様指定の明るさ） */
.bg-overlay{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(20, 34, 64, .18) 0%, rgba(5, 7, 13, .28) 62%),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.14));
  pointer-events: none;
  z-index: 0;
}

.container{
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 14px 26px;
}

.header{ margin-bottom: 14px; }

.title{
  margin: 6px 0 2px;
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 10px 25px rgba(0,0,0,.35);
}

.subtitle{
  margin: 0 0 10px;
  color: var(--muted);
}

/* 注記 */
.notice{
  margin: 10px 0 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 200, 0, 0.14);
  border: 1px solid rgba(255, 200, 0, 0.30);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.notice strong{ color: rgba(255,255,255,.95); }

/* 一括DLボックス */
.bundle{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.bundle__title{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .02em;
  margin-bottom: 4px;
}
.bundle__text{
  color: var(--muted);
  line-height: 1.55;
}
.bundle__text small{ color: rgba(255,255,255,.65); }

.bundle__btn{
  display: inline-block;
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--blue1) 0%, var(--blue2) 100%);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
}
.bundle__btn:hover{ filter: brightness(1.06); }

/* カード一覧 */
.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

/* 画面幅に応じた並び */
@media (min-width: 900px){
  .card{ grid-column: span 4; }
}
@media (min-width: 600px) and (max-width: 899px){
  .card{ grid-column: span 6; }
}
@media (max-width: 599px){
  .bundle{
    flex-direction: column;
    align-items: stretch;
  }
  .bundle__btn{ text-align: center; }
  .card{ grid-column: span 12; }
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card__head{
  padding: 10px 12px 0;
}

.card__label{
  font-weight: 800;
  letter-spacing: .01em;
  color: rgba(255,255,255,.92);
}

.card__thumbLink{
  display: block;
  padding: 10px 12px 0;
  text-decoration: none;
}

.card__thumb{
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(255,255,255,.12);
}

.card__meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
}

.card__chap{
  font-weight: 800;
  color: rgba(255,255,255,.78);
}

.btn{
  display: inline-block;
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--blue1) 0%, var(--blue2) 100%);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}
.btn:hover{ filter: brightness(1.06); }

.footer{
  margin-top: 18px;
  color: rgba(255,255,255,.70);
  line-height: 1.6;
}
