﻿/* =========================================================
   BoomArena — Story v3.0 "INTEL ARCHIVE"
   ========================================================= */

.int-page {
  min-height: 100vh;
  padding-top: var(--nav-height);
  background: #060610;
  color: #e0e0f8;
  position: relative;
}

/* Header */
.int-header {
  position: relative;
  padding: 2.5rem 3rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.int-header-inner { max-width: 960px; margin: 0 auto; }
.int-header-tag {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.35em;
  color: rgba(0,229,255,0.5);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.int-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 10px;
}
.int-title-sub {
  font-family: var(--font-display);
  font-size: clamp(0.8rem,2vw,1.1rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.int-title-main {
  font-family: var(--font-display);
  font-size: clamp(2rem,5vw,3.5rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 0 40px rgba(0,229,255,0.2);
}
.int-subtitle { font-size: 0.9rem; color: rgba(255,255,255,0.4); max-width: 600px; line-height: 1.7; }

/* Layout */
.int-layout { max-width: 960px; margin: 0 auto; padding: 2rem 2rem 5rem; display: flex; flex-direction: column; gap: 3.5rem; }

/* Section tags */
.int-section-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.int-tag-num {
  font-family: var(--font-display);
  font-size: 0.6rem;
  color: rgba(0,229,255,0.5);
  border: 1px solid rgba(0,229,255,0.25);
  padding: 2px 8px;
  letter-spacing: 0.1em;
}
.int-tag-label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
}

/* Timeline */
.int-timeline { display: flex; flex-direction: column; gap: 2px; }
.int-chapter {
  display: grid;
  grid-template-columns: 16px 12px 140px 1fr;
  align-items: stretch;
  gap: 1.5rem;
  padding: 1.8rem 1.5rem;
  background: #080818;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease var(--delay,0ms), transform 0.5s ease var(--delay,0ms), border-color 0.2s;
}
.int-chapter.visible { opacity: 1; transform: none; }
.int-chapter:hover { border-color: rgba(255,255,255,0.12); }
.int-ch-line {
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.06);
}
.int-chapter:first-child .int-ch-line { top: 50%; }
.int-chapter:last-child .int-ch-line { bottom: 50%; }
.int-ch-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  align-self: center;
  position: relative;
  z-index: 1;
}
.int-ch-visual {
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}
.int-ch-icon { font-size: 2.2rem; }
.int-ch-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.int-ch-num { font-family: var(--font-display); font-size: 0.52rem; letter-spacing: 0.2em; }
.int-ch-name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: #fff; margin: 0; letter-spacing: 0.04em; }
.int-ch-text { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin: 0; line-height: 1.7; }

/* Characters */
.int-chars-subtitle { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin: -0.5rem 0 1.5rem; }
.int-chars-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.int-char-card {
  background: #080818;
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease var(--delay,0ms), transform 0.45s ease var(--delay,0ms), border-color 0.2s;
}
.int-char-card.visible { opacity: 1; transform: none; }
.int-char-card:hover { border-color: var(--chr-color, rgba(0,229,255,0.4)); }

.int-char-avatar { margin-bottom: 6px; }
.int-char-sphere {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.int-char-name { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.08em; color: #fff; margin: 0; }
.int-char-role { font-family: var(--font-display); font-size: 0.52rem; letter-spacing: 0.15em; text-transform: uppercase; }
.int-char-desc { font-size: 0.76rem; color: rgba(255,255,255,0.4); line-height: 1.6; margin: 0; }

/* CTA */
.int-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  padding: 2rem 0;
}
.int-cta-wire { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,0.25)); }
.int-cta-wire:last-of-type { background: linear-gradient(90deg, rgba(0,229,255,0.25), transparent); }
.int-cta-label { font-family: var(--font-display); font-size: 0.52rem; letter-spacing: 0.3em; color: rgba(0,229,255,0.5); white-space: nowrap; }
.int-cta-btn {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 32px;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.4);
  color: #00e5ff;
  text-decoration: none;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition: background 0.2s;
  white-space: nowrap;
}
.int-cta-btn:hover { background: rgba(0,229,255,0.2); }

@media (max-width: 900px) {
  .int-chars-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .int-chapter { grid-template-columns: 16px 12px 1fr; }
  .int-ch-visual { display: none; }
  .int-header { padding: 1.5rem 1rem; }
  .int-layout { padding: 1.5rem 1rem 3rem; }
}
@media (max-width: 480px) {
  .int-header { padding: 1rem; }
  .int-layout { padding: 1rem 0.75rem 3rem; gap: 2.5rem; }
  .int-chars-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .int-char-card { padding: 1rem 0.75rem; }
  .int-char-sphere-wrap { width: 54px; height: 54px; }
  .int-char-name { font-size: 0.62rem; }
  .int-chapter { padding: 14px; gap: 8px; }
  .int-ch-body { padding: 12px 14px 14px; }
  .int-ch-content { font-size: 0.78rem; }
  .int-cta { padding: 1.5rem 1rem; }
  .int-cta-btn { font-size: 0.62rem; padding: 11px 20px; }
}