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

body {
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #e8f0f8;
  min-height: 100vh;
  background: linear-gradient(180deg, #0a1628 0%, #0d2847 30%, #143a5c 60%, #1a4a6e 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* ===== Bubbles background ===== */
.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bubbles span {
  position: absolute;
  bottom: -40px;
  width: var(--size);
  height: var(--size);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  border-radius: 50%;
  animation: rise var(--duration) var(--delay) infinite ease-in;
  opacity: 0;
}
@keyframes rise {
  0%   { opacity: 0; transform: translateX(0) scale(0.8); }
  10%  { opacity: 0.6; }
  50%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateX(var(--drift)) translateY(-110vh) scale(1); }
}

/* ===== Light rays ===== */
.light-rays {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 300px;
  background: repeating-conic-gradient(
    from 0deg at 50% 0%,
    rgba(120,200,255,0.04) 0deg,
    transparent 8deg,
    transparent 20deg
  );
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, white 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, white 0%, transparent 100%);
}

/* ===== Container ===== */
.container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px 32px;
}

/* ===== Typography ===== */
h1 {
  font-size: 1.8em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 30px rgba(100,180,255,0.3);
  margin-bottom: 0.4em;
}
h2 {
  font-size: 1.2em;
  font-weight: 600;
  color: #8ec8f0;
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
p { margin-bottom: 0.8em; }
strong { color: #ffd080; }
ul { padding-left: 1.4em; margin-bottom: 0.8em; }
li { margin-bottom: 0.35em; }
li::marker { color: #5ba3d9; }

a {
  color: #ffa94d;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: #ffd080; }

/* ===== Cards (sections) ===== */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 1.6em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card h2 {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
}

/* ===== Screenshot grid ===== */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.screenshot-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}
.screenshot-grid img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 36px rgba(80,160,255,0.3);
}
@media screen and (max-width: 600px) {
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Fade-in animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Table (presskit) ===== */
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
th {
  color: #8ec8f0;
  white-space: nowrap;
  font-weight: 600;
  width: 140px;
}
td { color: #d0e4f5; }

/* ===== Download button ===== */
.download-btn {
  display: inline-block;
  margin-top: 0.5em;
  padding: 12px 32px;
  background: linear-gradient(135deg, #ff8c42, #ff6b1a);
  color: #fff;
  font-weight: 600;
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(255,107,26,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.download-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,26,0.5);
}

/* ===== Footer ===== */
footer {
  margin-top: 3em;
  padding-top: 1.2em;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85em;
  color: rgba(255,255,255,0.35);
}
footer a {
  color: rgba(255,255,255,0.45);
  margin-right: 1.2em;
}
footer a:hover { color: #ffa94d; }

/* ===== Subtitle / lead ===== */
.lead {
  font-size: 1.05em;
  color: rgba(255,255,255,0.65);
}

/* ===== Highlight banners ===== */
.highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 1.6em;
}
@media screen and (max-width: 600px) {
  .highlights { grid-template-columns: 1fr; }
}
.highlight-banner {
  position: relative;
  border-radius: 16px;
  padding: 28px 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.highlight-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  z-index: 0;
}
.highlight-banner--kirié::before {
  background: linear-gradient(135deg, #e85d75, #c94080, #9b2d8f);
  opacity: 0.18;
}
.highlight-banner--kirié {
  border-color: rgba(200,80,120,0.2);
}
.highlight-banner--items::before {
  background: linear-gradient(135deg, #f0a030, #e0c040, #d4a017);
  opacity: 0.18;
}
.highlight-banner--items {
  border-color: rgba(240,180,60,0.2);
}
.highlight-banner > * {
  position: relative;
  z-index: 1;
}
.highlight-banner .highlight-number {
  font-size: 2.6em;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.highlight-banner--kirié .highlight-number {
  background: linear-gradient(135deg, #ff8fab, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight-banner--items .highlight-number {
  background: linear-gradient(135deg, #ffd080, #ffa94d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight-banner .highlight-label {
  font-size: 1em;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.highlight-banner .highlight-desc {
  font-size: 0.88em;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
