/* ============================================================
   notify.css — Takumi Senpai · Notify Me / Email Enlistment
   Path: /css/notify.css
   Load on: index.html (after style.css)
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   SECTION WRAPPER  (#notify-section)
   ════════════════════════════════════════════════════════════ */
#notify-section {
  position: relative;
  background-color: #0a0806;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent            0px,
      transparent            47px,
      rgba(201,168,76,0.028) 47px,
      rgba(201,168,76,0.028) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent            0px,
      transparent            3px,
      rgba(255,255,255,0.008) 3px,
      rgba(255,255,255,0.008) 4px
    );
  border-top:    1px solid rgba(201,168,76,0.10);
  border-bottom: 1px solid rgba(201,168,76,0.10);
  padding: 72px 24px 80px;
  overflow: hidden;
}

/* Vignette overlay */
#notify-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.70) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Classified stamp — decorative corner watermark */
#notify-section::after {
  content: 'CLASSIFIED';
  position: absolute;
  bottom: 28px;
  right: 32px;
  font-family: 'Space Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.35em;
  color: rgba(201,168,76,0.06);
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ── Inner layout ─────────────────────────────────────────── */
.notify-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* ── Eyebrow label ────────────────────────────────────────── */
.notify-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 0.48rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent, #c9a84c);
  opacity: 0.75;
  margin-bottom: 20px;
}

.notify-eyebrow::before,
.notify-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(201,168,76,0.35);
}

/* ── Section icon ─────────────────────────────────────────── */
.notify-icon {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.55;
  filter: sepia(1) hue-rotate(5deg) brightness(0.9);
}

/* ── Headline ─────────────────────────────────────────────── */
.notify-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 4vw, 2.0rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgb(240, 236, 228);
  line-height: 1.2;
  margin-bottom: 16px;
}

/* Gold highlight on key word */
.notify-title em {
  font-style: normal;
  color: var(--accent, #c9a84c);
}

/* ── Body copy ────────────────────────────────────────────── */
.notify-body {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  line-height: 1.85;
  color: rgba(240,236,228,0.52);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Divider line ─────────────────────────────────────────── */
.notify-rule {
  width: 48px;
  height: 1px;
  background: rgba(201,168,76,0.3);
  margin: 0 auto 36px;
}

/* ════════════════════════════════════════════════════════════
   FORM BLOCK
   ════════════════════════════════════════════════════════════ */
.notify-form-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Row: input + button side by side on desktop */
.notify-row {
  display: flex;
  width: 100%;
  max-width: 480px;
  gap: 0;
  border: 1px solid rgba(201,168,76,0.22);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify-row:focus-within {
  border-color: rgba(201,168,76,0.55);
  box-shadow: 0 0 0 2px rgba(201,168,76,0.08), 0 4px 18px rgba(0,0,0,0.45);
}

/* ── Email input ──────────────────────────────────────────── */
.notify-input {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-family: 'Space Mono', monospace;
  font-size: 0.70rem;
  letter-spacing: 0.06em;
  color: rgb(240,236,228);
  caret-color: var(--accent, #c9a84c);
}

.notify-input::placeholder {
  color: rgba(240,236,228,0.22);
  letter-spacing: 0.08em;
}

/* ── Submit button ────────────────────────────────────────── */
.notify-btn {
  flex: 0 0 auto;
  background: var(--accent, #c9a84c);
  color: #0a0806;
  border: none;
  outline: none;
  padding: 14px 22px;
  font-family: 'Space Mono', monospace;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, opacity 0.18s ease;
}

.notify-btn:hover:not(:disabled) {
  background: #e0be62;
}

.notify-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── Error message ────────────────────────────────────────── */
.notify-error {
  display: none;
  margin-top: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 0.50rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c94c4c;
}

.notify-error.is-visible {
  display: block;
}

/* ── Sending state ────────────────────────────────────────── */
.notify-btn--sending {
  background: rgba(201,168,76,0.35) !important;
  color: rgba(240,236,228,0.5) !important;
}

/* ════════════════════════════════════════════════════════════
   SUCCESS STATE
   ════════════════════════════════════════════════════════════ */
.notify-success {
  display: none;
  padding: 32px 0 8px;
}

.notify-success.is-visible {
  display: block;
}

/* Received stamp */
.notify-success-stamp {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, #c9a84c);
  border: 3px solid var(--accent, #c9a84c);
  padding: 8px 28px 6px;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
  margin-bottom: 24px;
}

/* Inner dashed border */
.notify-success-stamp::before {
  content: none; /* optional — skip to keep it lean */
}

.notify-success-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(240,236,228,0.55);
  margin: 0;
}

/* ── Fine print / disclaimer ──────────────────────────────── */
.notify-disclaimer {
  margin-top: 18px;
  font-family: 'Space Mono', monospace;
  font-size: 0.44rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,236,228,0.18);
  line-height: 1.9;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 540px) {
  #notify-section { padding: 56px 20px 64px; }

  /* Stack input and button vertically on mobile */
  .notify-row {
    flex-direction: column;
    border: none;
    gap: 10px;
    background: transparent;
    box-shadow: none;
  }

  .notify-row:focus-within {
    border: none;
    box-shadow: none;
  }

  .notify-input {
    border: 1px solid rgba(201,168,76,0.22);
    background: rgba(255,255,255,0.02);
    padding: 13px 16px;
    transition: border-color 0.2s ease;
  }

  .notify-input:focus {
    border-color: rgba(201,168,76,0.55);
    outline: none;
  }

  .notify-btn {
    width: 100%;
    padding: 14px;
    letter-spacing: 0.22em;
  }

  .notify-title {
    font-size: 1.25rem;
  }
}